You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Use multicall to batch several messages in a single transaction.
Requirements:
configure the multicall contract address per-chain. If an address is configured, always use multicall (even for a batch size of 1)
integrate with multicall in hyperlane-ethereum
manually deploy the multicall contract in E2E, and test batched submissions
On batch failure, send all messages back to the prep queue
@yorhodes already opened gakonst/ethers-rs#2684 to ethers-rs which integrates with multicall, including testing. A lot of that looks reusable in the hyperlane-ethereum integration and E2E deployment step.
The text was updated successfully, but these errors were encountered:
### Description
Status:
- [x] op-queue scaffolding
- [x] hyperlane-ethereum integration with multicall
- [x] new config items
- [x] actually build batch in the op-queue submit step
- [x] e2e tests with batching configured
- [x] dynamic batch sizes (batch as many messages as the prepare step
has ready)
- [x] parallelize metadata building
- [ ] proportional IGP deduction
### Drive-by changes
<!--
Are there any minor or drive-by changes also included?
-->
### Related issues
- Fixes#3628
- Fixes#3630
### Backward compatibility
<!--
Are these changes backward compatible? Are there any infrastructure
implications, e.g. changes that would prohibit deploying older commits
using this infra tooling?
Yes/No
-->
### Testing
<!--
What kind of testing have these changes undergone?
None/Manual/Unit Tests
-->
---------
Co-authored-by: Trevor Porter <[email protected]>
Solution
Use multicall to batch several messages in a single transaction.
Requirements:
hyperlane-ethereum
@yorhodes already opened gakonst/ethers-rs#2684 to ethers-rs which integrates with multicall, including testing. A lot of that looks reusable in the
hyperlane-ethereum
integration and E2E deployment step.The text was updated successfully, but these errors were encountered: