fix: process gas estimation for trusted relayer isms#8457
Conversation
|
Note Reviews pausedIt looks like this branch is under active development. To avoid overwhelming you with review comments due to an influx of new commits, CodeRabbit has automatically paused this review. You can configure this behavior by changing the Use the following commands to manage reviews:
Use the checkboxes below for quick actions:
📝 WalkthroughWalkthroughUpdated mailbox gas-simulation to set simulated tx.from to the provider/relayer default sender, changed Arbitrum retryable-ticket estimation to use that sender, added an ITrustedRelayer ISM ABI, and made the InterchainSecurityModuleBuilder require a signer and handle Null ISM trusted_relayer checks. Changes
🚥 Pre-merge checks | ✅ 2 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (2 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #8457 +/- ##
=======================================
Coverage 77.21% 77.21%
=======================================
Files 130 130
Lines 3533 3533
Branches 294 294
=======================================
Hits 2728 2728
Misses 788 788
Partials 17 17
🚀 New features to boost your workflow:
|
d43a5fc to
3754d4f
Compare
tkporter
left a comment
There was a problem hiding this comment.
lgtm assuming we've tested this with a trusted relayer ISM
Description
This pr fixes the process() gas estimation by setting the sender to the relayer address (needed for trusted relayer isms). Also it enables trusted relayer isms inside aggregation isms by setting the gas estimation to zero if we are the trusted relayer, else we ignore it like before. Both fixes have been applied to ethereum and tron
Drive-by changes
Related issues
Backward compatibility
Testing
tested on sepolia<>arbitrumsepolia