This repository has been archived by the owner on Nov 15, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 379
Introduce interface for relay chain interaction #835
Merged
+1,514
−1,609
Merged
Changes from 1 commit
Commits
Show all changes
63 commits
Select commit
Hold shift + click to select a range
c3f77d1
Move `retrieve_dmq_contents` and `retrieve_all_inbound_hrmp_channel_c…
skunert 6260554
Add cumulus-client-collator to polkadot-parachains package
skunert 830f8e0
Remove more direct references to clients
skunert 387b32f
Remove more direct references to clients
skunert b178df1
Move interface to its own crate
skunert 5b4b9d7
Remove more direct references to clients
skunert cc66c2f
Remove more direct references to clients
skunert 91c6a5c
revert network changes
skunert 8d991cf
Merge branch 'master' into relay-chain-interface
skunert ea57405
Implement relaychaininterface for Arc<dyn RelayChainInterface>
skunert d7a7ffb
Remove unused code. Clean up imports.
skunert 1c14ea5
Extract cumulu-client-network usages of polkadot-client
skunert 2ffa0c3
Change edition to string in rustfmt
skunert 026832d
Change BlockchainEvent parameters
skunert 6350c8a
Remove polkadot-client dependency from cumulus-network
skunert 0fabdf0
Modify tests to compile again
skunert 1a810d4
Merge branch 'master' into relay-chain-interface
skunert 3d0af0c
Cleanup
skunert 1033b8b
Implement BlockchainEvents for TestApi
skunert d40f328
Remove references to backend from BlockAnnounceValidator
skunert a938b70
Extract get_state to RelayChainInterface
skunert 9c865fe
Remove backend references from consensus structs
skunert 054d22d
Move network to relay-chain-interface
skunert 14ec0a1
Move network to RelayChainInterface
skunert 5e42e77
Remove TestApi and add DummyRelayChainInterface
skunert 06815ee
Remove network from BlockAnnounceValidator
skunert ce860cf
Remove references to full node from service.rs
skunert f8c8325
Move StartCollator and StartConsensus to RelayChainInterface
skunert b1b3814
Replace more references to full_node
skunert 4b37786
Clean up and fix overseer handle
skunert 00c1622
Merge branch 'master' into relay-chain-interface
skunert b619397
Remove unused import, commented code
skunert 84fc3c1
Move relay_chain_full instantiation to interface crate
skunert 6dfa4e6
Remove AuraConsensusBuilder
skunert ada4b06
Remove duplicate relay-chain-interface from test service
skunert 6b4930c
Format
skunert 8614027
Adjust naming and remove duplicate trait implementation
skunert 0117359
Improve naming
skunert d0bc375
Fix type parameter name
skunert 98ad008
Replace todo macro by unimplemented
skunert f9041f6
Remove `get_state_at` from interface
skunert 197e400
Remove slot_duration from interface
skunert 926d9fb
Extract checking for blocks into relay-chain-interface
skunert f18c5da
Minor adjustments suggested by the comments
skunert 94a8a50
Improve naming, remove block generics
skunert 6b250ba
Merge branch 'master' into relay-chain-interface
skunert f020868
Introduce constructor for RelayChainLocal
skunert f5967b3
Extract relay-chain-local to own crate
skunert 4e6fbad
Remove polkadot-service dependency from relay-chain-interface
skunert 4768ad9
Fix test
skunert 9ec6cf8
Merge branch 'master' into relay-chain-interface
skunert dd64161
Move relay-chain-local to dev dependency in network
skunert b1b07b5
Remove unused dependency
skunert 9ccc9bf
Remove unused relay-chain reference in AuraConsensus
skunert 481d7e9
Remove unused builders, move wait_on_block to relaychain
skunert 67ce2f2
Remove WaitOnRelayChain and add docs
skunert 6f7094a
Remove unused dep
skunert d3599c2
Merge branch 'master' into relay-chain-interface
skunert 83c977f
Format
skunert 2f51a3e
Remove unused dependencies, fix lock issue
skunert aebfcda
Fix log output
skunert 117ba4c
Remove `build_block_announce_validator` function
skunert f3af41d
Merge branch 'master' into relay-chain-interface
skunert 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
Move network to RelayChainInterface
commit 14ec0a1f3bead7222d755b973bc75a7771342f91
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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
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
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
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.
std::collections::BTreeMap
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.
Should be used here.