mirror of https://github.com/status-im/web3.js.git
one additional test for event encode
This commit is contained in:
parent
9f7d6a9925
commit
7c16dbf7e4
|
@ -162,6 +162,30 @@ var tests = [{
|
|||
'0x0000000000000000000000000000000000000000000000000000000000000001'
|
||||
]
|
||||
}
|
||||
}, {
|
||||
abi: {
|
||||
name: 'event1',
|
||||
inputs: [{
|
||||
type: 'int',
|
||||
name: 'a',
|
||||
indexed: true
|
||||
}, {
|
||||
type: 'int',
|
||||
name: 'b',
|
||||
indexed: true
|
||||
}],
|
||||
anonymous: true
|
||||
},
|
||||
indexed: {
|
||||
b: 1
|
||||
},
|
||||
options: {},
|
||||
expected: {
|
||||
topics: [
|
||||
null,
|
||||
'0x0000000000000000000000000000000000000000000000000000000000000001'
|
||||
]
|
||||
}
|
||||
}];
|
||||
|
||||
describe('lib/web3/event', function () {
|
||||
|
|
Loading…
Reference in New Issue