This repository was archived by the owner on Nov 15, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 371
Introduce rpc client for relay chain full node #963
Merged
Merged
Changes from 1 commit
Commits
Show all changes
72 commits
Select commit
Hold shift + click to select a range
3d7d222
Initial network interface preparations
skunert b23547c
Implement get_storage_by_key
skunert cfaa211
Implement `validators` and `session_index_for_child`
skunert af362b4
Implement persisted_validation_data and candidate_pending_availability
skunert a8d80d5
Fix method name for persisted_validation_data and add encoded params
skunert 482ecd4
Implement `retrieve_dmq_contents` and `retrieve_all_inbound_hrmp_chan…
skunert c03ba54
Implement `prove_read`
skunert b4ca285
Introduce separate RPC client, expose JsonRpSee errors
skunert f0d6c18
Simplify closure in call_remote_runtime_function
skunert d4dada5
Implement import stream, upgrade JsonRpSee
skunert dc5de78
Implement finality stream
skunert 2675a7d
Remove unused method from interface
skunert f9a228d
Implement `is_major_syncing`
skunert 7a89c73
Implement `wait_on_block`
skunert b92f204
Merge branch 'master' into network-interface-master
skunert 532ba1d
Fix tests
skunert d49e25b
Unify error handling `ApiError`
skunert 051068f
Replace WaitError with RelayChainError
skunert 4b664a7
Wrap BlockChainError in RelayChainError
skunert 40432e8
Unify error handling in relay chain intefaces
skunert 5e03777
Fix return type of proof method
skunert d916d69
Improve error handling of new methods
skunert ee60f31
Improve error handling and move logging outside of interface
skunert 0a1dd44
Clean up
skunert 68fa074
Remove unwanted changes, clean up
skunert 2764ea2
Remove unused import
skunert 3be8d65
Add format for StatemachineError and remove nused From trait
skunert 4c9b8ea
Use 'thiserror' crate to simplify error handling
skunert f2caf4b
Expose error for overseer, further simplify error handling
skunert 7c95a65
Merge branch 'master' into relay-chain-interface-error-handling
skunert af4c50c
Reintroduce network interface
skunert f0212f9
Implement cli option
skunert c4fd3ae
Adjust call_state method to use hashes
skunert 3a5e69b
Merge branch 'master' into skunert-network-interface
skunert 2bf24bb
Disable PoV recovery when RPC is used
skunert 3a4766b
Add integration test for network full node
skunert 156f453
Use Hash instead of BlockId to ensure compatibility with RPC interface
skunert b2f5163
Fix cargo check warnings
skunert bf9293e
Implement retries
skunert cc8862f
Remove `expect` statements from code
skunert 99535a0
Update jsonrpsee to 0.8.0 and make collator keys optional
skunert fcbd51e
Make cli arguments conflicting
skunert 31e2ebf
Remove unused `block_status` method
skunert 277a584
Add clippy fixes
skunert 7af8820
Merge branch 'master' into skunert-network-interface
skunert 8bd395d
Cargo fmt
skunert 389777f
Validate relay chain rpc url
skunert 53324c5
Clean up dependencies and add one more integration test
skunert 470ce99
Clean up
skunert e39bc18
Clean up dependencies of relay-chain-network
skunert 8bd74d5
Use hash instead of blockid for rpc methods
skunert a968c70
Fix tests
skunert 332013b
Update client/cli/src/lib.rs
skunert f61cd81
Improve error message of cli validation
skunert ce0bd74
Add rpc client constructor
skunert 2140165
Do not use debug formatting for errors
skunert 2862b22
Merge branch 'master' into skunert-network-interface
skunert 6c88d44
Improve logging for remote runtime methods
skunert 1dc0e01
Merge branch 'master' into skunert-network-interface
skunert 874dfb7
Only retry on transport problems
skunert 28df792
Use PHash by value, rename test
skunert b6236a1
Improve tracing, return error on relay-chain-interface build
skunert c763d46
Fix naming, use generics instead of deserializing manually
skunert c502ae8
Rename RelayChainLocal and RelayChainNetwork
skunert 43eb056
lock
skunert f15097c
Merge branch 'master' into skunert-network-interface
skunert ac455e9
Format
skunert 69e5a38
Use impl trait for encodable runtime payload
skunert 8d851cf
Only instantiate full node in tests when we need it
skunert f6965a2
Merge branch 'master' into skunert-network-interface
skunert f9aa4f0
Upgrade scale-codec to 3.0.0
skunert 3587259
Improve expect log
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
Rename RelayChainLocal and RelayChainNetwork
- Loading branch information
commit c502ae8511c558d318e90244e950a2f6e2c21a77
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 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
2 changes: 1 addition & 1 deletion
2
client/relay-chain-local/Cargo.toml → ...elay-chain-inprocess-interface/Cargo.toml
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
2 changes: 1 addition & 1 deletion
2
client/relay-chain-network/Cargo.toml → client/relay-chain-rpc-interface/Cargo.toml
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.
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.