Skip to content

Commit

Permalink
feat(stateful-signed-extension): change tx tag in signed ext. to tuple
Browse files Browse the repository at this point in the history
  • Loading branch information
JoeCap08055 committed Mar 8, 2023
1 parent 72559e5 commit 2983daf
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions pallets/stateful-storage/src/stateful_signed_extension.rs
Original file line number Diff line number Diff line change
Expand Up @@ -91,8 +91,7 @@ impl<T: Config> StatefulStorageValidate<T> for Pallet<T> {
.map_err(|e| map_dispatch_error(e))?;

return ValidTransaction::with_tag_prefix(TAG_PREFIX)
.and_provides(msa_id)
.and_provides(schema_id)
.and_provides((msa_id, schema_id))
.build()
}

Expand Down Expand Up @@ -140,9 +139,7 @@ impl<T: Config> StatefulStorageValidate<T> for Pallet<T> {
.map_err(|e| map_dispatch_error(e))?;

return ValidTransaction::with_tag_prefix(TAG_PREFIX)
.and_provides(msa_id)
.and_provides(schema_id)
.and_provides(page_id)
.and_provides((msa_id, schema_id, page_id))
.build()
}
}
Expand Down

0 comments on commit 2983daf

Please sign in to comment.