diff options
author | Yoichi Hirai <i@yoichihirai.com> | 2017-09-09 00:27:22 +0800 |
---|---|---|
committer | Yoichi Hirai <i@yoichihirai.com> | 2017-09-18 17:39:08 +0800 |
commit | 9252bea4beba0438a0198a0371556e80f55ea4b5 (patch) | |
tree | 1c878e9875da8d4978ee771f33d599f91724c249 | |
parent | d743bfccc1a122ed9248051fbc7434a2e0dfb465 (diff) | |
download | tangerine-tests-9252bea4beba0438a0198a0371556e80f55ea4b5.tar tangerine-tests-9252bea4beba0438a0198a0371556e80f55ea4b5.tar.gz tangerine-tests-9252bea4beba0438a0198a0371556e80f55ea4b5.tar.bz2 tangerine-tests-9252bea4beba0438a0198a0371556e80f55ea4b5.tar.lz tangerine-tests-9252bea4beba0438a0198a0371556e80f55ea4b5.tar.xz tangerine-tests-9252bea4beba0438a0198a0371556e80f55ea4b5.tar.zst tangerine-tests-9252bea4beba0438a0198a0371556e80f55ea4b5.zip |
Add some more modexp cases
-rw-r--r-- | GeneralStateTests/stPreCompiledContracts/modexp.json | 910 | ||||
-rw-r--r-- | src/GeneralStateTestsFiller/stPreCompiledContracts/modexpFiller.json | 90 |
2 files changed, 996 insertions, 4 deletions
diff --git a/GeneralStateTests/stPreCompiledContracts/modexp.json b/GeneralStateTests/stPreCompiledContracts/modexp.json index 141fdf5b7..38219c45d 100644 --- a/GeneralStateTests/stPreCompiledContracts/modexp.json +++ b/GeneralStateTests/stPreCompiledContracts/modexp.json @@ -2,7 +2,8 @@ "modexp" : { "_info" : { "comment" : "", - "filledwith" : "cpp-1.3.0+commit.4e336c9e.Linux.g++", + "filledwith" : "cpp-1.3.0+commit.24aa386b.Linux.clang", + "lllcversion" : "Version: 0.4.12-nightly.2016.12.1+commit.598e289a.Linux.g++", "source" : "src/GeneralStateTestsFiller/stPreCompiledContracts/modexpFiller.json" }, "env" : { @@ -1130,6 +1131,186 @@ "value" : 0 }, "logs" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347" + }, + { + "hash" : "0x909afb6f216dcc2fb9267b8ad58342143da06a482aff50f827b355dc34b0126c", + "indexes" : { + "data" : 31, + "gas" : 0, + "value" : 0 + }, + "logs" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347" + }, + { + "hash" : "0x909afb6f216dcc2fb9267b8ad58342143da06a482aff50f827b355dc34b0126c", + "indexes" : { + "data" : 31, + "gas" : 1, + "value" : 0 + }, + "logs" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347" + }, + { + "hash" : "0x909afb6f216dcc2fb9267b8ad58342143da06a482aff50f827b355dc34b0126c", + "indexes" : { + "data" : 31, + "gas" : 2, + "value" : 0 + }, + "logs" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347" + }, + { + "hash" : "0x909afb6f216dcc2fb9267b8ad58342143da06a482aff50f827b355dc34b0126c", + "indexes" : { + "data" : 31, + "gas" : 3, + "value" : 0 + }, + "logs" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347" + }, + { + "hash" : "0x289bf6f5545e0d5141909c27d1e1c5e9c9c9b4268b004e489ca387757374cf2d", + "indexes" : { + "data" : 32, + "gas" : 0, + "value" : 0 + }, + "logs" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347" + }, + { + "hash" : "0x289bf6f5545e0d5141909c27d1e1c5e9c9c9b4268b004e489ca387757374cf2d", + "indexes" : { + "data" : 32, + "gas" : 1, + "value" : 0 + }, + "logs" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347" + }, + { + "hash" : "0x289bf6f5545e0d5141909c27d1e1c5e9c9c9b4268b004e489ca387757374cf2d", + "indexes" : { + "data" : 32, + "gas" : 2, + "value" : 0 + }, + "logs" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347" + }, + { + "hash" : "0x289bf6f5545e0d5141909c27d1e1c5e9c9c9b4268b004e489ca387757374cf2d", + "indexes" : { + "data" : 32, + "gas" : 3, + "value" : 0 + }, + "logs" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347" + }, + { + "hash" : "0x3d04ee4d43cba1d78b88f9ecc648667474e5b306824888b02af715688af6c67b", + "indexes" : { + "data" : 33, + "gas" : 0, + "value" : 0 + }, + "logs" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347" + }, + { + "hash" : "0x3d04ee4d43cba1d78b88f9ecc648667474e5b306824888b02af715688af6c67b", + "indexes" : { + "data" : 33, + "gas" : 1, + "value" : 0 + }, + "logs" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347" + }, + { + "hash" : "0x3d04ee4d43cba1d78b88f9ecc648667474e5b306824888b02af715688af6c67b", + "indexes" : { + "data" : 33, + "gas" : 2, + "value" : 0 + }, + "logs" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347" + }, + { + "hash" : "0x3d04ee4d43cba1d78b88f9ecc648667474e5b306824888b02af715688af6c67b", + "indexes" : { + "data" : 33, + "gas" : 3, + "value" : 0 + }, + "logs" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347" + }, + { + "hash" : "0x092778ca74cdbbfdf5f74d86afbca93d627c4cddaf83549e93097c29893a7e5c", + "indexes" : { + "data" : 34, + "gas" : 0, + "value" : 0 + }, + "logs" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347" + }, + { + "hash" : "0x092778ca74cdbbfdf5f74d86afbca93d627c4cddaf83549e93097c29893a7e5c", + "indexes" : { + "data" : 34, + "gas" : 1, + "value" : 0 + }, + "logs" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347" + }, + { + "hash" : "0x092778ca74cdbbfdf5f74d86afbca93d627c4cddaf83549e93097c29893a7e5c", + "indexes" : { + "data" : 34, + "gas" : 2, + "value" : 0 + }, + "logs" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347" + }, + { + "hash" : "0x092778ca74cdbbfdf5f74d86afbca93d627c4cddaf83549e93097c29893a7e5c", + "indexes" : { + "data" : 34, + "gas" : 3, + "value" : 0 + }, + "logs" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347" + }, + { + "hash" : "0x46761fc79fc4237304911d4373fda3797db427417a3762fcdd65e37740404150", + "indexes" : { + "data" : 35, + "gas" : 0, + "value" : 0 + }, + "logs" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347" + }, + { + "hash" : "0x46761fc79fc4237304911d4373fda3797db427417a3762fcdd65e37740404150", + "indexes" : { + "data" : 35, + "gas" : 1, + "value" : 0 + }, + "logs" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347" + }, + { + "hash" : "0x46761fc79fc4237304911d4373fda3797db427417a3762fcdd65e37740404150", + "indexes" : { + "data" : 35, + "gas" : 2, + "value" : 0 + }, + "logs" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347" + }, + { + "hash" : "0x46761fc79fc4237304911d4373fda3797db427417a3762fcdd65e37740404150", + "indexes" : { + "data" : 35, + "gas" : 3, + "value" : 0 + }, + "logs" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347" } ], "EIP150" : [ @@ -2248,6 +2429,186 @@ "value" : 0 }, "logs" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347" + }, + { + "hash" : "0x430d565e9149134613fa50ba2ab3086017d1345d36ddf74f28cffaeaa6105925", + "indexes" : { + "data" : 31, + "gas" : 0, + "value" : 0 + }, + "logs" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347" + }, + { + "hash" : "0x430d565e9149134613fa50ba2ab3086017d1345d36ddf74f28cffaeaa6105925", + "indexes" : { + "data" : 31, + "gas" : 1, + "value" : 0 + }, + "logs" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347" + }, + { + "hash" : "0x430d565e9149134613fa50ba2ab3086017d1345d36ddf74f28cffaeaa6105925", + "indexes" : { + "data" : 31, + "gas" : 2, + "value" : 0 + }, + "logs" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347" + }, + { + "hash" : "0x430d565e9149134613fa50ba2ab3086017d1345d36ddf74f28cffaeaa6105925", + "indexes" : { + "data" : 31, + "gas" : 3, + "value" : 0 + }, + "logs" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347" + }, + { + "hash" : "0x1f433dda291433d9ea9f3e075cc42a1d4343b37e183e1e2fb64db16328e93fa9", + "indexes" : { + "data" : 32, + "gas" : 0, + "value" : 0 + }, + "logs" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347" + }, + { + "hash" : "0x1f433dda291433d9ea9f3e075cc42a1d4343b37e183e1e2fb64db16328e93fa9", + "indexes" : { + "data" : 32, + "gas" : 1, + "value" : 0 + }, + "logs" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347" + }, + { + "hash" : "0x1f433dda291433d9ea9f3e075cc42a1d4343b37e183e1e2fb64db16328e93fa9", + "indexes" : { + "data" : 32, + "gas" : 2, + "value" : 0 + }, + "logs" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347" + }, + { + "hash" : "0x1f433dda291433d9ea9f3e075cc42a1d4343b37e183e1e2fb64db16328e93fa9", + "indexes" : { + "data" : 32, + "gas" : 3, + "value" : 0 + }, + "logs" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347" + }, + { + "hash" : "0xc11746c0f66cb2da0c151ad9a2c6a6164cfcfa4a7c333d843517df3f3f04fa8b", + "indexes" : { + "data" : 33, + "gas" : 0, + "value" : 0 + }, + "logs" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347" + }, + { + "hash" : "0xc11746c0f66cb2da0c151ad9a2c6a6164cfcfa4a7c333d843517df3f3f04fa8b", + "indexes" : { + "data" : 33, + "gas" : 1, + "value" : 0 + }, + "logs" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347" + }, + { + "hash" : "0xc11746c0f66cb2da0c151ad9a2c6a6164cfcfa4a7c333d843517df3f3f04fa8b", + "indexes" : { + "data" : 33, + "gas" : 2, + "value" : 0 + }, + "logs" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347" + }, + { + "hash" : "0xc11746c0f66cb2da0c151ad9a2c6a6164cfcfa4a7c333d843517df3f3f04fa8b", + "indexes" : { + "data" : 33, + "gas" : 3, + "value" : 0 + }, + "logs" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347" + }, + { + "hash" : "0xb7dadfd3c564dda835afbbb80b9e7d993e67985e56096f1a5e17f2eaf919ac4b", + "indexes" : { + "data" : 34, + "gas" : 0, + "value" : 0 + }, + "logs" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347" + }, + { + "hash" : "0xb7dadfd3c564dda835afbbb80b9e7d993e67985e56096f1a5e17f2eaf919ac4b", + "indexes" : { + "data" : 34, + "gas" : 1, + "value" : 0 + }, + "logs" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347" + }, + { + "hash" : "0xb7dadfd3c564dda835afbbb80b9e7d993e67985e56096f1a5e17f2eaf919ac4b", + "indexes" : { + "data" : 34, + "gas" : 2, + "value" : 0 + }, + "logs" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347" + }, + { + "hash" : "0xb7dadfd3c564dda835afbbb80b9e7d993e67985e56096f1a5e17f2eaf919ac4b", + "indexes" : { + "data" : 34, + "gas" : 3, + "value" : 0 + }, + "logs" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347" + }, + { + "hash" : "0xde039a193a7c958c7e2622c68cb0314d37cc780e707c9364e3dc87d764a898d5", + "indexes" : { + "data" : 35, + "gas" : 0, + "value" : 0 + }, + "logs" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347" + }, + { + "hash" : "0xde039a193a7c958c7e2622c68cb0314d37cc780e707c9364e3dc87d764a898d5", + "indexes" : { + "data" : 35, + "gas" : 1, + "value" : 0 + }, + "logs" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347" + }, + { + "hash" : "0xde039a193a7c958c7e2622c68cb0314d37cc780e707c9364e3dc87d764a898d5", + "indexes" : { + "data" : 35, + "gas" : 2, + "value" : 0 + }, + "logs" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347" + }, + { + "hash" : "0xde039a193a7c958c7e2622c68cb0314d37cc780e707c9364e3dc87d764a898d5", + "indexes" : { + "data" : 35, + "gas" : 3, + "value" : 0 + }, + "logs" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347" } ], "EIP158" : [ @@ -3366,6 +3727,186 @@ "value" : 0 }, "logs" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347" + }, + { + "hash" : "0x430d565e9149134613fa50ba2ab3086017d1345d36ddf74f28cffaeaa6105925", + "indexes" : { + "data" : 31, + "gas" : 0, + "value" : 0 + }, + "logs" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347" + }, + { + "hash" : "0x430d565e9149134613fa50ba2ab3086017d1345d36ddf74f28cffaeaa6105925", + "indexes" : { + "data" : 31, + "gas" : 1, + "value" : 0 + }, + "logs" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347" + }, + { + "hash" : "0x430d565e9149134613fa50ba2ab3086017d1345d36ddf74f28cffaeaa6105925", + "indexes" : { + "data" : 31, + "gas" : 2, + "value" : 0 + }, + "logs" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347" + }, + { + "hash" : "0x430d565e9149134613fa50ba2ab3086017d1345d36ddf74f28cffaeaa6105925", + "indexes" : { + "data" : 31, + "gas" : 3, + "value" : 0 + }, + "logs" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347" + }, + { + "hash" : "0x1f433dda291433d9ea9f3e075cc42a1d4343b37e183e1e2fb64db16328e93fa9", + "indexes" : { + "data" : 32, + "gas" : 0, + "value" : 0 + }, + "logs" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347" + }, + { + "hash" : "0x1f433dda291433d9ea9f3e075cc42a1d4343b37e183e1e2fb64db16328e93fa9", + "indexes" : { + "data" : 32, + "gas" : 1, + "value" : 0 + }, + "logs" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347" + }, + { + "hash" : "0x1f433dda291433d9ea9f3e075cc42a1d4343b37e183e1e2fb64db16328e93fa9", + "indexes" : { + "data" : 32, + "gas" : 2, + "value" : 0 + }, + "logs" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347" + }, + { + "hash" : "0x1f433dda291433d9ea9f3e075cc42a1d4343b37e183e1e2fb64db16328e93fa9", + "indexes" : { + "data" : 32, + "gas" : 3, + "value" : 0 + }, + "logs" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347" + }, + { + "hash" : "0xc11746c0f66cb2da0c151ad9a2c6a6164cfcfa4a7c333d843517df3f3f04fa8b", + "indexes" : { + "data" : 33, + "gas" : 0, + "value" : 0 + }, + "logs" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347" + }, + { + "hash" : "0xc11746c0f66cb2da0c151ad9a2c6a6164cfcfa4a7c333d843517df3f3f04fa8b", + "indexes" : { + "data" : 33, + "gas" : 1, + "value" : 0 + }, + "logs" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347" + }, + { + "hash" : "0xc11746c0f66cb2da0c151ad9a2c6a6164cfcfa4a7c333d843517df3f3f04fa8b", + "indexes" : { + "data" : 33, + "gas" : 2, + "value" : 0 + }, + "logs" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347" + }, + { + "hash" : "0xc11746c0f66cb2da0c151ad9a2c6a6164cfcfa4a7c333d843517df3f3f04fa8b", + "indexes" : { + "data" : 33, + "gas" : 3, + "value" : 0 + }, + "logs" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347" + }, + { + "hash" : "0xb7dadfd3c564dda835afbbb80b9e7d993e67985e56096f1a5e17f2eaf919ac4b", + "indexes" : { + "data" : 34, + "gas" : 0, + "value" : 0 + }, + "logs" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347" + }, + { + "hash" : "0xb7dadfd3c564dda835afbbb80b9e7d993e67985e56096f1a5e17f2eaf919ac4b", + "indexes" : { + "data" : 34, + "gas" : 1, + "value" : 0 + }, + "logs" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347" + }, + { + "hash" : "0xb7dadfd3c564dda835afbbb80b9e7d993e67985e56096f1a5e17f2eaf919ac4b", + "indexes" : { + "data" : 34, + "gas" : 2, + "value" : 0 + }, + "logs" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347" + }, + { + "hash" : "0xb7dadfd3c564dda835afbbb80b9e7d993e67985e56096f1a5e17f2eaf919ac4b", + "indexes" : { + "data" : 34, + "gas" : 3, + "value" : 0 + }, + "logs" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347" + }, + { + "hash" : "0xde039a193a7c958c7e2622c68cb0314d37cc780e707c9364e3dc87d764a898d5", + "indexes" : { + "data" : 35, + "gas" : 0, + "value" : 0 + }, + "logs" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347" + }, + { + "hash" : "0xde039a193a7c958c7e2622c68cb0314d37cc780e707c9364e3dc87d764a898d5", + "indexes" : { + "data" : 35, + "gas" : 1, + "value" : 0 + }, + "logs" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347" + }, + { + "hash" : "0xde039a193a7c958c7e2622c68cb0314d37cc780e707c9364e3dc87d764a898d5", + "indexes" : { + "data" : 35, + "gas" : 2, + "value" : 0 + }, + "logs" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347" + }, + { + "hash" : "0xde039a193a7c958c7e2622c68cb0314d37cc780e707c9364e3dc87d764a898d5", + "indexes" : { + "data" : 35, + "gas" : 3, + "value" : 0 + }, + "logs" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347" } ], "Frontier" : [ @@ -4484,6 +5025,186 @@ "value" : 0 }, "logs" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347" + }, + { + "hash" : "0xbbe41bbf20a3f2663091f141148c584776955f1ddfe40a9c56eeb43c63cf961f", + "indexes" : { + "data" : 31, + "gas" : 0, + "value" : 0 + }, + "logs" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347" + }, + { + "hash" : "0x373b52c342db68ed9490c10ae7a1d14304d3f6d07e2d3fdb45670215c0d9d550", + "indexes" : { + "data" : 31, + "gas" : 1, + "value" : 0 + }, + "logs" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347" + }, + { + "hash" : "0x8e1e1ba76b3316d209d63d626a6056db93193f9d3c1a635bb01b4f7fd50d1cba", + "indexes" : { + "data" : 31, + "gas" : 2, + "value" : 0 + }, + "logs" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347" + }, + { + "hash" : "0x468d56285c3ce1fb8bf08e8e790b880aca38ee0f89ca5dc42f3be7bf2f84d3b6", + "indexes" : { + "data" : 31, + "gas" : 3, + "value" : 0 + }, + "logs" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347" + }, + { + "hash" : "0xbbe41bbf20a3f2663091f141148c584776955f1ddfe40a9c56eeb43c63cf961f", + "indexes" : { + "data" : 32, + "gas" : 0, + "value" : 0 + }, + "logs" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347" + }, + { + "hash" : "0x373b52c342db68ed9490c10ae7a1d14304d3f6d07e2d3fdb45670215c0d9d550", + "indexes" : { + "data" : 32, + "gas" : 1, + "value" : 0 + }, + "logs" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347" + }, + { + "hash" : "0x8e1e1ba76b3316d209d63d626a6056db93193f9d3c1a635bb01b4f7fd50d1cba", + "indexes" : { + "data" : 32, + "gas" : 2, + "value" : 0 + }, + "logs" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347" + }, + { + "hash" : "0x468d56285c3ce1fb8bf08e8e790b880aca38ee0f89ca5dc42f3be7bf2f84d3b6", + "indexes" : { + "data" : 32, + "gas" : 3, + "value" : 0 + }, + "logs" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347" + }, + { + "hash" : "0xbbe41bbf20a3f2663091f141148c584776955f1ddfe40a9c56eeb43c63cf961f", + "indexes" : { + "data" : 33, + "gas" : 0, + "value" : 0 + }, + "logs" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347" + }, + { + "hash" : "0x373b52c342db68ed9490c10ae7a1d14304d3f6d07e2d3fdb45670215c0d9d550", + "indexes" : { + "data" : 33, + "gas" : 1, + "value" : 0 + }, + "logs" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347" + }, + { + "hash" : "0x8e1e1ba76b3316d209d63d626a6056db93193f9d3c1a635bb01b4f7fd50d1cba", + "indexes" : { + "data" : 33, + "gas" : 2, + "value" : 0 + }, + "logs" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347" + }, + { + "hash" : "0x468d56285c3ce1fb8bf08e8e790b880aca38ee0f89ca5dc42f3be7bf2f84d3b6", + "indexes" : { + "data" : 33, + "gas" : 3, + "value" : 0 + }, + "logs" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347" + }, + { + "hash" : "0xbbe41bbf20a3f2663091f141148c584776955f1ddfe40a9c56eeb43c63cf961f", + "indexes" : { + "data" : 34, + "gas" : 0, + "value" : 0 + }, + "logs" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347" + }, + { + "hash" : "0x373b52c342db68ed9490c10ae7a1d14304d3f6d07e2d3fdb45670215c0d9d550", + "indexes" : { + "data" : 34, + "gas" : 1, + "value" : 0 + }, + "logs" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347" + }, + { + "hash" : "0x8e1e1ba76b3316d209d63d626a6056db93193f9d3c1a635bb01b4f7fd50d1cba", + "indexes" : { + "data" : 34, + "gas" : 2, + "value" : 0 + }, + "logs" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347" + }, + { + "hash" : "0x468d56285c3ce1fb8bf08e8e790b880aca38ee0f89ca5dc42f3be7bf2f84d3b6", + "indexes" : { + "data" : 34, + "gas" : 3, + "value" : 0 + }, + "logs" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347" + }, + { + "hash" : "0xbbe41bbf20a3f2663091f141148c584776955f1ddfe40a9c56eeb43c63cf961f", + "indexes" : { + "data" : 35, + "gas" : 0, + "value" : 0 + }, + "logs" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347" + }, + { + "hash" : "0x373b52c342db68ed9490c10ae7a1d14304d3f6d07e2d3fdb45670215c0d9d550", + "indexes" : { + "data" : 35, + "gas" : 1, + "value" : 0 + }, + "logs" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347" + }, + { + "hash" : "0x8e1e1ba76b3316d209d63d626a6056db93193f9d3c1a635bb01b4f7fd50d1cba", + "indexes" : { + "data" : 35, + "gas" : 2, + "value" : 0 + }, + "logs" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347" + }, + { + "hash" : "0x468d56285c3ce1fb8bf08e8e790b880aca38ee0f89ca5dc42f3be7bf2f84d3b6", + "indexes" : { + "data" : 35, + "gas" : 3, + "value" : 0 + }, + "logs" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347" } ], "Homestead" : [ @@ -5602,6 +6323,186 @@ "value" : 0 }, "logs" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347" + }, + { + "hash" : "0xbbe41bbf20a3f2663091f141148c584776955f1ddfe40a9c56eeb43c63cf961f", + "indexes" : { + "data" : 31, + "gas" : 0, + "value" : 0 + }, + "logs" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347" + }, + { + "hash" : "0x373b52c342db68ed9490c10ae7a1d14304d3f6d07e2d3fdb45670215c0d9d550", + "indexes" : { + "data" : 31, + "gas" : 1, + "value" : 0 + }, + "logs" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347" + }, + { + "hash" : "0x8e1e1ba76b3316d209d63d626a6056db93193f9d3c1a635bb01b4f7fd50d1cba", + "indexes" : { + "data" : 31, + "gas" : 2, + "value" : 0 + }, + "logs" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347" + }, + { + "hash" : "0x468d56285c3ce1fb8bf08e8e790b880aca38ee0f89ca5dc42f3be7bf2f84d3b6", + "indexes" : { + "data" : 31, + "gas" : 3, + "value" : 0 + }, + "logs" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347" + }, + { + "hash" : "0xbbe41bbf20a3f2663091f141148c584776955f1ddfe40a9c56eeb43c63cf961f", + "indexes" : { + "data" : 32, + "gas" : 0, + "value" : 0 + }, + "logs" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347" + }, + { + "hash" : "0x373b52c342db68ed9490c10ae7a1d14304d3f6d07e2d3fdb45670215c0d9d550", + "indexes" : { + "data" : 32, + "gas" : 1, + "value" : 0 + }, + "logs" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347" + }, + { + "hash" : "0x8e1e1ba76b3316d209d63d626a6056db93193f9d3c1a635bb01b4f7fd50d1cba", + "indexes" : { + "data" : 32, + "gas" : 2, + "value" : 0 + }, + "logs" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347" + }, + { + "hash" : "0x468d56285c3ce1fb8bf08e8e790b880aca38ee0f89ca5dc42f3be7bf2f84d3b6", + "indexes" : { + "data" : 32, + "gas" : 3, + "value" : 0 + }, + "logs" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347" + }, + { + "hash" : "0xbbe41bbf20a3f2663091f141148c584776955f1ddfe40a9c56eeb43c63cf961f", + "indexes" : { + "data" : 33, + "gas" : 0, + "value" : 0 + }, + "logs" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347" + }, + { + "hash" : "0x373b52c342db68ed9490c10ae7a1d14304d3f6d07e2d3fdb45670215c0d9d550", + "indexes" : { + "data" : 33, + "gas" : 1, + "value" : 0 + }, + "logs" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347" + }, + { + "hash" : "0x8e1e1ba76b3316d209d63d626a6056db93193f9d3c1a635bb01b4f7fd50d1cba", + "indexes" : { + "data" : 33, + "gas" : 2, + "value" : 0 + }, + "logs" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347" + }, + { + "hash" : "0x468d56285c3ce1fb8bf08e8e790b880aca38ee0f89ca5dc42f3be7bf2f84d3b6", + "indexes" : { + "data" : 33, + "gas" : 3, + "value" : 0 + }, + "logs" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347" + }, + { + "hash" : "0xbbe41bbf20a3f2663091f141148c584776955f1ddfe40a9c56eeb43c63cf961f", + "indexes" : { + "data" : 34, + "gas" : 0, + "value" : 0 + }, + "logs" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347" + }, + { + "hash" : "0x373b52c342db68ed9490c10ae7a1d14304d3f6d07e2d3fdb45670215c0d9d550", + "indexes" : { + "data" : 34, + "gas" : 1, + "value" : 0 + }, + "logs" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347" + }, + { + "hash" : "0x8e1e1ba76b3316d209d63d626a6056db93193f9d3c1a635bb01b4f7fd50d1cba", + "indexes" : { + "data" : 34, + "gas" : 2, + "value" : 0 + }, + "logs" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347" + }, + { + "hash" : "0x468d56285c3ce1fb8bf08e8e790b880aca38ee0f89ca5dc42f3be7bf2f84d3b6", + "indexes" : { + "data" : 34, + "gas" : 3, + "value" : 0 + }, + "logs" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347" + }, + { + "hash" : "0xbbe41bbf20a3f2663091f141148c584776955f1ddfe40a9c56eeb43c63cf961f", + "indexes" : { + "data" : 35, + "gas" : 0, + "value" : 0 + }, + "logs" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347" + }, + { + "hash" : "0x373b52c342db68ed9490c10ae7a1d14304d3f6d07e2d3fdb45670215c0d9d550", + "indexes" : { + "data" : 35, + "gas" : 1, + "value" : 0 + }, + "logs" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347" + }, + { + "hash" : "0x8e1e1ba76b3316d209d63d626a6056db93193f9d3c1a635bb01b4f7fd50d1cba", + "indexes" : { + "data" : 35, + "gas" : 2, + "value" : 0 + }, + "logs" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347" + }, + { + "hash" : "0x468d56285c3ce1fb8bf08e8e790b880aca38ee0f89ca5dc42f3be7bf2f84d3b6", + "indexes" : { + "data" : 35, + "gas" : 3, + "value" : 0 + }, + "logs" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347" } ] }, @@ -5653,7 +6554,12 @@ "0x0000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000010100000000000000000000000000000000000000000000000000000000000000020200000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000030006", "0x00000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000000000000000", "0x00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000040000000000", - "0x000000000000000000000000000000000000000000000000000000000000000080000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000" + "0x000000000000000000000000000000000000000000000000000000000000000080000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000", + "0x000000000000000000000000000000000000000000000000000000000000002100000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000010035ee4e488f45e64d2f07becd54646357381d32f30b74c299a8c25d5202c04938ef6c4764a04f10fc908b78c4486886000f6d290251a79681a83b950c7e5c37351", + "0x0000000000000000000000000000000000000000000000000000000000000005000000000000000000000000000000000000000000000000000000000000000c000000000000000000000000000000000000000000000000000000000000000cd935b43e42204fcbfb734a6e27735e8e90204fcc1fd2727bb040f9eecb", + "0x0000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000060846813a8d2d451387340fa0597c6545ae63", + "0x0000000000000000000000000000000000000000000000000000000000000005000000000000000000000000000000000000000000000000000000000000000d000000000000000000000000000000000000000000000000000000000000000d02534f82b1013f20d9c7d18d62cd95674d2e013f20d9c7d18d62cd95674d2f", + "0x0000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000001200000000000000000000000000000000000000000000000000000000000000120785e45de3d6be050ba3c4d33ff0bb2d010ace3b1dfe9c49f4c7a8075102fa19a86c010ace3b1dfe9c49f4c7a8075102fa19a86d" ], "gasLimit" : [ "0x05f5e100", diff --git a/src/GeneralStateTestsFiller/stPreCompiledContracts/modexpFiller.json b/src/GeneralStateTestsFiller/stPreCompiledContracts/modexpFiller.json index 9f32208e1..4c6fb07c1 100644 --- a/src/GeneralStateTestsFiller/stPreCompiledContracts/modexpFiller.json +++ b/src/GeneralStateTestsFiller/stPreCompiledContracts/modexpFiller.json @@ -91,6 +91,86 @@ }, { "indexes" : { + "data" : [31], + "gas" : -1, + "value" : -1 + }, + "network" : ["Byzantium"], + "result" : { + "1000000000000000000000000000000000000000" : { + "storage" : { + "0x01" : "0x01", + "0x02" : "0x0100000000000000000000000000000000" + } + } + } + }, + { + "indexes" : { + "data" : [32], + "gas" : -1, + "value" : -1 + }, + "network" : ["Byzantium"], + "result" : { + "1000000000000000000000000000000000000000" : { + "storage" : { + "0x01" : "0x01", + "0x02" : "0x010000000000000000000000000000000000000000" + } + } + } + }, + { + "indexes" : { + "data" : [33], + "gas" : -1, + "value" : -1 + }, + "network" : ["Byzantium"], + "result" : { + "1000000000000000000000000000000000000000" : { + "storage" : { + "0x01" : "0x01", + "0x02" : "0x010000000000000000000000000000000000000000000000000000" + } + } + } + }, + { + "indexes" : { + "data" : [34], + "gas" : -1, + "value" : -1 + }, + "network" : ["Byzantium"], + "result" : { + "1000000000000000000000000000000000000000" : { + "storage" : { + "0x01" : "0x01", + "0x02" : "0x0100000000000000000000000000000000000000" + } + } + } + }, + { + "indexes" : { + "data" : [35], + "gas" : -1, + "value" : -1 + }, + "network" : ["Byzantium"], + "result" : { + "1000000000000000000000000000000000000000" : { + "storage" : { + "0x01" : "0x01", + "0x02" : "0x010000000000000000000000000000" + } + } + } + }, + { + "indexes" : { "data" : [3,4], "gas" : 0, "value" : -1 @@ -199,7 +279,8 @@ "27 - 02 ** 03 % 06, but exp with 256 bytes of zero in front.", "28 - base length 4TiB", "29 - exp length 4TiB; returns 0 because mod is zero", - "30 - base and mod have zero-length. exp's length is 2^255. Since mod is zero, the result should be zero." + "30 - base and mod have zero-length. exp's length is 2^255. Since mod is zero, the result should be zero.", + "31,32,33,34,35 - something that should result in 1." ], "data" : [ "0x00000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000002003fffffffffffffffffffffffffffffffffffffffffffffffffffffffefffffc2efffffffffffffffffffffffffffffffffffffffffffffffffffffffefffffc2f", @@ -232,7 +313,12 @@ "0x0000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000010100000000000000000000000000000000000000000000000000000000000000020200000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000030006", "0x00000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000000000000000", "0x00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000040000000000", -"0x000000000000000000000000000000000000000000000000000000000000000080000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000" +"0x000000000000000000000000000000000000000000000000000000000000000080000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000", +"0x000000000000000000000000000000000000000000000000000000000000002100000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000010035ee4e488f45e64d2f07becd54646357381d32f30b74c299a8c25d5202c04938ef6c4764a04f10fc908b78c4486886000f6d290251a79681a83b950c7e5c37351", +"0x0000000000000000000000000000000000000000000000000000000000000005000000000000000000000000000000000000000000000000000000000000000c000000000000000000000000000000000000000000000000000000000000000cd935b43e42204fcbfb734a6e27735e8e90204fcc1fd2727bb040f9eecb", +"0x0000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000060846813a8d2d451387340fa0597c6545ae63", +"0x0000000000000000000000000000000000000000000000000000000000000005000000000000000000000000000000000000000000000000000000000000000d000000000000000000000000000000000000000000000000000000000000000d02534f82b1013f20d9c7d18d62cd95674d2e013f20d9c7d18d62cd95674d2f", +"0x0000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000001200000000000000000000000000000000000000000000000000000000000000120785e45de3d6be050ba3c4d33ff0bb2d010ace3b1dfe9c49f4c7a8075102fa19a86c010ace3b1dfe9c49f4c7a8075102fa19a86d" ], "gasLimit" : [ "100000000", "90000", "110000", "200000" |