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

pallet-vesting: Configurable block number provider #2403

Merged
merged 20 commits into from
Dec 11, 2023

Conversation

arrudagates
Copy link
Contributor

This PR makes the block number provider configurable through the Config trait in pallet-vesting, this gives parachains the option to use the relay chain block number provider from ParachainSystem.

@arrudagates arrudagates requested review from a team November 19, 2023 22:07
@paritytech-review-bot paritytech-review-bot bot requested a review from a team November 19, 2023 22:07
@joepetrowski
Copy link
Contributor

bot fmt

@command-bot
Copy link

command-bot bot commented Nov 20, 2023

@joepetrowski https://gitlab.parity.io/parity/mirrors/polkadot-sdk/-/jobs/4398815 was started for your command "$PIPELINE_SCRIPTS_DIR/commands/fmt/fmt.sh". Check out https://gitlab.parity.io/parity/mirrors/polkadot-sdk/-/pipelines?page=1&scope=all&username=group_605_bot to know what else is being executed currently.

Comment bot cancel 68-f86e773d-01e1-4bd5-a2a6-ad0a2d5f7464 to cancel this command or bot cancel to cancel all commands in this pull request.

@joepetrowski joepetrowski added the T1-FRAME This PR/Issue is related to core FRAME, the framework. label Nov 20, 2023
@command-bot
Copy link

command-bot bot commented Nov 20, 2023

@joepetrowski Command "$PIPELINE_SCRIPTS_DIR/commands/fmt/fmt.sh" has finished. Result: https://gitlab.parity.io/parity/mirrors/polkadot-sdk/-/jobs/4398815 has finished. If any artifacts were generated, you can download them from https://gitlab.parity.io/parity/mirrors/polkadot-sdk/-/jobs/4398815/artifacts/download.

@paritytech-ci paritytech-ci requested a review from a team November 20, 2023 06:35
@arrudagates
Copy link
Contributor Author

These errors are not showing up when running the commands locally...

@bkchr
Copy link
Member

bkchr commented Nov 22, 2023

@arrudagates you still need to fix the benchmarking to use the BlockNumberProvider as well for the set_block_number calls.

@bkchr bkchr enabled auto-merge (squash) November 24, 2023 16:00
auto-merge was automatically disabled November 27, 2023 15:37

Merge queue setting changed

@bkchr
Copy link
Member

bkchr commented Dec 8, 2023

@arrudagates can you please add a prdoc as decribed here. Ty

substrate/frame/vesting/src/lib.rs Outdated Show resolved Hide resolved
@bkchr
Copy link
Member

bkchr commented Dec 11, 2023

@arrudagates
Copy link
Contributor Author

prdoc/pr_2403.prdoc Outdated Show resolved Hide resolved
@bkchr
Copy link
Member

bkchr commented Dec 11, 2023

@arrudagates the benchmarks for pallet-vesting are still failing. You should be able to reproduce this by running cargo test -p pallet-vesting --features runtime-benchmarks locally.

@bkchr bkchr merged commit c2d45e7 into paritytech:master Dec 11, 2023
114 of 115 checks passed
@arrudagates arrudagates deleted the gabriel-vesting_block_provider branch December 13, 2023 13:09
@Polkadot-Forum
Copy link

This pull request has been mentioned on Polkadot Forum. There might be relevant details there:

https://forum.polkadot.network/t/polkadot-release-analysis-v1-6-0/5855/1

bkontur added a commit to bkontur/runtimes that referenced this pull request Jan 29, 2024
bkontur added a commit to bkontur/runtimes that referenced this pull request Jan 29, 2024
bkontur added a commit to bkontur/runtimes that referenced this pull request Jan 30, 2024
bkontur added a commit to bkontur/runtimes that referenced this pull request Feb 3, 2024
bkontur added a commit to bkontur/runtimes that referenced this pull request Feb 3, 2024
bkontur added a commit to bkontur/runtimes that referenced this pull request Feb 6, 2024
bgallois pushed a commit to duniter/duniter-polkadot-sdk that referenced this pull request Mar 25, 2024
This PR makes the block number provider configurable through the Config
trait in pallet-vesting, this gives parachains the option to use the
relay chain block number provider from ParachainSystem.

---------

Co-authored-by: Bastian Köcher <git@kchr.de>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
T1-FRAME This PR/Issue is related to core FRAME, the framework.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants