-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: Add multicast tx submission for Ethereum fallback provider (#5446)
### Description Add multicast tx submission for Ethereum fallback provider. `EthereumFallbackProvider` will use different strategies to query chain RPCs: 1. If the method is `eth_sendRawTransaction`, it will make a parallel query to all RPC endpoints and return the first successful result. If no success, it will retry 4 times. 2. For other methods, the current functionality does not change: it will sequentially query RPC endpoints according to their priorities and adjust priorities depending on success/failure. It also retries 4 times. ### Related issues - Contributes into hyperlane-xyz/hyperlane-monorepo#5452 ### Backward compatibility Yes ### Testing Added unit tests --------- Co-authored-by: Danil Nemirovsky <[email protected]>
- Loading branch information
Showing
2 changed files
with
417 additions
and
123 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.