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

[stateful storage] add a new extrinsic for PaginatedUpsertSignaturePa… #1651

Merged
merged 1 commit into from
Aug 1, 2023

Conversation

aramikm
Copy link
Collaborator

@aramikm aramikm commented Aug 1, 2023

Goal

The goal of this PR is to allow generating signatures for paginated storages without having msa_id in the payload.

Closes #1642

Discussion

  • for backwards compatibility reasons instead of just removing the msa_id from the payload I created a v2 for the payload and extrinsic
  • benchmarks and stables weights are not changed at all so it's using the old extrinsic one

Checklist

  • Chain spec updated
  • Unit and Integration Tests added

…yloadV2 and PaginatedDeleteSignaturePayloadV2
@codecov
Copy link

codecov bot commented Aug 1, 2023

Codecov Report

Merging #1651 (2b73044) into main (3db9d93) will increase coverage by 1.58%.
The diff coverage is 100.00%.

@@            Coverage Diff             @@
##             main    #1651      +/-   ##
==========================================
+ Coverage   71.94%   73.53%   +1.58%     
==========================================
  Files          49       49              
  Lines        4926     4889      -37     
==========================================
+ Hits         3544     3595      +51     
+ Misses       1382     1294      -88     
Files Changed Coverage Δ
pallets/stateful-storage/src/lib.rs 78.42% <100.00%> (+14.87%) ⬆️
pallets/stateful-storage/src/types.rs 85.57% <100.00%> (+0.28%) ⬆️

📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more

@github-actions github-actions bot added the metadata-changed Metadata has changed since the latest full release label Aug 1, 2023
Copy link
Collaborator

@saraswatpuneet saraswatpuneet left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

@aramikm aramikm merged commit f6fbf84 into main Aug 1, 2023
30 checks passed
@aramikm aramikm deleted the stateful_storage_paginated_update branch August 1, 2023 20:10
@wilwade wilwade added the change/major Major Changes in this PR label Aug 2, 2023
shannonwells pushed a commit that referenced this pull request Apr 16, 2024
#1651)

# Goal
The goal of this PR is to allow generating signatures for paginated
storages without having `msa_id` in the payload.

Closes #1642 

# Discussion
- for backwards compatibility reasons instead of just removing the
msa_id from the payload I created a v2 for the payload and extrinsic
- benchmarks and stables weights are not changed at all so it's using
the old extrinsic one

# Checklist
- [x] Chain spec updated
- [x] Unit and Integration Tests added
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
change/major Major Changes in this PR metadata-changed Metadata has changed since the latest full release
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Stateful storage] Remove msa_id form PaginatedUpsertSignaturePayload and PaginatedDeleteSignaturePayload
4 participants