-
Notifications
You must be signed in to change notification settings - Fork 20
feat: adds execution enforcement to preconfirmations #161
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from all commits
Commits
Show all changes
32 commits
Select commit
Hold shift + click to select a range
921d4c8
feat: adds more txn metadata to block cache
ckartik eed7508
feat: slash on non-successful transactions
ckartik 08eb0fa
chore: remove redundant log
ckartik 52cd046
feat: request receipts concurrently
ckartik ccf1ff1
feat: cleanup code
ckartik 4565a42
feat: adds txn receipts to tests
ckartik 22e4f89
chore: updates test stub to include txn receipts
ckartik e80a568
feat: adds a revert check in tests
ckartik a8bee61
feat: use errgroup and syncmap
ckartik af546ea
feat: introduces batching
ckartik 43bfaa1
feat: rework bucketing to minimize requests
ckartik 8fed5fb
chore: resolves nit PR requests
ckartik dcd8930
chore: removes closure var
ckartik a55e1f9
chore: use range over integer
ckartik d9fb69a
feat: adds metrics
ckartik bee4cb9
chore: adds metric to collector
ckartik 9da2f04
feat: get total duration for block receipts
ckartik ff3e6bb
feat: adds retry to BatchReceipts call
ckartik c33d14f
feat: adds retries to all calls
ckartik 1fec832
feat: check for 429 in infinite retry
ckartik 02c1216
feat: do infinite retry on batch call and log
ckartik 0c3e132
feat: checks for 429 errors
ckartik e0d3ee0
feat: attempt the request multiple times
ckartik 93d96b2
feat: attempt retries 50 times before failing
ckartik 9b61c0e
feat: reduce the size of batch
ckartik 4f4ff58
feat: adds personal L1 RPC URL
ckartik fcb7880
chore: adds temp debug logs
ckartik 36c218f
chore: avoid context from cancelation
ckartik 745ce29
chore: panic when updater routine fails
ckartik fdcf9a6
feat: adds logger for evmhelper
ckartik a220daa
feat: add more logs
ckartik 816dd33
feat: fix linter issues
ckartik File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or 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 hidden or 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 |
|---|---|---|
|
|
@@ -27,6 +27,7 @@ type WinnerRegister interface { | |
| type EthClient interface { | ||
| BlockNumber(ctx context.Context) (uint64, error) | ||
| HeaderByNumber(ctx context.Context, number *big.Int) (*types.Header, error) | ||
| BlockByNumber(ctx context.Context, number *big.Int) (*types.Block, error) | ||
|
Collaborator
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Why is this required? This interface is a subset of the methods of the EthClient. We dont use the BlockByNumber in this pkg. You can still pass your retry client to this pkg even after removing this. |
||
| } | ||
|
|
||
| type L1Listener struct { | ||
|
|
||
This file contains hidden or 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 hidden or 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 hidden or 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 hidden or 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.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.