mirror of https://github.com/status-im/web3.js.git
fixed tests
This commit is contained in:
parent
f016d3f04e
commit
f6b7d89878
|
@ -10,7 +10,7 @@ describe('formatters', function () {
|
|||
assert.deepEqual(formatters.inputPostFormatter({
|
||||
from: '0x00000',
|
||||
to: '0x00000',
|
||||
payload: {test: 'test'},
|
||||
payload: '0x7b2274657374223a2274657374227d',//{test: 'test'},
|
||||
ttl: 200,
|
||||
priority: 1000,
|
||||
topics: ['hello','mytopics']
|
||||
|
|
|
@ -17,8 +17,8 @@ describe('formatters', function () {
|
|||
sent: 1000,
|
||||
ttl: 1000,
|
||||
workProved: 1000,
|
||||
payload: {test: 'test'},
|
||||
payloadRaw: '0x7b2274657374223a2274657374227d',
|
||||
payload: '0x7b2274657374223a2274657374227d',//{test: 'test'},
|
||||
//payloadRaw: '0x7b2274657374223a2274657374227d',
|
||||
topics: ['hello','mytopics']
|
||||
});
|
||||
});
|
||||
|
|
|
@ -9,7 +9,7 @@ var tests = [{
|
|||
args: [{
|
||||
from: '0x123123123',
|
||||
topics: ['hello_world'],
|
||||
payload: '12345',
|
||||
payload: web3.toHex('12345'),
|
||||
ttl: 100,
|
||||
workToProve: 101
|
||||
}],
|
||||
|
|
Loading…
Reference in New Issue