From b9d603fd61186e8085b6896cb4d6ffceef54abde Mon Sep 17 00:00:00 2001 From: Dimitry Date: Tue, 29 Aug 2017 16:15:19 +0300 Subject: more transaction tests --- .../ttTransactionTestZeroSigFiller.json | 1290 -------------------- 1 file changed, 1290 deletions(-) delete mode 100644 src/TransactionTestsFiller/Constantinople/ttTransactionTestZeroSigFiller.json (limited to 'src/TransactionTestsFiller/Constantinople/ttTransactionTestZeroSigFiller.json') diff --git a/src/TransactionTestsFiller/Constantinople/ttTransactionTestZeroSigFiller.json b/src/TransactionTestsFiller/Constantinople/ttTransactionTestZeroSigFiller.json deleted file mode 100644 index 99c70d953..000000000 --- a/src/TransactionTestsFiller/Constantinople/ttTransactionTestZeroSigFiller.json +++ /dev/null @@ -1,1290 +0,0 @@ -{ - "RightVRSTest" : { - "expect" : "invalid", - "blocknumber" : "3094218", - "transaction" : - { - "data" : "0x", - "gasLimit" : "21000", - "gasPrice" : "0", - "nonce" : "3", - "to" : "b94f5374fce5edbc8e2a8697c15331677e6ebf0b", - "value" : "10", - "v" : "1", - "r" : "0", - "s" : "0" - } - }, - - "RightVRSTest_gnv" : { - "expect" : "valid", - "blocknumber" : "3094218", - "transaction" : - { - "data" : "0x", - "gasLimit" : "21000", - "gasPrice" : "0", - "nonce" : "0", - "to" : "b94f5374fce5edbc8e2a8697c15331677e6ebf0b", - "value" : "0", - "v" : "1", - "r" : "0", - "s" : "0" - } - }, - - "invalidSignature" : { - "expect" : "invalid", - "blocknumber" : "3094218", - "transaction" : { - "data" : "", - "gasLimit" : "1000000", - "gasPrice" : "0", - "nonce" : "0", - "r" : "0", - "s" : "0", - "v": "27", - "to" : "095e7baea6a6c7c4c2dfeb977efac326af552d87", - "value" : "100000" - } - }, - - "invalidSignature_gnv" : { - "expect" : "invalid", - "blocknumber" : "3094218", - "transaction" : { - "data" : "", - "gasLimit" : "1000000", - "gasPrice" : "0", - "nonce" : "0", - "r" : "0", - "s" : "0", - "v": "27", - "to" : "095e7baea6a6c7c4c2dfeb977efac326af552d87", - "value" : "0" - } - }, - - "NotEnoughGasLimit" : { - "expect" : "invalid", - "blocknumber" : "3094218", - "transaction" : - { - "data" : "0x", - "gasLimit" : "20000", - "gasPrice" : "1", - "nonce" : "3", - "to" : "b94f5374fce5edbc8e2a8697c15331677e6ebf0b", - "value" : "10", - "v" : "1", - "r" : "0", - "s" : "0" - } - }, - - "NotEnoughGasLimit_gnv" : { - "expect" : "invalid", - "blocknumber" : "3094218", - "transaction" : - { - "data" : "0x", - "gasLimit" : "20000", - "gasPrice" : "0", - "nonce" : "0", - "to" : "b94f5374fce5edbc8e2a8697c15331677e6ebf0b", - "value" : "0", - "v" : "1", - "r" : "0", - "s" : "0" - } - }, - - "V_overflow32bit" : { - "expect" : "invalid", - "blocknumber" : "3094218", - "transaction" : - { - "data" : "0x5544", - "gasLimit" : "21000", - "gasPrice" : "1", - "nonce" : "3", - "to" : "b94f5374fce5edbc8e2a8697c15331677e6ebf0b", - "value" : "10", - "v" : "4294967323", - "r" : "0", - "s" : "0" - } - }, - - "V_overflow32bit_gnv" : { - "expect" : "invalid", - "blocknumber" : "3094218", - "transaction" : - { - "data" : "0x5544", - "gasLimit" : "21000", - "gasPrice" : "0", - "nonce" : "0", - "to" : "b94f5374fce5edbc8e2a8697c15331677e6ebf0b", - "value" : "0", - "v" : "4294967323", - "r" : "0", - "s" : "0" - } - }, - - "V_overflow32bitSigned" : { - "expect" : "invalid", - "blocknumber" : "3094218", - "transaction" : - { - "data" : "0x5544", - "gasLimit" : "21000", - "gasPrice" : "1", - "nonce" : "3", - "to" : "b94f5374fce5edbc8e2a8697c15331677e6ebf0b", - "value" : "10", - "v" : "2147483647", - "r" : "0", - "s" : "0" - } - }, - - "V_overflow32bitSigned_gnv" : { - "expect" : "invalid", - "blocknumber" : "3094218", - "transaction" : - { - "data" : "0x5544", - "gasLimit" : "21000", - "gasPrice" : "0", - "nonce" : "0", - "to" : "b94f5374fce5edbc8e2a8697c15331677e6ebf0b", - "value" : "0", - "v" : "2147483647", - "r" : "0", - "s" : "0" - } - }, - - "V_overflow64bitPlus27" : { - "expect" : "invalid", - "blocknumber" : "3094218", - "transaction" : - { - "data" : "0x5544", - "gasLimit" : "22000", - "gasPrice" : "1", - "nonce" : "3", - "to" : "b94f5374fce5edbc8e2a8697c15331677e6ebf0b", - "value" : "10", - "v" : "18446744073709551643", - "r" : "0", - "s" : "0" - } - }, - - "V_overflow64bitPlus27_gnv" : { - "expect" : "invalid", - "blocknumber" : "3094218", - "transaction" : - { - "data" : "0x5544", - "gasLimit" : "22000", - "gasPrice" : "0", - "nonce" : "0", - "to" : "b94f5374fce5edbc8e2a8697c15331677e6ebf0b", - "value" : "0", - "v" : "18446744073709551643", - "r" : "0", - "s" : "0" - } - }, - - "V_overflow64bitPlus28" : { - "expect" : "invalid", - "blocknumber" : "3094218", - "transaction" : - { - "data" : "0x5544", - "gasLimit" : "22000", - "gasPrice" : "1", - "nonce" : "3", - "to" : "b94f5374fce5edbc8e2a8697c15331677e6ebf0b", - "value" : "10", - "v" : "18446744073709551644", - "r" : "0", - "s" : "0" - } - }, - - "V_overflow64bitPlus28_gnv" : { - "expect" : "invalid", - "blocknumber" : "3094218", - "transaction" : - { - "data" : "0x5544", - "gasLimit" : "22000", - "gasPrice" : "0", - "nonce" : "0", - "to" : "b94f5374fce5edbc8e2a8697c15331677e6ebf0b", - "value" : "0", - "v" : "18446744073709551644", - "r" : "0", - "s" : "0" - } - }, - - "V_overflow64bitSigned" : { - "expect" : "invalid", - "blocknumber" : "3094218", - "transaction" : - { - "data" : "0x5544", - "gasLimit" : "21000", - "gasPrice" : "0", - "nonce" : "0", - "to" : "b94f5374fce5edbc8e2a8697c15331677e6ebf0b", - "value" : "0", - "v" : "18446744073709551388", - "r" : "0", - "s" : "0" - } - }, - - "WrongVRSTestVEqual26" : { - "expect" : "invalid", - "blocknumber" : "3094218", - "transaction" : - { - "data" : "", - "gasLimit" : "21000", - "gasPrice" : "0", - "nonce" : "0", - "to" : "b94f5374fce5edbc8e2a8697c15331677e6ebf0b", - "value" : "0", - "v" : "26", - "r" : "0", - "s" : "0" - } - }, - - "WrongVRSTestVEqual29" : { - "expect" : "invalid", - "blocknumber" : "3094218", - "transaction" : - { - "data" : "", - "gasLimit" : "21000", - "gasPrice" : "0", - "nonce" : "0", - "to" : "b94f5374fce5edbc8e2a8697c15331677e6ebf0b", - "value" : "0", - "v" : "29", - "r" : "0", - "s" : "0" - } - }, - - "WrongVRSTestVEqual31" : { - "expect" : "invalid", - "blocknumber" : "3094218", - "transaction" : - { - "data" : "", - "gasLimit" : "21000", - "gasPrice" : "0", - "nonce" : "0", - "to" : "b94f5374fce5edbc8e2a8697c15331677e6ebf0b", - "value" : "0", - "v" : "31", - "r" : "0", - "s" : "0" - } - }, - - "WrongVRSTestVOverflow" : { - "expect" : "invalid", - "blocknumber" : "3094218", - "transaction" : - { - "data" : "", - "gasLimit" : "21000", - "gasPrice" : "0", - "nonce" : "0", - "to" : "b94f5374fce5edbc8e2a8697c15331677e6ebf0b", - "value" : "0", - "v" : "310", - "r" : "0", - "s" : "0" - } - }, - - "WrongVRSTestIncorrectSize" : { - "expect" : "invalid", - "blocknumber" : "3094218", - "transaction" : - { - "data" : "", - "gasLimit" : "21000", - "gasPrice" : "0", - "nonce" : "0", - "to" : "b94f5374fce5edbc8e2a8697c15331677e6ebf0b", - "value" : "0", - "v" : "1", - "r" : "0x98ff921201554726367d2be8c804a7ff89ccf285ebc57dff8ae4c44b9c19ac4a02c3", - "s" : "0" - } - }, - - "DataTestNotEnoughGAS" : { - "expect" : "invalid", - "blocknumber" : "3094218", - "transaction" : - { - "data" : "0x0358ac39584bc98a7c979f984b03", - "gasLimit" : "21020", - "gasPrice" : "0", - "nonce" : "0", - "to" : "095e7baea6a6c7c4c2dfeb977efac326af552d87", - "value" : "0", - "v" : "1", - "r" : "0", - "s" : "0" - } - }, - - "DataTestEnoughGAS" : { - "expect" : "invalid", - "blocknumber" : "3094218", - "transaction" : - { - "data" : "0x0358ac39584bc98a7c979f984b03", - "gasLimit" : "23000", - "gasPrice" : "0", - "nonce" : "0", - "to" : "095e7baea6a6c7c4c2dfeb977efac326af552d87", - "value" : "10", - "v" : "1", - "r" : "0", - "s" : "0" - } - }, - - "DataTestEnoughGAS_gnv" : { - "expect" : "valid", - "blocknumber" : "3094218", - "transaction" : - { - "data" : "0x0358ac39584bc98a7c979f984b03", - "gasLimit" : "23000", - "gasPrice" : "0", - "nonce" : "0", - "to" : "095e7baea6a6c7c4c2dfeb977efac326af552d87", - "value" : "0", - "v" : "1", - "r" : "0", - "s" : "0" - } - }, - - "DataTestZeroBytes" : { - "expect" : "invalid", - "blocknumber" : "3094218", - "transaction" : - { - "data" : "0x0000000000000000000000000000000000000000000000000000000000", - "gasLimit" : "25000", - "gasPrice" : "0", - "nonce" : "1", - "to" : "095e7baea6a6c7c4c2dfeb977efac326af552d87", - "value" : "0", - "v" : "1", - "r" : "0", - "s" : "0" - } - }, - - "DataTestZeroBytes_gnv" : { - "expect" : "valid", - "blocknumber" : "3094218", - "transaction" : - { - "data" : "0x0000000000000000000000000000000000000000000000000000000000", - "gasLimit" : "25000", - "gasPrice" : "0", - "nonce" : "0", - "to" : "095e7baea6a6c7c4c2dfeb977efac326af552d87", - "value" : "0", - "v" : "1", - "r" : "0", - "s" : "0" - } - }, - - "DataTestLastZeroBytes" : { - "expect" : "invalid", - "blocknumber" : "3094218", - "transaction" : - { - "data" : "0x0100000000000000000000000000000000000000000000000000000000", - "gasLimit" : "25000", - "gasPrice" : "1", - "nonce" : "0", - "to" : "095e7baea6a6c7c4c2dfeb977efac326af552d87", - "value" : "0", - "v" : "1", - "r" : "0", - "s" : "0" - } - }, - - "DataTestLastZeroBytes_gnv" : { - "expect" : "valid", - "blocknumber" : "3094218", - "transaction" : - { - "data" : "0x0100000000000000000000000000000000000000000000000000000000", - "gasLimit" : "25000", - "gasPrice" : "0", - "nonce" : "0", - "to" : "095e7baea6a6c7c4c2dfeb977efac326af552d87", - "value" : "0", - "v" : "1", - "r" : "0", - "s" : "0" - } - }, - - "DataTestFirstZeroBytes" : { - "expect" : "invalid", - "blocknumber" : "3094218", - "transaction" : - { - "data" : "0x0000000000000000000000000001000000000000000000000000000000", - "gasLimit" : "25000", - "gasPrice" : "1", - "nonce" : "0", - "to" : "095e7baea6a6c7c4c2dfeb977efac326af552d87", - "value" : "10", - "v" : "1", - "r" : "0", - "s" : "0" - } - }, - - "DataTestFirstZeroBytes_gnv" : { - "expect" : "valid", - "blocknumber" : "3094218", - "transaction" : - { - "data" : "0x0000000000000000000000000001000000000000000000000000000000", - "gasLimit" : "25000", - "gasPrice" : "0", - "nonce" : "0", - "to" : "095e7baea6a6c7c4c2dfeb977efac326af552d87", - "value" : "0", - "v" : "1", - "r" : "0", - "s" : "0" - } - }, - - "TransactionWithTooManyRLPElements" : { - "expect" : "invalid", - "blocknumber" : "3094218", - "transaction" : - { - "data" : "", - "gasLimit" : "21000", - "gasPrice" : "0", - "nonce" : "0", - "to" : "095e7baea6a6c7c4c2dfeb977efac326af552d87", - "value" : "0", - "v" : "1", - "r" : "0", - "s" : "0", - "extrafield" : "128472387293" - } - }, - - "TransactionWithTooFewRLPElements" : { - "expect" : "invalid", - "blocknumber" : "3094218", - "transaction" : - { - "data" : "", - "gasPrice" : "0", - "nonce" : "0", - "to" : "095e7baea6a6c7c4c2dfeb977efac326af552d87", - "v" : "1", - "r" : "0", - "s" : "0" - } - }, - - "TransactionWithHihghValue" : { - "expect" : "invalid", - "blocknumber" : "3094218", - "transaction" : - { - "data" : "", - "gasLimit" : "21000", - "gasPrice" : "0", - "nonce" : "0", - "to" : "095e7baea6a6c7c4c2dfeb977efac326af552d87", - "value" : "115792089237316195423570985008687907853269984665640564039457584007913129639935", - "v" : "1", - "r" : "0", - "s" : "0" - } - }, - - "TransactionWithHighValueOverflow" : { - "expect" : "invalid", - "blocknumber" : "3094218", - "transaction" : - { - "data" : "", - "gasLimit" : "21000", - "gasPrice" : "0", - "nonce" : "0", - "to" : "095e7baea6a6c7c4c2dfeb977efac326af552d87", - "value" : "115792089237316195423570985008687907853269984665640564039457584007913129639936", - "v" : "1", - "r" : "0", - "s" : "0" - } - }, - - "TransactionWithSvalueHigh" : { - "expect" : "invalid", - "blocknumber" : "3094218", - "transaction" : - { - "data" : "", - "gasLimit" : "21000", - "gasPrice" : "0", - "nonce" : "0", - "to" : "095e7baea6a6c7c4c2dfeb977efac326af552d87", - "value" : "0", - "v" : "1", - "r" : "0", - "s" : "0xfffffffffffffffffffffffffffffffebaaedce6af48a03bbfd25e8cd0364140" - } - }, - - "TransactionWithSvalueEqual_c_secp256k1n_x05" : { - "expect" : "invalid", - "blocknumber" : "3094218", - "transaction" : - { - "data" : "", - "gasLimit" : "21000", - "gasPrice" : "0", - "nonce" : "0", - "to" : "095e7baea6a6c7c4c2dfeb977efac326af552d87", - "value" : "0", - "v" : "1", - "r" : "0", - "s" : "0x7fffffffffffffffffffffffffffffff5d576e7357a4501ddfe92f46681b20a0" - } - }, - - "TransactionWithSvalueLargerThan_c_secp256k1n_x05" : { - "expect" : "invalid", - "blocknumber" : "3094218", - "transaction" : - { - "data" : "", - "gasLimit" : "21000", - "gasPrice" : "0", - "nonce" : "0", - "to" : "095e7baea6a6c7c4c2dfeb977efac326af552d87", - "value" : "0", - "v" : "1", - "r" : "0", - "s" : "0x7fffffffffffffffffffffffffffffff5d576e7357a4501ddfe92f46681b20a1" - } - }, - - "TransactionWithSvalue0" : { - "expect" : "invalid", - "blocknumber" : "3094218", - "transaction" : - { - "data" : "", - "gasLimit" : "21000", - "gasPrice" : "0", - "nonce" : "0", - "to" : "095e7baea6a6c7c4c2dfeb977efac326af552d87", - "value" : "0", - "v" : "27", - "r" : "0", - "s" : "0" - } - }, - - "TransactionWithSvalue1" : { - "expect" : "invalid", - "blocknumber" : "3094218", - "transaction" : - { - "data" : "", - "gasLimit" : "21000", - "gasPrice" : "0", - "nonce" : "0", - "to" : "095e7baea6a6c7c4c2dfeb977efac326af552d87", - "value" : "0", - "v" : "1", - "r" : "0", - "s" : "0x01" - } - }, - - "TransactionWithSvalueTooHigh" : { - "expect" : "invalid", - "blocknumber" : "3094218", - "transaction" : - { - "data" : "", - "gasLimit" : "21000", - "gasPrice" : "0", - "nonce" : "0", - "to" : "095e7baea6a6c7c4c2dfeb977efac326af552d87", - "value" : "0", - "v" : "1", - "r" : "0", - "s" : "0xfffffffffffffffffffffffffffffffebaaedce6af48a03bbfd25e8cd0364141" - } - }, - - "TransactionWithSvalueOverflow" : { - "expect" : "invalid", - "blocknumber" : "3094218", - "transaction" : - { - "data" : "", - "gasLimit" : "21000", - "gasPrice" : "0", - "nonce" : "0", - "to" : "095e7baea6a6c7c4c2dfeb977efac326af552d87", - "value" : "0", - "v" : "1", - "r" : "0", - "s" : "0xfffffffffffffffffffffffffffffffffffffffffffffffffffffffefffffc2f0000" - } - }, - - "TransactionWithRvalueOverflow" : { - "expect" : "invalid", - "blocknumber" : "3094218", - "transaction" : - { - "data" : "", - "gasLimit" : "21000", - "gasPrice" : "0", - "nonce" : "0", - "to" : "095e7baea6a6c7c4c2dfeb977efac326af552d87", - "value" : "0", - "v" : "1", - "r" : "0xfffffffffffffffffffffffffffffffebaaedce6af48a03bbfd25e8cd03641410000", - "s" : "0" - } - }, - - "TransactionWithRvalueHigh" : { - "expect" : "invalid", - "blocknumber" : "3094218", - "transaction" : - { - "data" : "", - "gasLimit" : "21000", - "gasPrice" : "0", - "nonce" : "0", - "to" : "095e7baea6a6c7c4c2dfeb977efac326af552d87", - "value" : "0", - "v" : "1", - "r" : "0xfffffffffffffffffffffffffffffffebaaedce6af48a03bbfd25e8cd0364140", - "s" : "0" - } - }, - - "TransactionWithRvalueTooHigh" : { - "expect" : "invalid", - "blocknumber" : "3094218", - "transaction" : - { - "data" : "", - "gasLimit" : "21000", - "gasPrice" : "0", - "nonce" : "0", - "to" : "095e7baea6a6c7c4c2dfeb977efac326af552d87", - "value" : "0", - "v" : "1", - "r" : "0xfffffffffffffffffffffffffffffffebaaedce6af48a03bbfd25e8cd0364141", - "s" : "0" - } - }, - - "TransactionWithRvalue0" : { - "expect" : "invalid", - "blocknumber" : "3094218", - "transaction" : - { - "data" : "", - "gasLimit" : "21000", - "gasPrice" : "0", - "nonce" : "0", - "to" : "095e7baea6a6c7c4c2dfeb977efac326af552d87", - "value" : "0", - "v" : "27", - "r" : "0", - "s" : "0" - } - }, - - "TransactionWithRvalue1" : { - "expect" : "invalid", - "blocknumber" : "3094218", - "transaction" : - { - "data" : "", - "gasLimit" : "21000", - "gasPrice" : "0", - "nonce" : "0", - "to" : "095e7baea6a6c7c4c2dfeb977efac326af552d87", - "value" : "0", - "v" : "1", - "r" : "0x01", - "s" : "0" - } - }, - - "TransactionWithRvaluePrefixed00" : { - "expect" : "valid", - "blocknumber" : "3094218", - "transaction" : - { - "data" : "", - "gasLimit" : "21000", - "gasPrice" : "0", - "nonce" : "0", - "to" : "095e7baea6a6c7c4c2dfeb977efac326af552d87", - "value" : "0", - "v" : "1", - "r" : "000000000000000000", - "s" : "0" - } - }, - - "TransactionWithRSvalue0" : { - "expect" : "invalid", - "blocknumber" : "3094218", - "transaction" : - { - "data" : "", - "gasLimit" : "21000", - "gasPrice" : "0", - "nonce" : "0", - "to" : "095e7baea6a6c7c4c2dfeb977efac326af552d87", - "value" : "0", - "v" : "27", - "r" : "0", - "s" : "0" - } - }, - - "TransactionWithSvaluePrefixed00" : { - "expect" : "invalid", - "blocknumber" : "3094218", - "transaction" : - { - "data" : "", - "gasLimit" : "21000", - "gasPrice" : "1", - "nonce" : "0", - "to" : "095e7baea6a6c7c4c2dfeb977efac326af552d87", - "value" : "11", - "v" : "1", - "r" : "0", - "s" : "0x0000000000000000000000000000" - } - }, - - "TransactionWithSvaluePrefixed00_gnv" : { - "expect" : "valid", - "blocknumber" : "3094218", - "transaction" : - { - "data" : "", - "gasLimit" : "21000", - "gasPrice" : "0", - "nonce" : "0", - "to" : "095e7baea6a6c7c4c2dfeb977efac326af552d87", - "value" : "0", - "v" : "1", - "r" : "0", - "s" : "0x0000000000000000000000000000" - } - }, - - "TransactionWithHihghNonce256" : { - "expect" : "invalid", - "blocknumber" : "3094218", - "transaction" : - { - "data" : "", - "gasLimit" : "21000", - "gasPrice" : "0", - "nonce" : "115792089237316195423570985008687907853269984665640564039457584007913129639935", - "to" : "095e7baea6a6c7c4c2dfeb977efac326af552d87", - "value" : "0", - "v" : "1", - "r" : "0", - "s" : "0" - } - }, - - "TransactionWithHihghNonce32" : { - "expect" : "invalid", - "blocknumber" : "3094218", - "transaction" : - { - "data" : "", - "gasLimit" : "21000", - "gasPrice" : "0", - "nonce" : "4294967296", - "to" : "095e7baea6a6c7c4c2dfeb977efac326af552d87", - "value" : "0", - "v" : "1", - "r" : "0", - "s" : "0" - } - }, - - "TransactionWithNonceOverflow" : { - "expect" : "invalid", - "blocknumber" : "3094218", - "transaction" : - { - "data" : "", - "gasLimit" : "21000", - "gasPrice" : "0", - "nonce" : "115792089237316195423570985008687907853269984665640564039457584007913129639936", - "to" : "095e7baea6a6c7c4c2dfeb977efac326af552d87", - "value" : "0", - "v" : "1", - "r" : "0", - "s" : "0" - } - }, - - "TransactionWithHihghGasLimit63m1" : { - "expect" : "invalid", - "blocknumber" : "3094218", - "transaction" : - { - "data" : "", - "gasLimit" : "2^63 - 1", - "gasLimit" : "9223372036854775807", - "gasPrice" : "1", - "nonce" : "0", - "to" : "095e7baea6a6c7c4c2dfeb977efac326af552d87", - "value" : "0", - "v" : "1", - "r" : "0", - "s" : "0" - } - }, - - "TransactionWithHihghGasLimit63m1_gnv" : { - "expect" : "valid", - "blocknumber" : "3094218", - "transaction" : - { - "data" : "", - "gasLimit" : "2^63 - 1", - "gasLimit" : "9223372036854775807", - "gasPrice" : "0", - "nonce" : "0", - "to" : "095e7baea6a6c7c4c2dfeb977efac326af552d87", - "value" : "0", - "v" : "1", - "r" : "0", - "s" : "0" - } - }, - - "TransactionWithHihghGasPrice" : { - "expect" : "invalid", - "blocknumber" : "3094218", - "transaction" : - { - "data" : "", - "gasLimit" : "21000", - "gasPrice" : "115792089237316195423570985008687907853269984665640564039457584007913129639935", - "nonce" : "0", - "to" : "095e7baea6a6c7c4c2dfeb977efac326af552d87", - "value" : "0", - "v" : "1", - "r" : "0", - "s" : "0" - } - }, - - "TransactionWithHihghGasPrice2" : { - "expect" : "invalid", - "blocknumber" : "3094218", - "transaction" : - { - "data" : "", - "gasLimit" : "55000", - "gasPrice" : "167697673397359", - "nonce" : "0", - "to" : "095e7baea6a6c7c4c2dfeb977efac326af552d87", - "value" : "0", - "v" : "1", - "r" : "0", - "s" : "0" - } - }, - - "TransactionWithGasLimitxPriceOverflow" : { - "expect" : "invalid", - "blocknumber" : "3094218", - "transaction" : - { - "data" : "", - "gasLimit" : "115792089237316195423570985008687907853269984665640564039457584007913129639935", - "gasPrice" : "100000000000000000", - "nonce" : "0", - "to" : "095e7baea6a6c7c4c2dfeb977efac326af552d87", - "value" : "0", - "v" : "1", - "r" : "0", - "s" : "0" - } - }, - - "TransactionWithGasLimitxPriceOverflow2" : { - "expect" : "invalid", - "blocknumber" : "3094218", - "transaction" : - { - "data" : "", - "gasLimit" : "10000000", - "gasPrice" : "16769767339735900", - "nonce" : "0", - "to" : "095e7baea6a6c7c4c2dfeb977efac326af552d87", - "value" : "0", - "v" : "1", - "r" : "0", - "s" : "0" - } - }, - - "TransactionWithGasPriceOverflow" : { - "expect" : "invalid", - "blocknumber" : "3094218", - "transaction" : - { - "data" : "", - "gasLimit" : "21000", - "gasPrice" : "115792089237316195423570985008687907853269984665640564039457584007913129639936", - "nonce" : "0", - "to" : "095e7baea6a6c7c4c2dfeb977efac326af552d87", - "value" : "0", - "v" : "1", - "r" : "0", - "s" : "0" - } - }, - - "TransactionWithGasLimitOverflow" : { - "expect" : "invalid", - "blocknumber" : "3094218", - "transaction" : - { - "data" : "", - "gasLimit" : "115792089237316195423570985008687907853269984665640564039457584007913129639936", - "gasPrice" : "0", - "nonce" : "0", - "to" : "095e7baea6a6c7c4c2dfeb977efac326af552d87", - "value" : "0", - "v" : "1", - "r" : "0", - "s" : "0" - } - }, - - "TransactionWithGasLimitOverflow63" : { - "expect" : "invalid", - "blocknumber" : "3094218", - "transaction" : - { - "data" : "", - "gasLimit" : "9223372036854775808", - "gasPrice" : "1", - "nonce" : "0", - "to" : "095e7baea6a6c7c4c2dfeb977efac326af552d87", - "value" : "0", - "v" : "1", - "r" : "0", - "s" : "0" - } - }, - - "TransactionWithGasLimitOverflow63_gnv" : { - "expect" : "valid", - "blocknumber" : "3094218", - "transaction" : - { - "data" : "", - "gasLimit" : "9223372036854775808", - "gasPrice" : "0", - "nonce" : "0", - "to" : "095e7baea6a6c7c4c2dfeb977efac326af552d87", - "value" : "0", - "v" : "1", - "r" : "0", - "s" : "0" - } - }, - - "TransactionWithGasLimitOverflow63_1" : { - "expect" : "invalid", - "blocknumber" : "3094218", - "transaction" : - { - "data" : "", - "gasLimit" : "9223372036854775809", - "gasPrice" : "0", - "nonce" : "1", - "to" : "095e7baea6a6c7c4c2dfeb977efac326af552d87", - "value" : "0", - "v" : "1", - "r" : "0", - "s" : "0" - } - }, - - "TransactionWithGasLimitOverflow63_1_gnv" : { - "expect" : "valid", - "blocknumber" : "3094218", - "transaction" : - { - "data" : "", - "gasLimit" : "9223372036854775809", - "gasPrice" : "0", - "nonce" : "0", - "to" : "095e7baea6a6c7c4c2dfeb977efac326af552d87", - "value" : "0", - "v" : "1", - "r" : "0", - "s" : "0" - } - }, - - "TransactionWithGasLimitOverflow2" : { - "expect" : "invalid", - "blocknumber" : "3094218", - "transaction" : - { - "data" : "", - "gasLimit" : "2^63", - "gasLimit" : "9223372036854775808", - "gasPrice" : "0", - "nonce" : "0", - "to" : "095e7baea6a6c7c4c2dfeb977efac326af552d87", - "value" : "11", - "v" : "1", - "r" : "0", - "s" : "0" - } - }, - - "TransactionWithGasLimitOverflow2_gnv" : { - "expect" : "valid", - "blocknumber" : "3094218", - "transaction" : - { - "data" : "", - "gasLimit" : "2^63", - "gasLimit" : "9223372036854775808", - "gasPrice" : "0", - "nonce" : "0", - "to" : "095e7baea6a6c7c4c2dfeb977efac326af552d87", - "value" : "0", - "v" : "1", - "r" : "0", - "s" : "0" - } - }, - - "AddressMoreThan20PrefixedBy0" : { - "expect" : "invalid", - "blocknumber" : "3094218", - "transaction" : - { - "data" : "0x12", - "gasLimit" : "21000", - "gasPrice" : "0", - "nonce" : "0", - "to" : "0x0000000000000000095e7baea6a6c7c4c2dfeb977efac326af552d87", - "value" : "0", - "v" : "1", - "r" : "0", - "s" : "0" - } - }, - - "EmptyTransaction" : { - "expect" : "invalid", - "blocknumber" : "3094218", - "transaction" : - { - "data" : "", - "gasLimit" : "0", - "gasPrice" : "0", - "nonce" : "0", - "to" : "095e7baea6a6c7c4c2dfeb977efac326af552d87", - "value" : "0", - "v" : "1", - "r" : "0", - "s" : "0" - } - }, - - "AddressMoreThan20" : { - "expect" : "invalid", - "blocknumber" : "3094218", - "transaction" : - { - "data" : "", - "gasLimit" : "21000", - "gasPrice" : "0", - "nonce" : "0", - "to" : "b94f5374fce5edbc8e2a8697c15331677e6ebf0b1c", - "value" : "0", - "v" : "1", - "r" : "0", - "s" : "0" - } - }, - - "AddressLessThan20" : { - "expect" : "invalid", - "blocknumber" : "3094218", - "transaction" : - { - "data" : "", - "gasLimit" : "21000", - "gasPrice" : "0", - "nonce" : "0", - "to" : "0b9331677e6ebf", - "value" : "0", - "v" : "1", - "r" : "0", - "s" : "0" - } - }, - - "AddressLessThan20Prefixed0" : { - "expect" : "invalid", - "blocknumber" : "3094218", - "transaction" : - { - "data" : "", - "gasLimit" : "21000", - "gasPrice" : "1", - "nonce" : "0", - "to" : "0x000000000000000000000000000b9331677e6ebf", - "value" : "0", - "v" : "1", - "r" : "0", - "s" : "0" - } - }, - - "AddressLessThan20Prefixed0_gnv" : { - "expect" : "valid", - "blocknumber" : "3094218", - "transaction" : - { - "data" : "", - "gasLimit" : "21000", - "gasPrice" : "0", - "nonce" : "0", - "to" : "0x000000000000000000000000000b9331677e6ebf", - "value" : "0", - "v" : "1", - "r" : "0", - "s" : "0" - } - }, - - "libsecp256k1test": { - "expect" : "invalid", - "blocknumber" : "3094218", - "transaction": { - "nonce": "0", - "gasPrice": "0x09184e72a000", - "gasLimit": "0xf388", - "to": "", - "data": "0x", - "r": "0", - "s": "0", - "v": "1", - "value": "0" - } - }, - - "libsecp256k1test_gnv": { - "expect" : "valid", - "blocknumber" : "3094218", - "transaction": { - "nonce": "0", - "gasPrice": "0", - "gasLimit": "0xf388", - "to": "", - "data": "0x", - "r": "0", - "s": "0", - "v": "1", - "value": "0" - } - }, - - "dataTx_bcValidBlockTest": { - "expect" : "invalid", - "blocknumber" : "3094218", - "transaction": { - "nonce": "1", - "gasPrice": "0", - "gasLimit": "80000", - "to": "", - "data": "0x60056013565b6101918061001d6000396000f35b3360008190555056006001600060e060020a6000350480630a874df61461003a57806341c0e1b514610058578063a02b161e14610066578063dbbdf0831461007757005b610045600435610149565b80600160a060020a031660005260206000f35b610060610161565b60006000f35b6100716004356100d4565b60006000f35b61008560043560243561008b565b60006000f35b600054600160a060020a031632600160a060020a031614156100ac576100b1565b6100d0565b8060018360005260205260406000208190555081600060005260206000a15b5050565b600054600160a060020a031633600160a060020a031614158015610118575033600160a060020a0316600182600052602052604060002054600160a060020a031614155b61012157610126565b610146565b600060018260005260205260406000208190555080600060005260206000a15b50565b60006001826000526020526040600020549050919050565b600054600160a060020a031633600160a060020a0316146101815761018f565b600054600160a060020a0316ff5b56", - "r" : "0", - "s" : "0", - "v": "1", - "value": "0" - } - }, - - "dataTx_bcValidBlockTest_gnv": { - "expect" : "valid", - "blocknumber" : "3094218", - "transaction": { - "nonce": "0", - "gasPrice": "0", - "gasLimit": "80000", - "to": "", - "data": "0x60056013565b6101918061001d6000396000f35b3360008190555056006001600060e060020a6000350480630a874df61461003a57806341c0e1b514610058578063a02b161e14610066578063dbbdf0831461007757005b610045600435610149565b80600160a060020a031660005260206000f35b610060610161565b60006000f35b6100716004356100d4565b60006000f35b61008560043560243561008b565b60006000f35b600054600160a060020a031632600160a060020a031614156100ac576100b1565b6100d0565b8060018360005260205260406000208190555081600060005260206000a15b5050565b600054600160a060020a031633600160a060020a031614158015610118575033600160a060020a0316600182600052602052604060002054600160a060020a031614155b61012157610126565b610146565b600060018260005260205260406000208190555080600060005260206000a15b50565b60006001826000526020526040600020549050919050565b600054600160a060020a031633600160a060020a0316146101815761018f565b600054600160a060020a0316ff5b56", - "r" : "0", - "s" : "0", - "v": "1", - "value": "0" - } - } -} -- cgit v1.2.3