diff options
author | winsvega <winsvega@mail.ru> | 2015-01-23 07:48:15 +0800 |
---|---|---|
committer | winsvega <winsvega@mail.ru> | 2015-01-23 07:48:15 +0800 |
commit | 0f7b1b33445ebc61b295da4fa0722c66158dc0d3 (patch) | |
tree | 01f8aa4dc83aa66a5ed617b923851d351f83c096 /ttTransactionTestFiller.json | |
parent | 7bf407dbe4cb0e2197c6ce626ceed69ac548b44e (diff) | |
download | dexon-solidity-0f7b1b33445ebc61b295da4fa0722c66158dc0d3.tar dexon-solidity-0f7b1b33445ebc61b295da4fa0722c66158dc0d3.tar.gz dexon-solidity-0f7b1b33445ebc61b295da4fa0722c66158dc0d3.tar.bz2 dexon-solidity-0f7b1b33445ebc61b295da4fa0722c66158dc0d3.tar.lz dexon-solidity-0f7b1b33445ebc61b295da4fa0722c66158dc0d3.tar.xz dexon-solidity-0f7b1b33445ebc61b295da4fa0722c66158dc0d3.tar.zst dexon-solidity-0f7b1b33445ebc61b295da4fa0722c66158dc0d3.zip |
transaction tests, bound tests
Diffstat (limited to 'ttTransactionTestFiller.json')
-rw-r--r-- | ttTransactionTestFiller.json | 149 |
1 files changed, 143 insertions, 6 deletions
diff --git a/ttTransactionTestFiller.json b/ttTransactionTestFiller.json index 6c429b34..f2d598c7 100644 --- a/ttTransactionTestFiller.json +++ b/ttTransactionTestFiller.json @@ -2,10 +2,10 @@ "RightVRSTest" : { "transaction" : { - "data" : "", + "data" : "0x5544", "gasLimit" : "2000", "gasPrice" : "1", - "nonce" : "0", + "nonce" : "3", "to" : "b94f5374fce5edbc8e2a8697c15331677e6ebf0b", "value" : "10", "v" : "28", @@ -15,7 +15,7 @@ } }, - "WrongVRSTest" : { + "WrongVRSTestVl27" : { "transaction" : { "data" : "", @@ -24,13 +24,13 @@ "nonce" : "0", "to" : "b94f5374fce5edbc8e2a8697c15331677e6ebf0b", "value" : "10", - "v" : "1", + "v" : "26", "r" : "0x98ff921201554726367d2be8c804a7ff89ccf285ebc57dff8ae4c44b9c19ac4a", "s" : "0x8887321be575c8095f789dd4c743dfe42c1820f9231f98a962b210e3ac2452a3" } }, - "WrongVRSTestVl31" : { + "WrongVRSTestVge31" : { "transaction" : { "data" : "", @@ -87,7 +87,7 @@ "to" : "095e7baea6a6c7c4c2dfeb977efac326af552d87", "v" : "27", "r" : "0x48b55bfa915ac795c431978d8a6a992b628d557da5ff759b307d495a36649353", - "s" : "0xefffd310ac743f371de3b9f7f9cb56c0b28ad43601b4ab949f53faa07bd2c804", + "s" : "0xefffd310ac743f371de3b9f7f9cb56c0b28ad43601b4ab949f53faa07bd2c804" } }, @@ -99,10 +99,147 @@ "gasPrice" : "1", "nonce" : "0", "to" : "095e7baea6a6c7c4c2dfeb977efac326af552d87", + "value" : "115792089237316195423570985008687907853269984665640564039457584007913129639935", + "v" : "27", + "r" : "0x48b55bfa915ac795c431978d8a6a992b628d557da5ff759b307d495a36649353", + "s" : "0xefffd310ac743f371de3b9f7f9cb56c0b28ad43601b4ab949f53faa07bd2c804" + } + }, + + + "TransactionWithHihghValueOverflow" : { + "transaction" : + { + "data" : "", + "gasLimit" : "850", + "gasPrice" : "1", + "nonce" : "0", + "to" : "095e7baea6a6c7c4c2dfeb977efac326af552d87", "value" : "115792089237316195423570985008687907853269984665640564039457584007913129639936", "v" : "27", "r" : "0x48b55bfa915ac795c431978d8a6a992b628d557da5ff759b307d495a36649353", "s" : "0xefffd310ac743f371de3b9f7f9cb56c0b28ad43601b4ab949f53faa07bd2c804" } + }, + + "TransactionWithSvalueOverflow" : { + "transaction" : + { + "data" : "", + "gasLimit" : "850", + "gasPrice" : "1", + "nonce" : "0", + "to" : "095e7baea6a6c7c4c2dfeb977efac326af552d87", + "value" : "11", + "v" : "27", + "r" : "0x48b55bfa915ac795c431978d8a6a992b628d557da5ff759b307d495a36649353", + "s" : "0xfffffffffffffffffffffffffffffffffffffffffffffffffffffffefffffc2f" + } + }, + + "TransactionWithRvalueOverflow" : { + "transaction" : + { + "data" : "", + "gasLimit" : "850", + "gasPrice" : "1", + "nonce" : "0", + "to" : "095e7baea6a6c7c4c2dfeb977efac326af552d87", + "value" : "11", + "v" : "27", + "r" : "0xfffffffffffffffffffffffffffffffebaaedce6af48a03bbfd25e8cd0364141", + "s" : "0xefffd310ac743f371de3b9f7f9cb56c0b28ad43601b4ab949f53faa07bd2c804" + } + }, + + "TransactionWithNonceOverflow" : { + "transaction" : + { + "data" : "", + "gasLimit" : "850", + "gasPrice" : "1", + "nonce" : "115792089237316195423570985008687907853269984665640564039457584007913129639936", + "to" : "095e7baea6a6c7c4c2dfeb977efac326af552d87", + "value" : "11", + "v" : "27", + "r" : "0x48b55bfa915ac795c431978d8a6a992b628d557da5ff759b307d495a36649353", + "s" : "0xefffd310ac743f371de3b9f7f9cb56c0b28ad43601b4ab949f53faa07bd2c804" + } + }, + +"TransactionWithGasPriceOverflow" : { + "transaction" : + { + "data" : "", + "gasLimit" : "850", + "gasPrice" : "115792089237316195423570985008687907853269984665640564039457584007913129639936", + "nonce" : "0", + "to" : "095e7baea6a6c7c4c2dfeb977efac326af552d87", + "value" : "11", + "v" : "27", + "r" : "0x48b55bfa915ac795c431978d8a6a992b628d557da5ff759b307d495a36649353", + "s" : "0xefffd310ac743f371de3b9f7f9cb56c0b28ad43601b4ab949f53faa07bd2c804" + } + }, + + "TransactionWithGasLimitOverflow" : { + "transaction" : + { + "data" : "", + "gasLimit" : "115792089237316195423570985008687907853269984665640564039457584007913129639936", + "gasPrice" : "123", + "nonce" : "0", + "to" : "095e7baea6a6c7c4c2dfeb977efac326af552d87", + "value" : "11", + "v" : "27", + "r" : "0x48b55bfa915ac795c431978d8a6a992b628d557da5ff759b307d495a36649353", + "s" : "0xefffd310ac743f371de3b9f7f9cb56c0b28ad43601b4ab949f53faa07bd2c804" + } + }, + + "RLPElementsWithZeros" : { + "transaction" : + { + "data" : "0x0000011222333", + "gasLimit" : "1000", + "gasPrice" : "00123", + "nonce" : "0054", + "to" : "095e7baea6a6c7c4c2dfeb977efac326af552d87", + "value" : "00000011", + "v" : "27", + "r" : "0x48b55bfa915ac795c431978d8a6a992b628d557da5ff759b307d495a36649353", + "s" : "0xefffd310ac743f371de3b9f7f9cb56c0b28ad43601b4ab949f53faa07bd2c804" + } + }, + + "RLPHexElementsWithStartingZeros" : { + "transaction" : + { + "data" : "0x0000000012", + "gasLimit" : "1000", + "gasPrice" : "123", + "nonce" : "54", + "to" : "095e7baea6a6c7c4c2dfeb977efac326af552d87", + "value" : "11", + "v" : "27", + "r" : "0x0048b55bfa915ac795c431978d8a6a992b628d557da5ff759b307d495a36649353", + "s" : "0x00efffd310ac743f371de3b9f7f9cb56c0b28ad43601b4ab949f53faa07bd2c804" + } + }, + + "EmptyTransaction" : { + "transaction" : + { + "data" : "", + "gasLimit" : "", + "gasPrice" : "", + "nonce" : "", + "to" : "", + "value" : "", + "v" : "27", + "r" : "0x48b55bfa915ac795c431978d8a6a992b628d557da5ff759b307d495a36649353", + "s" : "0xefffd310ac743f371de3b9f7f9cb56c0b28ad43601b4ab949f53faa07bd2c804" + } } + } |