feat: wire available foreign chains API into node and e2e tests#3512
Open
anodar wants to merge 2 commits into
Open
feat: wire available foreign chains API into node and e2e tests#3512anodar wants to merge 2 commits into
anodar wants to merge 2 commits into
Conversation
|
PR title type suggestion: This PR adds new functionality for foreign chain transaction verification and configuration, so it should use the Suggested title: |
Pull request overviewAdds the node-side wiring for the new Changes:
Reviewed changesPer-file summary
FindingsNon-blocking (nits, follow-ups, suggestions):
Approved |
…gistration Adds register_foreign_chains_config / get_foreign_chains_configs to the contract: a new registration path keyed by each node's Ed25519 TLS public key (rather than AccountId). Introduces ForeignChainsMetadata to hold the per-node map alongside the existing RPC whitelist and available-chain cache. Coexists with the legacy register_foreign_chain_support until node and contract have both migrated.
…2e tests Connects the new contract registration path to the node: coordinator sends register_foreign_chains_config on startup (alongside the legacy call), tx_sender and indexer types carry the new RPC, fake contract mirrors the real semantics. Adds e2e test coverage and updates docs to reflect the new TLS-key-keyed API.
c4ceaac to
5870113
Compare
3a66f1d to
76b5ebd
Compare
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Node side changes from: #3484
Work towards: #3475
Followup on: #3511