aboutsummaryrefslogtreecommitdiffstats
path: root/GeneralStateTests
diff options
context:
space:
mode:
authorwinsvega <winsvega@mail.ru>2018-09-08 00:16:27 +0800
committerGitHub <noreply@github.com>2018-09-08 00:16:27 +0800
commitb87bd584634fd4061d54f7d8dd527d0eb43885e0 (patch)
treedd0cf4a3b0b15669be32aaf2e0a93771c2e6db70 /GeneralStateTests
parent1b47b2058e7800b17af7e3ff8b9e5377c5d4ff9f (diff)
parent6699d329912456a409b943c62a6f37673ab425ef (diff)
downloaddexon-tests-b87bd584634fd4061d54f7d8dd527d0eb43885e0.tar.gz
dexon-tests-b87bd584634fd4061d54f7d8dd527d0eb43885e0.tar.zst
dexon-tests-b87bd584634fd4061d54f7d8dd527d0eb43885e0.zip
Merge pull request #499 from ethereum/create2
create2 call precompiles from init code
Diffstat (limited to 'GeneralStateTests')
-rw-r--r--GeneralStateTests/stCreate2/create2callPrecompiles.json140
1 files changed, 140 insertions, 0 deletions
diff --git a/GeneralStateTests/stCreate2/create2callPrecompiles.json b/GeneralStateTests/stCreate2/create2callPrecompiles.json
new file mode 100644
index 000000000..db7c2090b
--- /dev/null
+++ b/GeneralStateTests/stCreate2/create2callPrecompiles.json
@@ -0,0 +1,140 @@
+{
+ "create2callPrecompiles" : {
+ "_info" : {
+ "comment" : "CALL precompiles during init code of CREATE2 contract ",
+ "filledwith" : "testeth 1.5.0.dev2+commit.253a2986.dirty",
+ "lllcversion" : "Version: 0.4.25-develop.2018.8.9+commit.63d071d6.mod.Linux.g++",
+ "source" : "src/GeneralStateTestsFiller/stCreate2/create2callPrecompilesFiller.json",
+ "sourceHash" : "5584b3dbd0b425d29d210f785e7fe0c9ae499798ee2ba758601ec873bd32f05d"
+ },
+ "env" : {
+ "currentCoinbase" : "0x2adc25665018aa1fe0e6bc666dac8fc2697ff9ba",
+ "currentDifficulty" : "0x20000",
+ "currentGasLimit" : "0xe8d4a51000",
+ "currentNumber" : "0x01",
+ "currentTimestamp" : "0x03e8",
+ "previousHash" : "0x5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6"
+ },
+ "post" : {
+ "Constantinople" : [
+ {
+ "hash" : "0x1b5fd9f213ec0c3f6cd58baf2d27ef39bcebd12f6f6b2ea7dd81a98e93384b06",
+ "indexes" : {
+ "data" : 0,
+ "gas" : 0,
+ "value" : 0
+ },
+ "logs" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347"
+ },
+ {
+ "hash" : "0xe20d2781ed9250f4fdacf0bfc4fc1fcf42e8e8caf14fb54626d52a8c0bfc2e97",
+ "indexes" : {
+ "data" : 1,
+ "gas" : 0,
+ "value" : 0
+ },
+ "logs" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347"
+ },
+ {
+ "hash" : "0xb34cd31786a752bbc39e0861428cc85af15b8a43dbb337fc8a03e55de0e92238",
+ "indexes" : {
+ "data" : 2,
+ "gas" : 0,
+ "value" : 0
+ },
+ "logs" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347"
+ },
+ {
+ "hash" : "0x67c83aae824542c83a12f8fdadff6345bb3b4f98f25536b2f31666ec7f040868",
+ "indexes" : {
+ "data" : 3,
+ "gas" : 0,
+ "value" : 0
+ },
+ "logs" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347"
+ },
+ {
+ "hash" : "0x1030d8533ac7cc413b6b8401f7d49069fc9776b2dc07780ac8ce7b5d88b46742",
+ "indexes" : {
+ "data" : 4,
+ "gas" : 0,
+ "value" : 0
+ },
+ "logs" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347"
+ },
+ {
+ "hash" : "0xe3b62e80cb2aabd489cd4203db174ff5ac6d91e11f1cbf52be8b29b47ddc5b4c",
+ "indexes" : {
+ "data" : 5,
+ "gas" : 0,
+ "value" : 0
+ },
+ "logs" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347"
+ },
+ {
+ "hash" : "0xc90391e3cc0bbe86e6909f84a30c985a1ab06a841cbb98d675220730b7595fa7",
+ "indexes" : {
+ "data" : 6,
+ "gas" : 0,
+ "value" : 0
+ },
+ "logs" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347"
+ },
+ {
+ "hash" : "0xe8c0d12d1cd2b189b0336173228be5001fad9b473827e721341a23362c4c045f",
+ "indexes" : {
+ "data" : 7,
+ "gas" : 0,
+ "value" : 0
+ },
+ "logs" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347"
+ }
+ ]
+ },
+ "pre" : {
+ "0xa94f5374fce5edbc8e2a8697c15331677e6ebf0b" : {
+ "balance" : "0x0de0b6b3a7640000",
+ "code" : "",
+ "nonce" : "0x00",
+ "storage" : {
+ }
+ },
+ "0xaddf5374fce5edbc8e2a8697c15331677e6ebf0b" : {
+ "balance" : "0x00",
+ "code" : "0x600035600052602035602052604035604052606035606052604060c860806000600060066207a120f260005560c85160015560e851600255",
+ "nonce" : "0x00",
+ "storage" : {
+ }
+ },
+ "0xb94f5374fce5edbc8e2a8697c15331677e6ebf0b" : {
+ "balance" : "0x00",
+ "code" : "0x60003560005260203560205260403560405260603560605260803560805260a03560a05260c03560c052604061012c60806000600060066207a120f2600055604061019060606080600060076207a120f260015561012c51600a5561014c51600b55610190516014556101b051601555601454600a5414600255601554600b5414600355",
+ "nonce" : "0x00",
+ "storage" : {
+ }
+ }
+ },
+ "transaction" : {
+ "data" : [
+ "0x6000609980601060003960006000f5007f18c547e4f7b0f325ad1e56f57e26c745b09a3e503d86e00e5255ff7f715d3d1c600052601c6020527f73b1693892219d736caba55bdb67216e485557ea6b6af75f37096c9aa6a5a75f6040527feeb940b1d03b21e36b0e47e79769f095fe2ab855bd91e3a38756b7d75a9c4549606052602060806080600060006001620493e0f160025560a060020a608051066000556000543214600155",
+ "0x6000602280601060003960006000f50064f34578907f6005526020600060256000600060026101f4f1600255600051600055",
+ "0x6000601980601060003960006000f500602060006000600060006003610258f1600255600051600055",
+ "0x6000602280601060003960006000f50064f34578907f6000526020600060256000600060046101f4f1600255600051600055",
+ "0x6000609480601060003960006000f5006001600052602060205260206040527f03fffffffffffffffffffffffffffffffffffffffffffffffffffffffefffffc6060527f2efffffffffffffffffffffffffffffffffffffffffffffffffffffffefffffc6080527f2f0000000000000000000000000000000000000000000000000000000000000060965260206103e860976000600060055af26001556103e851600255",
+ "0x6000602080601060003960006000f500600160005260206000610100600060006006620927c0f1600255600051600055",
+ "0x600060b480601060003960006000f5007f0f25929bcb43d5a57391564615c9e70a992b10eafa4db109709649cf48c50dd26000527f16da2f5cb6be7a0aa72c440c53c9bbdfec6c36c7d515536431b3a865468acbba6020527f1de49a4b0233273bba8146af82042d004f2085ec982397db0d97da17204cc2866040527f0217327ffc463919bef80cc166d09c6172639d8589799928761bcd9f22c903d46060526000600060806000600073addf5374fce5edbc8e2a8697c15331677e6ebf0b6207a120f2",
+ "0x600060c380601060003960006000f5007f1de49a4b0233273bba8146af82042d004f2085ec982397db0d97da17204cc2866000527f0217327ffc463919bef80cc166d09c6172639d8589799928761bcd9f22c903d4602052600060405260006060527f1de49a4b0233273bba8146af82042d004f2085ec982397db0d97da17204cc2866080527f0217327ffc463919bef80cc166d09c6172639d8589799928761bcd9f22c903d460a052600160c0526000600060e06000600073b94f5374fce5edbc8e2a8697c15331677e6ebf0b6207a120f2"
+ ],
+ "gasLimit" : [
+ "0xe4e1c0"
+ ],
+ "gasPrice" : "0x01",
+ "nonce" : "0x00",
+ "secretKey" : "0x45a915e4d060149eb4365960e6a7a45f334393093061116b197e3240065ff2d8",
+ "to" : "",
+ "value" : [
+ "0x01"
+ ]
+ }
+ }
+} \ No newline at end of file