-
Notifications
You must be signed in to change notification settings - Fork 22
feat: sync mode preparation [skip-line-limit] #1153
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
113 commits
Select commit
Hold shift + click to select a range
c80bbec
add event ctx
585378f
setup typed event
cfc0576
update to include option ctx
38418f7
remove aggregate_id in favour of data.get_aggregate_id
d3a3f78
tidy up data model
959c93d
Merge branch 'main' into ry/1050-event-ids
ryardley 3f186fd
add comment
de4dc0b
refactor
96077da
tidy up methods
a7d7f1c
tidy up names
25463fe
rename producer consumer vars to be clearer
5cc13e8
use context manager
b248377
add context to persistable
145f617
refactor persistable
ff4c941
Merge branch 'main' into ry/1050-event-ids
ryardley 47e1e7c
remove result
a9f939d
add auto persist to store connector
72602ff
update doc comments
4d2ccea
insert_sync_recipient()
96d034d
update connector
75f2323
add aggregate_id to event context
61b3171
add hlc walltime
ab20fbd
add writebuffer config
55ee6ea
add buffering based on aggregate_id
bdfc7a5
add comments
c061694
implement time-based- batching with per-aggregate delays
bb2f502
extract function to be able to be unit tested
22fcbb0
update test to ensure delay works
fff85a1
fix test
b796ce1
fix test
8f986df
add staging mode to persistable
37942d9
Merge branch 'main' into ry/1050-event-ids
ryardley 37e3ea0
remove unnecessary nstaging
2158772
revert persistable change
22ce1c6
add per-chain finalization times with optimized provider usage
3652eac
Merge branch 'main' into ry/1050-event-ids
ryardley e5b8f96
feat: add optional chain_id validation to ChainConfig
a0b3482
replace chain delays with aggregate configuration architecture
a02e43f
refactor: extract build_aggregate_config_from_chains to standalone fu…
a8400ae
fix: resolve non-deprecation warnings
842f11e
refactor: remove unused AggregateConfig methods
6882670
refactor: rename delay functions to use aggregate terminology
a1ba1e6
refactor: WriteBuffer accepts AggregateConfig instead of HashMap
06559a2
feat: add aggregate_config accessor method and use get_or_init pattern
d081620
feat: add EventStoreRouter for routing events to appropriate stores
4eb2c44
refactor: add enumerate_path utility and update event system to suppo…
0621079
feat: replace Vec with HashMap for event store addresses to support i…
679a300
refactor: move enumerate_path utility to utils crate and simplify Has…
d14c6a9
headers
da9f9fb
refactor: add eventstore router with caching and rename eventstore fi…
20a69e2
remove cached prefix from eventstores for simplicity
2b0f1c1
refactor: move indexed ID logic to AggregateConfig
66478cd
refactor: simplify sequencer initialization using eventstore router
2cfded8
refactor: simplify aggregate config creation and improve error handling
3d22047
chore: add setup to build script
d8761c7
feat: add GetAggregateEventsAfter message handler to EventStoreRouter
b0f4dc9
Refactor EventStoreRouter to accept stores in constructor
7997a2d
remove qualifier
7814cdb
feat: add trap_fut function to handle async error trapping
a1957cc
Merge branch 'main' into ry/1050-event-ids
ryardley b81ced8
Refactor EventStoreRouter methods to return typed router addresses
90affd1
Refactor EventSystem: remove TryFrom implementations and rename event…
f4ad5f4
feat: implement event sync via libp2p request-response protocol
5084210
Merge branch 'main' into ry/1050-event-ids
ryardley 47c5882
add e3-sync crate with basic sync actor and bootstrap handler
0ae231d
add header
e0022d4
add header
2598912
add sync to Dockerfile
8b5702c
Add Log event
9b3a409
rename evm event reader to evm interface
302d7cf
rename events
79f93a8
rename EvmInterface -> EvmReadInterface
b7b9bf7
refactor evm events
ec5322b
evm events are working
9011ac9
move fake sync actor out of the way
0c250e3
create chain builder
5d1675f
events are now in order
3212244
test sync_gateway
9d65a1a
rename sync_gateway to evm_chain_gateway and update module exports
e7ed923
remove launch coordinator
38f7d4c
fix headers
15b358c
remove bad package
9d07673
add header
a3933d8
apply EvmSystem to CiphernodeBuilder
72e4ff7
Merge branch 'main' into ry/1050-event-ids
b6b68da
add scaffolding to sync
1d99a5b
add scaffolding to sync
a19f73c
header
c8063c7
add evm event config with deploy block validation - breaking change t…
67a3051
refactor contract address handling to use typed Address instead of st…
aae61bd
refactor: integrate net package into ciphernode builder
f67d267
handle sync evm events in synchronizer
ea51640
add better comment
4dddf82
Merge branch 'main' into ry/1050-event-ids
34067b0
update timestamp catching
eacb2a4
fix build errors
af074cd
Merge branch 'main' into ry/1050-event-ids
ryardley 2b63317
fix event forwarding to sync
eb7c2d6
evm_reader -> evm_parser
8cddbaf
update timestamp max diff
ee7e9b6
add test
5e0d627
Merge branch 'main' into ry/1050-event-ids
ebe9faa
fix bad merge
cf1af4d
fix bad test
f730adb
ensure all non-future ctx.notify() calls run synchronously
7e10b0d
refactor problematic handler causing issues with sync
730d47c
wait for E3Requested to be received before dispatching CommitteFinalized
39662f5
remove notify
172ab1e
revert notify sync to just use notify for async handlers
94819cc
rename functions
2bd71b7
do_send -> try_send
c1b7195
fix notify on future handler
68f1d97
Merge branch 'main' into ry/1050-event-ids
ryardley 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 was deleted.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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
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.
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.