aboutsummaryrefslogtreecommitdiffstats
path: root/stSystemOperationsTestFiller.json
diff options
context:
space:
mode:
authorCJentzsch <jentzsch.software@gmail.com>2015-01-07 19:14:33 +0800
committerCJentzsch <jentzsch.software@gmail.com>2015-01-07 19:14:33 +0800
commit8c0a3dc16e4304880fc01ee746ca2bc54ef7d750 (patch)
tree7143cb25c83f9c74c75f0163b6204310b7b663fd /stSystemOperationsTestFiller.json
parent8f61058567329d90bd99dacb1089464a53274d9d (diff)
downloaddexon-solidity-8c0a3dc16e4304880fc01ee746ca2bc54ef7d750.tar
dexon-solidity-8c0a3dc16e4304880fc01ee746ca2bc54ef7d750.tar.gz
dexon-solidity-8c0a3dc16e4304880fc01ee746ca2bc54ef7d750.tar.bz2
dexon-solidity-8c0a3dc16e4304880fc01ee746ca2bc54ef7d750.tar.lz
dexon-solidity-8c0a3dc16e4304880fc01ee746ca2bc54ef7d750.tar.xz
dexon-solidity-8c0a3dc16e4304880fc01ee746ca2bc54ef7d750.tar.zst
dexon-solidity-8c0a3dc16e4304880fc01ee746ca2bc54ef7d750.zip
memory test: high offset, zero size -> zero gas cost
Diffstat (limited to 'stSystemOperationsTestFiller.json')
-rw-r--r--stSystemOperationsTestFiller.json69
1 files changed, 69 insertions, 0 deletions
diff --git a/stSystemOperationsTestFiller.json b/stSystemOperationsTestFiller.json
index 70ce448f..757c8a23 100644
--- a/stSystemOperationsTestFiller.json
+++ b/stSystemOperationsTestFiller.json
@@ -33,6 +33,75 @@
}
},
+ "createNameRegistratorZeroMem": {
+ "env" : {
+ "previousHash" : "5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6",
+ "currentNumber" : "0",
+ "currentGasLimit" : "1000000",
+ "currentDifficulty" : "256",
+ "currentTimestamp" : 1,
+ "currentCoinbase" : "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba"
+ },
+ "pre" : {
+ "095e7baea6a6c7c4c2dfeb977efac326af552d87" : {
+ "balance" : "1000000000000000000",
+ "nonce" : 0,
+ "code" : "{ (MSTORE 0 0x601080600c6000396000f3006000355415600957005b60203560003555) [[ 0 ]] (CREATE 23 3 0) }",
+ "storage": {}
+ },
+ "a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : {
+ "balance" : "1000000000000000000",
+ "nonce" : 0,
+ "code" : "",
+ "storage": {}
+ }
+ },
+ "transaction" : {
+ "nonce" : "0",
+ "gasPrice" : "1",
+ "gasLimit" : "10000",
+ "to" : "095e7baea6a6c7c4c2dfeb977efac326af552d87",
+ "value" : "100000",
+ "secretKey" : "45a915e4d060149eb4365960e6a7a45f334393093061116b197e3240065ff2d8",
+ "data" : ""
+ }
+ },
+
+ "createNameRegistratorZeroMem2": {
+ "env" : {
+ "previousHash" : "5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6",
+ "currentNumber" : "0",
+ "currentGasLimit" : "1000000",
+ "currentDifficulty" : "256",
+ "currentTimestamp" : 1,
+ "currentCoinbase" : "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba"
+ },
+ "pre" : {
+ "095e7baea6a6c7c4c2dfeb977efac326af552d87" : {
+ "balance" : "1000000000000000000",
+ "nonce" : 0,
+ "code" : "{ (MSTORE 0 0x601080600c6000396000f3006000355415600957005b60203560003555) [[ 0 ]] (CREATE 23 0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff 0) }",
+ "storage": {}
+ },
+ "a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : {
+ "balance" : "1000000000000000000",
+ "nonce" : 0,
+ "code" : "",
+ "storage": {}
+ }
+ },
+ "transaction" : {
+ "nonce" : "0",
+ "gasPrice" : "1",
+ "gasLimit" : "10000",
+ "to" : "095e7baea6a6c7c4c2dfeb977efac326af552d87",
+ "value" : "100000",
+ "secretKey" : "45a915e4d060149eb4365960e6a7a45f334393093061116b197e3240065ff2d8",
+ "data" : ""
+ }
+ },
+
+
"createNameRegistratorZeroMemExpansion": {
"env" : {
"previousHash" : "5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6",