accounts/abi: improve type handling, add event support (#14743)

This commit is contained in:
RJ Catalano
2017-10-17 06:07:08 -05:00
committed by Felix Lange
parent e9295163aa
commit dec8bba9d4
15 changed files with 906 additions and 850 deletions

View File

@ -31,7 +31,7 @@ func TestEventId(t *testing.T) {
}{
{
definition: `[
{ "type" : "event", "name" : "balance", "inputs": [{ "name" : "in", "type": "uint" }] },
{ "type" : "event", "name" : "balance", "inputs": [{ "name" : "in", "type": "uint256" }] },
{ "type" : "event", "name" : "check", "inputs": [{ "name" : "t", "type": "address" }, { "name": "b", "type": "uint256" }] }
]`,
expectations: map[string]common.Hash{