Skip to content

Update subxt and substrate dependencies#1149

Merged
ascjones merged 14 commits into
masterfrom
aj/update-subxt
Jun 23, 2023
Merged

Update subxt and substrate dependencies#1149
ascjones merged 14 commits into
masterfrom
aj/update-subxt

Conversation

@ascjones
Copy link
Copy Markdown
Collaborator

@ascjones ascjones commented Jun 6, 2023

@ascjones
Copy link
Copy Markdown
Collaborator Author

ascjones commented Jun 8, 2023

Depends on new substrate-contracts-node release paritytech/substrate-contracts-node#192

Blocked on updating substrate-contracts-node to polkadot-v0.9.43, which in fact contains the updated ContractResult<R, Balance, EventRecord> with the EventRecord parameter type.

@ascjones ascjones marked this pull request as ready for review June 22, 2023 11:01
ascjones added a commit to paritytech/substrate-contracts-node that referenced this pull request Jun 22, 2023
@ascjones ascjones merged commit 6304a68 into master Jun 23, 2023
@ascjones ascjones deleted the aj/update-subxt branch June 23, 2023 10:46
@JoshOrndorff
Copy link
Copy Markdown

JoshOrndorff commented Jun 28, 2023

I see that the contracts_runtime.scale file changed in this PR. How often does that happen? And how to you generate that file?

If I want to make cargo contract work with my chain that uses AccountId20 do I need to generate a similar file from my own runtime?

I've also asked about this in https://substrate.stackexchange.com/q/9055/372

EDIT: I've at least figured out how to generate the file now from https://docs.rs/subxt/0.29.0/subxt/attr.subxt.html#metadata

I'm still not totally clear on when and whether i need to regenerate it, but I'm experimenting now. My guess is that AccountId is a sufficiently important change that I'll need to regenerate it.

This was referenced Jul 26, 2023
@smiasojed smiasojed mentioned this pull request Mar 4, 2024
isaiah86z added a commit to isaiah86z/substrate-contracts-node that referenced this pull request Sep 7, 2025
maxallen687 added a commit to maxallen687/substrate that referenced this pull request Jan 16, 2026
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.

Update pallet contracts primitives with new generic

3 participants