Fix abi decoding of bytes32
Note that any indexed string or array will be stored as a hash, so
we need to make that clear. The new Hashed field marks that.
We might want to store strings in bytes32 so that it does not get
hashed. If this is the case then use code similar to the test
TestEventEmitterBytes32isString.
Signed-off-by:
Sean Young <sean.young@monax.io>
Showing
- execution/evm/abi/abi.go 12 additions, 6 deletionsexecution/evm/abi/abi.go
- execution/solidity/event_emitter.sol 1 addition, 1 deletionexecution/solidity/event_emitter.sol
- execution/solidity/event_emitter.sol.go 2 additions, 2 deletionsexecution/solidity/event_emitter.sol.go
- integration/rpctransact/call_test.go 48 additions, 13 deletionsintegration/rpctransact/call_test.go
Loading
Please register or sign in to comment