github.1485827954.workers.dev/ethereum/go-ethereum@v1.14.3/cmd/evm/testdata/30/README.txt (about)

     1  This example comes from https://github.com/ethereum/go-ethereum/issues/27730.
     2  The input transactions contain three transactions, number `0` and `2` are taken from
     3  `testdata/13`, whereas number `1` is taken from #27730.
     4  
     5  The problematic second transaction cannot be RLP-decoded, and the expectation is
     6  that that particular transaction should be rejected, but number `0` and `1` should
     7  still be accepted.
     8  
     9  ```
    10  $ go run . t8n --input.alloc=./testdata/30/alloc.json --input.txs=./testdata/30/txs_more.rlp --input.env=./testdata/30/env.json --output.result=stdout --output.alloc=stdout --state.fork=Cancun
    11  WARN [10-22|15:38:03.283] rejected tx                              index=1 error="rlp: input string too short for common.Address, decoding into (types.Transaction)(types.BlobTx).To"
    12  INFO [10-22|15:38:03.284] Trie dumping started                     root=348312..915c93
    13  INFO [10-22|15:38:03.284] Trie dumping complete                    accounts=3 elapsed="160.831µs"
    14  {
    15    "alloc": {
    16      "0x095e7baea6a6c7c4c2dfeb977efac326af552d87": {
    17        "code": "0x60004960005500",
    18        "balance": "0xde0b6b3a7640000"
    19      },
    20      "0xa94f5374fce5edbc8e2a8697c15331677e6ebf0b": {
    21        "balance": "0xde0b6b3a7640000"
    22      },
    23      "0xd02d72e067e77158444ef2020ff2d325f929b363": {
    24        "balance": "0xfffffffb8390",
    25        "nonce": "0x3"
    26      }
    27    },
    28    "result": {
    29      "stateRoot": "0x3483124b6710486c9fb3e07975669c66924697c88cccdcc166af5e1218915c93",
    30      "txRoot": "0x013509c8563d41c0ae4bf38f2d6d19fc6512a1d0d6be045079c8c9f68bf45f9d",
    31      "receiptsRoot": "0x75308898d571eafb5cd8cde8278bf5b3d13c5f6ec074926de3bb895b519264e1",
    32      "logsHash": "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347",
    33      "logsBloom": "0x00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000",
    34      "receipts": [
    35        {
    36          "type": "0x2",
    37          "root": "0x",
    38          "status": "0x1",
    39          "cumulativeGasUsed": "0x5208",
    40          "logsBloom": "0x00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000",
    41          "logs": null,
    42          "transactionHash": "0xa98a24882ea90916c6a86da650fbc6b14238e46f0af04a131ce92be897507476",
    43          "contractAddress": "0x0000000000000000000000000000000000000000",
    44          "gasUsed": "0x5208",
    45          "effectiveGasPrice": null,
    46          "blockHash": "0x0000000000000000000000000000000000000000000000000000000000000000",
    47          "transactionIndex": "0x0"
    48        },
    49        {
    50          "type": "0x2",
    51          "root": "0x",
    52          "status": "0x1",
    53          "cumulativeGasUsed": "0xa410",
    54          "logsBloom": "0x00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000",
    55          "logs": null,
    56          "transactionHash": "0x36bad80acce7040c45fd32764b5c2b2d2e6f778669fb41791f73f546d56e739a",
    57          "contractAddress": "0x0000000000000000000000000000000000000000",
    58          "gasUsed": "0x5208",
    59          "effectiveGasPrice": null,
    60          "blockHash": "0x0000000000000000000000000000000000000000000000000000000000000000",
    61          "transactionIndex": "0x1"
    62        }
    63      ],
    64      "rejected": [
    65        {
    66          "index": 1,
    67          "error": "rlp: input string too short for common.Address, decoding into (types.Transaction)(types.BlobTx).To"
    68        }
    69      ],
    70      "currentDifficulty": null,
    71      "gasUsed": "0xa410",
    72      "currentBaseFee": "0x7",
    73      "withdrawalsRoot": "0x56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421"
    74    }
    75  }
    76  
    77  ```