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

POS efficient l1 polling #2506

Open
wants to merge 77 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from 76 commits
Commits
Show all changes
77 commits
Select commit Hold shift + click to select a range
6cfed7f
Begin reworking L1Client logic
tbro Jan 23, 2025
d4c87be
Pos State
tbro Jan 23, 2025
34b6a41
clippy
tbro Jan 27, 2025
69cf1ea
add some preliminary cache functionality
tbro Jan 28, 2025
d699431
call state update method from `update_loop`
tbro Jan 29, 2025
f5d1ea2
move update to it's own task
tbro Jan 29, 2025
f4bc1d1
update stake tables in their own thread
tbro Jan 29, 2025
60e95c8
Isolate l1 fetching to pure fn
tbro Jan 29, 2025
e956d6e
pass contract to fetcher
tbro Jan 29, 2025
ae558a7
Reinstate `get_stake_tables`
tbro Jan 29, 2025
810a0f0
add back chunky to get_stake_tables
tbro Jan 29, 2025
f6007a5
chuky2 part 1
tbro Jan 29, 2025
0526e94
chunky2 part 2
tbro Jan 30, 2025
22b6861
chunky2 part 3
tbro Jan 30, 2025
d49e600
cleanup
tbro Jan 31, 2025
6f5731e
make chunker a pure fn
tbro Jan 31, 2025
c53eb8e
cleanup
tbro Jan 31, 2025
6f8664e
Merge remote-tracking branch 'origin/main' into tb/pos/efficient-l1-p…
tbro Jan 31, 2025
32a490b
fix conflict res
tbro Jan 31, 2025
394adde
add sync generator type
tbro Feb 10, 2025
588b30f
add in relevant bits from other PR
tbro Feb 10, 2025
e35d4e0
fix compile issues
tbro Feb 11, 2025
e08930e
Add generator to chunky test
tbro Feb 11, 2025
970b317
Fix ChunkGenerator and call from `get_finalized_deposits`
tbro Feb 11, 2025
f4589fb
clippy
tbro Feb 11, 2025
1386ad3
cleanup
tbro Feb 11, 2025
0ca985c
Merge remote-tracking branch 'origin/main' into tb/pos/efficient-l1-p…
tbro Feb 17, 2025
de631fa
merge conflict fixes
tbro Feb 17, 2025
8077309
use `NewFinalized` instead of `NewHead`
tbro Feb 17, 2025
4298cd0
lint
tbro Feb 17, 2025
7ec5b26
Add stake to cache in update_loop
tbro Feb 17, 2025
7612fa4
Merge remote-tracking branch 'origin/tb/destroy-all-async' into tb/po…
tbro Feb 17, 2025
d437722
compile fix
tbro Feb 18, 2025
866abc0
temp disable versions in CI
tbro Feb 18, 2025
a6cfdc1
Fix test failure
tbro Feb 18, 2025
9448ced
Merge remote-tracking branch 'origin/main' into tb/pos/efficient-l1-p…
tbro Feb 18, 2025
8bbe403
remove obsolete test
tbro Feb 18, 2025
3fdeae0
fix comments
tbro Feb 18, 2025
54a2496
update get_stake_table
tbro Feb 19, 2025
329b6d5
add stake to state in `get_stake_table`
tbro Feb 19, 2025
829e31f
Add TODO
tbro Feb 19, 2025
14304f0
TODO
tbro Feb 19, 2025
3922ae4
another test for chunk_size 1
tbro Feb 20, 2025
0a2c283
add update loop test
tbro Feb 20, 2025
041fc68
Wait for v3 upgrade to spawn stake_table task
tbro Feb 20, 2025
bde686d
Merge remote-tracking branch 'origin/main' into tb/pos/efficient-l1-p…
tbro Feb 21, 2025
d07387c
remove unused
tbro Feb 21, 2025
081b2b3
fix stake_table_update_loop test
tbro Feb 21, 2025
37f40c4
add `put_stake_tables` method to L1State
tbro Feb 21, 2025
174e796
cleanup
tbro Feb 21, 2025
e35c17e
fix test
tbro Feb 21, 2025
e91f833
Move task upgrade to fn
tbro Feb 21, 2025
d5c7ed4
cleanup logging
tbro Feb 21, 2025
807a8e9
limit stake table event queries to start at deployment block
tbro Feb 21, 2025
a143b24
Fixes and cleanup for handling initial block
tbro Feb 21, 2025
1d0bf96
revert features to match main
tbro Feb 21, 2025
e02f780
Merge remote-tracking branch 'origin/main' into tb/pos/efficient-l1-p…
tbro Feb 21, 2025
7763383
revert disabling features in CI
tbro Feb 21, 2025
1441b2f
Fix handling of initial block
tbro Feb 24, 2025
95d2a46
remove clippy `allow`
tbro Feb 24, 2025
314b754
cleanup
tbro Feb 24, 2025
557f428
test retrieval of initial block
tbro Feb 24, 2025
e3be5d2
fix deadlock
tbro Feb 24, 2025
98a8c4f
Merge remote-tracking branch 'origin/main' into tb/pos/efficient-l1-p…
tbro Feb 24, 2025
1d2de29
Merge remote-tracking branch 'origin/main' into tb/pos/efficient-l1-p…
tbro Feb 24, 2025
e056af9
Merge branch 'main' into tb/pos/efficient-l1-polling
tbro Feb 25, 2025
8a2e4b1
Create type to hold `JoinHandle`s
tbro Feb 25, 2025
c956647
Merge remote-tracking branch 'origin/main' into tb/pos/efficient-l1-p…
tbro Feb 25, 2025
547424f
reword max between finalized and init_block
tbro Feb 25, 2025
0c72889
remove unused fn
tbro Feb 25, 2025
92d2823
clippy
tbro Feb 25, 2025
4f85a24
Fix stake_update_loop test
tbro Feb 25, 2025
2f91e8a
cleanup
tbro Feb 25, 2025
f5fd59c
Merge remote-tracking branch 'origin/main' into tb/pos/efficient-l1-p…
tbro Feb 25, 2025
2672a2a
Add some doc coments
tbro Feb 25, 2025
466050f
Merge remote-tracking branch 'origin/main' into tb/pos/efficient-l1-p…
tbro Feb 25, 2025
55c7700
fix: remove commented code
sveitser Feb 26, 2025
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
Loading
Loading