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

chore: bump subxt version to 0.37.0 #1721

Closed
wants to merge 3 commits into from
Closed

chore: bump subxt version to 0.37.0 #1721

wants to merge 3 commits into from

Conversation

AlexD10S
Copy link
Contributor

@AlexD10S AlexD10S commented Aug 7, 2024

This PR upgrades the subxt and subxt-signer library from version 0.35.3 to 0.37.0.
This upgrade is necessary because version 0.37 of subxt includes support for the signed extension CheckMetadataHash.

This solves an issue when uploading a smart contract on certain chains.
How to Replicate the Issue:

// Generate a contracts parachain
pop new parachain contracts-parachain --template contracts
cd contracts-parachain
// Run it
pop up parachain -f ./network.toml
// Generate a new smart contract
cd .. & pop new contract
// Try to upload it
cargo contract upload --suri //Alice --url ws://127.0.0.1:57869 -x

This will throw the error:

ERROR: Extrinsic params error: The chain expects a signed extension with the name CheckMetadataHash, but we did not provide one

This issue is resolved with this upgrade.

@AlexD10S AlexD10S closed this Aug 7, 2024
@AlexD10S AlexD10S deleted the alex/bump-subxt branch August 7, 2024 11:55
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.

1 participant