diff options
author | winsvega <winsvega@mail.ru> | 2017-12-09 01:44:13 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-12-09 01:44:13 +0800 |
commit | 47b09f42c0681548a00da5ab1c98808b368af49a (patch) | |
tree | 7ad4ff105f5ad11291f62fda58efa8b484551799 /src/TransactionTestsFiller/ttNonce | |
parent | aed77f105fffc0a7400f581390a8302007170bd3 (diff) | |
parent | 4bef35816fd1ddc5d4eeba2c47a76ff1b9c4d6f8 (diff) | |
download | dexon-tests-47b09f42c0681548a00da5ab1c98808b368af49a.tar dexon-tests-47b09f42c0681548a00da5ab1c98808b368af49a.tar.gz dexon-tests-47b09f42c0681548a00da5ab1c98808b368af49a.tar.bz2 dexon-tests-47b09f42c0681548a00da5ab1c98808b368af49a.tar.lz dexon-tests-47b09f42c0681548a00da5ab1c98808b368af49a.tar.xz dexon-tests-47b09f42c0681548a00da5ab1c98808b368af49a.tar.zst dexon-tests-47b09f42c0681548a00da5ab1c98808b368af49a.zip |
Merge pull request #374 from ethereum/gentransact
General Transaction Tests
Diffstat (limited to 'src/TransactionTestsFiller/ttNonce')
3 files changed, 66 insertions, 0 deletions
diff --git a/src/TransactionTestsFiller/ttNonce/TransactionWithHighNonce256Filler.json b/src/TransactionTestsFiller/ttNonce/TransactionWithHighNonce256Filler.json new file mode 100644 index 000000000..d9af18329 --- /dev/null +++ b/src/TransactionTestsFiller/ttNonce/TransactionWithHighNonce256Filler.json @@ -0,0 +1,22 @@ +{ + "TransactionWithHighNonce256" : { + "expect" : [ + { + "network" : ["ALL"], + "result" : "valid" + } + ], + "transaction" : + { + "data" : "", + "gasLimit" : "21000", + "gasPrice" : "1", + "nonce" : "115792089237316195423570985008687907853269984665640564039457584007913129639935", + "to" : "095e7baea6a6c7c4c2dfeb977efac326af552d87", + "value" : "0", + "v" : "27", + "r" : "0x48b55bfa915ac795c431978d8a6a992b628d557da5ff759b307d495a36649353", + "s" : "0x1fffd310ac743f371de3b9f7f9cb56c0b28ad43601b4ab949f53faa07bd2c804" + } + } +} diff --git a/src/TransactionTestsFiller/ttNonce/TransactionWithHighNonce32Filler.json b/src/TransactionTestsFiller/ttNonce/TransactionWithHighNonce32Filler.json new file mode 100644 index 000000000..bfd7c7044 --- /dev/null +++ b/src/TransactionTestsFiller/ttNonce/TransactionWithHighNonce32Filler.json @@ -0,0 +1,22 @@ +{ + "TransactionWithHighNonce32" : { + "expect" : [ + { + "network" : ["ALL"], + "result" : "valid" + } + ], + "transaction" : + { + "data" : "", + "gasLimit" : "21000", + "gasPrice" : "1", + "nonce" : "4294967296", + "to" : "095e7baea6a6c7c4c2dfeb977efac326af552d87", + "value" : "0", + "v" : "27", + "r" : "0x48b55bfa915ac795c431978d8a6a992b628d557da5ff759b307d495a36649353", + "s" : "0x1fffd310ac743f371de3b9f7f9cb56c0b28ad43601b4ab949f53faa07bd2c804" + } + } +} diff --git a/src/TransactionTestsFiller/ttNonce/TransactionWithNonceOverflowFiller.json b/src/TransactionTestsFiller/ttNonce/TransactionWithNonceOverflowFiller.json new file mode 100644 index 000000000..fc9e47765 --- /dev/null +++ b/src/TransactionTestsFiller/ttNonce/TransactionWithNonceOverflowFiller.json @@ -0,0 +1,22 @@ +{ + "TransactionWithNonceOverflow" : { + "expect" : [ + { + "network" : ["ALL"], + "result" : "invalid" + } + ], + "transaction" : + { + "data" : "", + "gasLimit" : "21000", + "gasPrice" : "1", + "nonce" : "115792089237316195423570985008687907853269984665640564039457584007913129639936", + "to" : "095e7baea6a6c7c4c2dfeb977efac326af552d87", + "value" : "11", + "v" : "27", + "r" : "0x48b55bfa915ac795c431978d8a6a992b628d557da5ff759b307d495a36649353", + "s" : "0xefffd310ac743f371de3b9f7f9cb56c0b28ad43601b4ab949f53faa07bd2c804" + } + } +} |