Skip to content

Commit 65f2663

Browse files
authored
chore(cli): add mapping for TYPE_3_TX_CONTRACT_CREATION error (#2244)
* Changed intrinsic gas too low for gas below floor gas cost * Fixing wrongly removing intrinsic gas too low error * Fixing message for intrinsic gas too low error * Improved error messages * Added mapping for TYPE_3_TX_CONTRACT_CREATION error
1 parent b37336d commit 65f2663

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/ethereum_clis/clis/ethrex.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,10 @@ class EthrexExceptionMapper(ExceptionMapper):
5454
r"unexpected length|Contract creation in type 4 transaction|"
5555
r"Error decoding field 'to' of type primitive_types::H160: InvalidLength"
5656
),
57+
TransactionException.TYPE_3_TX_CONTRACT_CREATION: (
58+
r"unexpected length|Contract creation in type 3 transaction|"
59+
r"Error decoding field 'to' of type primitive_types::H160: InvalidLength"
60+
),
5761
TransactionException.TYPE_4_TX_PRE_FORK: (
5862
r"eip 7702 transactions present in pre-prague payload|"
5963
r"Type 4 transactions are not supported before the Prague fork"

0 commit comments

Comments
 (0)