Skip to content
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

refactor(batcher): retry function #1273

Merged
merged 53 commits into from
Nov 4, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
53 commits
Select commit Hold shift + click to select a range
6790a4e
First version of retry function
entropidelic Oct 16, 2024
bea9ba2
refactor: move retry to its own module
avilagaston9 Oct 16, 2024
651a345
feat: add retry logic to get_gas_price
avilagaston9 Oct 16, 2024
32c8ba1
refactor: syntactic sugar
avilagaston9 Oct 16, 2024
efcfd43
refactor: add retry to get_balance_is_unlocked
avilagaston9 Oct 17, 2024
a5fc3f8
refactor: add retry to get_user_balance
avilagaston9 Oct 17, 2024
064cf7b
refactor: add retry to get_user_nonce
avilagaston9 Oct 17, 2024
f620b08
refactor: add retry when uploading batch to s3
avilagaston9 Oct 17, 2024
462defe
refactor: add retry to send_responses
avilagaston9 Oct 17, 2024
03b598a
refactor: use default constants
avilagaston9 Oct 17, 2024
b91e10d
fix: cargo clippy
avilagaston9 Oct 17, 2024
5601583
refactor: remove reconnections
avilagaston9 Oct 17, 2024
47e3516
fix: retry client refactor
avilagaston9 Oct 17, 2024
b0853f7
refactor: update config and docs
avilagaston9 Oct 17, 2024
2e575f6
refactor: use ethers instead of our forked version
avilagaston9 Oct 17, 2024
1c60221
refactor: add retry to stream.next()
avilagaston9 Oct 18, 2024
fe666db
Add test with local anvil instance
entropidelic Oct 18, 2024
4f01fd7
refactor: change retryable methods to functions
avilagaston9 Oct 18, 2024
ef8c721
refactor: clean PR
avilagaston9 Oct 18, 2024
a83f304
test: add unit test to retry functions
avilagaston9 Oct 18, 2024
25becde
refactor: add inner errors to Transient type
avilagaston9 Oct 18, 2024
bb68b83
refactor: improve logging
avilagaston9 Oct 20, 2024
aa63b4f
Merge branch 'staging' into retry-functions-refactor
avilagaston9 Oct 21, 2024
6c3b76c
test: debugging ci
avilagaston9 Oct 21, 2024
bb89b69
Added foundry toolchain for CI.
samoht9277 Oct 21, 2024
712a555
Revert "test: debugging ci"
avilagaston9 Oct 21, 2024
eb8c39b
refactor: address comments
avilagaston9 Oct 21, 2024
9d3c513
refactor: improve error logging
avilagaston9 Oct 21, 2024
ba32e2e
refactor: remove web sockets from batcher struct
avilagaston9 Oct 21, 2024
b9f186b
Update batcher/aligned-batcher/src/lib.rs
entropidelic Oct 22, 2024
a7aad12
Update batcher/aligned-batcher/src/lib.rs
entropidelic Oct 22, 2024
32fd9a6
refactor: use assert_eq in unit test
avilagaston9 Oct 22, 2024
9a57cbd
Update batcher/aligned-batcher/src/retry.rs
entropidelic Oct 22, 2024
9894bbd
Update batcher/aligned-batcher/src/retry.rs
entropidelic Oct 22, 2024
4827352
Update batcher/aligned-batcher/src/retry.rs
entropidelic Oct 22, 2024
5f04042
refactor: move retryable functions to retry
avilagaston9 Oct 22, 2024
cbe15a7
refactor: remove retry to send_response
avilagaston9 Oct 22, 2024
85176a9
refactor: use a large number to listen_blocks retry
avilagaston9 Oct 22, 2024
153b87d
fix: test
avilagaston9 Oct 22, 2024
0c7b2b3
Update batcher/aligned-batcher/src/lib.rs
entropidelic Oct 22, 2024
13ade7c
chore: remove commented line
uri-99 Oct 23, 2024
c9c6e70
refactor: move retry constants to constants.rs
avilagaston9 Oct 23, 2024
bb2d464
refactor: move retryable functions to batcher_retry
avilagaston9 Oct 23, 2024
53e9204
refactor: remove harcoded address from test
avilagaston9 Oct 23, 2024
a07871a
refactor: rename batcher_retry to batcher_retryables
avilagaston9 Oct 24, 2024
3dec0bd
refactor: adjust retry constants
avilagaston9 Oct 24, 2024
7b8a7a2
refactor: remove foundry from ci
avilagaston9 Oct 24, 2024
9c728a4
refactor: formatting issues
avilagaston9 Oct 24, 2024
bab60d7
refactor: create eth_http_providers only once
avilagaston9 Oct 28, 2024
56388b1
refactor: improve comments in tests
avilagaston9 Oct 28, 2024
7da5d3e
docs: add reference to backon
avilagaston9 Oct 28, 2024
40e2f1a
Merge branch 'staging' into retry-functions-refactor
avilagaston9 Oct 31, 2024
1d28582
test: add tests to CI
avilagaston9 Oct 31, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions .github/workflows/build-and-test-rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,8 @@ jobs:
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: foundry-toolchain
uses: foundry-rs/foundry-toolchain@v1.2.0
- name: Cache Rust dependencies
uses: actions/cache@v3
with:
Expand Down
Loading
Loading