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

async backing phase 1, 2. Block production 12 secs #890

Open
wants to merge 56 commits into
base: main
Choose a base branch
from

Conversation

asiniscalchi
Copy link
Member

@asiniscalchi asiniscalchi commented Nov 22, 2024

just the phase 1 and 2 of the integration. That means block production is still 12 secs:
https://wiki.polkadot.network/docs/maintain-guides-async-backing

magecnion and others added 26 commits November 14, 2024 11:35
…gurations (#853)

* compile contract and script to deploy

* check estimate gas

* add logs

* WIP use moonbeam impl

* add download_polkadot.sh

* use script in ci

* add rest of the async back config

* remove Balances contract tests

* remove logs from zombienet

* fm

* fmt

* remove async backing config

* fmt

* try darwinia patch

* uninclude segmnet capacity to 1

* cumulus parachain system set for async backing

* compiling

* pallet weight

* set timestamp

* fix compilation

* fix clippy

* fmt

* update tests

* add laos time constants

* fix timing for governance and main pallets

* test passing

* phase 1 migration completed

* phase 2 completed

* first implementation migration vesting

* just infrastructure

* test infrastructure

* more tests

* refactoring migrations

* refactoring

* per block is divided per 2

* all test passing

* refactoring

* refactoring tests

* refactoring

* pre and post

* add pre and post

* more logs and comments

* set the condition to execute the migration

* conditional on the migration

* clippy

* change test name

* corrupted state

* migration of max vested per account

* refactoring

* fix clippy

* new v15 golden file

* fix

* using safe math

* add test to check new max is 2x old one

* separate writes reads count

* safe math

* fix e2e test

* add info logs for tryruntime jobs

* add the migration of bnlocks per round

* add the migration of bnlocks per round

* fix weights

* completed

* namke refactoring

* refactoring

* clippy

* fix e2e tests

* fmt

* prettier

* remove possible panic

* Update runtime/laos/src/migrations/async_backing.rs

Co-authored-by: Luigi di Girolamo <17044119+luispdm@users.noreply.github.com>

* fmt

---------

Co-authored-by: magecnion <magecnion@gmail.com>
Co-authored-by: Luigi di Girolamo <17044119+luispdm@users.noreply.github.com>
* compile contract and script to deploy

* check estimate gas

* add logs

* WIP use moonbeam impl

* add download_polkadot.sh

* use script in ci

* add rest of the async back config

* remove Balances contract tests

* remove logs from zombienet

* fm

* fmt

* try darwinia patch

* clippy

* test query pending state

* npm run fmt

* use real storage value to get pending state

* remove unneeded code

* rename test

* use hardhat instead of truffle

* add test deploy with HH

* add types so typescript doesnt complain

* update tsconfig.json make less strict

* fix use this.context

* add test-deploy to ci

* fix npm command

* fix e2e job github action file

* don't remove Storage.sol file

---------

Co-authored-by: magecnion <magecnion@gmail.com>
…ata' into fix/missing-parachain-inherent-data
@asiniscalchi asiniscalchi changed the title Feature/async backing phase 1 2 async backing phase 1, 2. Block production 12 secs Nov 22, 2024
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.

2 participants