Arrays in ethers are broken for me. #3239
-
Running hardhat v2.9.9 Hey guys, I have a simple sounding problem. I have a view contract method that returns a fixed uint256 array. When called, instead of either returning something like [1, 0, 0, 0, 0, 0, 0, 0], I keep getting 0x0000000000000000000000000000000000000020. Do I have to decode something, or am I doing something else wrong? Solidity function that returns array.
This is the js. Thank you! 😊😊😊 |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
never mind i had an old abi |
Beta Was this translation helpful? Give feedback.
never mind i had an old abi