aboutsummaryrefslogtreecommitdiffstats
path: root/StateTests/stMemoryTest.json
diff options
context:
space:
mode:
authorCJentzsch <jentzsch.software@gmail.com>2015-06-04 21:52:57 +0800
committerCJentzsch <jentzsch.software@gmail.com>2015-06-04 21:52:57 +0800
commit0959625190ed71f22ec70f36f605326c6ff18b87 (patch)
tree6508b401e288afaab1143315306ff984d435165c /StateTests/stMemoryTest.json
parent647d39531dfaafca498eb365a7461dbe5d5bba2c (diff)
downloaddexon-tests-0959625190ed71f22ec70f36f605326c6ff18b87.tar
dexon-tests-0959625190ed71f22ec70f36f605326c6ff18b87.tar.gz
dexon-tests-0959625190ed71f22ec70f36f605326c6ff18b87.tar.bz2
dexon-tests-0959625190ed71f22ec70f36f605326c6ff18b87.tar.lz
dexon-tests-0959625190ed71f22ec70f36f605326c6ff18b87.tar.xz
dexon-tests-0959625190ed71f22ec70f36f605326c6ff18b87.tar.zst
dexon-tests-0959625190ed71f22ec70f36f605326c6ff18b87.zip
add sec audit inspired tests
Diffstat (limited to 'StateTests/stMemoryTest.json')
-rw-r--r--StateTests/stMemoryTest.json125
1 files changed, 125 insertions, 0 deletions
diff --git a/StateTests/stMemoryTest.json b/StateTests/stMemoryTest.json
index 21a9e6970..95e78f89b 100644
--- a/StateTests/stMemoryTest.json
+++ b/StateTests/stMemoryTest.json
@@ -61,6 +61,69 @@
"value" : "0x0a"
}
},
+ "calldatacopy_dejavu2" : {
+ "env" : {
+ "currentCoinbase" : "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba",
+ "currentDifficulty" : "0x0100",
+ "currentGasLimit" : "0x0a00000000",
+ "currentNumber" : "0x00",
+ "currentTimestamp" : "0x01",
+ "previousHash" : "5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6"
+ },
+ "logs" : [
+ ],
+ "out" : "0x",
+ "post" : {
+ "0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6" : {
+ "balance" : "0x0de0b6b3a764000a",
+ "code" : "0x6005565b005b6042601f536101036000601f3760005180606014600357640badc0ffee60ff55",
+ "nonce" : "0x00",
+ "storage" : {
+ "0xff" : "0x0badc0ffee"
+ }
+ },
+ "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba" : {
+ "balance" : "0xa0a4",
+ "code" : "0x",
+ "nonce" : "0x00",
+ "storage" : {
+ }
+ },
+ "a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : {
+ "balance" : "0x63ffff5f52",
+ "code" : "0x",
+ "nonce" : "0x01",
+ "storage" : {
+ }
+ }
+ },
+ "postStateRoot" : "74ee79796297a4556e905da5bc59648da679f19b3884a1a383e5b0c7a91c9e05",
+ "pre" : {
+ "0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6" : {
+ "balance" : "0x0de0b6b3a7640000",
+ "code" : "0x6005565b005b6042601f536101036000601f3760005180606014600357640badc0ffee60ff55",
+ "nonce" : "0x00",
+ "storage" : {
+ }
+ },
+ "a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : {
+ "balance" : "0x6400000000",
+ "code" : "0x",
+ "nonce" : "0x00",
+ "storage" : {
+ }
+ }
+ },
+ "transaction" : {
+ "data" : "",
+ "gasLimit" : "0x0a00000000",
+ "gasPrice" : "0x01",
+ "nonce" : "0x00",
+ "secretKey" : "45a915e4d060149eb4365960e6a7a45f334393093061116b197e3240065ff2d8",
+ "to" : "0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6",
+ "value" : "0x0a"
+ }
+ },
"codecopy_dejavu" : {
"env" : {
"currentCoinbase" : "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba",
@@ -123,6 +186,68 @@
"value" : "0x0a"
}
},
+ "codecopy_dejavu2" : {
+ "env" : {
+ "currentCoinbase" : "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba",
+ "currentDifficulty" : "0x0100",
+ "currentGasLimit" : "0x0a00000000",
+ "currentNumber" : "0x00",
+ "currentTimestamp" : "0x01",
+ "previousHash" : "5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6"
+ },
+ "logs" : [
+ ],
+ "out" : "0x",
+ "post" : {
+ "0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6" : {
+ "balance" : "0x0de0b6b3a764000a",
+ "code" : "0x6005565b005b600a68010000000000000001601f3960005180600014600357640badc0ffee60",
+ "nonce" : "0x00",
+ "storage" : {
+ }
+ },
+ "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba" : {
+ "balance" : "0x5246",
+ "code" : "0x",
+ "nonce" : "0x00",
+ "storage" : {
+ }
+ },
+ "a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : {
+ "balance" : "0x63ffffadb0",
+ "code" : "0x",
+ "nonce" : "0x01",
+ "storage" : {
+ }
+ }
+ },
+ "postStateRoot" : "368b88a2614b03725ac64cec0ef73009aaa11390385f0273541932e152f03900",
+ "pre" : {
+ "0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6" : {
+ "balance" : "0x0de0b6b3a7640000",
+ "code" : "0x6005565b005b600a68010000000000000001601f3960005180600014600357640badc0ffee60",
+ "nonce" : "0x00",
+ "storage" : {
+ }
+ },
+ "a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : {
+ "balance" : "0x6400000000",
+ "code" : "0x",
+ "nonce" : "0x00",
+ "storage" : {
+ }
+ }
+ },
+ "transaction" : {
+ "data" : "",
+ "gasLimit" : "0x0a00000000",
+ "gasPrice" : "0x01",
+ "nonce" : "0x00",
+ "secretKey" : "45a915e4d060149eb4365960e6a7a45f334393093061116b197e3240065ff2d8",
+ "to" : "0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6",
+ "value" : "0x0a"
+ }
+ },
"extcodecopy_dejavu" : {
"env" : {
"currentCoinbase" : "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba",