common fixed in encoding

This commit is contained in:
debris 2015-07-28 15:49:33 +02:00
parent 03f6a5b849
commit 5ec50f3ee5
1 changed files with 5 additions and 5 deletions

View File

@ -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'});
});
});