From 887de2d42263b5e882e52f8e730173cac72bf196 Mon Sep 17 00:00:00 2001 From: Yoichi Hirai Date: Wed, 21 Jun 2017 15:00:36 +0200 Subject: Add missing '0's in calldata. The hex strings were of odd length --- TransactionTests/Homestead/ttTransactionTest.json | 68 +++++++++++----------- .../ttTransactionTestEip155VitaliksTests.json | 2 +- 2 files changed, 35 insertions(+), 35 deletions(-) (limited to 'TransactionTests/Homestead') diff --git a/TransactionTests/Homestead/ttTransactionTest.json b/TransactionTests/Homestead/ttTransactionTest.json index 3937c53ed..851b17e78 100644 --- a/TransactionTests/Homestead/ttTransactionTest.json +++ b/TransactionTests/Homestead/ttTransactionTest.json @@ -40,41 +40,41 @@ "nonce" : "0x00", "r" : "0x48b55bfa915ac795c431978d8a6a992b628d557da5ff759b307d495a36649353", "s" : "0x1fffd310ac743f371de3b9f7f9cb56c0b28ad43601b4ab949f53faa07bd2c804", - "to" : "095e7baea6a6c7c4c2dfeb977efac326af552d87", + "to" : "0x095e7baea6a6c7c4c2dfeb977efac326af552d87", "v" : "0x1b", "value" : "0x0a" } }, "DataTestFirstZeroBytes" : { "blocknumber" : "1150000", - "hash" : "95f3e2568d38c188fb288570b588402ff37b8d0330eafc414df637d8003eea0d", - "rlp" : "0xf87c80018261a894095e7baea6a6c7c4c2dfeb977efac326af552d870a9d00000000000000000000000000010000000000000000000000000000001ba048b55bfa915ac795c431978d8a6a992b628d557da5ff759b307d495a36649353a01fffd310ac743f371de3b9f7f9cb56c0b28ad43601b4ab949f53faa07bd2c804", - "sender" : "67719a47cf3e3fe77b89c994d85395ad0f899d86", + "hash" : "375dadad71b4cfb9d436bf20e7df89bfa1503b603ed30f2bb221f94951f1dc7c", + "rlp" : "0xf87c80018261a894095e7baea6a6c7c4c2dfeb977efac326af552d870a9d00000000000000000000000000100000000000000000000000000000001ba048b55bfa915ac795c431978d8a6a992b628d557da5ff759b307d495a36649353a01fffd310ac743f371de3b9f7f9cb56c0b28ad43601b4ab949f53faa07bd2c804", + "sender" : "11a09dc2997c24ff70253d032437d68a03267354", "transaction" : { - "data" : "0x000000000000000000000000001000000000000000000000000000000", + "data" : "0x0000000000000000000000000010000000000000000000000000000000", "gasLimit" : "0x61a8", "gasPrice" : "0x01", "nonce" : "0x00", "r" : "0x48b55bfa915ac795c431978d8a6a992b628d557da5ff759b307d495a36649353", "s" : "0x1fffd310ac743f371de3b9f7f9cb56c0b28ad43601b4ab949f53faa07bd2c804", - "to" : "095e7baea6a6c7c4c2dfeb977efac326af552d87", + "to" : "0x095e7baea6a6c7c4c2dfeb977efac326af552d87", "v" : "0x1b", "value" : "0x0a" } }, "DataTestLastZeroBytes" : { "blocknumber" : "1150000", - "hash" : "d1e657eaf96b611d567df8238d45709a277d4ed08c6568778103621ee064f900", - "rlp" : "0xf87c80018261a894095e7baea6a6c7c4c2dfeb977efac326af552d870a9d00100000000000000000000000000000000000000000000000000000001ba048b55bfa915ac795c431978d8a6a992b628d557da5ff759b307d495a36649353a01fffd310ac743f371de3b9f7f9cb56c0b28ad43601b4ab949f53faa07bd2c804", - "sender" : "93641cf56c3cb70af282fb4c4eece66c425b8719", + "hash" : "47a86e3d0be8ff2a9868b973ef1b30b4fd1796bb26f6c6e4f92804d6db2db977", + "rlp" : "0xf87c80018261a894095e7baea6a6c7c4c2dfeb977efac326af552d870a9d01000000000000000000000000000000000000000000000000000000001ba048b55bfa915ac795c431978d8a6a992b628d557da5ff759b307d495a36649353a01fffd310ac743f371de3b9f7f9cb56c0b28ad43601b4ab949f53faa07bd2c804", + "sender" : "186f6d666993362b46b3b6c626f55903a439cc8d", "transaction" : { - "data" : "0x010000000000000000000000000000000000000000000000000000000", + "data" : "0x0100000000000000000000000000000000000000000000000000000000", "gasLimit" : "0x61a8", "gasPrice" : "0x01", "nonce" : "0x00", "r" : "0x48b55bfa915ac795c431978d8a6a992b628d557da5ff759b307d495a36649353", "s" : "0x1fffd310ac743f371de3b9f7f9cb56c0b28ad43601b4ab949f53faa07bd2c804", - "to" : "095e7baea6a6c7c4c2dfeb977efac326af552d87", + "to" : "0x095e7baea6a6c7c4c2dfeb977efac326af552d87", "v" : "0x1b", "value" : "0x0a" } @@ -89,13 +89,13 @@ "rlp" : "0xf87c80018261a894095e7baea6a6c7c4c2dfeb977efac326af552d870a9d00000000000000000000000000000000000000000000000000000000001ba048b55bfa915ac795c431978d8a6a992b628d557da5ff759b307d495a36649353a01fffd310ac743f371de3b9f7f9cb56c0b28ad43601b4ab949f53faa07bd2c804", "sender" : "61adaba383a740078e3efbddf082be05534e5484", "transaction" : { - "data" : "0x000000000000000000000000000000000000000000000000000000000", + "data" : "0x0000000000000000000000000000000000000000000000000000000000", "gasLimit" : "0x61a8", "gasPrice" : "0x01", "nonce" : "0x00", "r" : "0x48b55bfa915ac795c431978d8a6a992b628d557da5ff759b307d495a36649353", "s" : "0x1fffd310ac743f371de3b9f7f9cb56c0b28ad43601b4ab949f53faa07bd2c804", - "to" : "095e7baea6a6c7c4c2dfeb977efac326af552d87", + "to" : "0x095e7baea6a6c7c4c2dfeb977efac326af552d87", "v" : "0x1b", "value" : "0x0a" } @@ -124,7 +124,7 @@ "nonce" : "0x03", "r" : "0x98ff921201554726367d2be8c804a7ff89ccf285ebc57dff8ae4c44b9c19ac4a", "s" : "0x1887321be575c8095f789dd4c743dfe42c1820f9231f98a962b210e3ac2452a3", - "to" : "b94f5374fce5edbc8e2a8697c15331677e6ebf0b", + "to" : "0xb94f5374fce5edbc8e2a8697c15331677e6ebf0b", "v" : "0x1c", "value" : "0x0a" } @@ -142,7 +142,7 @@ "nonce" : "0x00", "r" : "0x48b55bfa915ac795c431978d8a6a992b628d557da5ff759b307d495a36649353", "s" : "0x1fffd310ac743f371de3b9f7f9cb56c0b28ad43601b4ab949f53faa07bd2c804", - "to" : "095e7baea6a6c7c4c2dfeb977efac326af552d87", + "to" : "0x095e7baea6a6c7c4c2dfeb977efac326af552d87", "v" : "0x1b", "value" : "0x0a" } @@ -163,7 +163,7 @@ "nonce" : "0x00", "r" : "0x48b55bfa915ac795c431978d8a6a992b628d557da5ff759b307d495a36649353", "s" : "0x1887321be575c8095f789dd4c743dfe42c1820f9231f98a962b210e3ac2452a3", - "to" : "095e7baea6a6c7c4c2dfeb977efac326af552d87", + "to" : "0x095e7baea6a6c7c4c2dfeb977efac326af552d87", "v" : "0x1b", "value" : "0x0b" } @@ -180,7 +180,7 @@ "nonce" : "0x00", "r" : "0x48b55bfa915ac795c431978d8a6a992b628d557da5ff759b307d495a36649353", "s" : "0x1887321be575c8095f789dd4c743dfe42c1820f9231f98a962b210e3ac2452a3", - "to" : "095e7baea6a6c7c4c2dfeb977efac326af552d87", + "to" : "0x095e7baea6a6c7c4c2dfeb977efac326af552d87", "v" : "0x1b", "value" : "0x0b" } @@ -197,7 +197,7 @@ "nonce" : "0x00", "r" : "0x48b55bfa915ac795c431978d8a6a992b628d557da5ff759b307d495a36649353", "s" : "0x1887321be575c8095f789dd4c743dfe42c1820f9231f98a962b210e3ac2452a3", - "to" : "095e7baea6a6c7c4c2dfeb977efac326af552d87", + "to" : "0x095e7baea6a6c7c4c2dfeb977efac326af552d87", "v" : "0x1b", "value" : "0x0b" } @@ -214,7 +214,7 @@ "nonce" : "0x00", "r" : "0x48b55bfa915ac795c431978d8a6a992b628d557da5ff759b307d495a36649353", "s" : "0x1887321be575c8095f789dd4c743dfe42c1820f9231f98a962b210e3ac2452a3", - "to" : "095e7baea6a6c7c4c2dfeb977efac326af552d87", + "to" : "0x095e7baea6a6c7c4c2dfeb977efac326af552d87", "v" : "0x1b", "value" : "0x00" } @@ -231,7 +231,7 @@ "nonce" : "0x00", "r" : "0x98ff921201554726367d2be8c804a7ff89ccf285ebc57dff8ae4c44b9c19ac4a", "s" : "0x1887321be575c8095f789dd4c743dfe42c1820f9231f98a962b210e3ac2452a3", - "to" : "095e7baea6a6c7c4c2dfeb977efac326af552d87", + "to" : "0x095e7baea6a6c7c4c2dfeb977efac326af552d87", "v" : "0x1b", "value" : "0x00" } @@ -256,7 +256,7 @@ "nonce" : "0x00", "r" : "0x98ff921201554726367d2be8c804a7ff89ccf285ebc57dff8ae4c44b9c19ac4a", "s" : "0x1887321be575c8095f789dd4c743dfe42c1820f9231f98a962b210e3ac2452a3", - "to" : "095e7baea6a6c7c4c2dfeb977efac326af552d87", + "to" : "0x095e7baea6a6c7c4c2dfeb977efac326af552d87", "v" : "0x1b", "value" : "0x00" } @@ -273,7 +273,7 @@ "nonce" : "0x00", "r" : "0x98ff921201554726367d2be8c804a7ff89ccf285ebc57dff8ae4c44b9c19ac4a", "s" : "0x1887321be575c8095f789dd4c743dfe42c1820f9231f98a962b210e3ac2452a3", - "to" : "095e7baea6a6c7c4c2dfeb977efac326af552d87", + "to" : "0x095e7baea6a6c7c4c2dfeb977efac326af552d87", "v" : "0x1b", "value" : "0x00" } @@ -290,7 +290,7 @@ "nonce" : "0x00", "r" : "0x98ff921201554726367d2be8c804a7ff89ccf285ebc57dff8ae4c44b9c19ac4a", "s" : "0x1887321be575c8095f789dd4c743dfe42c1820f9231f98a962b210e3ac2452a3", - "to" : "095e7baea6a6c7c4c2dfeb977efac326af552d87", + "to" : "0x095e7baea6a6c7c4c2dfeb977efac326af552d87", "v" : "0x1b", "value" : "0x00" } @@ -307,7 +307,7 @@ "nonce" : "0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff", "r" : "0x48b55bfa915ac795c431978d8a6a992b628d557da5ff759b307d495a36649353", "s" : "0x1fffd310ac743f371de3b9f7f9cb56c0b28ad43601b4ab949f53faa07bd2c804", - "to" : "095e7baea6a6c7c4c2dfeb977efac326af552d87", + "to" : "0x095e7baea6a6c7c4c2dfeb977efac326af552d87", "v" : "0x1b", "value" : "0x00" } @@ -324,7 +324,7 @@ "nonce" : "0x0100000000", "r" : "0x48b55bfa915ac795c431978d8a6a992b628d557da5ff759b307d495a36649353", "s" : "0x1fffd310ac743f371de3b9f7f9cb56c0b28ad43601b4ab949f53faa07bd2c804", - "to" : "095e7baea6a6c7c4c2dfeb977efac326af552d87", + "to" : "0x095e7baea6a6c7c4c2dfeb977efac326af552d87", "v" : "0x1b", "value" : "0x00" } @@ -341,7 +341,7 @@ "nonce" : "0x00", "r" : "0x48b55bfa915ac795c431978d8a6a992b628d557da5ff759b307d495a36649353", "s" : "0x1fffd310ac743f371de3b9f7f9cb56c0b28ad43601b4ab949f53faa07bd2c804", - "to" : "095e7baea6a6c7c4c2dfeb977efac326af552d87", + "to" : "0x095e7baea6a6c7c4c2dfeb977efac326af552d87", "v" : "0x1b", "value" : "0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff" } @@ -366,7 +366,7 @@ "nonce" : "0x00", "r" : "0x01", "s" : "0x01", - "to" : "095e7baea6a6c7c4c2dfeb977efac326af552d87", + "to" : "0x095e7baea6a6c7c4c2dfeb977efac326af552d87", "v" : "0x1b", "value" : "0x0b" } @@ -387,7 +387,7 @@ "nonce" : "0x00", "r" : "0x01", "s" : "0x1fffd310ac743f371de3b9f7f9cb56c0b28ad43601b4ab949f53faa07bd2c804", - "to" : "095e7baea6a6c7c4c2dfeb977efac326af552d87", + "to" : "0x095e7baea6a6c7c4c2dfeb977efac326af552d87", "v" : "0x1b", "value" : "0x0b" } @@ -412,7 +412,7 @@ "nonce" : "0x00", "r" : "0xebaaedce6af48a03bbfd25e8cd0364141", "s" : "0x1fffd310ac743f371de3b9f7f9cb56c0b28ad43601b4ab949f53faa07bd2c804", - "to" : "095e7baea6a6c7c4c2dfeb977efac326af552d87", + "to" : "0x095e7baea6a6c7c4c2dfeb977efac326af552d87", "v" : "0x1b", "value" : "0x0b" } @@ -437,7 +437,7 @@ "nonce" : "0x00", "r" : "0x48b55bfa915ac795c431978d8a6a992b628d557da5ff759b307d495a36649353", "s" : "0x01", - "to" : "095e7baea6a6c7c4c2dfeb977efac326af552d87", + "to" : "0x095e7baea6a6c7c4c2dfeb977efac326af552d87", "v" : "0x1b", "value" : "0x0b" } @@ -454,7 +454,7 @@ "nonce" : "0x00", "r" : "0x48b55bfa915ac795c431978d8a6a992b628d557da5ff759b307d495a36649353", "s" : "0x7fffffffffffffffffffffffffffffff5d576e7357a4501ddfe92f46681b20a0", - "to" : "095e7baea6a6c7c4c2dfeb977efac326af552d87", + "to" : "0x095e7baea6a6c7c4c2dfeb977efac326af552d87", "v" : "0x1b", "value" : "0x0b" } @@ -479,7 +479,7 @@ "nonce" : "0x00", "r" : "0x48b55bfa915ac795c431978d8a6a992b628d557da5ff759b307d495a36649353", "s" : "0x7fffffffffffffffffffffffffffffff5d576e7357a4501ddfe92f46681b2090", - "to" : "095e7baea6a6c7c4c2dfeb977efac326af552d87", + "to" : "0x095e7baea6a6c7c4c2dfeb977efac326af552d87", "v" : "0x1b", "value" : "0x0b" } @@ -500,7 +500,7 @@ "nonce" : "0x00", "r" : "0x98ff921201554726367d2be8c804a7ff89ccf285ebc57dff8ae4c44b9c19ac4a", "s" : "0xef0b28ad43601b4ab949f53faa07bd2c804", - "to" : "095e7baea6a6c7c4c2dfeb977efac326af552d87", + "to" : "0x095e7baea6a6c7c4c2dfeb977efac326af552d87", "v" : "0x1b", "value" : "0x0b" } @@ -607,7 +607,7 @@ "nonce" : "0x0d", "r" : "0x006ab6dda9f4df56ea45583af36660329147f1753f3724ea5eb9ed83e812ca77", "s" : "0x495701e230667832c8999e884e366a61028633ecf951e8cd66d119f381ae5718", - "to" : "7c47ef93268a311f4cad0c750724299e9b72c268", + "to" : "0x7c47ef93268a311f4cad0c750724299e9b72c268", "v" : "0x1c", "value" : "0x00" } diff --git a/TransactionTests/Homestead/ttTransactionTestEip155VitaliksTests.json b/TransactionTests/Homestead/ttTransactionTestEip155VitaliksTests.json index 1aefa45f9..7dba8b16d 100644 --- a/TransactionTests/Homestead/ttTransactionTestEip155VitaliksTests.json +++ b/TransactionTests/Homestead/ttTransactionTestEip155VitaliksTests.json @@ -40,7 +40,7 @@ "nonce" : "0x0f", "r" : "0x9f00c6da4f2e4b5f3316e70c7669f9df71fa21d533afa63450065731132ba7b6", "s" : "0x3886c27a8b3515ab9e2e04492f8214718621421e92d3b6954d9e3fb409ead788", - "to" : "00000000000000000000000000000000000000c0", + "to" : "0x00000000000000000000000000000000000000c0", "v" : "0x1b", "value" : "0x00" } -- cgit