File tree 5 files changed +11
-0
lines changed
5 files changed +11
-0
lines changed Original file line number Diff line number Diff line change @@ -244,6 +244,9 @@ class BesuExceptionMapper(ExceptionMapper):
244
244
TransactionException .TYPE_4_TX_CONTRACT_CREATION : (
245
245
"transaction invalid transaction code delegation transactions must have a to address"
246
246
),
247
+ TransactionException .TYPE_4_TX_PRE_FORK : (
248
+ "transaction invalid Transaction type DELEGATE_CODE is invalid"
249
+ ),
247
250
BlockException .RLP_STRUCTURES_ENCODING : (
248
251
"Failed to decode transactions from block parameter"
249
252
),
Original file line number Diff line number Diff line change @@ -31,6 +31,7 @@ class ErigonExceptionMapper(ExceptionMapper):
31
31
"SetCodeTransaction without authorizations is invalid"
32
32
),
33
33
TransactionException .TYPE_4_TX_CONTRACT_CREATION : "wrong size for To: 0" ,
34
+ TransactionException .TYPE_4_TX_PRE_FORK : "setCode tx is not supported by signer" ,
34
35
BlockException .INVALID_REQUESTS : "invalid requests root hash in header" ,
35
36
BlockException .INVALID_BLOCK_HASH : "invalid block hash" ,
36
37
}
Original file line number Diff line number Diff line change @@ -61,6 +61,7 @@ class GethExceptionMapper(ExceptionMapper):
61
61
TransactionException .TYPE_4_TX_CONTRACT_CREATION : (
62
62
"input string too short for common.Address, decoding into (types.SetCodeTx).To"
63
63
),
64
+ TransactionException .TYPE_4_TX_PRE_FORK : ("transaction type not supported" ),
64
65
TransactionException .INITCODE_SIZE_EXCEEDED : "max initcode size exceeded" ,
65
66
TransactionException .NONCE_MISMATCH_TOO_LOW : "nonce too low" ,
66
67
BlockException .INCORRECT_BLOB_GAS_USED : "blob gas used mismatch" ,
Original file line number Diff line number Diff line change @@ -347,6 +347,9 @@ class NethermindExceptionMapper(ExceptionMapper):
347
347
TransactionException .TYPE_4_TX_CONTRACT_CREATION : (
348
348
"NotAllowedCreateTransaction: To must be set"
349
349
),
350
+ TransactionException .TYPE_4_TX_PRE_FORK : (
351
+ "InvalidTxType: Transaction type in Custom is not supported"
352
+ ),
350
353
BlockException .INCORRECT_BLOB_GAS_USED : (
351
354
"HeaderBlobGasMismatch: Blob gas in header does not match calculated"
352
355
),
Original file line number Diff line number Diff line change @@ -27,6 +27,9 @@ class RethExceptionMapper(ExceptionMapper):
27
27
),
28
28
TransactionException .TYPE_4_EMPTY_AUTHORIZATION_LIST : "empty authorization list" ,
29
29
TransactionException .TYPE_4_TX_CONTRACT_CREATION : "unexpected length" ,
30
+ TransactionException .TYPE_4_TX_PRE_FORK : (
31
+ "eip 7702 transactions present in pre-prague payload"
32
+ ),
30
33
BlockException .INVALID_REQUESTS : "mismatched block requests hash" ,
31
34
BlockException .INVALID_RECEIPTS_ROOT : "receipt root mismatch" ,
32
35
BlockException .INVALID_STATE_ROOT : "mismatched block state root" ,
You can’t perform that action at this time.
0 commit comments