diff options
author | Dimitry <winsvega@mail.ru> | 2017-09-04 20:05:51 +0800 |
---|---|---|
committer | Dimitry <winsvega@mail.ru> | 2017-09-04 20:05:51 +0800 |
commit | 396d921ecc800a6ac12c205fd1ac1b520331719f (patch) | |
tree | bb9249e3fe6c2d3ae3b8fd648d1e539d1b01d00c /src/GeneralStateTestsFiller | |
parent | ddba26a8c7381345f035d9428d721f5ddba7aaec (diff) | |
download | tangerine-tests-396d921ecc800a6ac12c205fd1ac1b520331719f.tar tangerine-tests-396d921ecc800a6ac12c205fd1ac1b520331719f.tar.gz tangerine-tests-396d921ecc800a6ac12c205fd1ac1b520331719f.tar.bz2 tangerine-tests-396d921ecc800a6ac12c205fd1ac1b520331719f.tar.lz tangerine-tests-396d921ecc800a6ac12c205fd1ac1b520331719f.tar.xz tangerine-tests-396d921ecc800a6ac12c205fd1ac1b520331719f.tar.zst tangerine-tests-396d921ecc800a6ac12c205fd1ac1b520331719f.zip |
randomTest643
Codesize - creation of a ~1mb out of bounds in transaction init code
Diffstat (limited to 'src/GeneralStateTestsFiller')
-rw-r--r-- | src/GeneralStateTestsFiller/stRandom/randomStatetest643Filler.json | 50 |
1 files changed, 50 insertions, 0 deletions
diff --git a/src/GeneralStateTestsFiller/stRandom/randomStatetest643Filler.json b/src/GeneralStateTestsFiller/stRandom/randomStatetest643Filler.json new file mode 100644 index 000000000..2d1dd7953 --- /dev/null +++ b/src/GeneralStateTestsFiller/stRandom/randomStatetest643Filler.json @@ -0,0 +1,50 @@ +{ + "randomStatetest643" : { + "_info" : { + "comment" : "Return ~1 MB out of bounds of the init code. shouls throw codesize error after EIP158 and create empty account before EIP158" + }, + "env" : { + "currentCoinbase":"0xa94f5374fce5edbc8e2a8697c15331677e6ebf0b", + "currentDifficulty":"0x20000", + "currentGasLimit":"0x7f0d477519ac97", + "currentNumber":"0x01", + "currentTimestamp":"0x03e8", + "previousHash":"0xe9ca77b3bc9ef7c883808b725f1e408fc555d3058c4f87e81d135733454dbda4" + }, + "pre" : { + "0x1000000000000000000000000000000000000000" : { + "balance":"0x3f91b25c1601534b", + "code":"0x79ecfecf2ab84463f738fc85b069590fcff0334fb1a7108861a44465a26237bc83297ff893a1a95c84afbecc79e1ee4acc8fca826df1ab268bdfd9e712ad0d261f5ede0b6545e6a7d462826d39eb0ac5b4c3ef35f0b4e6d9e05f0773fc63be0c082847f6f9f7728764e142fcd95702c36d65c1e55ec0e2128768030e4eb0de74b57969caa2f2493998537ad0ecba9400ebae911dad6f98bd15da63a8614aa455dc593fa70386a260c66270f1d7527b75f1bf8a683b5d1721f7dd57755bd6a9bed9f874e3876cfcac6762ea51", + "nonce":"0xd2", + "storage" : {} + }, + "0xa94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "balance":"0xa015cddab7107b04", + "code":"", + "nonce":"0x00", + "storage" : {} + }, + "0xc94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "balance":"0x262e8de142312a2d", + "code":"0x436debc3912504eded08f73b9ff9490d73fc4f820a0890b7e8417fa97940713aeb870e59a790607f6b3d5649e57458ea8692da323253735967657e3fc6e02f6de1c0ff6cc18e051bdd52ad7b1eb441440620426b3485ab683d44ff8d5544eb7f7fb3e1f4c30063640b5a626f341b6271dd59621208476208431973c94f5374fce5edbc8e2a8697c15331677e6ebf0b6338f86b9af4", + "nonce":"0xf3", + "storage" : {} + } + }, + "transaction" : { + "data" : [ + "0x620d15bc62074ac2f3789b4ff89d27fb5018b60a3730731819c16c8a1e6513c3c2703e63f82ce3617b9c5bdd435cc4e8eaffa5d05d45aef99b6726757bbe89b4ae0e5b9b6062855c2d525b6ca347c35412d0ab99dbc839a14f619a34621beef752635999fd987437da3edb75b58f986d9b62ffc1e6dae25c7e0c019f73922a0ab96d77aef70627e71d0a63d38d2d09afec6a9f6dd36fff38e99a634e506f29060c4e3c3371d213d31078939857877d1780bc984b1ae1225b8dc7cc534cd080ba4b324f436d2c211b3c30889cf66d57b8f669c1be7711d78254d859636790551a4a0f6e0c06664680c8fadd1d7e7b3e887ea3cff5077d014551ed36a72977742f6dcee4113c33297428527783529e675399ca43d5df7d9a4151fcac7093585bb8c6df7d6563faafe035226b81786f72b243bfdbc99e8fd67571df50e0ed7a8e1aaca76fcc65151e7730dee525a07c75d1b3855ae0bfbe0d79ff4905974c837e30a06fb163d89d" + ], + "gasLimit" : [ + "0x9628e5" + ], + "gasPrice":"0x02", + "nonce":"0x00", + "secretKey":"0x45a915e4d060149eb4365960e6a7a45f334393093061116b197e3240065ff2d8", + "to":"", + "value" : [ + "0xf0ec2ce5" + ] + } + } +} |