diff --git a/test/coder.encodeParam.js b/test/coder.encodeParam.js index 582a2fd..f566978 100644 --- a/test/coder.encodeParam.js +++ b/test/coder.encodeParam.js @@ -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'}); }); });