Skip to content

Commit

Permalink
fix: regenerate subxt for dynamic dory changes
Browse files Browse the repository at this point in the history
The chain recently merged changes to the commitment schemes types.
This resulted in new type metadata being generated - in particular,
CommitmentScheme::Dory is now CommitmentScheme::DynamicDory.
  • Loading branch information
tlovell-sxt committed Oct 29, 2024
1 parent fb73f85 commit dc5274e
Show file tree
Hide file tree
Showing 2 changed files with 502 additions and 127 deletions.
2 changes: 1 addition & 1 deletion sdk/src/substrate.rs
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ pub async fn query_commitments(
let table_id = resource_id_to_table_id(&id);
let commitments_query = storage()
.commitments()
.commitment_storage_map(&table_id, &CommitmentScheme::Dory);
.commitment_storage_map(&table_id, &CommitmentScheme::DynamicDory);
let table_commitment_bytes: TableCommitmentBytes = api
.storage()
.at_latest()
Expand Down
Loading

0 comments on commit dc5274e

Please sign in to comment.