aboutsummaryrefslogtreecommitdiffstats
path: root/src/BlockchainTestsFiller/GeneralStateTests
diff options
context:
space:
mode:
authorJared Wasinger <j-wasinger@hotmail.com>2017-12-15 05:29:24 +0800
committerJared Wasinger <j-wasinger@hotmail.com>2017-12-15 05:29:24 +0800
commit148e70dac88e60c6c6afaa0c2bd60a8a65c0af3f (patch)
treef9d45541709309810f84ffcc968428dd08cb6cbc /src/BlockchainTestsFiller/GeneralStateTests
parentf36743f209ff1cf3187e3f1ba19fbda9ff5e94a0 (diff)
downloadtangerine-tests-148e70dac88e60c6c6afaa0c2bd60a8a65c0af3f.tar
tangerine-tests-148e70dac88e60c6c6afaa0c2bd60a8a65c0af3f.tar.gz
tangerine-tests-148e70dac88e60c6c6afaa0c2bd60a8a65c0af3f.tar.bz2
tangerine-tests-148e70dac88e60c6c6afaa0c2bd60a8a65c0af3f.tar.lz
tangerine-tests-148e70dac88e60c6c6afaa0c2bd60a8a65c0af3f.tar.xz
tangerine-tests-148e70dac88e60c6c6afaa0c2bd60a8a65c0af3f.tar.zst
tangerine-tests-148e70dac88e60c6c6afaa0c2bd60a8a65c0af3f.zip
add test for CALLDATACOPY where calldata offset > calldata length and copy length > 0
Diffstat (limited to 'src/BlockchainTestsFiller/GeneralStateTests')
-rw-r--r--src/BlockchainTestsFiller/GeneralStateTests/stMemoryTest/callDataCopyOffset_d0g0v0Filler.json69
1 files changed, 69 insertions, 0 deletions
diff --git a/src/BlockchainTestsFiller/GeneralStateTests/stMemoryTest/callDataCopyOffset_d0g0v0Filler.json b/src/BlockchainTestsFiller/GeneralStateTests/stMemoryTest/callDataCopyOffset_d0g0v0Filler.json
new file mode 100644
index 000000000..ba39b4fad
--- /dev/null
+++ b/src/BlockchainTestsFiller/GeneralStateTests/stMemoryTest/callDataCopyOffset_d0g0v0Filler.json
@@ -0,0 +1,69 @@
+{
+ "callDataCopyOffset_d0g0v0" : {
+ "blocks" : [
+ {
+ "blockHeaderPremine" : {
+ "difficulty" : "0x020000",
+ "gasLimit" : "0x0f4240",
+ "timestamp" : "0x03e8",
+ "updatePoW" : "1"
+ },
+ "transactions" : [
+ {
+ "data" : "",
+ "gasLimit" : "0x061a80",
+ "gasPrice" : "0x01",
+ "nonce" : "0x00",
+ "r" : "0xe94818d1f3b0c69eb37720145a5ead7fbf6f8d80139dd53953b4a782301050a3",
+ "s" : "0x1fcf46908c01576715411be0857e30027d6be3250a3653f049b3ff8d74d2540c",
+ "to" : "0x095e7baea6a6c7c4c2dfeb977efac326af552d87",
+ "v" : "0x1c",
+ "value" : "0x0186a0"
+ }
+ ],
+ "uncleHeaders" : [
+ ]
+ }
+ ],
+ "genesisBlockHeader" : {
+ "bloom" : "00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000",
+ "coinbase" : "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba",
+ "difficulty" : "131072",
+ "extraData" : "0x42",
+ "gasLimit" : "0x0f4240",
+ "gasUsed" : "0",
+ "mixHash" : "0x56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421",
+ "nonce" : "0x0102030405060708",
+ "number" : "0",
+ "parentHash" : "0x0000000000000000000000000000000000000000000000000000000000000000",
+ "receiptTrie" : "0x56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421",
+ "stateRoot" : "0xf99eb1626cfa6db435c0836235942d7ccaa935f1ae247d3f1c21e495685f903a",
+ "timestamp" : "0x03b6",
+ "transactionsTrie" : "0x56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421",
+ "uncleHash" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347"
+ },
+ "pre" : {
+ "0x095e7baea6a6c7c4c2dfeb977efac326af552d87" : {
+ "balance" : "0x0de0b6b3a7640000",
+ "code" : "0x670123456789abcdef60005260006000600f6000600073eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee61fffff1",
+ "nonce" : "0x01",
+ "storage" : {
+ }
+ },
+ "0xa94f5374fce5edbc8e2a8697c15331677e6ebf0b" : {
+ "balance" : "0x0de0b6b3a7640000",
+ "code" : "",
+ "nonce" : "0x00",
+ "storage" : {
+ }
+ },
+ "0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee" : {
+ "balance" : "0x0de0b6b3a7640000",
+ "code" : "0x7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff600052601061ffff600037600051600055",
+ "nonce" : "0x01",
+ "storage" : {
+ }
+ }
+ }
+ }
+} \ No newline at end of file