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(upgrade): v1.4.0 to v1.5.0 #2034

Merged
merged 1 commit into from
Jun 24, 2024

Conversation

enddynayn
Copy link
Collaborator

@enddynayn enddynayn commented Jun 18, 2024

  • Upgrade Polkadot-sdk to v.1.5.0.
  • Update weights to reflect the new version.
  • Modify extrinsic weight test due to a 25% improvement in weights.

For more details, please refer to:

Release Notes
Release Analysis

#1813

Copy link

codecov bot commented Jun 18, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

@github-actions github-actions bot added the metadata-changed Metadata has changed since the latest full release label Jun 18, 2024
@enddynayn enddynayn marked this pull request as ready for review June 18, 2024 18:52
@enddynayn enddynayn requested a review from wilwade as a code owner June 18, 2024 18:52
Copy link
Collaborator

@aramikm aramikm left a comment

Choose a reason for hiding this comment

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

Looks good!

@github-actions github-actions bot added metadata-changed Metadata has changed since the latest full release and removed metadata-changed Metadata has changed since the latest full release labels Jun 18, 2024
fn check_weight() {
let p = CENTS / 10;
let q = Balance::from(ExtrinsicBaseWeight::get().ref_time());
// #[test]
Copy link
Collaborator

Choose a reason for hiding this comment

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

Why is this test commented out? Should it be removed?

Copy link
Collaborator Author

@enddynayn enddynayn Jun 20, 2024

Choose a reason for hiding this comment

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

Good question. I am working on getting the new values. The improvements in weights are causing this test to fail. I commented out so that I can run the weights.

Copy link
Collaborator Author

@enddynayn enddynayn Jun 24, 2024

Choose a reason for hiding this comment

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

@mattheworris I wanted to follow up regarding the test we implemented to monitor improvements or regressions in the extrinsic weights. After reviewing it, I have updated the test to reflect the new range of weights based on the improvements observed.

We are not planning to make any changes to our fees at this time. However, please feel free to share your opinion.

Copy link
Collaborator

@mattheworris mattheworris left a comment

Choose a reason for hiding this comment

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

  • Read through changes
  • Non-blocking comment
    lgtm

@@ -40,7 +40,7 @@ impl<Block: BlockT> HeaderBackend<Block> for TestApi {

fn status(
&self,
_id: <Block as sp_api::BlockT>::Hash,
_id: Block::Hash,
Copy link
Collaborator

Choose a reason for hiding this comment

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

🥇

@github-actions github-actions bot added the metadata-changed Metadata has changed since the latest full release label Jun 20, 2024
Copy link
Collaborator

@claireolmstead claireolmstead left a comment

Choose a reason for hiding this comment

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

LGTM!

@enddynayn enddynayn force-pushed the chore/upgrade-polkadot-v1.4.0-to-v1.5.0-issue-1813 branch from f147b27 to 43249ad Compare June 24, 2024 17:56
@github-actions github-actions bot removed the metadata-changed Metadata has changed since the latest full release label Jun 24, 2024
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!!

@enddynayn enddynayn force-pushed the chore/upgrade-polkadot-v1.4.0-to-v1.5.0-issue-1813 branch from 49b8afb to c289442 Compare June 24, 2024 20:08
@github-actions github-actions bot added metadata-changed Metadata has changed since the latest full release metadata-version-not-incremented Metadata has changed since the latest full release, but the version has not been incremented labels Jun 24, 2024
Copy link
Collaborator

@shannonwells shannonwells left a comment

Choose a reason for hiding this comment

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

LGTM

@enddynayn enddynayn force-pushed the chore/upgrade-polkadot-v1.4.0-to-v1.5.0-issue-1813 branch from c289442 to 30d9cda Compare June 24, 2024 21:33
@github-actions github-actions bot added metadata-changed Metadata has changed since the latest full release and removed metadata-changed Metadata has changed since the latest full release metadata-version-not-incremented Metadata has changed since the latest full release, but the version has not been incremented labels Jun 24, 2024
- Upgrade Polkadot-sdk to v.1.5.0.
- Update weights to reflect the new version.
- Modify extrinsic weight test due to a 25% improvement in weights.

For more details, please refer to:

[Release Notes](https://github.com/paritytech/polkadot-sdk/releases/tag/polkadot-v1.5.0)
[Release Analysis](https://forum.polkadot.network/t/polkadot-release-analysis-v1-5-0/5358)

issue-1813
@enddynayn enddynayn force-pushed the chore/upgrade-polkadot-v1.4.0-to-v1.5.0-issue-1813 branch from 30d9cda to 2333bf3 Compare June 24, 2024 22:21
@github-actions github-actions bot added metadata-changed Metadata has changed since the latest full release and removed metadata-changed Metadata has changed since the latest full release labels Jun 24, 2024
@enddynayn enddynayn merged commit 91f1939 into main Jun 24, 2024
28 checks passed
@enddynayn enddynayn deleted the chore/upgrade-polkadot-v1.4.0-to-v1.5.0-issue-1813 branch June 24, 2024 22:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
metadata-changed Metadata has changed since the latest full release
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

6 participants