-
Notifications
You must be signed in to change notification settings - Fork 3.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(sdk): have getMessageStatus call messenger
getMessageStatus was previously using event queries to figure out the status of the given message. We can do the same thing by making requests directly to the messenger contracts which is more reliable because most RPC endpoints won't allow massive block ranges.
- Loading branch information
1 parent
ed2668a
commit dd0e469
Showing
2 changed files
with
47 additions
and
19 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
--- | ||
'@eth-optimism/sdk': patch | ||
--- | ||
|
||
Simplifies getMessageStatus to use an O(1) lookup instead of an event query |
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