-
Notifications
You must be signed in to change notification settings - Fork 11
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
improve: update sdk queries to accurately estimate gas costs (#64)
* feat: add utility function to calculate total gas cost of an unsigned transaction * feat: Add utility function to generate an unsigned fillRelay tx * improve: add cohesive call layer to all gas cost estimates * fix: update e2e test to resolve error * fix: make provider access modifiers consistent * docs: add comment to highlight that a hardcoded value is a dummy address * improve: remove defaultGas artifact from eth query * test: add unit test for verifying the gasFeePercent is consistent * nit: improve variable name to serve the general case * improve: utilize SpokePool base class instead of BaseContract * nit: highlight that the isL2Provider is effectively optimism-specific * improve: use specified query address * docs: improve comment to better highlight the meaning of isL2Provider Co-authored-by: Matt Rice <[email protected]> * improve: utilize generic spoke pool factory
- Loading branch information
1 parent
c8a3955
commit a0ad4fb
Showing
8 changed files
with
161 additions
and
93 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
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
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
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
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
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
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
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