Closed antazoey closed 2 years ago
Further experimentation has shown that Solidity code does not even compile in Remix:
Invalid type for argument in the bytes.concat function call
and thus this may be a problem with solc
I will close this as soon as I figure out where to open the issue in Solc
I added a comment here: https://github.com/ethereum/solidity/issues/12087 for now
Environment information
ape
and plugin versions: latestWhat went wrong?
OK, so this is a bit of weird edge case that I found. I have a solidity method like this:
It takes a bytes32, converts it to a string, and then concats another string (
" Captain Janeway"
) to the end of it. Then, it stores it in a public string getter.I go to check the result in my Pythons and this is what happens:
Failure message:
Solidity seems to pad my arguments before doing the concat.
How can it be fixed
I am not sure