webasm-solidity
webasm-solidity copied to clipboard
Use abi.encodePacked for inputs to keccak256
Solidity compiler gives this type of warning quite a bit.
fs.sol:52:20: Warning: This function only accepts a single "bytes" argument. Please use "abi.encodePacked(...)" or a similar function to encode the data.
I believe this is a breaking change in 0.5.0, so it would be good to change this sooner than later.
Hi @hswick, would it be ok for fundrequest.io to add a tiny bit of funding to this issue, so maybe the community can pick it up?
I don’t have a problem with someone else paying for it. As long as we can keep the notifications to a minimum, sometimes these type of services can be really annoying.