Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion pkg/client/errors.go
Original file line number Diff line number Diff line change
Expand Up @@ -272,7 +272,7 @@ var aStar = ClientErrors{

var mantle = ClientErrors{
InsufficientEth: regexp.MustCompile(`(: |^)'*insufficient funds for gas \* price \+ value`),
Fatal: regexp.MustCompile(`(: |^)'*invalid sender`),
Fatal: regexp.MustCompile(`(: |^)'*(invalid sender|intrinsic gas too low|exceeds block gas limit)`),
NonceTooLow: regexp.MustCompile(`(: |^)'*nonce too low`),
ReplacementTransactionUnderpriced: regexp.MustCompile(`(: |^)'*replacement transaction underpriced`),
TransactionAlreadyInMempool: regexp.MustCompile(`(: |^)'*already known`),
Expand Down
2 changes: 2 additions & 0 deletions pkg/client/errors_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -446,6 +446,8 @@ func Test_Eth_Errors_Fatal(t *testing.T) {
{"Failed to serialize transaction: oversized data. max: 1000000; actual: 1000000", true, "zkSync"},

{"failed to forward tx to sequencer, please try again. Error message: 'invalid sender'", true, "Mantle"},
{"failed to forward tx to sequencer, err: 'intrinsic gas too low: gas 5000000, minimum needed 93897576'", true, "Mantle"},
{"failed to forward tx to sequencer, err: 'exceeds block gas limit'", true, "Mantle"},

{"client error fatal", true, "tomlConfig"},
{"[Request ID: d9711488-4c1e-4af2-bc1f-7969913d7b60] Error invoking RPC: transaction 0.0.4425573@1718213476.914320044 failed precheck with status INVALID_SIGNATURE", true, "hedera"},
Expand Down
Loading