Skip to content
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

Update for new Perun-Polkadot-Node (Polkadot v1.9) #20

Merged
merged 4 commits into from
Apr 25, 2024
Merged

Conversation

NhoxxKienn
Copy link
Contributor

@NhoxxKienn NhoxxKienn commented Apr 22, 2024

This PR wants to update the RPC package for communicating with the Perun-Polkadot-Node.

Changes made:

  • Update go-substrate-rpc-client from V3 to V4.
  • Change the expected Metadata version from 13 to 14.
  • Skip event sub if encountering EOF error; this allows the crawl of events of a node with total blocks < BlockQueryDepth

Important: This PR is part of the larger task to update Go-Perun-Polkadot to version 0.10.6. This is related to these PRs: perun-examples, perun-polkdadot-node, perun-polkadot-pallet.

Also the CI required a working newer version of the Polkadot-Node container registry.

Signed-off-by: Minh Huy Tran <huy@perun.network>
Signed-off-by: Minh Huy Tran <huy@perun.network>
@NhoxxKienn NhoxxKienn force-pushed the update_rpc branch 4 times, most recently from a2400a6 to ab03e09 Compare April 23, 2024 11:30
Signed-off-by: Minh Huy Tran <huy@perun.network>
pkg/substrate/conversion.go Outdated Show resolved Hide resolved
Signed-off-by: Minh Huy Tran <huy@perun.network>
@NhoxxKienn NhoxxKienn merged commit 589d0ae into main Apr 25, 2024
2 checks passed
@NhoxxKienn NhoxxKienn deleted the update_rpc branch April 25, 2024 07:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants