aboutsummaryrefslogtreecommitdiffstats
path: root/coder.encodeParam.js
diff options
context:
space:
mode:
Diffstat (limited to 'coder.encodeParam.js')
-rw-r--r--coder.encodeParam.js2
1 files changed, 2 insertions, 0 deletions
diff --git a/coder.encodeParam.js b/coder.encodeParam.js
index 60d1c618..55ff657c 100644
--- a/coder.encodeParam.js
+++ b/coder.encodeParam.js
@@ -24,6 +24,8 @@ describe('lib/solidity/coder', function () {
test({ type: 'bytes', value: 'gavofyork', expected: '0000000000000000000000000000000000000000000000000000000000000020' +
'0000000000000000000000000000000000000000000000000000000000000009' +
'6761766f66796f726b0000000000000000000000000000000000000000000000'});
+ test({ type: 'int[]', value: [], expected: '0000000000000000000000000000000000000000000000000000000000000020' +
+ '0000000000000000000000000000000000000000000000000000000000000000'});
test({ type: 'int[]', value: [3], expected: '0000000000000000000000000000000000000000000000000000000000000020' +
'0000000000000000000000000000000000000000000000000000000000000001' +
'0000000000000000000000000000000000000000000000000000000000000003'});