diff --git a/.gitmodules b/.gitmodules index eeba408..2137a40 100644 --- a/.gitmodules +++ b/.gitmodules @@ -1,9 +1,3 @@ -[submodule "test/vectors/ethereum-tests"] - path = test/vectors/ethereum-tests - url = https://github.com/ethereum/tests.git -[submodule "test/vectors/ethers"] - path = test/vectors/ethers - url = https://github.com/ethers-io/ethers.js.git -[submodule "test/vectors/viem"] - path = test/vectors/viem - url = https://github.com/wevm/viem.git +[submodule "test/vectors"] + path = test/vectors + url = https://github.com/paulmillr/eth-vectors.git diff --git a/benchmark/rlp.js b/benchmark/rlp.js index 6207feb..464e596 100644 --- a/benchmark/rlp.js +++ b/benchmark/rlp.js @@ -1,6 +1,6 @@ import { compare, utils as butils } from 'micro-bmark'; import { RLP } from '@ethereumjs/rlp'; -import { RLP as microrlp } from '../lib/esm/tx.js'; +import { RLP as microrlp } from '../lib/esm/rlp.js'; import { Rlp as cubane } from '@hazae41/cubane'; import { Writable } from '@hazae41/binary'; diff --git a/test/rlp.test.js b/test/rlp.test.js index 62aef65..f4df611 100644 --- a/test/rlp.test.js +++ b/test/rlp.test.js @@ -1,7 +1,7 @@ import { deepStrictEqual, throws } from 'node:assert'; import { describe, should } from 'micro-should'; import { hexToBytes } from '@noble/hashes/utils'; -import { RLP } from '../lib/esm/tx.js'; +import { RLP } from '../lib/esm/rlp.js'; import { ethHex, ethHexNoLeadingZero } from '../lib/esm/utils.js'; import { ENCODE_TESTS, DECODE_TESTS, INVALID } from './vectors/monorepo/rlp.js'; import { getEthersVectors, getViemVectors } from './util.js'; diff --git a/test/tx.test.js b/test/tx.test.js index b3e3044..0ebe5ed 100644 --- a/test/tx.test.js +++ b/test/tx.test.js @@ -5,7 +5,7 @@ import { addr, Transaction, messenger } from '../lib/esm/index.js'; import { RawTx, RlpTx, __tests } from '../lib/esm/tx.js'; import { add0x, createDecimal, ethHex, formatters } from '../lib/esm/utils.js'; import { default as TX_VECTORS } from './vectors/transactions.json' assert { type: 'json' }; -import { default as EIP155_VECTORS } from './vectors/eip155.json' assert { type: 'json' }; +import { default as EIP155_VECTORS } from './vectors/eips/eip155.json' assert { type: 'json' }; import * as ethTests from './vectors/eth-tests-tx-vectors.js'; import { getEthersVectors, getViemVectors } from './util.js'; diff --git a/test/vectors/eip155.json b/test/vectors/eip155.json deleted file mode 100644 index 94dafff..0000000 --- a/test/vectors/eip155.json +++ /dev/null @@ -1,189 +0,0 @@ -[ - { - "blocknumber": "3500000", - "hash": "e0be81f8d506dbe3a5549e720b51eb79492378d6638087740824f168667e5239", - "rlp": "0xf864808504a817c800825208943535353535353535353535353535353535353535808025a0044852b2a670ade5407e78fb2863c51de9fcb96542a07186fe3aeda6bb8a116da0044852b2a670ade5407e78fb2863c51de9fcb96542a07186fe3aeda6bb8a116d", - "sender": "f0f6f18bca1b28cd68e4357452947e021241e9ce", - "transaction": { - "data": "", - "gasLimit": "0x5208", - "gasPrice": "0x04a817c800", - "nonce": "0x00", - "r": "0x044852b2a670ade5407e78fb2863c51de9fcb96542a07186fe3aeda6bb8a116d", - "s": "0x044852b2a670ade5407e78fb2863c51de9fcb96542a07186fe3aeda6bb8a116d", - "to": "0x3535353535353535353535353535353535353535", - "v": "0x25", - "value": "0x00" - } - }, - { - "blocknumber": "3500000", - "hash": "50b6e7b58320c885ab7b2ee0d0b5813a697268bd2494a06de792790b13668c08", - "rlp": "0xf867088504a817c8088302e2489435353535353535353535353535353535353535358202008025a064b1702d9298fee62dfeccc57d322a463ad55ca201256d01f62b45b2e1c21c12a064b1702d9298fee62dfeccc57d322a463ad55ca201256d01f62b45b2e1c21c10", - "sender": "9bddad43f934d313c2b79ca28a432dd2b7281029", - "transaction": { - "data": "", - "gasLimit": "0x02e248", - "gasPrice": "0x04a817c808", - "nonce": "0x08", - "r": "0x64b1702d9298fee62dfeccc57d322a463ad55ca201256d01f62b45b2e1c21c12", - "s": "0x64b1702d9298fee62dfeccc57d322a463ad55ca201256d01f62b45b2e1c21c10", - "to": "0x3535353535353535353535353535353535353535", - "v": "0x25", - "value": "0x0200" - } - }, - { - "blocknumber": "3500000", - "hash": "24fd18c70146a2b002254810473fa26b744f7899258a1f32924cc73e7a8f4d4f", - "rlp": "0xf867098504a817c809830334509435353535353535353535353535353535353535358202d98025a052f8f61201b2b11a78d6e866abc9c3db2ae8631fa656bfe5cb53668255367afba052f8f61201b2b11a78d6e866abc9c3db2ae8631fa656bfe5cb53668255367afb", - "sender": "3c24d7329e92f84f08556ceb6df1cdb0104ca49f", - "transaction": { - "data": "", - "gasLimit": "0x033450", - "gasPrice": "0x04a817c809", - "nonce": "0x09", - "r": "0x52f8f61201b2b11a78d6e866abc9c3db2ae8631fa656bfe5cb53668255367afb", - "s": "0x52f8f61201b2b11a78d6e866abc9c3db2ae8631fa656bfe5cb53668255367afb", - "to": "0x3535353535353535353535353535353535353535", - "v": "0x25", - "value": "0x02d9" - } - }, - { - "blocknumber": "3500000", - "hash": "42973b488dbb3aa237db3d1a3bad18a8d2148af795fb6cdbbbeef5c736df97b9", - "rlp": "0xf864018504a817c80182a410943535353535353535353535353535353535353535018025a0489efdaa54c0f20c7adf612882df0950f5a951637e0307cdcb4c672f298b8bcaa0489efdaa54c0f20c7adf612882df0950f5a951637e0307cdcb4c672f298b8bc6", - "sender": "23ef145a395ea3fa3deb533b8a9e1b4c6c25d112", - "transaction": { - "data": "", - "gasLimit": "0xa410", - "gasPrice": "0x04a817c801", - "nonce": "0x01", - "r": "0x489efdaa54c0f20c7adf612882df0950f5a951637e0307cdcb4c672f298b8bca", - "s": "0x489efdaa54c0f20c7adf612882df0950f5a951637e0307cdcb4c672f298b8bc6", - "to": "0x3535353535353535353535353535353535353535", - "v": "0x25", - "value": "0x01" - } - }, - { - "blocknumber": "3500000", - "hash": "e68afed5d359c7e60a0408093da23c57b63e84acb2e368ac7c47630518d6f4d9", - "rlp": "0xf864028504a817c80282f618943535353535353535353535353535353535353535088025a02d7c5bef027816a800da1736444fb58a807ef4c9603b7848673f7e3a68eb14a5a02d7c5bef027816a800da1736444fb58a807ef4c9603b7848673f7e3a68eb14a5", - "sender": "2e485e0c23b4c3c542628a5f672eeab0ad4888be", - "transaction": { - "data": "", - "gasLimit": "0xf618", - "gasPrice": "0x04a817c802", - "nonce": "0x02", - "r": "0x2d7c5bef027816a800da1736444fb58a807ef4c9603b7848673f7e3a68eb14a5", - "s": "0x2d7c5bef027816a800da1736444fb58a807ef4c9603b7848673f7e3a68eb14a5", - "to": "0x3535353535353535353535353535353535353535", - "v": "0x25", - "value": "0x08" - } - }, - { - "blocknumber": "3500000", - "hash": "bcb6f653e06c276a080e9d68e5a967847a896cf52a6dc81917dc2c57ae0a31ef", - "rlp": "0xf865038504a817c803830148209435353535353535353535353535353535353535351b8025a02a80e1ef1d7842f27f2e6be0972bb708b9a135c38860dbe73c27c3486c34f4e0a02a80e1ef1d7842f27f2e6be0972bb708b9a135c38860dbe73c27c3486c34f4de", - "sender": "82a88539669a3fd524d669e858935de5e5410cf0", - "transaction": { - "data": "", - "gasLimit": "0x014820", - "gasPrice": "0x04a817c803", - "nonce": "0x03", - "r": "0x2a80e1ef1d7842f27f2e6be0972bb708b9a135c38860dbe73c27c3486c34f4e0", - "s": "0x2a80e1ef1d7842f27f2e6be0972bb708b9a135c38860dbe73c27c3486c34f4de", - "to": "0x3535353535353535353535353535353535353535", - "v": "0x25", - "value": "0x1b" - } - }, - { - "blocknumber": "3500000", - "hash": "244e4b57522352c3e9f93ad8ac8a47d1b46c3dcda6da2522caedad009ac9afb7", - "rlp": "0xf865048504a817c80483019a28943535353535353535353535353535353535353535408025a013600b294191fc92924bb3ce4b969c1e7e2bab8f4c93c3fc6d0a51733df3c063a013600b294191fc92924bb3ce4b969c1e7e2bab8f4c93c3fc6d0a51733df3c060", - "sender": "f9358f2538fd5ccfeb848b64a96b743fcc930554", - "transaction": { - "data": "", - "gasLimit": "0x019a28", - "gasPrice": "0x04a817c804", - "nonce": "0x04", - "r": "0x13600b294191fc92924bb3ce4b969c1e7e2bab8f4c93c3fc6d0a51733df3c063", - "s": "0x13600b294191fc92924bb3ce4b969c1e7e2bab8f4c93c3fc6d0a51733df3c060", - "to": "0x3535353535353535353535353535353535353535", - "v": "0x25", - "value": "0x40" - } - }, - { - "blocknumber": "3500000", - "hash": "581c0b79498b1cf1b8fa4f69bc5f21c0c60371cd08d4682b15c4334aac1cccfd", - "rlp": "0xf865058504a817c8058301ec309435353535353535353535353535353535353535357d8025a04eebf77a833b30520287ddd9478ff51abbdffa30aa90a8d655dba0e8a79ce0c1a04eebf77a833b30520287ddd9478ff51abbdffa30aa90a8d655dba0e8a79ce0c1", - "sender": "a8f7aba377317440bc5b26198a363ad22af1f3a4", - "transaction": { - "data": "", - "gasLimit": "0x01ec30", - "gasPrice": "0x04a817c805", - "nonce": "0x05", - "r": "0x4eebf77a833b30520287ddd9478ff51abbdffa30aa90a8d655dba0e8a79ce0c1", - "s": "0x4eebf77a833b30520287ddd9478ff51abbdffa30aa90a8d655dba0e8a79ce0c1", - "to": "0x3535353535353535353535353535353535353535", - "v": "0x25", - "value": "0x7d" - } - }, - { - "blocknumber": "3500000", - "hash": "581c0b79498b1cf1b8fa4f69bc5f21c0c60371cd08d4682b15c4334aac1cccfd", - "rlp": "0xf865058504a817c8058301ec309435353535353535353535353535353535353535357d8025a04eebf77a833b30520287ddd9478ff51abbdffa30aa90a8d655dba0e8a79ce0c1a04eebf77a833b30520287ddd9478ff51abbdffa30aa90a8d655dba0e8a79ce0c1", - "sender": "a8f7aba377317440bc5b26198a363ad22af1f3a4", - "transaction": { - "data": "", - "gasLimit": "0x01ec30", - "gasPrice": "0x04a817c805", - "nonce": "0x05", - "r": "0x4eebf77a833b30520287ddd9478ff51abbdffa30aa90a8d655dba0e8a79ce0c1", - "s": "0x4eebf77a833b30520287ddd9478ff51abbdffa30aa90a8d655dba0e8a79ce0c1", - "to": "0x3535353535353535353535353535353535353535", - "v": "0x25", - "value": "0x7d" - } - }, - { - "blocknumber": "3500000", - "hash": "678ae2053a840f5fe550a63d724d1c85420d2955a0ccc4f868dd59e27afdf279", - "rlp": "0xf866068504a817c80683023e3894353535353535353535353535353535353535353581d88025a06455bf8ea6e7463a1046a0b52804526e119b4bf5136279614e0b1e8e296a4e2fa06455bf8ea6e7463a1046a0b52804526e119b4bf5136279614e0b1e8e296a4e2d", - "sender": "f1f571dc362a0e5b2696b8e775f8491d3e50de35", - "transaction": { - "data": "", - "gasLimit": "0x023e38", - "gasPrice": "0x04a817c806", - "nonce": "0x06", - "r": "0x6455bf8ea6e7463a1046a0b52804526e119b4bf5136279614e0b1e8e296a4e2f", - "s": "0x6455bf8ea6e7463a1046a0b52804526e119b4bf5136279614e0b1e8e296a4e2d", - "to": "0x3535353535353535353535353535353535353535", - "v": "0x25", - "value": "0xd8" - } - }, - { - "blocknumber": "3500000", - "hash": "81aa03ada1474ff3ca4b86afb8e8c0f8b22791e156e706231a695ef8c51515ab", - "rlp": "0xf867078504a817c807830290409435353535353535353535353535353535353535358201578025a052f1a9b320cab38e5da8a8f97989383aab0a49165fc91c737310e4f7e9821021a052f1a9b320cab38e5da8a8f97989383aab0a49165fc91c737310e4f7e9821021", - "sender": "d37922162ab7cea97c97a87551ed02c9a38b7332", - "transaction": { - "data": "", - "gasLimit": "0x029040", - "gasPrice": "0x04a817c807", - "nonce": "0x07", - "r": "0x52f1a9b320cab38e5da8a8f97989383aab0a49165fc91c737310e4f7e9821021", - "s": "0x52f1a9b320cab38e5da8a8f97989383aab0a49165fc91c737310e4f7e9821021", - "to": "0x3535353535353535353535353535353535353535", - "v": "0x25", - "value": "0x0157" - } - } -] \ No newline at end of file diff --git a/test/vectors/eth-tests-tx-vectors.js b/test/vectors/eth-tests-tx-vectors.js deleted file mode 100644 index c9c5675..0000000 --- a/test/vectors/eth-tests-tx-vectors.js +++ /dev/null @@ -1,688 +0,0 @@ -// const files = ` -// ethereum-tests/TransactionTests/ttRSValue/TransactionWithSvalue1.json -// ethereum-tests/TransactionTests/ttRSValue/RightVRSTestF0000000c.json -// ethereum-tests/TransactionTests/ttRSValue/RightVRSTestVPrefixedBy0.json -// ethereum-tests/TransactionTests/ttRSValue/RightVRSTestF0000000b.json -// ethereum-tests/TransactionTests/ttRSValue/TransactionWithSvaluePrefixed00BigInt.json -// ethereum-tests/TransactionTests/ttRSValue/TransactionWithRvalueTooHigh.json -// ethereum-tests/TransactionTests/ttRSValue/TransactionWithSvalue0.json -// ethereum-tests/TransactionTests/ttRSValue/TransactionWithSvalueLargerThan_c_secp256k1n_x05.json -// ethereum-tests/TransactionTests/ttRSValue/TransactionWithSvalueEqual_c_secp256k1n_x05.json -// ethereum-tests/TransactionTests/ttRSValue/unpadedRValue.json -// ethereum-tests/TransactionTests/ttRSValue/RightVRSTestF0000000e.json -// ethereum-tests/TransactionTests/ttRSValue/TransactionWithRSvalue0.json -// ethereum-tests/TransactionTests/ttRSValue/TransactionWithRSvalue1.json -// ethereum-tests/TransactionTests/ttRSValue/RightVRSTestF0000000d.json -// ethereum-tests/TransactionTests/ttRSValue/TransactionWithSvalueTooHigh.json -// ethereum-tests/TransactionTests/ttRSValue/TransactionWithRvalueHigh.json -// ethereum-tests/TransactionTests/ttRSValue/TransactionWithSvalueLessThan_c_secp256k1n_x05.json -// ethereum-tests/TransactionTests/ttRSValue/RightVRSTestVPrefixedBy0_2.json -// ethereum-tests/TransactionTests/ttRSValue/TransactionWithSvalueOverflow.json -// ethereum-tests/TransactionTests/ttRSValue/TransactionWithSvalueHigh.json -// ethereum-tests/TransactionTests/ttRSValue/TransactionWithRvalue0.json -// ethereum-tests/TransactionTests/ttRSValue/TransactionWithRvalue1.json -// ethereum-tests/TransactionTests/ttRSValue/TransactionWithRvalueOverflow.json -// ethereum-tests/TransactionTests/ttRSValue/RightVRSTestVPrefixedBy0_3.json -// ethereum-tests/TransactionTests/ttRSValue/RightVRSTestF0000000f.json -// ethereum-tests/TransactionTests/ttRSValue/TransactionWithRvaluePrefixed00BigInt.json -// ethereum-tests/TransactionTests/ttRSValue/RightVRSTestF0000000a.json -// ethereum-tests/TransactionTests/ttRSValue/TransactionWithRvaluePrefixed00.json -// ethereum-tests/TransactionTests/ttRSValue/TransactionWithSvaluePrefixed00.json -// ethereum-tests/TransactionTests/ttAddress/AddressMoreThan20.json -// ethereum-tests/TransactionTests/ttAddress/AddressLessThan20.json -// ethereum-tests/TransactionTests/ttAddress/AddressLessThan20Prefixed0.json -// ethereum-tests/TransactionTests/ttAddress/AddressMoreThan20PrefixedBy0.json -// ethereum-tests/TransactionTests/ttEIP1559/maxFeePerGas00prefix.json -// ethereum-tests/TransactionTests/ttEIP1559/maxPriorityFeePerGasOverflow.json -// ethereum-tests/TransactionTests/ttEIP1559/GasLimitPriceProductOverflowtMinusOne.json -// ethereum-tests/TransactionTests/ttEIP1559/maxFeePerGas32BytesValue.json -// ethereum-tests/TransactionTests/ttEIP1559/GasLimitPriceProductOverflow.json -// ethereum-tests/TransactionTests/ttEIP1559/maxPriorityFeePerGas00prefix.json -// ethereum-tests/TransactionTests/ttEIP1559/maxPriorityFeePerGass32BytesValue.json -// ethereum-tests/TransactionTests/ttEIP1559/GasLimitPriceProductPlusOneOverflow.json -// ethereum-tests/TransactionTests/ttEIP1559/maxFeePerGasOverflow.json -// ethereum-tests/TransactionTests/ttGasPrice/TransactionWithHighGasPrice.json -// ethereum-tests/TransactionTests/ttGasPrice/TransactionWithGasPriceOverflow.json -// ethereum-tests/TransactionTests/ttGasPrice/TransactionWithLeadingZerosGasPrice.json -// ethereum-tests/TransactionTests/ttGasPrice/TransactionWithHighGasPrice2.json -// ethereum-tests/TransactionTests/ttVValue/V_wrongvalue_ffff.json -// ethereum-tests/TransactionTests/ttVValue/WrongVRSTestVEqual29.json -// ethereum-tests/TransactionTests/ttVValue/V_overflow64bitPlus28.json -// ethereum-tests/TransactionTests/ttVValue/V_overflow32bit.json -// ethereum-tests/TransactionTests/ttVValue/V_equals37.json -// ethereum-tests/TransactionTests/ttVValue/ValidChainID1InvalidV0.json -// ethereum-tests/TransactionTests/ttVValue/V_wrongvalue_101.json -// ethereum-tests/TransactionTests/ttVValue/V_overflow32bitSigned.json -// ethereum-tests/TransactionTests/ttVValue/ValidChainID1ValidV0.json -// ethereum-tests/TransactionTests/ttVValue/V_wrongvalue_121.json -// ethereum-tests/TransactionTests/ttVValue/ValidChainID1ValidV1.json -// ethereum-tests/TransactionTests/ttVValue/WrongVRSTestVEqual39.json -// ethereum-tests/TransactionTests/ttVValue/ValidChainID1InvalidV1.json -// ethereum-tests/TransactionTests/ttVValue/ValidChainID1InvalidV00.json -// ethereum-tests/TransactionTests/ttVValue/WrongVRSTestVEqual41.json -// ethereum-tests/TransactionTests/ttVValue/V_wrongvalue_123.json -// ethereum-tests/TransactionTests/ttVValue/WrongVRSTestVEqual36.json -// ethereum-tests/TransactionTests/ttVValue/V_wrongvalue_122.json -// ethereum-tests/TransactionTests/ttVValue/ValidChainID1InvalidV01.json -// ethereum-tests/TransactionTests/ttVValue/WrongVRSTestVEqual26.json -// ethereum-tests/TransactionTests/ttVValue/InvalidChainID0ValidV1.json -// ethereum-tests/TransactionTests/ttVValue/V_overflow64bitPlus27.json -// ethereum-tests/TransactionTests/ttVValue/V_wrongvalue_ff.json -// ethereum-tests/TransactionTests/ttVValue/V_equals38.json -// ethereum-tests/TransactionTests/ttVValue/InvalidChainID0ValidV0.json -// ethereum-tests/TransactionTests/ttVValue/WrongVRSTestVEqual31.json -// ethereum-tests/TransactionTests/ttVValue/V_wrongvalue_124.json -// ethereum-tests/TransactionTests/ttVValue/V_overflow64bitSigned.json -// ethereum-tests/TransactionTests/ttEIP2028/DataTestInsufficientGas2028.json -// ethereum-tests/TransactionTests/ttEIP2028/DataTestSufficientGas2028.json -// ethereum-tests/TransactionTests/ttSignature/EmptyTransaction.json -// ethereum-tests/TransactionTests/ttSignature/ZeroSigTransaction.json -// ethereum-tests/TransactionTests/ttSignature/Vitalik_3.json -// ethereum-tests/TransactionTests/ttSignature/WrongVRSTestIncorrectSize.json -// ethereum-tests/TransactionTests/ttSignature/RSsecp256k1.json -// ethereum-tests/TransactionTests/ttSignature/Vitalik_16.json -// ethereum-tests/TransactionTests/ttSignature/Vitalik_17.json -// ethereum-tests/TransactionTests/ttSignature/Vitalik_2.json -// ethereum-tests/TransactionTests/ttSignature/Vitalik_5.json -// ethereum-tests/TransactionTests/ttSignature/Vitalik_10.json -// ethereum-tests/TransactionTests/ttSignature/Vitalik_9.json -// ethereum-tests/TransactionTests/ttSignature/ZeroSigTransaction6.json -// ethereum-tests/TransactionTests/ttSignature/Vitalik_8.json -// ethereum-tests/TransactionTests/ttSignature/RightVRSTest.json -// ethereum-tests/TransactionTests/ttSignature/Vitalik_11.json -// ethereum-tests/TransactionTests/ttSignature/invalidSignature.json -// ethereum-tests/TransactionTests/ttSignature/WrongVRSTestVOverflow.json -// ethereum-tests/TransactionTests/ttSignature/Vitalik_4.json -// ethereum-tests/TransactionTests/ttSignature/Vitalik_12.json -// ethereum-tests/TransactionTests/ttSignature/Vitalik_7.json -// ethereum-tests/TransactionTests/ttSignature/TransactionWithTooManyRLPElements.json -// ethereum-tests/TransactionTests/ttSignature/ZeroSigTransaction5.json -// ethereum-tests/TransactionTests/ttSignature/PointAtInfinity.json -// ethereum-tests/TransactionTests/ttSignature/libsecp256k1test.json -// ethereum-tests/TransactionTests/ttSignature/ZeroSigTransaction4.json -// ethereum-tests/TransactionTests/ttSignature/Vitalik_6.json -// ethereum-tests/TransactionTests/ttSignature/TransactionWithTooFewRLPElements.json -// ethereum-tests/TransactionTests/ttSignature/Vitalik_13.json -// ethereum-tests/TransactionTests/ttSignature/ZeroSigTransaction3.json -// ethereum-tests/TransactionTests/ttSignature/SenderTest.json -// ethereum-tests/TransactionTests/ttSignature/Vitalik_14.json -// ethereum-tests/TransactionTests/ttSignature/Vitalik_1.json -// ethereum-tests/TransactionTests/ttSignature/Vitalik_15.json -// ethereum-tests/TransactionTests/ttSignature/ZeroSigTransaction2.json -// ethereum-tests/TransactionTests/ttNonce/TransactionWithHighNonce64Plus1.json -// ethereum-tests/TransactionTests/ttNonce/TransactionWithHighNonce64Minus2.json -// ethereum-tests/TransactionTests/ttNonce/TransactionWithHighNonce32.json -// ethereum-tests/TransactionTests/ttNonce/TransactionWithHighNonce64.json -// ethereum-tests/TransactionTests/ttNonce/TransactionWithEmptyBigInt.json -// ethereum-tests/TransactionTests/ttNonce/TransactionWithNonceOverflow.json -// ethereum-tests/TransactionTests/ttNonce/TransactionWithZerosBigInt.json -// ethereum-tests/TransactionTests/ttNonce/TransactionWithHighNonce64Minus1.json -// ethereum-tests/TransactionTests/ttNonce/TransactionWithHighNonce256.json -// ethereum-tests/TransactionTests/ttNonce/TransactionWithLeadingZerosNonce.json -// ethereum-tests/TransactionTests/ttData/DataTestZeroBytes.json -// ethereum-tests/TransactionTests/ttData/String10MbData.json -// ethereum-tests/TransactionTests/ttData/DataTestNotEnoughGAS.json -// ethereum-tests/TransactionTests/ttData/DataTestLastZeroBytes.json -// ethereum-tests/TransactionTests/ttData/dataTx_bcValidBlockTestFrontier.json -// ethereum-tests/TransactionTests/ttData/DataTestEnoughGAS.json -// ethereum-tests/TransactionTests/ttData/DataTestFirstZeroBytes.json -// ethereum-tests/TransactionTests/ttData/String10MbDataNotEnoughGAS.json -// ethereum-tests/TransactionTests/ttData/dataTx_bcValidBlockTest.json -// ethereum-tests/TransactionTests/ttEIP3860/DataTestInitCodeTooBig.json -// ethereum-tests/TransactionTests/ttEIP3860/DataTestEnoughGasInitCode.json -// ethereum-tests/TransactionTests/ttEIP3860/DataTestNotEnoughGasInitCode.json -// ethereum-tests/TransactionTests/ttEIP3860/DataTestInitCodeLimit.json -// ethereum-tests/TransactionTests/ttGasLimit/TransactionWithGasLimitOverflow64.json -// ethereum-tests/TransactionTests/ttGasLimit/NotEnoughGasLimit.json -// ethereum-tests/TransactionTests/ttGasLimit/TransactionWithHighGasLimit63.json -// ethereum-tests/TransactionTests/ttGasLimit/TransactionWithHighGasLimit64Minus1.json -// ethereum-tests/TransactionTests/ttGasLimit/TransactionWithHighGasLimit63Plus1.json -// ethereum-tests/TransactionTests/ttGasLimit/TransactionWithGasLimitxPriceOverflow.json -// ethereum-tests/TransactionTests/ttGasLimit/TransactionWithGasLimitOverflow256.json -// ethereum-tests/TransactionTests/ttGasLimit/TransactionWithLeadingZerosGasLimit.json -// ethereum-tests/TransactionTests/ttGasLimit/TransactionWithGasLimitOverflowZeros64.json -// ethereum-tests/TransactionTests/ttGasLimit/TransactionWithHighGasLimit63Minus1.json -// ethereum-tests/TransactionTests/ttEIP2930/accessListStoragePrefix00.json -// ethereum-tests/TransactionTests/ttEIP2930/accessListAddressLessThan20.json -// ethereum-tests/TransactionTests/ttEIP2930/accessListStorage0x0001.json -// ethereum-tests/TransactionTests/ttEIP2930/accessListStorageOver32Bytes.json -// ethereum-tests/TransactionTests/ttEIP2930/accessListAddressGreaterThan20.json -// ethereum-tests/TransactionTests/ttEIP2930/accessListStorage32Bytes.json -// ethereum-tests/TransactionTests/ttEIP2930/accessListAddressPrefix00.json -// ethereum-tests/TransactionTests/ttWrongRLP/TRANSCT__ZeroByteAtRLP_6.json -// ethereum-tests/TransactionTests/ttWrongRLP/RLPIncorrectByteEncoding01.json -// ethereum-tests/TransactionTests/ttWrongRLP/RLPHeaderSizeOverflowInt32.json -// ethereum-tests/TransactionTests/ttWrongRLP/TRANSCT_svalue_Prefixed0000.json -// ethereum-tests/TransactionTests/ttWrongRLP/TRANSCT__RandomByteAtRLP_0.json -// ethereum-tests/TransactionTests/ttWrongRLP/TRANSCT_to_Prefixed0000.json -// ethereum-tests/TransactionTests/ttWrongRLP/RLP_04_maxFeePerGas32BytesValue.json -// ethereum-tests/TransactionTests/ttWrongRLP/TRANSCT__RandomByteAtRLP_1.json -// ethereum-tests/TransactionTests/ttWrongRLP/RLPIncorrectByteEncoding127.json -// ethereum-tests/TransactionTests/ttWrongRLP/TRANSCT_to_TooShort.json -// ethereum-tests/TransactionTests/ttWrongRLP/TRANSCT_rvalue_TooShort.json -// ethereum-tests/TransactionTests/ttWrongRLP/TRANSCT__ZeroByteAtRLP_7.json -// ethereum-tests/TransactionTests/ttWrongRLP/RLPIncorrectByteEncoding00.json -// ethereum-tests/TransactionTests/ttWrongRLP/TRANSCT_svalue_GivenAsList.json -// ethereum-tests/TransactionTests/ttWrongRLP/TRANSCT__ZeroByteAtRLP_0.json -// ethereum-tests/TransactionTests/ttWrongRLP/TRANSCT_HeaderLargerThanRLP_0.json -// ethereum-tests/TransactionTests/ttWrongRLP/RLPgasPriceWithFirstZeros.json -// ethereum-tests/TransactionTests/ttWrongRLP/TRANSCT__RandomByteAtRLP_6.json -// ethereum-tests/TransactionTests/ttWrongRLP/TRANSCT_HeaderGivenAsArray_0.json -// ethereum-tests/TransactionTests/ttWrongRLP/TRANSCT__RandomByteAtTheEnd.json -// ethereum-tests/TransactionTests/ttWrongRLP/TRANSCT__RandomByteAtRLP_7.json -// ethereum-tests/TransactionTests/ttWrongRLP/TRANSCT_gasLimit_TooLarge.json -// ethereum-tests/TransactionTests/ttWrongRLP/TRANSCT__ZeroByteAtRLP_1.json -// ethereum-tests/TransactionTests/ttWrongRLP/TRANSCT_svalue_TooLarge.json -// ethereum-tests/TransactionTests/ttWrongRLP/TRANSCT_rvalue_Prefixed0000.json -// ethereum-tests/TransactionTests/ttWrongRLP/RLPValueWithFirstZeros.json -// ethereum-tests/TransactionTests/ttWrongRLP/TRANSCT__RandomByteAtRLP_8.json -// ethereum-tests/TransactionTests/ttWrongRLP/RLPListLengthWithFirstZeros.json -// ethereum-tests/TransactionTests/ttWrongRLP/RLPExtraRandomByteAtTheEnd.json -// ethereum-tests/TransactionTests/ttWrongRLP/RLP_09_maxFeePerGas32BytesValue.json -// ethereum-tests/TransactionTests/ttWrongRLP/tr201506052141PYTHON.json -// ethereum-tests/TransactionTests/ttWrongRLP/TRANSCT_data_GivenAsList.json -// ethereum-tests/TransactionTests/ttWrongRLP/aMaliciousRLP.json -// ethereum-tests/TransactionTests/ttWrongRLP/TRANSCT__RandomByteAtRLP_4.json -// ethereum-tests/TransactionTests/ttWrongRLP/RLPAddressWrongSize.json -// ethereum-tests/TransactionTests/ttWrongRLP/RLPElementIsListWhenItShouldntBe2.json -// ethereum-tests/TransactionTests/ttWrongRLP/TRANSCT_gasLimit_Prefixed0000.json -// ethereum-tests/TransactionTests/ttWrongRLP/TRANSCT_rvalue_TooLarge.json -// ethereum-tests/TransactionTests/ttWrongRLP/TRANSCT_to_TooLarge.json -// ethereum-tests/TransactionTests/ttWrongRLP/TRANSCT_to_GivenAsList.json -// ethereum-tests/TransactionTests/ttWrongRLP/TRANSCT__ZeroByteAtRLP_2.json -// ethereum-tests/TransactionTests/ttWrongRLP/TRANSCT__ZeroByteAtRLP_3.json -// ethereum-tests/TransactionTests/ttWrongRLP/RLPArrayLengthWithFirstZeros.json -// ethereum-tests/TransactionTests/ttWrongRLP/RLPNonceWithFirstZeros.json -// ethereum-tests/TransactionTests/ttWrongRLP/RLPAddressWithFirstZeros.json -// ethereum-tests/TransactionTests/ttWrongRLP/TRANSCT__RandomByteAtRLP_5.json -// ethereum-tests/TransactionTests/ttWrongRLP/TRANSCT__RandomByteAtRLP_9.json -// ethereum-tests/TransactionTests/ttWrongRLP/TRANSCT__RandomByteAtRLP_2.json -// ethereum-tests/TransactionTests/ttWrongRLP/TRANSCT__ZeroByteAtRLP_4.json -// ethereum-tests/TransactionTests/ttWrongRLP/TRANSCT_gasLimit_GivenAsList.json -// ethereum-tests/TransactionTests/ttWrongRLP/TRANSCT_rvalue_GivenAsList.json -// ethereum-tests/TransactionTests/ttWrongRLP/TRANSCT__ZeroByteAtRLP_8.json -// ethereum-tests/TransactionTests/ttWrongRLP/TRANSCT__ZeroByteAtRLP_9.json -// ethereum-tests/TransactionTests/ttWrongRLP/RLPElementIsListWhenItShouldntBe.json -// ethereum-tests/TransactionTests/ttWrongRLP/TRANSCT__ZeroByteAtRLP_5.json -// ethereum-tests/TransactionTests/ttWrongRLP/aCrashingRLP.json -// ethereum-tests/TransactionTests/ttWrongRLP/RLPTransactionGivenAsArray.json -// ethereum-tests/TransactionTests/ttWrongRLP/TRANSCT__RandomByteAtRLP_3.json -// ethereum-tests/TransactionTests/ttWrongRLP/RLPgasLimitWithFirstZeros.json -// ethereum-tests/TransactionTests/ttValue/TransactionWithHighValue.json -// ethereum-tests/TransactionTests/ttValue/TransactionWithLeadingZerosValue.json -// ethereum-tests/TransactionTests/ttValue/TransactionWithHighValueOverflow.json` -// .split('\n') -// .filter((i) => !!i); - -// const exp = {}; -// for (const f of files) { -// const [cat, name] = f.split('.json')[0].split('/').slice(-2); -// const fullName = `${cat}_${name}`; -// if (!exp[cat]) exp[cat] = {}; -// exp[cat][name] = fullName; -// console.log(`import { default as ${fullName} } from './${f}' assert { type: 'json' };`); -// } - -// for (const i in exp) { -// const t = Object.entries(exp[i]) -// .map(([n, fn]) => `${n}: ${fn}`) -// .join(', '); -// console.log(`export const ${i} = {${t}};`); -// } - -// GENERATE: node eth-tests-tx-vectors.js >> eth-tests-tx-vectors.js -import { default as ttRSValue_TransactionWithSvalue1 } from './ethereum-tests/TransactionTests/ttRSValue/TransactionWithSvalue1.json' assert { type: 'json' }; -import { default as ttRSValue_RightVRSTestF0000000c } from './ethereum-tests/TransactionTests/ttRSValue/RightVRSTestF0000000c.json' assert { type: 'json' }; -import { default as ttRSValue_RightVRSTestVPrefixedBy0 } from './ethereum-tests/TransactionTests/ttRSValue/RightVRSTestVPrefixedBy0.json' assert { type: 'json' }; -import { default as ttRSValue_RightVRSTestF0000000b } from './ethereum-tests/TransactionTests/ttRSValue/RightVRSTestF0000000b.json' assert { type: 'json' }; -import { default as ttRSValue_TransactionWithSvaluePrefixed00BigInt } from './ethereum-tests/TransactionTests/ttRSValue/TransactionWithSvaluePrefixed00BigInt.json' assert { type: 'json' }; -import { default as ttRSValue_TransactionWithRvalueTooHigh } from './ethereum-tests/TransactionTests/ttRSValue/TransactionWithRvalueTooHigh.json' assert { type: 'json' }; -import { default as ttRSValue_TransactionWithSvalue0 } from './ethereum-tests/TransactionTests/ttRSValue/TransactionWithSvalue0.json' assert { type: 'json' }; -import { default as ttRSValue_TransactionWithSvalueLargerThan_c_secp256k1n_x05 } from './ethereum-tests/TransactionTests/ttRSValue/TransactionWithSvalueLargerThan_c_secp256k1n_x05.json' assert { type: 'json' }; -import { default as ttRSValue_TransactionWithSvalueEqual_c_secp256k1n_x05 } from './ethereum-tests/TransactionTests/ttRSValue/TransactionWithSvalueEqual_c_secp256k1n_x05.json' assert { type: 'json' }; -import { default as ttRSValue_unpadedRValue } from './ethereum-tests/TransactionTests/ttRSValue/unpadedRValue.json' assert { type: 'json' }; -import { default as ttRSValue_RightVRSTestF0000000e } from './ethereum-tests/TransactionTests/ttRSValue/RightVRSTestF0000000e.json' assert { type: 'json' }; -import { default as ttRSValue_TransactionWithRSvalue0 } from './ethereum-tests/TransactionTests/ttRSValue/TransactionWithRSvalue0.json' assert { type: 'json' }; -import { default as ttRSValue_TransactionWithRSvalue1 } from './ethereum-tests/TransactionTests/ttRSValue/TransactionWithRSvalue1.json' assert { type: 'json' }; -import { default as ttRSValue_RightVRSTestF0000000d } from './ethereum-tests/TransactionTests/ttRSValue/RightVRSTestF0000000d.json' assert { type: 'json' }; -import { default as ttRSValue_TransactionWithSvalueTooHigh } from './ethereum-tests/TransactionTests/ttRSValue/TransactionWithSvalueTooHigh.json' assert { type: 'json' }; -import { default as ttRSValue_TransactionWithRvalueHigh } from './ethereum-tests/TransactionTests/ttRSValue/TransactionWithRvalueHigh.json' assert { type: 'json' }; -import { default as ttRSValue_TransactionWithSvalueLessThan_c_secp256k1n_x05 } from './ethereum-tests/TransactionTests/ttRSValue/TransactionWithSvalueLessThan_c_secp256k1n_x05.json' assert { type: 'json' }; -import { default as ttRSValue_RightVRSTestVPrefixedBy0_2 } from './ethereum-tests/TransactionTests/ttRSValue/RightVRSTestVPrefixedBy0_2.json' assert { type: 'json' }; -import { default as ttRSValue_TransactionWithSvalueOverflow } from './ethereum-tests/TransactionTests/ttRSValue/TransactionWithSvalueOverflow.json' assert { type: 'json' }; -import { default as ttRSValue_TransactionWithSvalueHigh } from './ethereum-tests/TransactionTests/ttRSValue/TransactionWithSvalueHigh.json' assert { type: 'json' }; -import { default as ttRSValue_TransactionWithRvalue0 } from './ethereum-tests/TransactionTests/ttRSValue/TransactionWithRvalue0.json' assert { type: 'json' }; -import { default as ttRSValue_TransactionWithRvalue1 } from './ethereum-tests/TransactionTests/ttRSValue/TransactionWithRvalue1.json' assert { type: 'json' }; -import { default as ttRSValue_TransactionWithRvalueOverflow } from './ethereum-tests/TransactionTests/ttRSValue/TransactionWithRvalueOverflow.json' assert { type: 'json' }; -import { default as ttRSValue_RightVRSTestVPrefixedBy0_3 } from './ethereum-tests/TransactionTests/ttRSValue/RightVRSTestVPrefixedBy0_3.json' assert { type: 'json' }; -import { default as ttRSValue_RightVRSTestF0000000f } from './ethereum-tests/TransactionTests/ttRSValue/RightVRSTestF0000000f.json' assert { type: 'json' }; -import { default as ttRSValue_TransactionWithRvaluePrefixed00BigInt } from './ethereum-tests/TransactionTests/ttRSValue/TransactionWithRvaluePrefixed00BigInt.json' assert { type: 'json' }; -import { default as ttRSValue_RightVRSTestF0000000a } from './ethereum-tests/TransactionTests/ttRSValue/RightVRSTestF0000000a.json' assert { type: 'json' }; -import { default as ttRSValue_TransactionWithRvaluePrefixed00 } from './ethereum-tests/TransactionTests/ttRSValue/TransactionWithRvaluePrefixed00.json' assert { type: 'json' }; -import { default as ttRSValue_TransactionWithSvaluePrefixed00 } from './ethereum-tests/TransactionTests/ttRSValue/TransactionWithSvaluePrefixed00.json' assert { type: 'json' }; -import { default as ttAddress_AddressMoreThan20 } from './ethereum-tests/TransactionTests/ttAddress/AddressMoreThan20.json' assert { type: 'json' }; -import { default as ttAddress_AddressLessThan20 } from './ethereum-tests/TransactionTests/ttAddress/AddressLessThan20.json' assert { type: 'json' }; -import { default as ttAddress_AddressLessThan20Prefixed0 } from './ethereum-tests/TransactionTests/ttAddress/AddressLessThan20Prefixed0.json' assert { type: 'json' }; -import { default as ttAddress_AddressMoreThan20PrefixedBy0 } from './ethereum-tests/TransactionTests/ttAddress/AddressMoreThan20PrefixedBy0.json' assert { type: 'json' }; -import { default as ttEIP1559_maxFeePerGas00prefix } from './ethereum-tests/TransactionTests/ttEIP1559/maxFeePerGas00prefix.json' assert { type: 'json' }; -import { default as ttEIP1559_maxPriorityFeePerGasOverflow } from './ethereum-tests/TransactionTests/ttEIP1559/maxPriorityFeePerGasOverflow.json' assert { type: 'json' }; -import { default as ttEIP1559_GasLimitPriceProductOverflowtMinusOne } from './ethereum-tests/TransactionTests/ttEIP1559/GasLimitPriceProductOverflowtMinusOne.json' assert { type: 'json' }; -import { default as ttEIP1559_maxFeePerGas32BytesValue } from './ethereum-tests/TransactionTests/ttEIP1559/maxFeePerGas32BytesValue.json' assert { type: 'json' }; -import { default as ttEIP1559_GasLimitPriceProductOverflow } from './ethereum-tests/TransactionTests/ttEIP1559/GasLimitPriceProductOverflow.json' assert { type: 'json' }; -import { default as ttEIP1559_maxPriorityFeePerGas00prefix } from './ethereum-tests/TransactionTests/ttEIP1559/maxPriorityFeePerGas00prefix.json' assert { type: 'json' }; -import { default as ttEIP1559_maxPriorityFeePerGass32BytesValue } from './ethereum-tests/TransactionTests/ttEIP1559/maxPriorityFeePerGass32BytesValue.json' assert { type: 'json' }; -import { default as ttEIP1559_GasLimitPriceProductPlusOneOverflow } from './ethereum-tests/TransactionTests/ttEIP1559/GasLimitPriceProductPlusOneOverflow.json' assert { type: 'json' }; -import { default as ttEIP1559_maxFeePerGasOverflow } from './ethereum-tests/TransactionTests/ttEIP1559/maxFeePerGasOverflow.json' assert { type: 'json' }; -import { default as ttGasPrice_TransactionWithHighGasPrice } from './ethereum-tests/TransactionTests/ttGasPrice/TransactionWithHighGasPrice.json' assert { type: 'json' }; -import { default as ttGasPrice_TransactionWithGasPriceOverflow } from './ethereum-tests/TransactionTests/ttGasPrice/TransactionWithGasPriceOverflow.json' assert { type: 'json' }; -import { default as ttGasPrice_TransactionWithLeadingZerosGasPrice } from './ethereum-tests/TransactionTests/ttGasPrice/TransactionWithLeadingZerosGasPrice.json' assert { type: 'json' }; -import { default as ttGasPrice_TransactionWithHighGasPrice2 } from './ethereum-tests/TransactionTests/ttGasPrice/TransactionWithHighGasPrice2.json' assert { type: 'json' }; -import { default as ttVValue_V_wrongvalue_ffff } from './ethereum-tests/TransactionTests/ttVValue/V_wrongvalue_ffff.json' assert { type: 'json' }; -import { default as ttVValue_WrongVRSTestVEqual29 } from './ethereum-tests/TransactionTests/ttVValue/WrongVRSTestVEqual29.json' assert { type: 'json' }; -import { default as ttVValue_V_overflow64bitPlus28 } from './ethereum-tests/TransactionTests/ttVValue/V_overflow64bitPlus28.json' assert { type: 'json' }; -import { default as ttVValue_V_overflow32bit } from './ethereum-tests/TransactionTests/ttVValue/V_overflow32bit.json' assert { type: 'json' }; -import { default as ttVValue_V_equals37 } from './ethereum-tests/TransactionTests/ttVValue/V_equals37.json' assert { type: 'json' }; -import { default as ttVValue_ValidChainID1InvalidV0 } from './ethereum-tests/TransactionTests/ttVValue/ValidChainID1InvalidV0.json' assert { type: 'json' }; -import { default as ttVValue_V_wrongvalue_101 } from './ethereum-tests/TransactionTests/ttVValue/V_wrongvalue_101.json' assert { type: 'json' }; -import { default as ttVValue_V_overflow32bitSigned } from './ethereum-tests/TransactionTests/ttVValue/V_overflow32bitSigned.json' assert { type: 'json' }; -import { default as ttVValue_ValidChainID1ValidV0 } from './ethereum-tests/TransactionTests/ttVValue/ValidChainID1ValidV0.json' assert { type: 'json' }; -import { default as ttVValue_V_wrongvalue_121 } from './ethereum-tests/TransactionTests/ttVValue/V_wrongvalue_121.json' assert { type: 'json' }; -import { default as ttVValue_ValidChainID1ValidV1 } from './ethereum-tests/TransactionTests/ttVValue/ValidChainID1ValidV1.json' assert { type: 'json' }; -import { default as ttVValue_WrongVRSTestVEqual39 } from './ethereum-tests/TransactionTests/ttVValue/WrongVRSTestVEqual39.json' assert { type: 'json' }; -import { default as ttVValue_ValidChainID1InvalidV1 } from './ethereum-tests/TransactionTests/ttVValue/ValidChainID1InvalidV1.json' assert { type: 'json' }; -import { default as ttVValue_ValidChainID1InvalidV00 } from './ethereum-tests/TransactionTests/ttVValue/ValidChainID1InvalidV00.json' assert { type: 'json' }; -import { default as ttVValue_WrongVRSTestVEqual41 } from './ethereum-tests/TransactionTests/ttVValue/WrongVRSTestVEqual41.json' assert { type: 'json' }; -import { default as ttVValue_V_wrongvalue_123 } from './ethereum-tests/TransactionTests/ttVValue/V_wrongvalue_123.json' assert { type: 'json' }; -import { default as ttVValue_WrongVRSTestVEqual36 } from './ethereum-tests/TransactionTests/ttVValue/WrongVRSTestVEqual36.json' assert { type: 'json' }; -import { default as ttVValue_V_wrongvalue_122 } from './ethereum-tests/TransactionTests/ttVValue/V_wrongvalue_122.json' assert { type: 'json' }; -import { default as ttVValue_ValidChainID1InvalidV01 } from './ethereum-tests/TransactionTests/ttVValue/ValidChainID1InvalidV01.json' assert { type: 'json' }; -import { default as ttVValue_WrongVRSTestVEqual26 } from './ethereum-tests/TransactionTests/ttVValue/WrongVRSTestVEqual26.json' assert { type: 'json' }; -import { default as ttVValue_InvalidChainID0ValidV1 } from './ethereum-tests/TransactionTests/ttVValue/InvalidChainID0ValidV1.json' assert { type: 'json' }; -import { default as ttVValue_V_overflow64bitPlus27 } from './ethereum-tests/TransactionTests/ttVValue/V_overflow64bitPlus27.json' assert { type: 'json' }; -import { default as ttVValue_V_wrongvalue_ff } from './ethereum-tests/TransactionTests/ttVValue/V_wrongvalue_ff.json' assert { type: 'json' }; -import { default as ttVValue_V_equals38 } from './ethereum-tests/TransactionTests/ttVValue/V_equals38.json' assert { type: 'json' }; -import { default as ttVValue_InvalidChainID0ValidV0 } from './ethereum-tests/TransactionTests/ttVValue/InvalidChainID0ValidV0.json' assert { type: 'json' }; -import { default as ttVValue_WrongVRSTestVEqual31 } from './ethereum-tests/TransactionTests/ttVValue/WrongVRSTestVEqual31.json' assert { type: 'json' }; -import { default as ttVValue_V_wrongvalue_124 } from './ethereum-tests/TransactionTests/ttVValue/V_wrongvalue_124.json' assert { type: 'json' }; -import { default as ttVValue_V_overflow64bitSigned } from './ethereum-tests/TransactionTests/ttVValue/V_overflow64bitSigned.json' assert { type: 'json' }; -import { default as ttEIP2028_DataTestInsufficientGas2028 } from './ethereum-tests/TransactionTests/ttEIP2028/DataTestInsufficientGas2028.json' assert { type: 'json' }; -import { default as ttEIP2028_DataTestSufficientGas2028 } from './ethereum-tests/TransactionTests/ttEIP2028/DataTestSufficientGas2028.json' assert { type: 'json' }; -import { default as ttSignature_EmptyTransaction } from './ethereum-tests/TransactionTests/ttSignature/EmptyTransaction.json' assert { type: 'json' }; -import { default as ttSignature_ZeroSigTransaction } from './ethereum-tests/TransactionTests/ttSignature/ZeroSigTransaction.json' assert { type: 'json' }; -import { default as ttSignature_Vitalik_3 } from './ethereum-tests/TransactionTests/ttSignature/Vitalik_3.json' assert { type: 'json' }; -import { default as ttSignature_WrongVRSTestIncorrectSize } from './ethereum-tests/TransactionTests/ttSignature/WrongVRSTestIncorrectSize.json' assert { type: 'json' }; -import { default as ttSignature_RSsecp256k1 } from './ethereum-tests/TransactionTests/ttSignature/RSsecp256k1.json' assert { type: 'json' }; -import { default as ttSignature_Vitalik_16 } from './ethereum-tests/TransactionTests/ttSignature/Vitalik_16.json' assert { type: 'json' }; -import { default as ttSignature_Vitalik_17 } from './ethereum-tests/TransactionTests/ttSignature/Vitalik_17.json' assert { type: 'json' }; -import { default as ttSignature_Vitalik_2 } from './ethereum-tests/TransactionTests/ttSignature/Vitalik_2.json' assert { type: 'json' }; -import { default as ttSignature_Vitalik_5 } from './ethereum-tests/TransactionTests/ttSignature/Vitalik_5.json' assert { type: 'json' }; -import { default as ttSignature_Vitalik_10 } from './ethereum-tests/TransactionTests/ttSignature/Vitalik_10.json' assert { type: 'json' }; -import { default as ttSignature_Vitalik_9 } from './ethereum-tests/TransactionTests/ttSignature/Vitalik_9.json' assert { type: 'json' }; -import { default as ttSignature_ZeroSigTransaction6 } from './ethereum-tests/TransactionTests/ttSignature/ZeroSigTransaction6.json' assert { type: 'json' }; -import { default as ttSignature_Vitalik_8 } from './ethereum-tests/TransactionTests/ttSignature/Vitalik_8.json' assert { type: 'json' }; -import { default as ttSignature_RightVRSTest } from './ethereum-tests/TransactionTests/ttSignature/RightVRSTest.json' assert { type: 'json' }; -import { default as ttSignature_Vitalik_11 } from './ethereum-tests/TransactionTests/ttSignature/Vitalik_11.json' assert { type: 'json' }; -import { default as ttSignature_invalidSignature } from './ethereum-tests/TransactionTests/ttSignature/invalidSignature.json' assert { type: 'json' }; -import { default as ttSignature_WrongVRSTestVOverflow } from './ethereum-tests/TransactionTests/ttSignature/WrongVRSTestVOverflow.json' assert { type: 'json' }; -import { default as ttSignature_Vitalik_4 } from './ethereum-tests/TransactionTests/ttSignature/Vitalik_4.json' assert { type: 'json' }; -import { default as ttSignature_Vitalik_12 } from './ethereum-tests/TransactionTests/ttSignature/Vitalik_12.json' assert { type: 'json' }; -import { default as ttSignature_Vitalik_7 } from './ethereum-tests/TransactionTests/ttSignature/Vitalik_7.json' assert { type: 'json' }; -import { default as ttSignature_TransactionWithTooManyRLPElements } from './ethereum-tests/TransactionTests/ttSignature/TransactionWithTooManyRLPElements.json' assert { type: 'json' }; -import { default as ttSignature_ZeroSigTransaction5 } from './ethereum-tests/TransactionTests/ttSignature/ZeroSigTransaction5.json' assert { type: 'json' }; -import { default as ttSignature_PointAtInfinity } from './ethereum-tests/TransactionTests/ttSignature/PointAtInfinity.json' assert { type: 'json' }; -import { default as ttSignature_libsecp256k1test } from './ethereum-tests/TransactionTests/ttSignature/libsecp256k1test.json' assert { type: 'json' }; -import { default as ttSignature_ZeroSigTransaction4 } from './ethereum-tests/TransactionTests/ttSignature/ZeroSigTransaction4.json' assert { type: 'json' }; -import { default as ttSignature_Vitalik_6 } from './ethereum-tests/TransactionTests/ttSignature/Vitalik_6.json' assert { type: 'json' }; -import { default as ttSignature_TransactionWithTooFewRLPElements } from './ethereum-tests/TransactionTests/ttSignature/TransactionWithTooFewRLPElements.json' assert { type: 'json' }; -import { default as ttSignature_Vitalik_13 } from './ethereum-tests/TransactionTests/ttSignature/Vitalik_13.json' assert { type: 'json' }; -import { default as ttSignature_ZeroSigTransaction3 } from './ethereum-tests/TransactionTests/ttSignature/ZeroSigTransaction3.json' assert { type: 'json' }; -import { default as ttSignature_SenderTest } from './ethereum-tests/TransactionTests/ttSignature/SenderTest.json' assert { type: 'json' }; -import { default as ttSignature_Vitalik_14 } from './ethereum-tests/TransactionTests/ttSignature/Vitalik_14.json' assert { type: 'json' }; -import { default as ttSignature_Vitalik_1 } from './ethereum-tests/TransactionTests/ttSignature/Vitalik_1.json' assert { type: 'json' }; -import { default as ttSignature_Vitalik_15 } from './ethereum-tests/TransactionTests/ttSignature/Vitalik_15.json' assert { type: 'json' }; -import { default as ttSignature_ZeroSigTransaction2 } from './ethereum-tests/TransactionTests/ttSignature/ZeroSigTransaction2.json' assert { type: 'json' }; -import { default as ttNonce_TransactionWithHighNonce64Plus1 } from './ethereum-tests/TransactionTests/ttNonce/TransactionWithHighNonce64Plus1.json' assert { type: 'json' }; -import { default as ttNonce_TransactionWithHighNonce64Minus2 } from './ethereum-tests/TransactionTests/ttNonce/TransactionWithHighNonce64Minus2.json' assert { type: 'json' }; -import { default as ttNonce_TransactionWithHighNonce32 } from './ethereum-tests/TransactionTests/ttNonce/TransactionWithHighNonce32.json' assert { type: 'json' }; -import { default as ttNonce_TransactionWithHighNonce64 } from './ethereum-tests/TransactionTests/ttNonce/TransactionWithHighNonce64.json' assert { type: 'json' }; -import { default as ttNonce_TransactionWithEmptyBigInt } from './ethereum-tests/TransactionTests/ttNonce/TransactionWithEmptyBigInt.json' assert { type: 'json' }; -import { default as ttNonce_TransactionWithNonceOverflow } from './ethereum-tests/TransactionTests/ttNonce/TransactionWithNonceOverflow.json' assert { type: 'json' }; -import { default as ttNonce_TransactionWithZerosBigInt } from './ethereum-tests/TransactionTests/ttNonce/TransactionWithZerosBigInt.json' assert { type: 'json' }; -import { default as ttNonce_TransactionWithHighNonce64Minus1 } from './ethereum-tests/TransactionTests/ttNonce/TransactionWithHighNonce64Minus1.json' assert { type: 'json' }; -import { default as ttNonce_TransactionWithHighNonce256 } from './ethereum-tests/TransactionTests/ttNonce/TransactionWithHighNonce256.json' assert { type: 'json' }; -import { default as ttNonce_TransactionWithLeadingZerosNonce } from './ethereum-tests/TransactionTests/ttNonce/TransactionWithLeadingZerosNonce.json' assert { type: 'json' }; -import { default as ttData_DataTestZeroBytes } from './ethereum-tests/TransactionTests/ttData/DataTestZeroBytes.json' assert { type: 'json' }; -import { default as ttData_String10MbData } from './ethereum-tests/TransactionTests/ttData/String10MbData.json' assert { type: 'json' }; -import { default as ttData_DataTestNotEnoughGAS } from './ethereum-tests/TransactionTests/ttData/DataTestNotEnoughGAS.json' assert { type: 'json' }; -import { default as ttData_DataTestLastZeroBytes } from './ethereum-tests/TransactionTests/ttData/DataTestLastZeroBytes.json' assert { type: 'json' }; -import { default as ttData_dataTx_bcValidBlockTestFrontier } from './ethereum-tests/TransactionTests/ttData/dataTx_bcValidBlockTestFrontier.json' assert { type: 'json' }; -import { default as ttData_DataTestEnoughGAS } from './ethereum-tests/TransactionTests/ttData/DataTestEnoughGAS.json' assert { type: 'json' }; -import { default as ttData_DataTestFirstZeroBytes } from './ethereum-tests/TransactionTests/ttData/DataTestFirstZeroBytes.json' assert { type: 'json' }; -import { default as ttData_String10MbDataNotEnoughGAS } from './ethereum-tests/TransactionTests/ttData/String10MbDataNotEnoughGAS.json' assert { type: 'json' }; -import { default as ttData_dataTx_bcValidBlockTest } from './ethereum-tests/TransactionTests/ttData/dataTx_bcValidBlockTest.json' assert { type: 'json' }; -import { default as ttEIP3860_DataTestInitCodeTooBig } from './ethereum-tests/TransactionTests/ttEIP3860/DataTestInitCodeTooBig.json' assert { type: 'json' }; -import { default as ttEIP3860_DataTestEnoughGasInitCode } from './ethereum-tests/TransactionTests/ttEIP3860/DataTestEnoughGasInitCode.json' assert { type: 'json' }; -import { default as ttEIP3860_DataTestNotEnoughGasInitCode } from './ethereum-tests/TransactionTests/ttEIP3860/DataTestNotEnoughGasInitCode.json' assert { type: 'json' }; -import { default as ttEIP3860_DataTestInitCodeLimit } from './ethereum-tests/TransactionTests/ttEIP3860/DataTestInitCodeLimit.json' assert { type: 'json' }; -import { default as ttGasLimit_TransactionWithGasLimitOverflow64 } from './ethereum-tests/TransactionTests/ttGasLimit/TransactionWithGasLimitOverflow64.json' assert { type: 'json' }; -import { default as ttGasLimit_NotEnoughGasLimit } from './ethereum-tests/TransactionTests/ttGasLimit/NotEnoughGasLimit.json' assert { type: 'json' }; -import { default as ttGasLimit_TransactionWithHighGasLimit63 } from './ethereum-tests/TransactionTests/ttGasLimit/TransactionWithHighGasLimit63.json' assert { type: 'json' }; -import { default as ttGasLimit_TransactionWithHighGasLimit64Minus1 } from './ethereum-tests/TransactionTests/ttGasLimit/TransactionWithHighGasLimit64Minus1.json' assert { type: 'json' }; -import { default as ttGasLimit_TransactionWithHighGasLimit63Plus1 } from './ethereum-tests/TransactionTests/ttGasLimit/TransactionWithHighGasLimit63Plus1.json' assert { type: 'json' }; -import { default as ttGasLimit_TransactionWithGasLimitxPriceOverflow } from './ethereum-tests/TransactionTests/ttGasLimit/TransactionWithGasLimitxPriceOverflow.json' assert { type: 'json' }; -import { default as ttGasLimit_TransactionWithGasLimitOverflow256 } from './ethereum-tests/TransactionTests/ttGasLimit/TransactionWithGasLimitOverflow256.json' assert { type: 'json' }; -import { default as ttGasLimit_TransactionWithLeadingZerosGasLimit } from './ethereum-tests/TransactionTests/ttGasLimit/TransactionWithLeadingZerosGasLimit.json' assert { type: 'json' }; -import { default as ttGasLimit_TransactionWithGasLimitOverflowZeros64 } from './ethereum-tests/TransactionTests/ttGasLimit/TransactionWithGasLimitOverflowZeros64.json' assert { type: 'json' }; -import { default as ttGasLimit_TransactionWithHighGasLimit63Minus1 } from './ethereum-tests/TransactionTests/ttGasLimit/TransactionWithHighGasLimit63Minus1.json' assert { type: 'json' }; -import { default as ttEIP2930_accessListStoragePrefix00 } from './ethereum-tests/TransactionTests/ttEIP2930/accessListStoragePrefix00.json' assert { type: 'json' }; -import { default as ttEIP2930_accessListAddressLessThan20 } from './ethereum-tests/TransactionTests/ttEIP2930/accessListAddressLessThan20.json' assert { type: 'json' }; -import { default as ttEIP2930_accessListStorage0x0001 } from './ethereum-tests/TransactionTests/ttEIP2930/accessListStorage0x0001.json' assert { type: 'json' }; -import { default as ttEIP2930_accessListStorageOver32Bytes } from './ethereum-tests/TransactionTests/ttEIP2930/accessListStorageOver32Bytes.json' assert { type: 'json' }; -import { default as ttEIP2930_accessListAddressGreaterThan20 } from './ethereum-tests/TransactionTests/ttEIP2930/accessListAddressGreaterThan20.json' assert { type: 'json' }; -import { default as ttEIP2930_accessListStorage32Bytes } from './ethereum-tests/TransactionTests/ttEIP2930/accessListStorage32Bytes.json' assert { type: 'json' }; -import { default as ttEIP2930_accessListAddressPrefix00 } from './ethereum-tests/TransactionTests/ttEIP2930/accessListAddressPrefix00.json' assert { type: 'json' }; -import { default as ttWrongRLP_TRANSCT__ZeroByteAtRLP_6 } from './ethereum-tests/TransactionTests/ttWrongRLP/TRANSCT__ZeroByteAtRLP_6.json' assert { type: 'json' }; -import { default as ttWrongRLP_RLPIncorrectByteEncoding01 } from './ethereum-tests/TransactionTests/ttWrongRLP/RLPIncorrectByteEncoding01.json' assert { type: 'json' }; -import { default as ttWrongRLP_RLPHeaderSizeOverflowInt32 } from './ethereum-tests/TransactionTests/ttWrongRLP/RLPHeaderSizeOverflowInt32.json' assert { type: 'json' }; -import { default as ttWrongRLP_TRANSCT_svalue_Prefixed0000 } from './ethereum-tests/TransactionTests/ttWrongRLP/TRANSCT_svalue_Prefixed0000.json' assert { type: 'json' }; -import { default as ttWrongRLP_TRANSCT__RandomByteAtRLP_0 } from './ethereum-tests/TransactionTests/ttWrongRLP/TRANSCT__RandomByteAtRLP_0.json' assert { type: 'json' }; -import { default as ttWrongRLP_TRANSCT_to_Prefixed0000 } from './ethereum-tests/TransactionTests/ttWrongRLP/TRANSCT_to_Prefixed0000.json' assert { type: 'json' }; -import { default as ttWrongRLP_RLP_04_maxFeePerGas32BytesValue } from './ethereum-tests/TransactionTests/ttWrongRLP/RLP_04_maxFeePerGas32BytesValue.json' assert { type: 'json' }; -import { default as ttWrongRLP_TRANSCT__RandomByteAtRLP_1 } from './ethereum-tests/TransactionTests/ttWrongRLP/TRANSCT__RandomByteAtRLP_1.json' assert { type: 'json' }; -import { default as ttWrongRLP_RLPIncorrectByteEncoding127 } from './ethereum-tests/TransactionTests/ttWrongRLP/RLPIncorrectByteEncoding127.json' assert { type: 'json' }; -import { default as ttWrongRLP_TRANSCT_to_TooShort } from './ethereum-tests/TransactionTests/ttWrongRLP/TRANSCT_to_TooShort.json' assert { type: 'json' }; -import { default as ttWrongRLP_TRANSCT_rvalue_TooShort } from './ethereum-tests/TransactionTests/ttWrongRLP/TRANSCT_rvalue_TooShort.json' assert { type: 'json' }; -import { default as ttWrongRLP_TRANSCT__ZeroByteAtRLP_7 } from './ethereum-tests/TransactionTests/ttWrongRLP/TRANSCT__ZeroByteAtRLP_7.json' assert { type: 'json' }; -import { default as ttWrongRLP_RLPIncorrectByteEncoding00 } from './ethereum-tests/TransactionTests/ttWrongRLP/RLPIncorrectByteEncoding00.json' assert { type: 'json' }; -import { default as ttWrongRLP_TRANSCT_svalue_GivenAsList } from './ethereum-tests/TransactionTests/ttWrongRLP/TRANSCT_svalue_GivenAsList.json' assert { type: 'json' }; -import { default as ttWrongRLP_TRANSCT__ZeroByteAtRLP_0 } from './ethereum-tests/TransactionTests/ttWrongRLP/TRANSCT__ZeroByteAtRLP_0.json' assert { type: 'json' }; -import { default as ttWrongRLP_TRANSCT_HeaderLargerThanRLP_0 } from './ethereum-tests/TransactionTests/ttWrongRLP/TRANSCT_HeaderLargerThanRLP_0.json' assert { type: 'json' }; -import { default as ttWrongRLP_RLPgasPriceWithFirstZeros } from './ethereum-tests/TransactionTests/ttWrongRLP/RLPgasPriceWithFirstZeros.json' assert { type: 'json' }; -import { default as ttWrongRLP_TRANSCT__RandomByteAtRLP_6 } from './ethereum-tests/TransactionTests/ttWrongRLP/TRANSCT__RandomByteAtRLP_6.json' assert { type: 'json' }; -import { default as ttWrongRLP_TRANSCT_HeaderGivenAsArray_0 } from './ethereum-tests/TransactionTests/ttWrongRLP/TRANSCT_HeaderGivenAsArray_0.json' assert { type: 'json' }; -import { default as ttWrongRLP_TRANSCT__RandomByteAtTheEnd } from './ethereum-tests/TransactionTests/ttWrongRLP/TRANSCT__RandomByteAtTheEnd.json' assert { type: 'json' }; -import { default as ttWrongRLP_TRANSCT__RandomByteAtRLP_7 } from './ethereum-tests/TransactionTests/ttWrongRLP/TRANSCT__RandomByteAtRLP_7.json' assert { type: 'json' }; -import { default as ttWrongRLP_TRANSCT_gasLimit_TooLarge } from './ethereum-tests/TransactionTests/ttWrongRLP/TRANSCT_gasLimit_TooLarge.json' assert { type: 'json' }; -import { default as ttWrongRLP_TRANSCT__ZeroByteAtRLP_1 } from './ethereum-tests/TransactionTests/ttWrongRLP/TRANSCT__ZeroByteAtRLP_1.json' assert { type: 'json' }; -import { default as ttWrongRLP_TRANSCT_svalue_TooLarge } from './ethereum-tests/TransactionTests/ttWrongRLP/TRANSCT_svalue_TooLarge.json' assert { type: 'json' }; -import { default as ttWrongRLP_TRANSCT_rvalue_Prefixed0000 } from './ethereum-tests/TransactionTests/ttWrongRLP/TRANSCT_rvalue_Prefixed0000.json' assert { type: 'json' }; -import { default as ttWrongRLP_RLPValueWithFirstZeros } from './ethereum-tests/TransactionTests/ttWrongRLP/RLPValueWithFirstZeros.json' assert { type: 'json' }; -import { default as ttWrongRLP_TRANSCT__RandomByteAtRLP_8 } from './ethereum-tests/TransactionTests/ttWrongRLP/TRANSCT__RandomByteAtRLP_8.json' assert { type: 'json' }; -import { default as ttWrongRLP_RLPListLengthWithFirstZeros } from './ethereum-tests/TransactionTests/ttWrongRLP/RLPListLengthWithFirstZeros.json' assert { type: 'json' }; -import { default as ttWrongRLP_RLPExtraRandomByteAtTheEnd } from './ethereum-tests/TransactionTests/ttWrongRLP/RLPExtraRandomByteAtTheEnd.json' assert { type: 'json' }; -import { default as ttWrongRLP_RLP_09_maxFeePerGas32BytesValue } from './ethereum-tests/TransactionTests/ttWrongRLP/RLP_09_maxFeePerGas32BytesValue.json' assert { type: 'json' }; -import { default as ttWrongRLP_tr201506052141PYTHON } from './ethereum-tests/TransactionTests/ttWrongRLP/tr201506052141PYTHON.json' assert { type: 'json' }; -import { default as ttWrongRLP_TRANSCT_data_GivenAsList } from './ethereum-tests/TransactionTests/ttWrongRLP/TRANSCT_data_GivenAsList.json' assert { type: 'json' }; -import { default as ttWrongRLP_aMaliciousRLP } from './ethereum-tests/TransactionTests/ttWrongRLP/aMaliciousRLP.json' assert { type: 'json' }; -import { default as ttWrongRLP_TRANSCT__RandomByteAtRLP_4 } from './ethereum-tests/TransactionTests/ttWrongRLP/TRANSCT__RandomByteAtRLP_4.json' assert { type: 'json' }; -import { default as ttWrongRLP_RLPAddressWrongSize } from './ethereum-tests/TransactionTests/ttWrongRLP/RLPAddressWrongSize.json' assert { type: 'json' }; -import { default as ttWrongRLP_RLPElementIsListWhenItShouldntBe2 } from './ethereum-tests/TransactionTests/ttWrongRLP/RLPElementIsListWhenItShouldntBe2.json' assert { type: 'json' }; -import { default as ttWrongRLP_TRANSCT_gasLimit_Prefixed0000 } from './ethereum-tests/TransactionTests/ttWrongRLP/TRANSCT_gasLimit_Prefixed0000.json' assert { type: 'json' }; -import { default as ttWrongRLP_TRANSCT_rvalue_TooLarge } from './ethereum-tests/TransactionTests/ttWrongRLP/TRANSCT_rvalue_TooLarge.json' assert { type: 'json' }; -import { default as ttWrongRLP_TRANSCT_to_TooLarge } from './ethereum-tests/TransactionTests/ttWrongRLP/TRANSCT_to_TooLarge.json' assert { type: 'json' }; -import { default as ttWrongRLP_TRANSCT_to_GivenAsList } from './ethereum-tests/TransactionTests/ttWrongRLP/TRANSCT_to_GivenAsList.json' assert { type: 'json' }; -import { default as ttWrongRLP_TRANSCT__ZeroByteAtRLP_2 } from './ethereum-tests/TransactionTests/ttWrongRLP/TRANSCT__ZeroByteAtRLP_2.json' assert { type: 'json' }; -import { default as ttWrongRLP_TRANSCT__ZeroByteAtRLP_3 } from './ethereum-tests/TransactionTests/ttWrongRLP/TRANSCT__ZeroByteAtRLP_3.json' assert { type: 'json' }; -import { default as ttWrongRLP_RLPArrayLengthWithFirstZeros } from './ethereum-tests/TransactionTests/ttWrongRLP/RLPArrayLengthWithFirstZeros.json' assert { type: 'json' }; -import { default as ttWrongRLP_RLPNonceWithFirstZeros } from './ethereum-tests/TransactionTests/ttWrongRLP/RLPNonceWithFirstZeros.json' assert { type: 'json' }; -import { default as ttWrongRLP_RLPAddressWithFirstZeros } from './ethereum-tests/TransactionTests/ttWrongRLP/RLPAddressWithFirstZeros.json' assert { type: 'json' }; -import { default as ttWrongRLP_TRANSCT__RandomByteAtRLP_5 } from './ethereum-tests/TransactionTests/ttWrongRLP/TRANSCT__RandomByteAtRLP_5.json' assert { type: 'json' }; -import { default as ttWrongRLP_TRANSCT__RandomByteAtRLP_9 } from './ethereum-tests/TransactionTests/ttWrongRLP/TRANSCT__RandomByteAtRLP_9.json' assert { type: 'json' }; -import { default as ttWrongRLP_TRANSCT__RandomByteAtRLP_2 } from './ethereum-tests/TransactionTests/ttWrongRLP/TRANSCT__RandomByteAtRLP_2.json' assert { type: 'json' }; -import { default as ttWrongRLP_TRANSCT__ZeroByteAtRLP_4 } from './ethereum-tests/TransactionTests/ttWrongRLP/TRANSCT__ZeroByteAtRLP_4.json' assert { type: 'json' }; -import { default as ttWrongRLP_TRANSCT_gasLimit_GivenAsList } from './ethereum-tests/TransactionTests/ttWrongRLP/TRANSCT_gasLimit_GivenAsList.json' assert { type: 'json' }; -import { default as ttWrongRLP_TRANSCT_rvalue_GivenAsList } from './ethereum-tests/TransactionTests/ttWrongRLP/TRANSCT_rvalue_GivenAsList.json' assert { type: 'json' }; -import { default as ttWrongRLP_TRANSCT__ZeroByteAtRLP_8 } from './ethereum-tests/TransactionTests/ttWrongRLP/TRANSCT__ZeroByteAtRLP_8.json' assert { type: 'json' }; -import { default as ttWrongRLP_TRANSCT__ZeroByteAtRLP_9 } from './ethereum-tests/TransactionTests/ttWrongRLP/TRANSCT__ZeroByteAtRLP_9.json' assert { type: 'json' }; -import { default as ttWrongRLP_RLPElementIsListWhenItShouldntBe } from './ethereum-tests/TransactionTests/ttWrongRLP/RLPElementIsListWhenItShouldntBe.json' assert { type: 'json' }; -import { default as ttWrongRLP_TRANSCT__ZeroByteAtRLP_5 } from './ethereum-tests/TransactionTests/ttWrongRLP/TRANSCT__ZeroByteAtRLP_5.json' assert { type: 'json' }; -import { default as ttWrongRLP_aCrashingRLP } from './ethereum-tests/TransactionTests/ttWrongRLP/aCrashingRLP.json' assert { type: 'json' }; -import { default as ttWrongRLP_RLPTransactionGivenAsArray } from './ethereum-tests/TransactionTests/ttWrongRLP/RLPTransactionGivenAsArray.json' assert { type: 'json' }; -import { default as ttWrongRLP_TRANSCT__RandomByteAtRLP_3 } from './ethereum-tests/TransactionTests/ttWrongRLP/TRANSCT__RandomByteAtRLP_3.json' assert { type: 'json' }; -import { default as ttWrongRLP_RLPgasLimitWithFirstZeros } from './ethereum-tests/TransactionTests/ttWrongRLP/RLPgasLimitWithFirstZeros.json' assert { type: 'json' }; -import { default as ttValue_TransactionWithHighValue } from './ethereum-tests/TransactionTests/ttValue/TransactionWithHighValue.json' assert { type: 'json' }; -import { default as ttValue_TransactionWithLeadingZerosValue } from './ethereum-tests/TransactionTests/ttValue/TransactionWithLeadingZerosValue.json' assert { type: 'json' }; -import { default as ttValue_TransactionWithHighValueOverflow } from './ethereum-tests/TransactionTests/ttValue/TransactionWithHighValueOverflow.json' assert { type: 'json' }; -export const ttRSValue = { - TransactionWithSvalue1: ttRSValue_TransactionWithSvalue1, - RightVRSTestF0000000c: ttRSValue_RightVRSTestF0000000c, - RightVRSTestVPrefixedBy0: ttRSValue_RightVRSTestVPrefixedBy0, - RightVRSTestF0000000b: ttRSValue_RightVRSTestF0000000b, - TransactionWithSvaluePrefixed00BigInt: ttRSValue_TransactionWithSvaluePrefixed00BigInt, - TransactionWithRvalueTooHigh: ttRSValue_TransactionWithRvalueTooHigh, - TransactionWithSvalue0: ttRSValue_TransactionWithSvalue0, - TransactionWithSvalueLargerThan_c_secp256k1n_x05: - ttRSValue_TransactionWithSvalueLargerThan_c_secp256k1n_x05, - TransactionWithSvalueEqual_c_secp256k1n_x05: - ttRSValue_TransactionWithSvalueEqual_c_secp256k1n_x05, - unpadedRValue: ttRSValue_unpadedRValue, - RightVRSTestF0000000e: ttRSValue_RightVRSTestF0000000e, - TransactionWithRSvalue0: ttRSValue_TransactionWithRSvalue0, - TransactionWithRSvalue1: ttRSValue_TransactionWithRSvalue1, - RightVRSTestF0000000d: ttRSValue_RightVRSTestF0000000d, - TransactionWithSvalueTooHigh: ttRSValue_TransactionWithSvalueTooHigh, - TransactionWithRvalueHigh: ttRSValue_TransactionWithRvalueHigh, - TransactionWithSvalueLessThan_c_secp256k1n_x05: - ttRSValue_TransactionWithSvalueLessThan_c_secp256k1n_x05, - RightVRSTestVPrefixedBy0_2: ttRSValue_RightVRSTestVPrefixedBy0_2, - TransactionWithSvalueOverflow: ttRSValue_TransactionWithSvalueOverflow, - TransactionWithSvalueHigh: ttRSValue_TransactionWithSvalueHigh, - TransactionWithRvalue0: ttRSValue_TransactionWithRvalue0, - TransactionWithRvalue1: ttRSValue_TransactionWithRvalue1, - TransactionWithRvalueOverflow: ttRSValue_TransactionWithRvalueOverflow, - RightVRSTestVPrefixedBy0_3: ttRSValue_RightVRSTestVPrefixedBy0_3, - RightVRSTestF0000000f: ttRSValue_RightVRSTestF0000000f, - TransactionWithRvaluePrefixed00BigInt: ttRSValue_TransactionWithRvaluePrefixed00BigInt, - RightVRSTestF0000000a: ttRSValue_RightVRSTestF0000000a, - TransactionWithRvaluePrefixed00: ttRSValue_TransactionWithRvaluePrefixed00, - TransactionWithSvaluePrefixed00: ttRSValue_TransactionWithSvaluePrefixed00, -}; -export const ttAddress = { - AddressMoreThan20: ttAddress_AddressMoreThan20, - AddressLessThan20: ttAddress_AddressLessThan20, - AddressLessThan20Prefixed0: ttAddress_AddressLessThan20Prefixed0, - AddressMoreThan20PrefixedBy0: ttAddress_AddressMoreThan20PrefixedBy0, -}; -export const ttEIP1559 = { - maxFeePerGas00prefix: ttEIP1559_maxFeePerGas00prefix, - maxPriorityFeePerGasOverflow: ttEIP1559_maxPriorityFeePerGasOverflow, - GasLimitPriceProductOverflowtMinusOne: ttEIP1559_GasLimitPriceProductOverflowtMinusOne, - maxFeePerGas32BytesValue: ttEIP1559_maxFeePerGas32BytesValue, - GasLimitPriceProductOverflow: ttEIP1559_GasLimitPriceProductOverflow, - maxPriorityFeePerGas00prefix: ttEIP1559_maxPriorityFeePerGas00prefix, - maxPriorityFeePerGass32BytesValue: ttEIP1559_maxPriorityFeePerGass32BytesValue, - GasLimitPriceProductPlusOneOverflow: ttEIP1559_GasLimitPriceProductPlusOneOverflow, - maxFeePerGasOverflow: ttEIP1559_maxFeePerGasOverflow, -}; -export const ttGasPrice = { - TransactionWithHighGasPrice: ttGasPrice_TransactionWithHighGasPrice, - TransactionWithGasPriceOverflow: ttGasPrice_TransactionWithGasPriceOverflow, - TransactionWithLeadingZerosGasPrice: ttGasPrice_TransactionWithLeadingZerosGasPrice, - TransactionWithHighGasPrice2: ttGasPrice_TransactionWithHighGasPrice2, -}; -export const ttVValue = { - V_wrongvalue_ffff: ttVValue_V_wrongvalue_ffff, - WrongVRSTestVEqual29: ttVValue_WrongVRSTestVEqual29, - V_overflow64bitPlus28: ttVValue_V_overflow64bitPlus28, - V_overflow32bit: ttVValue_V_overflow32bit, - V_equals37: ttVValue_V_equals37, - ValidChainID1InvalidV0: ttVValue_ValidChainID1InvalidV0, - V_wrongvalue_101: ttVValue_V_wrongvalue_101, - V_overflow32bitSigned: ttVValue_V_overflow32bitSigned, - ValidChainID1ValidV0: ttVValue_ValidChainID1ValidV0, - V_wrongvalue_121: ttVValue_V_wrongvalue_121, - ValidChainID1ValidV1: ttVValue_ValidChainID1ValidV1, - WrongVRSTestVEqual39: ttVValue_WrongVRSTestVEqual39, - ValidChainID1InvalidV1: ttVValue_ValidChainID1InvalidV1, - ValidChainID1InvalidV00: ttVValue_ValidChainID1InvalidV00, - WrongVRSTestVEqual41: ttVValue_WrongVRSTestVEqual41, - V_wrongvalue_123: ttVValue_V_wrongvalue_123, - WrongVRSTestVEqual36: ttVValue_WrongVRSTestVEqual36, - V_wrongvalue_122: ttVValue_V_wrongvalue_122, - ValidChainID1InvalidV01: ttVValue_ValidChainID1InvalidV01, - WrongVRSTestVEqual26: ttVValue_WrongVRSTestVEqual26, - InvalidChainID0ValidV1: ttVValue_InvalidChainID0ValidV1, - V_overflow64bitPlus27: ttVValue_V_overflow64bitPlus27, - V_wrongvalue_ff: ttVValue_V_wrongvalue_ff, - V_equals38: ttVValue_V_equals38, - InvalidChainID0ValidV0: ttVValue_InvalidChainID0ValidV0, - WrongVRSTestVEqual31: ttVValue_WrongVRSTestVEqual31, - V_wrongvalue_124: ttVValue_V_wrongvalue_124, - V_overflow64bitSigned: ttVValue_V_overflow64bitSigned, -}; -export const ttEIP2028 = { - DataTestInsufficientGas2028: ttEIP2028_DataTestInsufficientGas2028, - DataTestSufficientGas2028: ttEIP2028_DataTestSufficientGas2028, -}; -export const ttSignature = { - EmptyTransaction: ttSignature_EmptyTransaction, - ZeroSigTransaction: ttSignature_ZeroSigTransaction, - Vitalik_3: ttSignature_Vitalik_3, - WrongVRSTestIncorrectSize: ttSignature_WrongVRSTestIncorrectSize, - RSsecp256k1: ttSignature_RSsecp256k1, - Vitalik_16: ttSignature_Vitalik_16, - Vitalik_17: ttSignature_Vitalik_17, - Vitalik_2: ttSignature_Vitalik_2, - Vitalik_5: ttSignature_Vitalik_5, - Vitalik_10: ttSignature_Vitalik_10, - Vitalik_9: ttSignature_Vitalik_9, - ZeroSigTransaction6: ttSignature_ZeroSigTransaction6, - Vitalik_8: ttSignature_Vitalik_8, - RightVRSTest: ttSignature_RightVRSTest, - Vitalik_11: ttSignature_Vitalik_11, - invalidSignature: ttSignature_invalidSignature, - WrongVRSTestVOverflow: ttSignature_WrongVRSTestVOverflow, - Vitalik_4: ttSignature_Vitalik_4, - Vitalik_12: ttSignature_Vitalik_12, - Vitalik_7: ttSignature_Vitalik_7, - TransactionWithTooManyRLPElements: ttSignature_TransactionWithTooManyRLPElements, - ZeroSigTransaction5: ttSignature_ZeroSigTransaction5, - PointAtInfinity: ttSignature_PointAtInfinity, - libsecp256k1test: ttSignature_libsecp256k1test, - ZeroSigTransaction4: ttSignature_ZeroSigTransaction4, - Vitalik_6: ttSignature_Vitalik_6, - TransactionWithTooFewRLPElements: ttSignature_TransactionWithTooFewRLPElements, - Vitalik_13: ttSignature_Vitalik_13, - ZeroSigTransaction3: ttSignature_ZeroSigTransaction3, - SenderTest: ttSignature_SenderTest, - Vitalik_14: ttSignature_Vitalik_14, - Vitalik_1: ttSignature_Vitalik_1, - Vitalik_15: ttSignature_Vitalik_15, - ZeroSigTransaction2: ttSignature_ZeroSigTransaction2, -}; -export const ttNonce = { - TransactionWithHighNonce64Plus1: ttNonce_TransactionWithHighNonce64Plus1, - TransactionWithHighNonce64Minus2: ttNonce_TransactionWithHighNonce64Minus2, - TransactionWithHighNonce32: ttNonce_TransactionWithHighNonce32, - TransactionWithHighNonce64: ttNonce_TransactionWithHighNonce64, - TransactionWithEmptyBigInt: ttNonce_TransactionWithEmptyBigInt, - TransactionWithNonceOverflow: ttNonce_TransactionWithNonceOverflow, - TransactionWithZerosBigInt: ttNonce_TransactionWithZerosBigInt, - TransactionWithHighNonce64Minus1: ttNonce_TransactionWithHighNonce64Minus1, - TransactionWithHighNonce256: ttNonce_TransactionWithHighNonce256, - TransactionWithLeadingZerosNonce: ttNonce_TransactionWithLeadingZerosNonce, -}; -export const ttData = { - DataTestZeroBytes: ttData_DataTestZeroBytes, - String10MbData: ttData_String10MbData, - DataTestNotEnoughGAS: ttData_DataTestNotEnoughGAS, - DataTestLastZeroBytes: ttData_DataTestLastZeroBytes, - dataTx_bcValidBlockTestFrontier: ttData_dataTx_bcValidBlockTestFrontier, - DataTestEnoughGAS: ttData_DataTestEnoughGAS, - DataTestFirstZeroBytes: ttData_DataTestFirstZeroBytes, - String10MbDataNotEnoughGAS: ttData_String10MbDataNotEnoughGAS, - dataTx_bcValidBlockTest: ttData_dataTx_bcValidBlockTest, -}; -export const ttEIP3860 = { - DataTestInitCodeTooBig: ttEIP3860_DataTestInitCodeTooBig, - DataTestEnoughGasInitCode: ttEIP3860_DataTestEnoughGasInitCode, - DataTestNotEnoughGasInitCode: ttEIP3860_DataTestNotEnoughGasInitCode, - DataTestInitCodeLimit: ttEIP3860_DataTestInitCodeLimit, -}; -export const ttGasLimit = { - TransactionWithGasLimitOverflow64: ttGasLimit_TransactionWithGasLimitOverflow64, - NotEnoughGasLimit: ttGasLimit_NotEnoughGasLimit, - TransactionWithHighGasLimit63: ttGasLimit_TransactionWithHighGasLimit63, - TransactionWithHighGasLimit64Minus1: ttGasLimit_TransactionWithHighGasLimit64Minus1, - TransactionWithHighGasLimit63Plus1: ttGasLimit_TransactionWithHighGasLimit63Plus1, - TransactionWithGasLimitxPriceOverflow: ttGasLimit_TransactionWithGasLimitxPriceOverflow, - TransactionWithGasLimitOverflow256: ttGasLimit_TransactionWithGasLimitOverflow256, - TransactionWithLeadingZerosGasLimit: ttGasLimit_TransactionWithLeadingZerosGasLimit, - TransactionWithGasLimitOverflowZeros64: ttGasLimit_TransactionWithGasLimitOverflowZeros64, - TransactionWithHighGasLimit63Minus1: ttGasLimit_TransactionWithHighGasLimit63Minus1, -}; -export const ttEIP2930 = { - accessListStoragePrefix00: ttEIP2930_accessListStoragePrefix00, - accessListAddressLessThan20: ttEIP2930_accessListAddressLessThan20, - accessListStorage0x0001: ttEIP2930_accessListStorage0x0001, - accessListStorageOver32Bytes: ttEIP2930_accessListStorageOver32Bytes, - accessListAddressGreaterThan20: ttEIP2930_accessListAddressGreaterThan20, - accessListStorage32Bytes: ttEIP2930_accessListStorage32Bytes, - accessListAddressPrefix00: ttEIP2930_accessListAddressPrefix00, -}; -export const ttWrongRLP = { - TRANSCT__ZeroByteAtRLP_6: ttWrongRLP_TRANSCT__ZeroByteAtRLP_6, - RLPIncorrectByteEncoding01: ttWrongRLP_RLPIncorrectByteEncoding01, - RLPHeaderSizeOverflowInt32: ttWrongRLP_RLPHeaderSizeOverflowInt32, - TRANSCT_svalue_Prefixed0000: ttWrongRLP_TRANSCT_svalue_Prefixed0000, - TRANSCT__RandomByteAtRLP_0: ttWrongRLP_TRANSCT__RandomByteAtRLP_0, - TRANSCT_to_Prefixed0000: ttWrongRLP_TRANSCT_to_Prefixed0000, - RLP_04_maxFeePerGas32BytesValue: ttWrongRLP_RLP_04_maxFeePerGas32BytesValue, - TRANSCT__RandomByteAtRLP_1: ttWrongRLP_TRANSCT__RandomByteAtRLP_1, - RLPIncorrectByteEncoding127: ttWrongRLP_RLPIncorrectByteEncoding127, - TRANSCT_to_TooShort: ttWrongRLP_TRANSCT_to_TooShort, - TRANSCT_rvalue_TooShort: ttWrongRLP_TRANSCT_rvalue_TooShort, - TRANSCT__ZeroByteAtRLP_7: ttWrongRLP_TRANSCT__ZeroByteAtRLP_7, - RLPIncorrectByteEncoding00: ttWrongRLP_RLPIncorrectByteEncoding00, - TRANSCT_svalue_GivenAsList: ttWrongRLP_TRANSCT_svalue_GivenAsList, - TRANSCT__ZeroByteAtRLP_0: ttWrongRLP_TRANSCT__ZeroByteAtRLP_0, - TRANSCT_HeaderLargerThanRLP_0: ttWrongRLP_TRANSCT_HeaderLargerThanRLP_0, - RLPgasPriceWithFirstZeros: ttWrongRLP_RLPgasPriceWithFirstZeros, - TRANSCT__RandomByteAtRLP_6: ttWrongRLP_TRANSCT__RandomByteAtRLP_6, - TRANSCT_HeaderGivenAsArray_0: ttWrongRLP_TRANSCT_HeaderGivenAsArray_0, - TRANSCT__RandomByteAtTheEnd: ttWrongRLP_TRANSCT__RandomByteAtTheEnd, - TRANSCT__RandomByteAtRLP_7: ttWrongRLP_TRANSCT__RandomByteAtRLP_7, - TRANSCT_gasLimit_TooLarge: ttWrongRLP_TRANSCT_gasLimit_TooLarge, - TRANSCT__ZeroByteAtRLP_1: ttWrongRLP_TRANSCT__ZeroByteAtRLP_1, - TRANSCT_svalue_TooLarge: ttWrongRLP_TRANSCT_svalue_TooLarge, - TRANSCT_rvalue_Prefixed0000: ttWrongRLP_TRANSCT_rvalue_Prefixed0000, - RLPValueWithFirstZeros: ttWrongRLP_RLPValueWithFirstZeros, - TRANSCT__RandomByteAtRLP_8: ttWrongRLP_TRANSCT__RandomByteAtRLP_8, - RLPListLengthWithFirstZeros: ttWrongRLP_RLPListLengthWithFirstZeros, - RLPExtraRandomByteAtTheEnd: ttWrongRLP_RLPExtraRandomByteAtTheEnd, - RLP_09_maxFeePerGas32BytesValue: ttWrongRLP_RLP_09_maxFeePerGas32BytesValue, - tr201506052141PYTHON: ttWrongRLP_tr201506052141PYTHON, - TRANSCT_data_GivenAsList: ttWrongRLP_TRANSCT_data_GivenAsList, - aMaliciousRLP: ttWrongRLP_aMaliciousRLP, - TRANSCT__RandomByteAtRLP_4: ttWrongRLP_TRANSCT__RandomByteAtRLP_4, - RLPAddressWrongSize: ttWrongRLP_RLPAddressWrongSize, - RLPElementIsListWhenItShouldntBe2: ttWrongRLP_RLPElementIsListWhenItShouldntBe2, - TRANSCT_gasLimit_Prefixed0000: ttWrongRLP_TRANSCT_gasLimit_Prefixed0000, - TRANSCT_rvalue_TooLarge: ttWrongRLP_TRANSCT_rvalue_TooLarge, - TRANSCT_to_TooLarge: ttWrongRLP_TRANSCT_to_TooLarge, - TRANSCT_to_GivenAsList: ttWrongRLP_TRANSCT_to_GivenAsList, - TRANSCT__ZeroByteAtRLP_2: ttWrongRLP_TRANSCT__ZeroByteAtRLP_2, - TRANSCT__ZeroByteAtRLP_3: ttWrongRLP_TRANSCT__ZeroByteAtRLP_3, - RLPArrayLengthWithFirstZeros: ttWrongRLP_RLPArrayLengthWithFirstZeros, - RLPNonceWithFirstZeros: ttWrongRLP_RLPNonceWithFirstZeros, - RLPAddressWithFirstZeros: ttWrongRLP_RLPAddressWithFirstZeros, - TRANSCT__RandomByteAtRLP_5: ttWrongRLP_TRANSCT__RandomByteAtRLP_5, - TRANSCT__RandomByteAtRLP_9: ttWrongRLP_TRANSCT__RandomByteAtRLP_9, - TRANSCT__RandomByteAtRLP_2: ttWrongRLP_TRANSCT__RandomByteAtRLP_2, - TRANSCT__ZeroByteAtRLP_4: ttWrongRLP_TRANSCT__ZeroByteAtRLP_4, - TRANSCT_gasLimit_GivenAsList: ttWrongRLP_TRANSCT_gasLimit_GivenAsList, - TRANSCT_rvalue_GivenAsList: ttWrongRLP_TRANSCT_rvalue_GivenAsList, - TRANSCT__ZeroByteAtRLP_8: ttWrongRLP_TRANSCT__ZeroByteAtRLP_8, - TRANSCT__ZeroByteAtRLP_9: ttWrongRLP_TRANSCT__ZeroByteAtRLP_9, - RLPElementIsListWhenItShouldntBe: ttWrongRLP_RLPElementIsListWhenItShouldntBe, - TRANSCT__ZeroByteAtRLP_5: ttWrongRLP_TRANSCT__ZeroByteAtRLP_5, - aCrashingRLP: ttWrongRLP_aCrashingRLP, - RLPTransactionGivenAsArray: ttWrongRLP_RLPTransactionGivenAsArray, - TRANSCT__RandomByteAtRLP_3: ttWrongRLP_TRANSCT__RandomByteAtRLP_3, - RLPgasLimitWithFirstZeros: ttWrongRLP_RLPgasLimitWithFirstZeros, -}; -export const ttValue = { - TransactionWithHighValue: ttValue_TransactionWithHighValue, - TransactionWithLeadingZerosValue: ttValue_TransactionWithLeadingZerosValue, - TransactionWithHighValueOverflow: ttValue_TransactionWithHighValueOverflow, -}; diff --git a/test/vectors/ethereum-tests b/test/vectors/ethereum-tests deleted file mode 160000 index 853b1e0..0000000 --- a/test/vectors/ethereum-tests +++ /dev/null @@ -1 +0,0 @@ -Subproject commit 853b1e03b1078d370614002851ba1ee9803d9fcf diff --git a/test/vectors/ethers b/test/vectors/ethers deleted file mode 160000 index 556fdd9..0000000 --- a/test/vectors/ethers +++ /dev/null @@ -1 +0,0 @@ -Subproject commit 556fdd91d9b6bf7db4041bb099e66b2080e1a985 diff --git a/test/vectors/monorepo/LICENSE b/test/vectors/monorepo/LICENSE deleted file mode 100644 index 14e2f77..0000000 --- a/test/vectors/monorepo/LICENSE +++ /dev/null @@ -1,373 +0,0 @@ -Mozilla Public License Version 2.0 -================================== - -1. Definitions --------------- - -1.1. "Contributor" - means each individual or legal entity that creates, contributes to - the creation of, or owns Covered Software. - -1.2. "Contributor Version" - means the combination of the Contributions of others (if any) used - by a Contributor and that particular Contributor's Contribution. - -1.3. "Contribution" - means Covered Software of a particular Contributor. - -1.4. "Covered Software" - means Source Code Form to which the initial Contributor has attached - the notice in Exhibit A, the Executable Form of such Source Code - Form, and Modifications of such Source Code Form, in each case - including portions thereof. - -1.5. "Incompatible With Secondary Licenses" - means - - (a) that the initial Contributor has attached the notice described - in Exhibit B to the Covered Software; or - - (b) that the Covered Software was made available under the terms of - version 1.1 or earlier of the License, but not also under the - terms of a Secondary License. - -1.6. "Executable Form" - means any form of the work other than Source Code Form. - -1.7. "Larger Work" - means a work that combines Covered Software with other material, in - a separate file or files, that is not Covered Software. - -1.8. "License" - means this document. - -1.9. "Licensable" - means having the right to grant, to the maximum extent possible, - whether at the time of the initial grant or subsequently, any and - all of the rights conveyed by this License. - -1.10. "Modifications" - means any of the following: - - (a) any file in Source Code Form that results from an addition to, - deletion from, or modification of the contents of Covered - Software; or - - (b) any new file in Source Code Form that contains any Covered - Software. - -1.11. "Patent Claims" of a Contributor - means any patent claim(s), including without limitation, method, - process, and apparatus claims, in any patent Licensable by such - Contributor that would be infringed, but for the grant of the - License, by the making, using, selling, offering for sale, having - made, import, or transfer of either its Contributions or its - Contributor Version. - -1.12. "Secondary License" - means either the GNU General Public License, Version 2.0, the GNU - Lesser General Public License, Version 2.1, the GNU Affero General - Public License, Version 3.0, or any later versions of those - licenses. - -1.13. "Source Code Form" - means the form of the work preferred for making modifications. - -1.14. "You" (or "Your") - means an individual or a legal entity exercising rights under this - License. For legal entities, "You" includes any entity that - controls, is controlled by, or is under common control with You. For - purposes of this definition, "control" means (a) the power, direct - or indirect, to cause the direction or management of such entity, - whether by contract or otherwise, or (b) ownership of more than - fifty percent (50%) of the outstanding shares or beneficial - ownership of such entity. - -2. License Grants and Conditions --------------------------------- - -2.1. Grants - -Each Contributor hereby grants You a world-wide, royalty-free, -non-exclusive license: - -(a) under intellectual property rights (other than patent or trademark) - Licensable by such Contributor to use, reproduce, make available, - modify, display, perform, distribute, and otherwise exploit its - Contributions, either on an unmodified basis, with Modifications, or - as part of a Larger Work; and - -(b) under Patent Claims of such Contributor to make, use, sell, offer - for sale, have made, import, and otherwise transfer either its - Contributions or its Contributor Version. - -2.2. Effective Date - -The licenses granted in Section 2.1 with respect to any Contribution -become effective for each Contribution on the date the Contributor first -distributes such Contribution. - -2.3. Limitations on Grant Scope - -The licenses granted in this Section 2 are the only rights granted under -this License. No additional rights or licenses will be implied from the -distribution or licensing of Covered Software under this License. -Notwithstanding Section 2.1(b) above, no patent license is granted by a -Contributor: - -(a) for any code that a Contributor has removed from Covered Software; - or - -(b) for infringements caused by: (i) Your and any other third party's - modifications of Covered Software, or (ii) the combination of its - Contributions with other software (except as part of its Contributor - Version); or - -(c) under Patent Claims infringed by Covered Software in the absence of - its Contributions. - -This License does not grant any rights in the trademarks, service marks, -or logos of any Contributor (except as may be necessary to comply with -the notice requirements in Section 3.4). - -2.4. Subsequent Licenses - -No Contributor makes additional grants as a result of Your choice to -distribute the Covered Software under a subsequent version of this -License (see Section 10.2) or under the terms of a Secondary License (if -permitted under the terms of Section 3.3). - -2.5. Representation - -Each Contributor represents that the Contributor believes its -Contributions are its original creation(s) or it has sufficient rights -to grant the rights to its Contributions conveyed by this License. - -2.6. Fair Use - -This License is not intended to limit any rights You have under -applicable copyright doctrines of fair use, fair dealing, or other -equivalents. - -2.7. Conditions - -Sections 3.1, 3.2, 3.3, and 3.4 are conditions of the licenses granted -in Section 2.1. - -3. Responsibilities -------------------- - -3.1. Distribution of Source Form - -All distribution of Covered Software in Source Code Form, including any -Modifications that You create or to which You contribute, must be under -the terms of this License. You must inform recipients that the Source -Code Form of the Covered Software is governed by the terms of this -License, and how they can obtain a copy of this License. You may not -attempt to alter or restrict the recipients' rights in the Source Code -Form. - -3.2. Distribution of Executable Form - -If You distribute Covered Software in Executable Form then: - -(a) such Covered Software must also be made available in Source Code - Form, as described in Section 3.1, and You must inform recipients of - the Executable Form how they can obtain a copy of such Source Code - Form by reasonable means in a timely manner, at a charge no more - than the cost of distribution to the recipient; and - -(b) You may distribute such Executable Form under the terms of this - License, or sublicense it under different terms, provided that the - license for the Executable Form does not attempt to limit or alter - the recipients' rights in the Source Code Form under this License. - -3.3. Distribution of a Larger Work - -You may create and distribute a Larger Work under terms of Your choice, -provided that You also comply with the requirements of this License for -the Covered Software. If the Larger Work is a combination of Covered -Software with a work governed by one or more Secondary Licenses, and the -Covered Software is not Incompatible With Secondary Licenses, this -License permits You to additionally distribute such Covered Software -under the terms of such Secondary License(s), so that the recipient of -the Larger Work may, at their option, further distribute the Covered -Software under the terms of either this License or such Secondary -License(s). - -3.4. Notices - -You may not remove or alter the substance of any license notices -(including copyright notices, patent notices, disclaimers of warranty, -or limitations of liability) contained within the Source Code Form of -the Covered Software, except that You may alter any license notices to -the extent required to remedy known factual inaccuracies. - -3.5. Application of Additional Terms - -You may choose to offer, and to charge a fee for, warranty, support, -indemnity or liability obligations to one or more recipients of Covered -Software. However, You may do so only on Your own behalf, and not on -behalf of any Contributor. You must make it absolutely clear that any -such warranty, support, indemnity, or liability obligation is offered by -You alone, and You hereby agree to indemnify every Contributor for any -liability incurred by such Contributor as a result of warranty, support, -indemnity or liability terms You offer. You may include additional -disclaimers of warranty and limitations of liability specific to any -jurisdiction. - -4. Inability to Comply Due to Statute or Regulation ---------------------------------------------------- - -If it is impossible for You to comply with any of the terms of this -License with respect to some or all of the Covered Software due to -statute, judicial order, or regulation then You must: (a) comply with -the terms of this License to the maximum extent possible; and (b) -describe the limitations and the code they affect. Such description must -be placed in a text file included with all distributions of the Covered -Software under this License. Except to the extent prohibited by statute -or regulation, such description must be sufficiently detailed for a -recipient of ordinary skill to be able to understand it. - -5. Termination --------------- - -5.1. The rights granted under this License will terminate automatically -if You fail to comply with any of its terms. However, if You become -compliant, then the rights granted under this License from a particular -Contributor are reinstated (a) provisionally, unless and until such -Contributor explicitly and finally terminates Your grants, and (b) on an -ongoing basis, if such Contributor fails to notify You of the -non-compliance by some reasonable means prior to 60 days after You have -come back into compliance. Moreover, Your grants from a particular -Contributor are reinstated on an ongoing basis if such Contributor -notifies You of the non-compliance by some reasonable means, this is the -first time You have received notice of non-compliance with this License -from such Contributor, and You become compliant prior to 30 days after -Your receipt of the notice. - -5.2. If You initiate litigation against any entity by asserting a patent -infringement claim (excluding declaratory judgment actions, -counter-claims, and cross-claims) alleging that a Contributor Version -directly or indirectly infringes any patent, then the rights granted to -You by any and all Contributors for the Covered Software under Section -2.1 of this License shall terminate. - -5.3. In the event of termination under Sections 5.1 or 5.2 above, all -end user license agreements (excluding distributors and resellers) which -have been validly granted by You or Your distributors under this License -prior to termination shall survive termination. - -************************************************************************ -* * -* 6. Disclaimer of Warranty * -* ------------------------- * -* * -* Covered Software is provided under this License on an "as is" * -* basis, without warranty of any kind, either expressed, implied, or * -* statutory, including, without limitation, warranties that the * -* Covered Software is free of defects, merchantable, fit for a * -* particular purpose or non-infringing. The entire risk as to the * -* quality and performance of the Covered Software is with You. * -* Should any Covered Software prove defective in any respect, You * -* (not any Contributor) assume the cost of any necessary servicing, * -* repair, or correction. This disclaimer of warranty constitutes an * -* essential part of this License. No use of any Covered Software is * -* authorized under this License except under this disclaimer. * -* * -************************************************************************ - -************************************************************************ -* * -* 7. Limitation of Liability * -* -------------------------- * -* * -* Under no circumstances and under no legal theory, whether tort * -* (including negligence), contract, or otherwise, shall any * -* Contributor, or anyone who distributes Covered Software as * -* permitted above, be liable to You for any direct, indirect, * -* special, incidental, or consequential damages of any character * -* including, without limitation, damages for lost profits, loss of * -* goodwill, work stoppage, computer failure or malfunction, or any * -* and all other commercial damages or losses, even if such party * -* shall have been informed of the possibility of such damages. This * -* limitation of liability shall not apply to liability for death or * -* personal injury resulting from such party's negligence to the * -* extent applicable law prohibits such limitation. Some * -* jurisdictions do not allow the exclusion or limitation of * -* incidental or consequential damages, so this exclusion and * -* limitation may not apply to You. * -* * -************************************************************************ - -8. Litigation -------------- - -Any litigation relating to this License may be brought only in the -courts of a jurisdiction where the defendant maintains its principal -place of business and such litigation shall be governed by laws of that -jurisdiction, without reference to its conflict-of-law provisions. -Nothing in this Section shall prevent a party's ability to bring -cross-claims or counter-claims. - -9. Miscellaneous ----------------- - -This License represents the complete agreement concerning the subject -matter hereof. If any provision of this License is held to be -unenforceable, such provision shall be reformed only to the extent -necessary to make it enforceable. Any law or regulation which provides -that the language of a contract shall be construed against the drafter -shall not be used to construe this License against a Contributor. - -10. Versions of the License ---------------------------- - -10.1. New Versions - -Mozilla Foundation is the license steward. Except as provided in Section -10.3, no one other than the license steward has the right to modify or -publish new versions of this License. Each version will be given a -distinguishing version number. - -10.2. Effect of New Versions - -You may distribute the Covered Software under the terms of the version -of the License under which You originally received the Covered Software, -or under the terms of any subsequent version published by the license -steward. - -10.3. Modified Versions - -If you create software not governed by this License, and you want to -create a new license for such software, you may create and use a -modified version of this License if you rename the license and remove -any references to the name of the license steward (except to note that -such modified license differs from this License). - -10.4. Distributing Source Code Form that is Incompatible With Secondary -Licenses - -If You choose to distribute Source Code Form that is Incompatible With -Secondary Licenses under the terms of this version of the License, the -notice described in Exhibit B of this License must be attached. - -Exhibit A - Source Code Form License Notice -------------------------------------------- - - This Source Code Form is subject to the terms of the Mozilla Public - License, v. 2.0. If a copy of the MPL was not distributed with this - file, You can obtain one at http://mozilla.org/MPL/2.0/. - -If it is not possible or desirable to put the notice in a particular -file, then You may include the notice in a location (such as a LICENSE -file in a relevant directory) where a recipient would be likely to look -for such a notice. - -You may add additional accurate notices of copyright ownership. - -Exhibit B - "Incompatible With Secondary Licenses" Notice ---------------------------------------------------------- - - This Source Code Form is "Incompatible With Secondary Licenses", as - defined by the Mozilla Public License, v. 2.0. diff --git a/test/vectors/monorepo/eip1559.json b/test/vectors/monorepo/eip1559.json deleted file mode 100644 index ae31c1d..0000000 --- a/test/vectors/monorepo/eip1559.json +++ /dev/null @@ -1,102 +0,0 @@ -[ - { - "nonce": 819, - "value": 43203529, - "gasLimit": 35552, - "maxPriorityFeePerGas": 75853, - "maxFeePerGas": 121212, - "to": "0x000000000000000000000000000000000000aaaa", - "privateKey": "0x8f2a55949038a9610f50fb23b5883af3b4ecb3c3bb792cbcefbd1542c692be63", - "signedTransactionRLP": "0xb87102f86e048203338301284d8301d97c828ae094000000000000000000000000000000000000aaaa8402933bc980c080a00f924cb68412c8f1cfd74d9b581c71eeaf94fff6abdde3e5b02ca6b2931dcf47a07dd1c50027c3e31f8b565e25ce68a5072110f61fce5eee81b195dd51273c2f83" - }, - { - "nonce": 353, - "value": 61901619, - "gasLimit": 32593, - "maxPriorityFeePerGas": 38850, - "maxFeePerGas": 136295, - "to": "0x000000000000000000000000000000000000aaaa", - "privateKey": "0x8f2a55949038a9610f50fb23b5883af3b4ecb3c3bb792cbcefbd1542c692be63", - "signedTransactionRLP": "0xb87002f86d048201618297c283021467827f5194000000000000000000000000000000000000aaaa8403b08b3380c080a08caf712f72489da6f1a634b651b4b1c7d9be7d1e8d05ea76c1eccee3bdfb86a5a06aecc106f588ce51e112f5e9ea7aba3e089dc7511718821d0e0cd52f52af4e45" - }, - { - "nonce": 985, - "value": 32531825, - "gasLimit": 68541, - "maxPriorityFeePerGas": 66377, - "maxFeePerGas": 136097, - "to": "0x000000000000000000000000000000000000aaaa", - "privateKey": "0x8f2a55949038a9610f50fb23b5883af3b4ecb3c3bb792cbcefbd1542c692be63", - "signedTransactionRLP": "0xb87202f86f048203d983010349830213a183010bbd94000000000000000000000000000000000000aaaa8401f0657180c001a08c03a86e85789ee9a1b42fa0a86d316fca262694f8c198df11f194678c2c2d35a028f8e7de02b35014a17b6d28ff8c7e7be6860e7265ac162fb721f1aeae75643c" - }, - { - "nonce": 623, - "value": 21649799, - "gasLimit": 57725, - "maxPriorityFeePerGas": 74140, - "maxFeePerGas": 81173, - "to": "0x000000000000000000000000000000000000aaaa", - "privateKey": "0x8f2a55949038a9610f50fb23b5883af3b4ecb3c3bb792cbcefbd1542c692be63", - "signedTransactionRLP": "0xb87102f86e0482026f8301219c83013d1582e17d94000000000000000000000000000000000000aaaa84014a598780c001a0b87c4c8c505d2d692ac77ba466547e79dd60fe7ecd303d520bf6e8c7085e3182a06dc7d00f5e68c3f3ebe8ae35a90d46051afde620ac12e43cae9560a29b13e7fb" - }, - { - "nonce": 972, - "value": 94563383, - "gasLimit": 65254, - "maxPriorityFeePerGas": 42798, - "maxFeePerGas": 103466, - "to": "0x000000000000000000000000000000000000aaaa", - "privateKey": "0x8f2a55949038a9610f50fb23b5883af3b4ecb3c3bb792cbcefbd1542c692be63", - "signedTransactionRLP": "0xb87002f86d048203cc82a72e8301942a82fee694000000000000000000000000000000000000aaaa8405a2ec3780c001a006cf07af78c187db104496c58d679f37fcd2d5790970cecf9a59fe4a5321b375a039f3faafc71479d283a5b1e66a86b19c4bdc516655d89dbe57d9747747c01dfe" - }, - { - "nonce": 588, - "value": 99359647, - "gasLimit": 37274, - "maxPriorityFeePerGas": 87890, - "maxFeePerGas": 130273, - "to": "0x000000000000000000000000000000000000aaaa", - "privateKey": "0x8f2a55949038a9610f50fb23b5883af3b4ecb3c3bb792cbcefbd1542c692be63", - "signedTransactionRLP": "0xb87102f86e0482024c830157528301fce182919a94000000000000000000000000000000000000aaaa8405ec1b9f80c080a03e2f59ac9ca852034c2c1da35a742ca19fdd910aa5d2ed49ab8ad27a2fcb2b10a03ac1c29c26723c58f91400fb6dfb5f5b837467b1c377541b47dae474dddbe469" - }, - { - "nonce": 900, - "value": 30402257, - "gasLimit": 76053, - "maxPriorityFeePerGas": 8714, - "maxFeePerGas": 112705, - "to": "0x000000000000000000000000000000000000aaaa", - "privateKey": "0x8f2a55949038a9610f50fb23b5883af3b4ecb3c3bb792cbcefbd1542c692be63", - "signedTransactionRLP": "0xb87102f86e0482038482220a8301b8418301291594000000000000000000000000000000000000aaaa8401cfe6d180c001a0f7ffc5bca2512860f8236360159bf303dcfab71546b6a0032df0306f3739d0c4a05d38fe2c4edebdc1edc157034f780c53a0e5ae089e57220745bd48bcb10cdf87" - }, - { - "nonce": 709, - "value": 6478043, - "gasLimit": 28335, - "maxPriorityFeePerGas": 86252, - "maxFeePerGas": 94636, - "to": "0x000000000000000000000000000000000000aaaa", - "privateKey": "0x8f2a55949038a9610f50fb23b5883af3b4ecb3c3bb792cbcefbd1542c692be63", - "signedTransactionRLP": "0xb87002f86d048202c5830150ec830171ac826eaf94000000000000000000000000000000000000aaaa8362d8db80c001a0a61a5710512f346c9996377f7b564ccb64c73a5fdb615499adb1250498f3e01aa002d10429572cecfaa911a58bbe05f2b26e4c3aee3402202153a93692849add11" - }, - { - "nonce": 939, - "value": 2782905, - "gasLimit": 45047, - "maxPriorityFeePerGas": 45216, - "maxFeePerGas": 91648, - "to": "0x000000000000000000000000000000000000aaaa", - "privateKey": "0x8f2a55949038a9610f50fb23b5883af3b4ecb3c3bb792cbcefbd1542c692be63", - "signedTransactionRLP": "0xb86f02f86c048203ab82b0a08301660082aff794000000000000000000000000000000000000aaaa832a76b980c001a0191f0f6667a20cefc0b454e344cc01108aafbdc4e4e5ed88fdd1b5d108495b31a020879042b0f8d3807609f18fe42a9820de53c8a0ea1d0a2d50f8f5e92a94f00d" - }, - { - "nonce": 119, - "value": 65456115, - "gasLimit": 62341, - "maxPriorityFeePerGas": 24721, - "maxFeePerGas": 107729, - "to": "0x000000000000000000000000000000000000aaaa", - "privateKey": "0x8f2a55949038a9610f50fb23b5883af3b4ecb3c3bb792cbcefbd1542c692be63", - "signedTransactionRLP": "0xb86e02f86b04778260918301a4d182f38594000000000000000000000000000000000000aaaa8403e6c7f380c001a05e40977f4064a2bc08785e422ed8a47b56aa219abe93251d2b3b4d0cf937b8c0a071e600cd15589c3607bd9627314b99e9b5976bd427b774aa685bd0d036b1771e" - } -] diff --git a/test/vectors/monorepo/eip1559txs.json b/test/vectors/monorepo/eip1559txs.json deleted file mode 100644 index ac5323e..0000000 --- a/test/vectors/monorepo/eip1559txs.json +++ /dev/null @@ -1,52 +0,0 @@ -[ - { - "privateKey": "e0a462586887362a18a318b128dbc1e3a0cae6d4b0739f5d0419ec25114bc722", - "sendersAddress": "d13d825eb15c87b247c4c26331d66f225a5f632e", - "type": "message", - "raw": [ - "0x01", - "0x", - "0x01", - "0x01", - "0x02625a00", - "0xcccccccccccccccccccccccccccccccccccccccc", - "0x0186a0", - "0x1a8451e600000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000", - [ - [ - "0x0000000000000000000000000000000000000101", - [ - "0x0000000000000000000000000000000000000000000000000000000000000000", - "0x00000000000000000000000000000000000000000000000000000000000060a7" - ] - ] - ], - "0x01", - "0xafb6e247b1c490e284053c87ab5f6b59e219d51f743f7a4d83e400782bc7e4b9", - "0x479a268e0e0acd4de3f1e28e4fac2a6b32a4195e8dfa9d19147abe8807aa6f64" - ], - "data": { - "data": "0x1a8451e600000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000", - "gasLimit": "0x02625a00", - "maxPriorityFeePerGas": "0x01", - "maxFeePerGas": "0x01", - "nonce": "0x", - "to": "0xcccccccccccccccccccccccccccccccccccccccc", - "value": "0x0186a0", - "v": "0x01", - "r": "0xafb6e247b1c490e284053c87ab5f6b59e219d51f743f7a4d83e400782bc7e4b9", - "s": "0x479a268e0e0acd4de3f1e28e4fac2a6b32a4195e8dfa9d19147abe8807aa6f64", - "chainId": "0x01", - "accessList": [ - { - "address": "0x0000000000000000000000000000000000000101", - "storageKeys": [ - "0x0000000000000000000000000000000000000000000000000000000000000000", - "0x00000000000000000000000000000000000000000000000000000000000060a7" - ] - } - ], - "type": "0x02" - } - } -] diff --git a/test/vectors/monorepo/eip2930blockRLP.json b/test/vectors/monorepo/eip2930blockRLP.json deleted file mode 100644 index 69a82c5..0000000 --- a/test/vectors/monorepo/eip2930blockRLP.json +++ /dev/null @@ -1,3 +0,0 @@ -{ - "rlp": "f90319f90211a00000000000000000000000000000000000000000000000000000000000000000a01dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347948888f1f195afa192cfee860698584c030f4c9db1a0ef1552a40b7165c3cd773806b9e0c165b75356e0314bf0706f279c729f51e017a0e6e49996c7ec59f7a23d22b83239a60151512c65613bf84a0d7da336399ebc4aa0cafe75574d59780665a97fbfd11365c7545aa8f1abf4e5e12e8243334ef7286bb901000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000083020000820200832fefd882a410845506eb0796636f6f6c65737420626c6f636b206f6e20636861696ea0bd4472abb6659ebe3ee06ee4d7b72a00a9f4d001caca51342001075469aff49888a13a5a8c8f2bb1c4f90101f85f800a82c35094095e7baea6a6c7c4c2dfeb977efac326af552d870a801ba09bea4c4daac7c7c52e093e6a4c35dbbcf8856f1af7b059ba20253e70848d094fa08a8fae537ce25ed8cb5af9adac3f141af69bd515bd2ba031522df09b97dd72b1b89e01f89b01800a8301e24194095e7baea6a6c7c4c2dfeb977efac326af552d878080f838f7940000000000000000000000000000000000000001e1a0000000000000000000000000000000000000000000000000000000000000000001a03dbacc8d0259f2508625e97fdfc57cd85fdd16e5821bc2c10bdd1a52649e8335a0476e10695b183a87b0aa292a7f4b78ef0c3fbe62aa2c42c84e1d9c3da159ef14c0" -} diff --git a/test/vectors/monorepo/eip2930txs.json b/test/vectors/monorepo/eip2930txs.json deleted file mode 100644 index ba773a8..0000000 --- a/test/vectors/monorepo/eip2930txs.json +++ /dev/null @@ -1,50 +0,0 @@ -[ - { - "privateKey": "e0a462586887362a18a318b128dbc1e3a0cae6d4b0739f5d0419ec25114bc722", - "sendersAddress": "d13d825eb15c87b247c4c26331d66f225a5f632e", - "type": "message", - "raw": [ - "0x01", - "0x", - "0x01", - "0x02625a00", - "0xcccccccccccccccccccccccccccccccccccccccc", - "0x0186a0", - "0x1a8451e600000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000", - [ - [ - "0x0000000000000000000000000000000000000101", - [ - "0x0000000000000000000000000000000000000000000000000000000000000000", - "0x00000000000000000000000000000000000000000000000000000000000060a7" - ] - ] - ], - "0x01", - "0xafb6e247b1c490e284053c87ab5f6b59e219d51f743f7a4d83e400782bc7e4b9", - "0x479a268e0e0acd4de3f1e28e4fac2a6b32a4195e8dfa9d19147abe8807aa6f64" - ], - "data": { - "data": "0x1a8451e600000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000", - "gasLimit": "0x02625a00", - "gasPrice": "0x01", - "nonce": "0x", - "to": "0xcccccccccccccccccccccccccccccccccccccccc", - "value": "0x0186a0", - "v": "0x01", - "r": "0xafb6e247b1c490e284053c87ab5f6b59e219d51f743f7a4d83e400782bc7e4b9", - "s": "0x479a268e0e0acd4de3f1e28e4fac2a6b32a4195e8dfa9d19147abe8807aa6f64", - "chainId": "0x01", - "accessList": [ - { - "address": "0x0000000000000000000000000000000000000101", - "storageKeys": [ - "0x0000000000000000000000000000000000000000000000000000000000000000", - "0x00000000000000000000000000000000000000000000000000000000000060a7" - ] - } - ], - "type": "0x01" - } - } -] diff --git a/test/vectors/monorepo/optimismTx.json b/test/vectors/monorepo/optimismTx.json deleted file mode 100644 index 4bae89d..0000000 --- a/test/vectors/monorepo/optimismTx.json +++ /dev/null @@ -1,16 +0,0 @@ -{ - "blockHash": "0x00a18b3b46d16ec0d8b108b7d2dec78911ed4d629aa61e3b0688bf02a9398711", - "blockNumber": "0x4cbf316", - "from": "0x0000000000000000000000000000000000000000", - "gas": "0x30d40", - "gasPrice": "0x0", - "hash": "0xf4304cb09b3f58a8e5d20fec5f393c96ccffe0269aaf632cb2be7a8a0f0c91cc", - "input": "0xcbd4ece9000000000000000000000000420000000000000000000000000000000000001000000000000000000000000099c9fc46f92e8a1c0dec1b1747d010903e884be10000000000000000000000000000000000000000000000000000000000000080000000000000000000000000000000000000000000000000000000000004d4d200000000000000000000000000000000000000000000000000000000000000e4662a633a0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000deaddeaddeaddeaddeaddeaddeaddeaddead0000000000000000000000000000cda342a50983dc723b31fd45f516df950da6a633000000000000000000000000cda342a50983dc723b31fd45f516df950da6a633000000000000000000000000000000000000000000000000011c37937e08000000000000000000000000000000000000000000000000000000000000000000c0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000", - "nonce": "0x4d4d2", - "to": "0x4200000000000000000000000000000000000007", - "transactionIndex": "0x0", - "value": "0x0", - "v": "0x0", - "r": "0x0", - "s": "0x0" -} diff --git a/test/vectors/monorepo/rlp.js b/test/vectors/monorepo/rlp.js deleted file mode 100644 index fc4a46d..0000000 --- a/test/vectors/monorepo/rlp.js +++ /dev/null @@ -1,191 +0,0 @@ -// Based on official test from '@ethereumjs/rlp' (MPL) -export const ENCODE_TESTS = { - 80: ['', 0], - '': ['\u0000'], - 1: ['\u0001', 1], - 10: [16], - '7f': ['\u007F', 127], - c0: [[]], - '83646f67': ['dog'], - b74c6f72656d20697073756d20646f6c6f722073697420616d65742c20636f6e7365637465747572206164697069736963696e6720656c69: - ['Lorem ipsum dolor sit amet, consectetur adipisicing eli'], - b8384c6f72656d20697073756d20646f6c6f722073697420616d65742c20636f6e7365637465747572206164697069736963696e6720656c6974: - ['Lorem ipsum dolor sit amet, consectetur adipisicing elit'], - b904004c6f72656d20697073756d20646f6c6f722073697420616d65742c20636f6e73656374657475722061646970697363696e6720656c69742e20437572616269747572206d6175726973206d61676e612c20737573636970697420736564207665686963756c61206e6f6e2c20696163756c697320666175636962757320746f72746f722e2050726f696e20737573636970697420756c74726963696573206d616c6573756164612e204475697320746f72746f7220656c69742c2064696374756d2071756973207472697374697175652065752c20756c7472696365732061742072697375732e204d6f72626920612065737420696d70657264696574206d6920756c6c616d636f7270657220616c6971756574207375736369706974206e6563206c6f72656d2e2041656e65616e2071756973206c656f206d6f6c6c69732c2076756c70757461746520656c6974207661726975732c20636f6e73657175617420656e696d2e204e756c6c6120756c74726963657320747572706973206a7573746f2c20657420706f73756572652075726e6120636f6e7365637465747572206e65632e2050726f696e206e6f6e20636f6e76616c6c6973206d657475732e20446f6e65632074656d706f7220697073756d20696e206d617572697320636f6e67756520736f6c6c696369747564696e2e20566573746962756c756d20616e746520697073756d207072696d697320696e206661756369627573206f726369206c756374757320657420756c74726963657320706f737565726520637562696c69612043757261653b2053757370656e646973736520636f6e76616c6c69732073656d2076656c206d617373612066617563696275732c2065676574206c6163696e6961206c616375732074656d706f722e204e756c6c61207175697320756c747269636965732070757275732e2050726f696e20617563746f722072686f6e637573206e69626820636f6e64696d656e74756d206d6f6c6c69732e20416c697175616d20636f6e73657175617420656e696d206174206d65747573206c75637475732c206120656c656966656e6420707572757320656765737461732e20437572616269747572206174206e696268206d657475732e204e616d20626962656e64756d2c206e6571756520617420617563746f72207472697374697175652c206c6f72656d206c696265726f20616c697175657420617263752c206e6f6e20696e74657264756d2074656c6c7573206c65637475732073697420616d65742065726f732e20437261732072686f6e6375732c206d65747573206163206f726e617265206375727375732c20646f6c6f72206a7573746f20756c747269636573206d657475732c20617420756c6c616d636f7270657220766f6c7574706174: - [ - 'Lorem ipsum dolor sit amet, consectetur adipiscing elit. Curabitur mauris magna, suscipit sed vehicula non, iaculis faucibus tortor. Proin suscipit ultricies malesuada. Duis tortor elit, dictum quis tristique eu, ultrices at risus. Morbi a est imperdiet mi ullamcorper aliquet suscipit nec lorem. Aenean quis leo mollis, vulputate elit varius, consequat enim. Nulla ultrices turpis justo, et posuere urna consectetur nec. Proin non convallis metus. Donec tempor ipsum in mauris congue sollicitudin. Vestibulum ante ipsum primis in faucibus orci luctus et ultrices posuere cubilia Curae; Suspendisse convallis sem vel massa faucibus, eget lacinia lacus tempor. Nulla quis ultricies purus. Proin auctor rhoncus nibh condimentum mollis. Aliquam consequat enim at metus luctus, a eleifend purus egestas. Curabitur at nibh metus. Nam bibendum, neque at auctor tristique, lorem libero aliquet arcu, non interdum tellus lectus sit amet eros. Cras rhoncus, metus ac ornare cursus, dolor justo ultrices metus, at ullamcorper volutpat', - ], - 8180: [128], - '8203e8': [1000], - '830186a0': [100000], - '8f102030405060708090a0b0c0d0e0f2': [83729609699884896815286331701780722n], - '9c0100020003000400050006000700080009000a000b000c000d000e01': [ - 105315505618206987246253880190783558935785933862974822347068935681n, - ], - cc83646f6783676f6483636174: [['dog', 'god', 'cat']], - c6827a77c10401: [['zw', [4], 1]], - f784617364668471776572847a78637684617364668471776572847a78637684617364668471776572847a78637684617364668471776572: - [['asdf', 'qwer', 'zxcv', 'asdf', 'qwer', 'zxcv', 'asdf', 'qwer', 'zxcv', 'asdf', 'qwer']], - f840cf84617364668471776572847a786376cf84617364668471776572847a786376cf84617364668471776572847a786376cf84617364668471776572847a786376: - [ - [ - ['asdf', 'qwer', 'zxcv'], - ['asdf', 'qwer', 'zxcv'], - ['asdf', 'qwer', 'zxcv'], - ['asdf', 'qwer', 'zxcv'], - ], - ], - f90200cf84617364668471776572847a786376cf84617364668471776572847a786376cf84617364668471776572847a786376cf84617364668471776572847a786376cf84617364668471776572847a786376cf84617364668471776572847a786376cf84617364668471776572847a786376cf84617364668471776572847a786376cf84617364668471776572847a786376cf84617364668471776572847a786376cf84617364668471776572847a786376cf84617364668471776572847a786376cf84617364668471776572847a786376cf84617364668471776572847a786376cf84617364668471776572847a786376cf84617364668471776572847a786376cf84617364668471776572847a786376cf84617364668471776572847a786376cf84617364668471776572847a786376cf84617364668471776572847a786376cf84617364668471776572847a786376cf84617364668471776572847a786376cf84617364668471776572847a786376cf84617364668471776572847a786376cf84617364668471776572847a786376cf84617364668471776572847a786376cf84617364668471776572847a786376cf84617364668471776572847a786376cf84617364668471776572847a786376cf84617364668471776572847a786376cf84617364668471776572847a786376cf84617364668471776572847a786376: - [ - [ - ['asdf', 'qwer', 'zxcv'], - ['asdf', 'qwer', 'zxcv'], - ['asdf', 'qwer', 'zxcv'], - ['asdf', 'qwer', 'zxcv'], - ['asdf', 'qwer', 'zxcv'], - ['asdf', 'qwer', 'zxcv'], - ['asdf', 'qwer', 'zxcv'], - ['asdf', 'qwer', 'zxcv'], - ['asdf', 'qwer', 'zxcv'], - ['asdf', 'qwer', 'zxcv'], - ['asdf', 'qwer', 'zxcv'], - ['asdf', 'qwer', 'zxcv'], - ['asdf', 'qwer', 'zxcv'], - ['asdf', 'qwer', 'zxcv'], - ['asdf', 'qwer', 'zxcv'], - ['asdf', 'qwer', 'zxcv'], - ['asdf', 'qwer', 'zxcv'], - ['asdf', 'qwer', 'zxcv'], - ['asdf', 'qwer', 'zxcv'], - ['asdf', 'qwer', 'zxcv'], - ['asdf', 'qwer', 'zxcv'], - ['asdf', 'qwer', 'zxcv'], - ['asdf', 'qwer', 'zxcv'], - ['asdf', 'qwer', 'zxcv'], - ['asdf', 'qwer', 'zxcv'], - ['asdf', 'qwer', 'zxcv'], - ['asdf', 'qwer', 'zxcv'], - ['asdf', 'qwer', 'zxcv'], - ['asdf', 'qwer', 'zxcv'], - ['asdf', 'qwer', 'zxcv'], - ['asdf', 'qwer', 'zxcv'], - ['asdf', 'qwer', 'zxcv'], - ], - ], - c4c2c0c0c0: [[[[], []], []]], - c7c0c1c0c3c0c1c0: [[[], [[]], [[], [[]]]]], - ecca846b6579318476616c31ca846b6579328476616c32ca846b6579338476616c33ca846b6579348476616c34: [ - [ - ['key1', 'val1'], - ['key2', 'val2'], - ['key3', 'val3'], - ['key4', 'val4'], - ], - ], - a1010000000000000000000000000000000000000000000000000000000000000000: [ - 115792089237316195423570985008687907853269984665640564039457584007913129639936n, - ], -}; - -export const DECODE_TESTS = { - '00': '0x', - '05': '0x5', - 80: '0x', - '01': '0x1', - 820505: '0x505', - 83050505: '0x50505', - 8405050505: '0x5050505', - 850505050505: '0x505050505', - C0: [], - 820004: '0x4', - C80102030405060708: ['0x1', '0x2', '0x3', '0x4', '0x5', '0x6', '0x7', '0x8'], - C50102030405: ['0x1', '0x2', '0x3', '0x4', '0x5'], - C102: ['0x2'], - '8D6162636465666768696A6B6C6D': '0x6162636465666768696a6b6c6d', - 86010203040506: '0x10203040506', - '89FFFFFFFFFFFFFFFFFF': '0xffffffffffffffffff', - B848FFFFFFFFFFFFFFFFF800000000000000001BFFFFFFFFFFFFFFFFC8000000000000000045FFFFFFFFFFFFFFFFC800000000000000001BFFFFFFFFFFFFFFFFF8000000000000000001: - '0xfffffffffffffffff800000000000000001bffffffffffffffffc8000000000000000045ffffffffffffffffc800000000000000001bfffffffffffffffff8000000000000000001', - 10: '0x10', - 820001: '0x1', - C50583343434: ['0x5', '0x343434'], - C601C402C203C0: ['0x1', ['0x2', ['0x3', []]]], - C58083343434: ['0x', '0x343434'], - C105: ['0x5'], - C7C50583343434C0: [['0x5', '0x343434'], []], - 83222222: '0x222222', - C3010101: ['0x1', '0x1', '0x1'], - C501C3C00000: ['0x1', [[], '0x', '0x']], - C103: ['0x3'], - C50102C20102: ['0x1', '0x2', ['0x1', '0x2']], - C3010203: ['0x1', '0x2', '0x3'], - C20102: ['0x1', '0x2'], - C101: ['0x1'], - C180: ['0x'], - C1C0: [[]], - C103: ['0x3'], - C2C103: [['0x3']], - C20102: ['0x1', '0x2'], - C3010203: ['0x1', '0x2', '0x3'], - C401020304: ['0x1', '0x2', '0x3', '0x4'], - C20180: ['0x1', '0x'], - C50183010203: ['0x1', '0x10203'], - '82FFFF': '0xffff', - '07': '0x7', - 8180: '0x80', - C109: ['0x9'], - C58403030303: ['0x3030303'], - C3808005: ['0x', '0x', '0x5'], - C50183040404: ['0x1', '0x40404'], -}; - -export const INVALID = [ - 'bf0f000000000000021111', - 'ff0f000000000000021111', - 'f80180', - 'f80100', - 'b9002100dc2b275d0f74e8a53e6f4ec61b27f24278820be3f82ea2110e582081b0565df0', - 'f861f83eb9002100dc2b275d0f74e8a53e6f4ec61b27f24278820be3f82ea2110e582081b0565df027b90015002d5ef8325ae4d034df55d4b58d0dfba64d61ddd17be00000b9001a00dae30907045a2f66fa36f2bb8aa9029cbb0b8a7b3b5c435ab331', - '8100', - '8101', - '817F', - 'b90040000102030405060708090a0b0c0d0e0f101112131415161718191a1b1c1d1e1f202122232425262728292a2b2c2d2e2f303132333435363738393a3b3c3d3e3f', - 'b800', - 'fb00000040000102030405060708090a0b0c0d0e0f101112131415161718191a1b1c1d1e1f202122232425262728292a2b2c2d2e2f303132333435363738393a3b3c3d3e3f', - 'f800', - 'b81000112233445566778899aabbccddeeff', - 'b801ff', - 'f810000102030405060708090a0b0c0d0e0f', - 'f803112233', - '81', - 'a0000102030405060708090a0b0c0d0e0f101112131415161718191a1b1c1d1e', - 'c5010203', - 'e201020304050607', - 'ba010000aabbccddeeff', - 'b840ffeeddccbbaa99887766554433221100', - 'f90180', - 'ffffffffffffffffff0001020304050607', - 'F800', - 'BA0002FFFF', - 'B90000', - 'B800', - '817F', - '8100', - '8101', - 'C8C9010101010101010101', - 'F90000', - 'F90055', - 'FA0002FFFF', - 'BFFFFFFFFFFFFFFFFFFF', - 'C801', - 'CD04040404FFFFFFFFFFFFFFFFFF0303', - 'C40102030401', - 'C4010203048180', - '81', - 'BFFFFFFFFFFFFFFF', - 'C801', - 'c330f9c030f93030ce3030303030303030bd303030303030', - '8105', - 'B8020004', - 'F8020004', -]; diff --git a/test/vectors/monorepo/rpcTx.json b/test/vectors/monorepo/rpcTx.json deleted file mode 100644 index f0df85c..0000000 --- a/test/vectors/monorepo/rpcTx.json +++ /dev/null @@ -1,21 +0,0 @@ -{ - "accessList": [], - "blockHash": "0x72c897034f7b99c69f66b3b86da59877c69fdf47367603f7abe1f0676b5e8ebe", - "blockNumber": "0xec738d", - "chainId": "0x1", - "from": "0x7b0f34615564cd976fea815d9691cc102f4058d6", - "gas": "0x5208", - "gasPrice": "0x3480a01a5", - "hash": "0xed1960aa7d0d7b567c946d94331dddb37a1c67f51f30bf51f256ea40db88cfb0", - "input": "0x", - "maxFeePerGas": "0x3c2152056", - "maxPriorityFeePerGas": "0x3b9aca00", - "nonce": "0x2", - "r": "0x2c4f99fdc33af2979df594c8683efe57c4012a21a0b438284fb24577a666444f", - "s": "0x472eefae0813ff0d7235210e2697228aca35e68987038b9529beb27a3cfa8552", - "to": "0xcad621da75a66c7a8f4ff86d30a2bf981bfc8fdd", - "transactionIndex": "0x1a", - "type": "0x2", - "v": "0x1", - "value": "0x3c305ddbcbc1f5" -} diff --git a/test/vectors/monorepo/ttTransactionTestEip155VitaliksTests.json b/test/vectors/monorepo/ttTransactionTestEip155VitaliksTests.json deleted file mode 100644 index 675b8ae..0000000 --- a/test/vectors/monorepo/ttTransactionTestEip155VitaliksTests.json +++ /dev/null @@ -1,189 +0,0 @@ -[ - { - "blocknumber": "3500000", - "hash": "e0be81f8d506dbe3a5549e720b51eb79492378d6638087740824f168667e5239", - "rlp": "0xf864808504a817c800825208943535353535353535353535353535353535353535808025a0044852b2a670ade5407e78fb2863c51de9fcb96542a07186fe3aeda6bb8a116da0044852b2a670ade5407e78fb2863c51de9fcb96542a07186fe3aeda6bb8a116d", - "sender": "f0f6f18bca1b28cd68e4357452947e021241e9ce", - "transaction": { - "data": "", - "gasLimit": "0x5208", - "gasPrice": "0x04a817c800", - "nonce": "0x", - "r": "0x044852b2a670ade5407e78fb2863c51de9fcb96542a07186fe3aeda6bb8a116d", - "s": "0x044852b2a670ade5407e78fb2863c51de9fcb96542a07186fe3aeda6bb8a116d", - "to": "0x3535353535353535353535353535353535353535", - "v": "0x25", - "value": "0x00" - } - }, - { - "blocknumber": "3500000", - "hash": "50b6e7b58320c885ab7b2ee0d0b5813a697268bd2494a06de792790b13668c08", - "rlp": "0xf867088504a817c8088302e2489435353535353535353535353535353535353535358202008025a064b1702d9298fee62dfeccc57d322a463ad55ca201256d01f62b45b2e1c21c12a064b1702d9298fee62dfeccc57d322a463ad55ca201256d01f62b45b2e1c21c10", - "sender": "9bddad43f934d313c2b79ca28a432dd2b7281029", - "transaction": { - "data": "", - "gasLimit": "0x02e248", - "gasPrice": "0x04a817c808", - "nonce": "0x08", - "r": "0x64b1702d9298fee62dfeccc57d322a463ad55ca201256d01f62b45b2e1c21c12", - "s": "0x64b1702d9298fee62dfeccc57d322a463ad55ca201256d01f62b45b2e1c21c10", - "to": "0x3535353535353535353535353535353535353535", - "v": "0x25", - "value": "0x0200" - } - }, - { - "blocknumber": "3500000", - "hash": "24fd18c70146a2b002254810473fa26b744f7899258a1f32924cc73e7a8f4d4f", - "rlp": "0xf867098504a817c809830334509435353535353535353535353535353535353535358202d98025a052f8f61201b2b11a78d6e866abc9c3db2ae8631fa656bfe5cb53668255367afba052f8f61201b2b11a78d6e866abc9c3db2ae8631fa656bfe5cb53668255367afb", - "sender": "3c24d7329e92f84f08556ceb6df1cdb0104ca49f", - "transaction": { - "data": "", - "gasLimit": "0x033450", - "gasPrice": "0x04a817c809", - "nonce": "0x09", - "r": "0x52f8f61201b2b11a78d6e866abc9c3db2ae8631fa656bfe5cb53668255367afb", - "s": "0x52f8f61201b2b11a78d6e866abc9c3db2ae8631fa656bfe5cb53668255367afb", - "to": "0x3535353535353535353535353535353535353535", - "v": "0x25", - "value": "0x02d9" - } - }, - { - "blocknumber": "3500000", - "hash": "42973b488dbb3aa237db3d1a3bad18a8d2148af795fb6cdbbbeef5c736df97b9", - "rlp": "0xf864018504a817c80182a410943535353535353535353535353535353535353535018025a0489efdaa54c0f20c7adf612882df0950f5a951637e0307cdcb4c672f298b8bcaa0489efdaa54c0f20c7adf612882df0950f5a951637e0307cdcb4c672f298b8bc6", - "sender": "23ef145a395ea3fa3deb533b8a9e1b4c6c25d112", - "transaction": { - "data": "", - "gasLimit": "0xa410", - "gasPrice": "0x04a817c801", - "nonce": "0x01", - "r": "0x489efdaa54c0f20c7adf612882df0950f5a951637e0307cdcb4c672f298b8bca", - "s": "0x489efdaa54c0f20c7adf612882df0950f5a951637e0307cdcb4c672f298b8bc6", - "to": "0x3535353535353535353535353535353535353535", - "v": "0x25", - "value": "0x01" - } - }, - { - "blocknumber": "3500000", - "hash": "e68afed5d359c7e60a0408093da23c57b63e84acb2e368ac7c47630518d6f4d9", - "rlp": "0xf864028504a817c80282f618943535353535353535353535353535353535353535088025a02d7c5bef027816a800da1736444fb58a807ef4c9603b7848673f7e3a68eb14a5a02d7c5bef027816a800da1736444fb58a807ef4c9603b7848673f7e3a68eb14a5", - "sender": "2e485e0c23b4c3c542628a5f672eeab0ad4888be", - "transaction": { - "data": "", - "gasLimit": "0xf618", - "gasPrice": "0x04a817c802", - "nonce": "0x02", - "r": "0x2d7c5bef027816a800da1736444fb58a807ef4c9603b7848673f7e3a68eb14a5", - "s": "0x2d7c5bef027816a800da1736444fb58a807ef4c9603b7848673f7e3a68eb14a5", - "to": "0x3535353535353535353535353535353535353535", - "v": "0x25", - "value": "0x08" - } - }, - { - "blocknumber": "3500000", - "hash": "bcb6f653e06c276a080e9d68e5a967847a896cf52a6dc81917dc2c57ae0a31ef", - "rlp": "0xf865038504a817c803830148209435353535353535353535353535353535353535351b8025a02a80e1ef1d7842f27f2e6be0972bb708b9a135c38860dbe73c27c3486c34f4e0a02a80e1ef1d7842f27f2e6be0972bb708b9a135c38860dbe73c27c3486c34f4de", - "sender": "82a88539669a3fd524d669e858935de5e5410cf0", - "transaction": { - "data": "", - "gasLimit": "0x014820", - "gasPrice": "0x04a817c803", - "nonce": "0x03", - "r": "0x2a80e1ef1d7842f27f2e6be0972bb708b9a135c38860dbe73c27c3486c34f4e0", - "s": "0x2a80e1ef1d7842f27f2e6be0972bb708b9a135c38860dbe73c27c3486c34f4de", - "to": "0x3535353535353535353535353535353535353535", - "v": "0x25", - "value": "0x1b" - } - }, - { - "blocknumber": "3500000", - "hash": "244e4b57522352c3e9f93ad8ac8a47d1b46c3dcda6da2522caedad009ac9afb7", - "rlp": "0xf865048504a817c80483019a28943535353535353535353535353535353535353535408025a013600b294191fc92924bb3ce4b969c1e7e2bab8f4c93c3fc6d0a51733df3c063a013600b294191fc92924bb3ce4b969c1e7e2bab8f4c93c3fc6d0a51733df3c060", - "sender": "f9358f2538fd5ccfeb848b64a96b743fcc930554", - "transaction": { - "data": "", - "gasLimit": "0x019a28", - "gasPrice": "0x04a817c804", - "nonce": "0x04", - "r": "0x13600b294191fc92924bb3ce4b969c1e7e2bab8f4c93c3fc6d0a51733df3c063", - "s": "0x13600b294191fc92924bb3ce4b969c1e7e2bab8f4c93c3fc6d0a51733df3c060", - "to": "0x3535353535353535353535353535353535353535", - "v": "0x25", - "value": "0x40" - } - }, - { - "blocknumber": "3500000", - "hash": "581c0b79498b1cf1b8fa4f69bc5f21c0c60371cd08d4682b15c4334aac1cccfd", - "rlp": "0xf865058504a817c8058301ec309435353535353535353535353535353535353535357d8025a04eebf77a833b30520287ddd9478ff51abbdffa30aa90a8d655dba0e8a79ce0c1a04eebf77a833b30520287ddd9478ff51abbdffa30aa90a8d655dba0e8a79ce0c1", - "sender": "a8f7aba377317440bc5b26198a363ad22af1f3a4", - "transaction": { - "data": "", - "gasLimit": "0x01ec30", - "gasPrice": "0x04a817c805", - "nonce": "0x05", - "r": "0x4eebf77a833b30520287ddd9478ff51abbdffa30aa90a8d655dba0e8a79ce0c1", - "s": "0x4eebf77a833b30520287ddd9478ff51abbdffa30aa90a8d655dba0e8a79ce0c1", - "to": "0x3535353535353535353535353535353535353535", - "v": "0x25", - "value": "0x7d" - } - }, - { - "blocknumber": "3500000", - "hash": "581c0b79498b1cf1b8fa4f69bc5f21c0c60371cd08d4682b15c4334aac1cccfd", - "rlp": "0xf865058504a817c8058301ec309435353535353535353535353535353535353535357d8025a04eebf77a833b30520287ddd9478ff51abbdffa30aa90a8d655dba0e8a79ce0c1a04eebf77a833b30520287ddd9478ff51abbdffa30aa90a8d655dba0e8a79ce0c1", - "sender": "a8f7aba377317440bc5b26198a363ad22af1f3a4", - "transaction": { - "data": "", - "gasLimit": "0x01ec30", - "gasPrice": "0x04a817c805", - "nonce": "0x05", - "r": "0x4eebf77a833b30520287ddd9478ff51abbdffa30aa90a8d655dba0e8a79ce0c1", - "s": "0x4eebf77a833b30520287ddd9478ff51abbdffa30aa90a8d655dba0e8a79ce0c1", - "to": "0x3535353535353535353535353535353535353535", - "v": "0x25", - "value": "0x7d" - } - }, - { - "blocknumber": "3500000", - "hash": "678ae2053a840f5fe550a63d724d1c85420d2955a0ccc4f868dd59e27afdf279", - "rlp": "0xf866068504a817c80683023e3894353535353535353535353535353535353535353581d88025a06455bf8ea6e7463a1046a0b52804526e119b4bf5136279614e0b1e8e296a4e2fa06455bf8ea6e7463a1046a0b52804526e119b4bf5136279614e0b1e8e296a4e2d", - "sender": "f1f571dc362a0e5b2696b8e775f8491d3e50de35", - "transaction": { - "data": "", - "gasLimit": "0x023e38", - "gasPrice": "0x04a817c806", - "nonce": "0x06", - "r": "0x6455bf8ea6e7463a1046a0b52804526e119b4bf5136279614e0b1e8e296a4e2f", - "s": "0x6455bf8ea6e7463a1046a0b52804526e119b4bf5136279614e0b1e8e296a4e2d", - "to": "0x3535353535353535353535353535353535353535", - "v": "0x25", - "value": "0xd8" - } - }, - { - "blocknumber": "3500000", - "hash": "81aa03ada1474ff3ca4b86afb8e8c0f8b22791e156e706231a695ef8c51515ab", - "rlp": "0xf867078504a817c807830290409435353535353535353535353535353535353535358201578025a052f1a9b320cab38e5da8a8f97989383aab0a49165fc91c737310e4f7e9821021a052f1a9b320cab38e5da8a8f97989383aab0a49165fc91c737310e4f7e9821021", - "sender": "d37922162ab7cea97c97a87551ed02c9a38b7332", - "transaction": { - "data": "", - "gasLimit": "0x029040", - "gasPrice": "0x04a817c807", - "nonce": "0x07", - "r": "0x52f1a9b320cab38e5da8a8f97989383aab0a49165fc91c737310e4f7e9821021", - "s": "0x52f1a9b320cab38e5da8a8f97989383aab0a49165fc91c737310e4f7e9821021", - "to": "0x3535353535353535353535353535353535353535", - "v": "0x25", - "value": "0x0157" - } - } -] diff --git a/test/vectors/monorepo/txs.json b/test/vectors/monorepo/txs.json deleted file mode 100644 index f329848..0000000 --- a/test/vectors/monorepo/txs.json +++ /dev/null @@ -1,142 +0,0 @@ -[ - { - "privateKey": "164122e5d39e9814ca723a749253663bafb07f6af91704d9754c361eb315f0c1", - "sendersAddress": "1f36f546477cda21bf2296c50976f2740247906f", - "type": "contract", - "cost": 680, - "raw": [ - "0x", - "0x09184e72a000", - "0x2710", - "0x0000000000000000000000000000000000000000", - "0x", - "0x7f7465737432000000000000000000000000000000000000000000000000000000600057", - "0x1c", - "0x5e1d3a76fbf824220eafc8c79ad578ad2b67d01b0c2425eb1f1347e8f50882ab", - "0x5bd428537f05f9830e93792f90ea6a3e2d1ee84952dd96edbae9f658f831ab13" - ], - "data": { - "nonce": "0x", - "gasPrice": "0x09184e72a000", - "gasLimit": "0x2710", - "to": "0x0000000000000000000000000000000000000000", - "value": "0x", - "data": "0x7f7465737432000000000000000000000000000000000000000000000000000000600057", - "v": "0x1c", - "r": "0x5e1d3a76fbf824220eafc8c79ad578ad2b67d01b0c2425eb1f1347e8f50882ab", - "s": "0x5bd428537f05f9830e93792f90ea6a3e2d1ee84952dd96edbae9f658f831ab13" - } - }, - { - "privateKey": "4646464646464646464646464646464646464646464646464646464646464646", - "sendersAddress": "9d8a62f656a8d1615c1294fd71e9cfb3e4855a4f", - "type": "message", - "cost": 500, - "raw": [ - "0x09", - "0x04a817c800", - "0x2710", - "0x3535353535353535353535353535353535353535", - "0x0de0b6b3a7640000", - "0x", - "0x25", - "0x28ef61340bd939bc2195fe537567866003e1a15d3c71ff63e1590620aa636276", - "0x67cbe9d8997f761aecb703304b3800ccf555c9f3dc64214b297fb1966a3b6d83" - ], - "data": { - "nonce": "0x09", - "gasPrice": "0x04a817c800", - "gasLimit": "0x2710", - "to": "0x3535353535353535353535353535353535353535", - "value": "0x0de0b6b3a7640000", - "data": "0x", - "v": "0x25", - "r": "0x28ef61340bd939bc2195fe537567866003e1a15d3c71ff63e1590620aa636276", - "s": "0x67cbe9d8997f761aecb703304b3800ccf555c9f3dc64214b297fb1966a3b6d83" - } - }, - { - "privateKey": "e0a462586887362a18a318b128dbc1e3a0cae6d4b0739f5d0419ec25114bc722", - "sendersAddress": "d13d825eb15c87b247c4c26331d66f225a5f632e", - "type": "message", - "cost": 500, - "raw": [ - "0x06", - "0x09184e72a000", - "0x01f4", - "0xbe862ad9abfe6f22bcb087716c7d89a26051f74c", - "0x016345785d8a0000", - "0x", - "0x1c", - "0x24a484bfa7380860e9fa0a9f5e4b64b985e860ca31abd36e66583f9030c2e29d", - "0x4d5ef07d9e73fa2fbfdad059591b4f13d0aa79e7634a2bb00174c9200cabb04d" - ], - "data": { - "nonce": "0x06", - "gasPrice": "0x09184e72a000", - "gasLimit": "0x01f4", - "to": "0xbe862ad9abfe6f22bcb087716c7d89a26051f74c", - "value": "0x016345785d8a0000", - "data": "0x", - "v": "0x1c", - "r": "0x24a484bfa7380860e9fa0a9f5e4b64b985e860ca31abd36e66583f9030c2e29d", - "s": "0x4d5ef07d9e73fa2fbfdad059591b4f13d0aa79e7634a2bb00174c9200cabb04d" - } - }, - { - "privateKey": "164122e5d39e9814ca723a749253663bafb07f6af91704d9754c361eb315f0c1", - "sendersAddress": "1f36f546477cda21bf2296c50976f2740247906f", - "type": "message", - "cost": 2420, - "raw": [ - "0x06", - "0x09184e72a000", - "0x0974", - "0xbe862ad9abfe6f22bcb087716c7d89a26051f74c", - "0x016345785d8a0000", - "0x00000000000000000000000000000000000000000000000000000000000000ad000000000000000000000000000000000000000000000000000000000000fafa0000000000000000000000000000000000000000000000000000000000000dfa0000000000000000000000000000000000000000000000000000000000000dfa00000000000000000000000000000000000000000000000000000000000000ad000000000000000000000000000000000000000000000000000000000000000f000000000000000000000000000000000000000000000000000000000000000a00000000000000000000000000000000000000000000000000000000000000df000000000000000000000000000000000000000000000000000000000000000a00000000000000000000000000000000000000000000000000000000000000df000000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000000d", - "0x1c", - "0x5e9361ca27e14f3af0e6b28466406ad8be026d3b0f2ae56e3c064043fb73ec77", - "0x29ae9893dac4f9afb1af743e25fbb6a63f7879a61437203cb48c997b0fcefc3a" - ], - "data": { - "nonce": "0x06", - "gasPrice": "0x09184e72a000", - "gasLimit": "0x0974", - "to": "0xbe862ad9abfe6f22bcb087716c7d89a26051f74c", - "value": "0x016345785d8a0000", - "data": "0x00000000000000000000000000000000000000000000000000000000000000ad000000000000000000000000000000000000000000000000000000000000fafa0000000000000000000000000000000000000000000000000000000000000dfa0000000000000000000000000000000000000000000000000000000000000dfa00000000000000000000000000000000000000000000000000000000000000ad000000000000000000000000000000000000000000000000000000000000000f000000000000000000000000000000000000000000000000000000000000000a00000000000000000000000000000000000000000000000000000000000000df000000000000000000000000000000000000000000000000000000000000000a00000000000000000000000000000000000000000000000000000000000000df000000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000000d", - "v": "0x1c", - "r": "0x5e9361ca27e14f3af0e6b28466406ad8be026d3b0f2ae56e3c064043fb73ec77", - "s": "0x29ae9893dac4f9afb1af743e25fbb6a63f7879a61437203cb48c997b0fcefc3a" - } - }, - { - "privateKey": "not-available", - "sendersAddress": "TODO", - "type": "message", - "cost": 12312, - "raw": [ - "0x0b", - "0x051f4d5c00", - "0x5208", - "0x656e929d6fc0cac52d3d9526d288fe02dcd56fbd", - "0x2386f26fc10000", - "0x", - "0x26", - "0xef903f6bbcb7d6214d478df27db6591d857b1063954eade1bb24e69e58511f96", - "0x5433f8e1abf886cbec64891f38a2ea6fd9f9ffe078421f5e238b9fec03eea97a" - ], - "data": { - "nonce": "0x0b", - "gasPrice": "0x051f4d5c00", - "gasLimit": "0x5208", - "to": "0x656e929d6fc0cac52d3d9526d288fe02dcd56fbd", - "value": "0x2386f26fc10000", - "data": "0x", - "v": "0x26", - "r": "0xef903f6bbcb7d6214d478df27db6591d857b1063954eade1bb24e69e58511f96", - "s": "0x5433f8e1abf886cbec64891f38a2ea6fd9f9ffe078421f5e238b9fec03eea97a" - } - } -] diff --git a/test/vectors/monorepo/v0tx.json b/test/vectors/monorepo/v0tx.json deleted file mode 100644 index a71950e..0000000 --- a/test/vectors/monorepo/v0tx.json +++ /dev/null @@ -1,21 +0,0 @@ -{ - "blockHash": "0x3606c8bf399c20a09058551eea1f1b4f7df9973f6fc390afbaef80df16bb8a81", - "blockNumber": "0x12306", - "from": "0x9791ded6e5d3d5dafca71bb7bb2a14187d17e32e", - "gas": "0x186a0", - "gasPrice": "0x3b9b1368", - "maxFeePerGas": "0x3b9b1368", - "maxPriorityFeePerGas": "0x3b9b1360", - "hash": "0xd2cdf63bb15eb4bbc655e4cca198c92305f2c6d057ac993ef6f7bacf1c518b2f", - "input": "0x2c377f89e8b86b5ab3f0a42d7de72abf0e36236b0f8b3808413eed75adbd18f704382c60d6527f2e2ae515f197908fe9a752498882a14fbef2c8c1b7cc1067635c466a85958e6360f6527fcba24c994bc47b3b2acda7f774254170e125720a726e10ceda22855f856696b9610116527fce789b987b5942fa40de0809968c8bc7", - "nonce": "0xaa595", - "to": "0x2665c0a20514cdc3fd5e18173d7b6d7ba125e5c0", - "transactionIndex": "0x2", - "value": "0x0", - "type": "0x2", - "accessList": [], - "chainId": "0x10f2c", - "v": "0x0", - "r": "0x2e6e55a09bbc97e0bb6f80d54c5e63a4604dcaa5bffadb991669792553e075b4", - "s": "0x601a59743e1704bced353df169c1bd1af188ddd6738a7032b4a6f7f9c52c3143" -} diff --git a/test/vectors/transactions.json b/test/vectors/transactions.json deleted file mode 100644 index d612074..0000000 --- a/test/vectors/transactions.json +++ /dev/null @@ -1,17 +0,0 @@ -[ - { - "comment": "21000 limit, 10 gwei price", - "sender": "0xd4fe407789e11a27b7888a324ec597435353dc35", - "receiver": "0xdf90dea0e0bf5ca6d2a7f0cb86874ba6714f463e", - "hash": "0xb5cc4e3f468a1f664d25cc20172d5c02a22445c290cfe66521e6f43e5e6fa261", - "hex": "0xf86b018502540be40082520894df90dea0e0bf5ca6d2a7f0cb86874ba6714f463e872386f26fc100008029a0c933e91702f2131f5565eafbad1eaccb6086dab9c5d6eba1bf454f3106099d3da015467094f7d60d0cd16702cee4460863cb94165714dd0d26a0df24995f785dcf", - "raw": { - "nonce": "0x01", - "gasLimit": "0x5208", - "gasPrice": "0x02540be400", - "to": "0xdf90dea0e0bf5ca6d2a7f0cb86874ba6714f463e", - "value": "0x2386f26fc10000", - "data": "0x" - } - } -] \ No newline at end of file diff --git a/test/vectors/viem b/test/vectors/viem deleted file mode 160000 index 650d05b..0000000 --- a/test/vectors/viem +++ /dev/null @@ -1 +0,0 @@ -Subproject commit 650d05b9f197abfea71a9ca77bd7f2fdedad4df3