mirror of
https://github.com/status-im/web3.js.git
synced 2025-02-23 03:28:07 +00:00
common fixed in encoding
This commit is contained in:
parent
03f6a5b849
commit
5ec50f3ee5
@ -165,11 +165,11 @@ describe('lib/solidity/coder', function () {
|
||||
//'131a3afc00d1b1e3461b955e53fc866dcf303b3eb9f4c16f89e388930f48134b' +
|
||||
//'231a3afc00d1b1e3461b955e53fc866dcf303b3eb9f4c16f89e388930f48134b' +
|
||||
//'331a3afc00d1b1e3461b955e53fc866dcf303b3eb9f4c16f89e388930f48134b'});
|
||||
//test({ type: 'string', value: 'welcome to ethereum. welcome to ethereum. welcome to ethereum.',
|
||||
//expected: '0000000000000000000000000000000000000000000000000000000000000020' +
|
||||
//'000000000000000000000000000000000000000000000000000000000000003e' +
|
||||
//'77656c636f6d6520746f20657468657265756d2e2077656c636f6d6520746f20' +
|
||||
//'657468657265756d2e2077656c636f6d6520746f20657468657265756d2e0000'});
|
||||
test({ type: 'string', value: 'welcome to ethereum. welcome to ethereum. welcome to ethereum.',
|
||||
expected: '0000000000000000000000000000000000000000000000000000000000000020' +
|
||||
'000000000000000000000000000000000000000000000000000000000000003e' +
|
||||
'77656c636f6d6520746f20657468657265756d2e2077656c636f6d6520746f20' +
|
||||
'657468657265756d2e2077656c636f6d6520746f20657468657265756d2e0000'});
|
||||
});
|
||||
});
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user