nimbus-eth1/TransactionTests.md

13 KiB

TransactionTests

ttAddress

+ AddressLessThan20.json                                          OK
+ AddressLessThan20Prefixed0.json                                 OK
+ AddressMoreThan20.json                                          OK
+ AddressMoreThan20PrefixedBy0.json                               OK

OK: 4/4 Fail: 0/4 Skip: 0/4

ttData

+ DataTestEnoughGAS.json                                          OK
+ DataTestFirstZeroBytes.json                                     OK
+ DataTestLastZeroBytes.json                                      OK
+ DataTestNotEnoughGAS.json                                       OK
+ DataTestZeroBytes.json                                          OK
+ String10MbData.json                                             OK
+ dataTx_bcValidBlockTest.json                                    OK
+ dataTx_bcValidBlockTestFrontier.json                            OK

OK: 8/8 Fail: 0/8 Skip: 0/8

ttGasLimit

+ NotEnoughGasLimit.json                                          OK
+ TransactionWithGasLimitOverflow.json                            OK
+ TransactionWithGasLimitOverflow2.json                           OK
+ TransactionWithGasLimitOverflow63.json                          OK
+ TransactionWithGasLimitOverflow63_1.json                        OK
+ TransactionWithGasLimitxPriceOverflow.json                      OK
+ TransactionWithGasLimitxPriceOverflow2.json                     OK
+ TransactionWithHighGas.json                                     OK
+ TransactionWithHihghGasLimit63m1.json                           OK

OK: 9/9 Fail: 0/9 Skip: 0/9

ttGasPrice

+ TransactionWithGasPriceOverflow.json                            OK
+ TransactionWithHighGasPrice.json                                OK
+ TransactionWithHighGasPrice2.json                               OK

OK: 3/3 Fail: 0/3 Skip: 0/3

ttNonce

+ TransactionWithHighNonce256.json                                OK
+ TransactionWithHighNonce32.json                                 OK
+ TransactionWithNonceOverflow.json                               OK

OK: 3/3 Fail: 0/3 Skip: 0/3

ttRSValue

+ 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
+ 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
+ TransactionWithSvalueTooHigh.json                               OK
+ unpadedRValue.json                                              OK

OK: 27/27 Fail: 0/27 Skip: 0/27

ttSignature

+ EmptyTransaction.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: 33/33 Fail: 0/33 Skip: 0/33

ttVValue

+ 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
+ WrongVRSTestVEqual26.json                                       OK
+ WrongVRSTestVEqual29.json                                       OK
+ WrongVRSTestVEqual31.json                                       OK
+ WrongVRSTestVEqual36.json                                       OK
+ WrongVRSTestVEqual39.json                                       OK
+ WrongVRSTestVEqual41.json                                       OK

OK: 20/20 Fail: 0/20 Skip: 0/20

ttValue

+ TransactionWithHighValue.json                                   OK
+ TransactionWithHighValueOverflow.json                           OK

OK: 2/2 Fail: 0/2 Skip: 0/2

ttWrongRLP

+ RLPAddressWithFirstZeros.json                                   OK
+ RLPAddressWrongSize.json                                        OK
+ RLPArrayLengthWithFirstZeros.json                               OK
+ RLPElementIsListWhenItShouldntBe.json                           OK
+ RLPElementIsListWhenItShouldntBe2.json                          OK
+ RLPExtraRandomByteAtTheEnd.json                                 OK
+ RLPHeaderSizeOverflowInt32.json                                 OK
+ RLPIncorrectByteEncoding00.json                                 OK
+ RLPIncorrectByteEncoding01.json                                 OK
+ RLPIncorrectByteEncoding127.json                                OK
+ RLPListLengthWithFirstZeros.json                                OK
+ RLPNonceWithFirstZeros.json                                     OK
+ RLPTransactionGivenAsArray.json                                 OK
+ RLPValueWithFirstZeros.json                                     OK
+ RLPWrongAddress.json                                            OK
+ RLPWrongData.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__WrongCharAtRLP_0.json                                  OK
+ TRANSCT__WrongCharAtRLP_1.json                                  OK
+ TRANSCT__WrongCharAtRLP_2.json                                  OK
+ TRANSCT__WrongCharAtRLP_3.json                                  OK
+ TRANSCT__WrongCharAtRLP_4.json                                  OK
+ TRANSCT__WrongCharAtRLP_5.json                                  OK
+ TRANSCT__WrongCharAtRLP_6.json                                  OK
+ TRANSCT__WrongCharAtRLP_7.json                                  OK
+ TRANSCT__WrongCharAtRLP_8.json                                  OK
+ TRANSCT__WrongCharAtRLP_9.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__ZeroByteAtTheEnd.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
+ aMalicousRLP.json                                               OK
+ tr201506052141PYTHON.json                                       OK

OK: 70/70 Fail: 0/70 Skip: 0/70

---TOTAL--- OK: 179/179 Fail: 0/179 Skip: 0/179