-
Notifications
You must be signed in to change notification settings - Fork 807
Replace toEngine channel with a dedicated subscription API #3999
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
42 commits
Select commit
Hold shift + click to select a range
ad38229
This commit removes the toEngine channel pattern from all VMs and add…
yacovm 671be9a
Address code review comments
yacovm 285cf35
Return error and change name
yacovm d4e4b5c
Migrate XSVM to new API format
StephenButtolph fbd2cde
comment nits
StephenButtolph e139bab
Migrate AVM to new API format
StephenButtolph 690abcf
Address code review comments II
yacovm 152b126
Fix some concurrency bugs
yacovm f86cc8c
Add tests
StephenButtolph c9b6541
reduce diff
StephenButtolph de3cee3
fix reduce diff
StephenButtolph 9b3c565
undo revert
StephenButtolph 55f5ed5
Migrate PlatformVM to new API format
StephenButtolph 92610b4
Fix test flake TestSubscriptionProxy/close
yacovm 6f89bbf
Reintroduce log
StephenButtolph a44dac5
Migrate ProposerVM to new API format
StephenButtolph 1c66cd3
check state prior to looking for the block
StephenButtolph b6d8346
cleanup mock
StephenButtolph 5e79f76
document
StephenButtolph 26a0828
Wait for preference to change when notifying
yacovm fa866e3
fix data race in cond_test.go
yacovm 66e1b47
lint issues
yacovm 0745024
RIP subscription proxy and simplesubscriber
yacovm 4f40414
Add some logs, hopefully we won't need them
yacovm 5021ccb
Close NF when shutdown
yacovm 0fe7328
Implement VM optional methods
yacovm c9b974d
Synchronize goroutine values in UT via channels
yacovm b3cb49a
Address code review comments about tests
yacovm 08294e7
Address code review comments
yacovm de0e09d
Notify() uses context
yacovm 690a89c
Use parent context to close NotificationForwarder
yacovm 33e9e2c
Start NotificationForwarder upon creation
yacovm 41a2450
Complete tests for ChangeNotifier
yacovm 083434b
Move notifier to engine/snowman/block
yacovm 22d6152
Move notification forwarder initialization into handler
yacovm 3338f36
Rename PreferenceOrStateChanged to CheckForEvent
yacovm b19d0e1
Address code review comments on notifier and handler
yacovm 8331647
Lint and fixc compilation error
yacovm 963b5bd
Change logging level for unexpected message to INFO
yacovm 8d76a16
Address code review comments
yacovm a5b0de2
Do not wake-up notifier if preference has been set to its previous one
yacovm 3100f7d
Pick up latest coreth version
yacovm 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
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 was deleted.
Oops, something went wrong.
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.