Skip to content

Commit

Permalink
removed unsed fatal errors
Browse files Browse the repository at this point in the history
  • Loading branch information
amaechiokolobi committed Aug 16, 2024
1 parent b826d83 commit de67877
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions core/chains/evm/client/errors.go
Original file line number Diff line number Diff line change
Expand Up @@ -162,8 +162,7 @@ var arbitrum = ClientErrors{
}

// Treasure
// Derived from Arbitrum config due to similar behaviour
var treasureFatal = regexp.MustCompile(`((: |^)(invalid message format|forbidden sender address)$|(: |^)(execution reverted)(:|$)|(: |^)invalid chain id for signer(:|$))`)
var treasureFatal = regexp.MustCompile(`(: |^)invalid chain id for signer(:|$)`)
var treasure = ClientErrors{
Fatal: treasureFatal,
}
Expand Down

0 comments on commit de67877

Please sign in to comment.