-
Notifications
You must be signed in to change notification settings - Fork 19
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
Process messages concurrently #288
Merged
Merged
Changes from 61 commits
Commits
Show all changes
62 commits
Select commit
Hold shift + click to select a range
51d4e6f
route incoming messages to appRelayer
cam-schultz 608022c
Merge branch 'db-manager' into concurrent-messages
cam-schultz a1bdf87
todo comments
cam-schultz 3b0c438
remove catch up results chan
cam-schultz 4142101
Revert "remove catch up results chan"
cam-schultz 01a07e3
write directly to headers chan
cam-schultz 8cf64a6
Merge branch 'db-manager' into concurrent-messages
cam-schultz 678fa92
send to channel before closing
cam-schultz e8371e3
relay messages async - wip
cam-schultz 252b027
listener composed of app relayers
cam-schultz f386d11
appRelayer maintains block status
cam-schultz b5fca25
combine prepare and process height
cam-schultz 34eda3f
refactor message manager and warpblockinfo
cam-schultz efa8f3b
restore integ tests
cam-schultz de411b9
combine prepare and process height
cam-schultz 9f79ca1
refactor app relayer interface
cam-schultz 7edff1d
noop if committed height is unchanged
cam-schultz 2ee56bb
remove unused var
cam-schultz 72f6f0c
fix unit tests
cam-schultz 08235b7
Merge branch 'db-manager' into concurrent-messages
cam-schultz 5ffa9dc
Merge branch 'concurrent-messages' into app-relayer-worker
cam-schultz 90391a6
go 1.22.3
cam-schultz 69dbc80
bump golangci-lint version
cam-schultz acbc62d
Merge branch 'db-manager' into concurrent-messages
cam-schultz 23dd427
Merge branch 'concurrent-messages' into app-relayer-worker
cam-schultz b57d05d
add batch Teleporter message test
cam-schultz 1a051f3
do not assume ordered message delivery
cam-schultz 2db03ec
migrate deprecated flag
cam-schultz 248c852
checkout submodules in ci
cam-schultz b5cd801
re-checkout repo
cam-schultz 0930225
Merge branch 'main' into app-relayer-worker
cam-schultz 4d0cd01
remove unused param
cam-schultz 1cd196e
relay between subnets, no c-chain
cam-schultz 7b345c6
debug logs
cam-schultz b3c5b5e
batch test requires all messages delivered
cam-schultz 8dce7b4
comments+cleanup
cam-schultz 359032d
Merge branch 'main' into app-relayer-worker
cam-schultz f1887c9
cleanup external handler
cam-schultz 65a9162
request id mutual exclusion
cam-schultz ef461da
comments and cleanup
cam-schultz cbddf3a
rename MessageManager to MessageHandlerFactory
cam-schultz 8653be1
lint
cam-schultz 610105b
revert to go1.21
cam-schultz e939eca
add handleResponse helper
cam-schultz 0611a3b
Update relayer/application_relayer.go
cam-schultz b920a0f
rename shadowed var
cam-schultz 757f988
cleanup
cam-schultz 359dde4
process blocks async
cam-schultz 00a1d4e
app relayer holds a dst client
cam-schultz 8ed636b
fix unit test
cam-schultz ad391aa
Merge branch 'app-relayer-worker' of github.com:ava-labs/awm-relayer …
cam-schultz d1936ec
handle app relayer errors
cam-schultz 59210e0
add upgrade comment
cam-schultz f4f44e6
only lock nonce usage
cam-schultz 9e55c91
Merge branch 'main' into app-relayer-worker
geoff-vball 077cea1
Merge branch 'main' into app-relayer-worker
geoff-vball 1782f31
Refactor application relayers
geoff-vball ba2f686
Fix typo
geoff-vball 024ffd2
Merge pull request #309 from ava-labs/gstuart/concurrent-message
geoff-vball 65b8ba8
Fix key truncation
geoff-vball 3404bf7
lint
geoff-vball 7d2f8ee
Merge branch 'main' into app-relayer-worker
geoff-vball 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 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 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 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 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 |
---|---|---|
|
@@ -17,6 +17,7 @@ jobs: | |
with: | ||
fetch-depth: 0 | ||
path: awm-relayer | ||
submodules: recursive | ||
|
||
- name: Set Go version | ||
run: | | ||
|
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
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
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 |
---|---|---|
|
@@ -9,3 +9,7 @@ relayer-config.json | |
main.log | ||
server.log | ||
*.test | ||
|
||
# Foundry outputs | ||
cache/ | ||
out/ |
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,6 @@ | ||
[submodule "tests/contracts/lib/teleporter"] | ||
path = tests/contracts/lib/teleporter | ||
url = https://github.com/ava-labs/teleporter | ||
[submodule "tests/contracts/lib/forge-std"] | ||
path = tests/contracts/lib/forge-std | ||
url = https://github.com/foundry-rs/forge-std |
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
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
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
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
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The latest golangci-lint deprecates this option in favor of
exclude-files