nimbus-eth1/TransactionTests.md

240 lines
14 KiB
Markdown
Raw Normal View History

TransactionTests
===
## ttAddress
```diff
+ AddressLessThan20.json OK
+ AddressLessThan20Prefixed0.json OK
+ AddressMoreThan20.json OK
+ AddressMoreThan20PrefixedBy0.json OK
```
OK: 4/4 Fail: 0/4 Skip: 0/4
## ttData
```diff
+ DataTestEnoughGAS.json OK
+ DataTestFirstZeroBytes.json OK
+ DataTestLastZeroBytes.json OK
+ DataTestNotEnoughGAS.json OK
+ DataTestZeroBytes.json OK
+ String10MbData.json OK
+ String10MbDataNotEnoughGAS.json OK
+ dataTx_bcValidBlockTest.json OK
+ dataTx_bcValidBlockTestFrontier.json OK
```
OK: 9/9 Fail: 0/9 Skip: 0/9
2020-02-20 03:48:03 +00:00
## ttEIP2028
```diff
+ DataTestInsufficientGas2028.json OK
+ DataTestSufficientGas2028.json OK
```
OK: 2/2 Fail: 0/2 Skip: 0/2
## ttGasLimit
```diff
+ NotEnoughGasLimit.json OK
+ TransactionWithGasLimitOverflow256.json OK
+ TransactionWithGasLimitOverflow64.json OK
+ TransactionWithGasLimitOverflowZeros64.json OK
+ TransactionWithGasLimitxPriceOverflow.json OK
+ TransactionWithHighGasLimit63.json OK
+ TransactionWithHighGasLimit63Minus1.json OK
+ TransactionWithHighGasLimit63Plus1.json OK
+ TransactionWithHighGasLimit64Minus1.json OK
+ TransactionWithLeadingZerosGasLimit.json OK
```
OK: 10/10 Fail: 0/10 Skip: 0/10
## ttGasPrice
```diff
+ TransactionWithGasPriceOverflow.json OK
+ TransactionWithHighGasPrice.json OK
+ TransactionWithHighGasPrice2.json OK
+ TransactionWithLeadingZerosGasPrice.json OK
```
OK: 4/4 Fail: 0/4 Skip: 0/4
## ttNonce
```diff
+ TransactionWithEmptyBigInt.json OK
+ TransactionWithHighNonce256.json OK
+ TransactionWithHighNonce32.json OK
+ TransactionWithHighNonce64.json OK
+ TransactionWithHighNonce64Minus1.json OK
+ TransactionWithHighNonce64Minus2.json OK
+ TransactionWithHighNonce64Plus1.json OK
+ TransactionWithLeadingZerosNonce.json OK
+ TransactionWithNonceOverflow.json OK
+ TransactionWithZerosBigInt.json OK
```
OK: 10/10 Fail: 0/10 Skip: 0/10
## ttRSValue
```diff
+ RightVRSTestF0000000a.json OK
+ RightVRSTestF0000000b.json OK
+ RightVRSTestF0000000c.json OK
+ RightVRSTestF0000000d.json OK
+ RightVRSTestF0000000e.json OK
+ RightVRSTestF0000000f.json OK
+ RightVRSTestVPrefixedBy0.json OK
+ RightVRSTestVPrefixedBy0_2.json OK
+ RightVRSTestVPrefixedBy0_3.json OK
+ TransactionWithRSvalue0.json OK
+ TransactionWithRSvalue1.json OK
+ TransactionWithRvalue0.json OK
+ TransactionWithRvalue1.json OK
+ TransactionWithRvalueHigh.json OK
+ TransactionWithRvalueOverflow.json OK
+ TransactionWithRvaluePrefixed00.json OK
+ TransactionWithRvaluePrefixed00BigInt.json OK
+ TransactionWithRvalueTooHigh.json OK
+ TransactionWithSvalue0.json OK
+ TransactionWithSvalue1.json OK
+ TransactionWithSvalueEqual_c_secp256k1n_x05.json OK
+ TransactionWithSvalueHigh.json OK
+ TransactionWithSvalueLargerThan_c_secp256k1n_x05.json OK
+ TransactionWithSvalueLessThan_c_secp256k1n_x05.json OK
+ TransactionWithSvalueOverflow.json OK
+ TransactionWithSvaluePrefixed00.json OK
+ TransactionWithSvaluePrefixed00BigInt.json OK
+ TransactionWithSvalueTooHigh.json OK
+ unpadedRValue.json OK
```
OK: 29/29 Fail: 0/29 Skip: 0/29
## ttSignature
```diff
+ EmptyTransaction.json OK
+ PointAtInfinity.json OK
+ RSsecp256k1.json OK
+ RightVRSTest.json OK
+ SenderTest.json OK
+ TransactionWithTooFewRLPElements.json OK
+ TransactionWithTooManyRLPElements.json OK
+ Vitalik_1.json OK
+ Vitalik_10.json OK
+ Vitalik_11.json OK
+ Vitalik_12.json OK
+ Vitalik_13.json OK
+ Vitalik_14.json OK
+ Vitalik_15.json OK
+ Vitalik_16.json OK
+ Vitalik_17.json OK
+ Vitalik_2.json OK
+ Vitalik_3.json OK
+ Vitalik_4.json OK
+ Vitalik_5.json OK
+ Vitalik_6.json OK
+ Vitalik_7.json OK
+ Vitalik_8.json OK
+ Vitalik_9.json OK
+ WrongVRSTestIncorrectSize.json OK
+ WrongVRSTestVOverflow.json OK
+ ZeroSigTransaction.json OK
+ ZeroSigTransaction2.json OK
+ ZeroSigTransaction3.json OK
+ ZeroSigTransaction4.json OK
+ ZeroSigTransaction5.json OK
+ ZeroSigTransaction6.json OK
+ invalidSignature.json OK
+ libsecp256k1test.json OK
```
OK: 34/34 Fail: 0/34 Skip: 0/34
## ttVValue
```diff
+ InvalidChainID0ValidV0.json OK
+ InvalidChainID0ValidV1.json OK
+ V_equals37.json OK
+ V_equals38.json OK
+ V_overflow32bit.json OK
+ V_overflow32bitSigned.json OK
+ V_overflow64bitPlus27.json OK
+ V_overflow64bitPlus28.json OK
+ V_overflow64bitSigned.json OK
+ V_wrongvalue_101.json OK
+ V_wrongvalue_121.json OK
+ V_wrongvalue_122.json OK
+ V_wrongvalue_123.json OK
+ V_wrongvalue_124.json OK
+ V_wrongvalue_ff.json OK
+ V_wrongvalue_ffff.json OK
+ ValidChainID1InvalidV0.json OK
+ ValidChainID1InvalidV00.json OK
+ ValidChainID1InvalidV01.json OK
+ ValidChainID1InvalidV1.json OK
+ ValidChainID1ValidV0.json OK
+ ValidChainID1ValidV1.json OK
+ WrongVRSTestVEqual26.json OK
+ WrongVRSTestVEqual29.json OK
+ WrongVRSTestVEqual31.json OK
+ WrongVRSTestVEqual36.json OK
+ WrongVRSTestVEqual39.json OK
+ WrongVRSTestVEqual41.json OK
```
OK: 28/28 Fail: 0/28 Skip: 0/28
## ttValue
```diff
+ TransactionWithHighValue.json OK
+ TransactionWithHighValueOverflow.json OK
+ TransactionWithLeadingZerosValue.json OK
```
OK: 3/3 Fail: 0/3 Skip: 0/3
## ttWrongRLP
```diff
+ RLPAddressWithFirstZeros.json OK
+ RLPAddressWrongSize.json OK
+ RLPArrayLengthWithFirstZeros.json OK
+ RLPElementIsListWhenItShouldntBe.json OK
+ RLPElementIsListWhenItShouldntBe2.json OK
+ RLPExtraRandomByteAtTheEnd.json OK
2019-09-03 07:38:56 +00:00
+ RLPHeaderSizeOverflowInt32.json OK
+ RLPIncorrectByteEncoding00.json OK
+ RLPIncorrectByteEncoding01.json OK
+ RLPIncorrectByteEncoding127.json OK
+ RLPListLengthWithFirstZeros.json OK
+ RLPNonceWithFirstZeros.json OK
+ RLPTransactionGivenAsArray.json OK
+ RLPValueWithFirstZeros.json OK
+ RLPgasLimitWithFirstZeros.json OK
+ RLPgasPriceWithFirstZeros.json OK
+ TRANSCT_HeaderGivenAsArray_0.json OK
+ TRANSCT_HeaderLargerThanRLP_0.json OK
+ TRANSCT__RandomByteAtRLP_0.json OK
+ TRANSCT__RandomByteAtRLP_1.json OK
+ TRANSCT__RandomByteAtRLP_2.json OK
+ TRANSCT__RandomByteAtRLP_3.json OK
+ TRANSCT__RandomByteAtRLP_4.json OK
+ TRANSCT__RandomByteAtRLP_5.json OK
+ TRANSCT__RandomByteAtRLP_6.json OK
+ TRANSCT__RandomByteAtRLP_7.json OK
+ TRANSCT__RandomByteAtRLP_8.json OK
+ TRANSCT__RandomByteAtRLP_9.json OK
+ TRANSCT__RandomByteAtTheEnd.json OK
+ TRANSCT__ZeroByteAtRLP_0.json OK
+ TRANSCT__ZeroByteAtRLP_1.json OK
+ TRANSCT__ZeroByteAtRLP_2.json OK
+ TRANSCT__ZeroByteAtRLP_3.json OK
+ TRANSCT__ZeroByteAtRLP_4.json OK
+ TRANSCT__ZeroByteAtRLP_5.json OK
+ TRANSCT__ZeroByteAtRLP_6.json OK
+ TRANSCT__ZeroByteAtRLP_7.json OK
+ TRANSCT__ZeroByteAtRLP_8.json OK
+ TRANSCT__ZeroByteAtRLP_9.json OK
+ TRANSCT_data_GivenAsList.json OK
+ TRANSCT_gasLimit_GivenAsList.json OK
+ TRANSCT_gasLimit_Prefixed0000.json OK
+ TRANSCT_gasLimit_TooLarge.json OK
+ TRANSCT_rvalue_GivenAsList.json OK
+ TRANSCT_rvalue_Prefixed0000.json OK
+ TRANSCT_rvalue_TooLarge.json OK
+ TRANSCT_rvalue_TooShort.json OK
+ TRANSCT_svalue_GivenAsList.json OK
+ TRANSCT_svalue_Prefixed0000.json OK
+ TRANSCT_svalue_TooLarge.json OK
+ TRANSCT_to_GivenAsList.json OK
+ TRANSCT_to_Prefixed0000.json OK
+ TRANSCT_to_TooLarge.json OK
+ TRANSCT_to_TooShort.json OK
+ aCrashingRLP.json OK
+ aMaliciousRLP.json OK
+ tr201506052141PYTHON.json OK
```
OK: 57/57 Fail: 0/57 Skip: 0/57
---TOTAL---
OK: 190/190 Fail: 0/190 Skip: 0/190