From 5ec50f3ee52805237a209d88ff78894b1a0eef5f Mon Sep 17 00:00:00 2001 From: debris Date: Tue, 28 Jul 2015 15:49:33 +0200 Subject: [PATCH] common fixed in encoding --- test/coder.encodeParam.js | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) 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'}); }); });