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

Sys 3828 upgrade substrate version #362

Merged
merged 22 commits into from
Feb 26, 2024

Conversation

ivan-cholakov
Copy link
Contributor

@ivan-cholakov ivan-cholakov commented Feb 22, 2024

Proposed changes

  • Upgraded from v0.9.36 to v1.0.0.
  • Updated dependencies versions.
  • Change the processed_events type on genesis from EthEventId to a tuple of H256.
  • Recalculated benchmarks
Screencast.from.22-02-24.11.07.24.webm

Tested locally and on increment chain

Type of change/Merge

🚨What type of change is this PR?

Put an x in the boxes that apply

  • Release
    • Increase versions
    • Baseline tests passed
    • Release type:
      • Major release
      • Minor release
      • Patch release

Checklist

Put an x in the boxes that apply. You can also fill these out after creating the PR.

  • You describe the purpose of the PR, e.g.:
    • What does it do?
    • Highlight what important points reviewers should know about;
    • Indicates if there is something left for follow-up PRs.
  • Documentation updated
  • Business logic tested successfully
  • Verify First, Write Last: In Substrate development, it is important that you always ensure preconditions are met and return errors at the beginning. After these checks have completed, then you may begin the function's computation.

@ivan-cholakov ivan-cholakov force-pushed the SYS-3828-upgrade-substrate-version branch from c8ecccc to 36be878 Compare February 22, 2024 11:10
pallets/ethereum-events/src/lib.rs Outdated Show resolved Hide resolved
pallets/parachain-staking/Cargo.toml Show resolved Hide resolved
Comment on lines +5736 to +5738
// Balances::set_lock(NOMINATOR_LOCK_ID, &account_id, 0, WithdrawReasons::all());
// // Note that we tried to call `set_lock(0)` and it ignored it, we still have our lock
// assert_eq!(crate::mock::query_lock_amount(account_id, NOMINATOR_LOCK_ID), Some(1));
Copy link
Contributor

Choose a reason for hiding this comment

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

this seems to be left commented out.
We are skipping a check/test this way

pallets/token-manager/Cargo.toml Show resolved Hide resolved
pallets/token-manager/src/mock.rs Show resolved Hide resolved
pallets/validators-manager/src/tests/mock.rs Show resolved Hide resolved
runtime/avn/src/lib.rs Outdated Show resolved Hide resolved
ivan-cholakov and others added 2 commits February 26, 2024 10:59
Co-authored-by: Thanos Doukoudakis <56822898+thadouk@users.noreply.github.com>
Signed-off-by: Ivan Cholakov <icholakov1@gmail.com>
ivan-cholakov and others added 2 commits February 26, 2024 13:19
Co-authored-by: Thanos Doukoudakis <56822898+thadouk@users.noreply.github.com>
Signed-off-by: Ivan Cholakov <icholakov1@gmail.com>
@ivan-cholakov ivan-cholakov merged commit 1008880 into main Feb 26, 2024
5 checks passed
@ivan-cholakov ivan-cholakov deleted the SYS-3828-upgrade-substrate-version branch February 26, 2024 14:27
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.

5 participants