-
Notifications
You must be signed in to change notification settings - Fork 7
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
feat(devnet): activate async backing #143
Conversation
Codecov ReportAttention: Patch coverage is
@@ Coverage Diff @@
## main #143 +/- ##
==========================================
- Coverage 10.60% 10.60% -0.01%
==========================================
Files 27 27
Lines 2131 2132 +1
Branches 2131 2132 +1
==========================================
Hits 226 226
- Misses 1905 1906 +1
|
SlotDuration set due to being enabled for devnet runtime and Rust's feature unification, requiring the setting of a backwards compatible value.
fde96e3
to
7be1434
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice. Works great!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM! Devnet with 6sec block time, testnet 12sec.
Enables async backing for the devnet runtime only, splitting the network config into two using the same name as the runtime. Certain constants had to be copied into the devnet runtime to be altered to as to not affect the testnet runtime.
Note: discovered that the testnet chainspec was using the devnet runtime, meaning the version on paseo may be using the devnet runtime with testnet state. I cant recall when we split the runtimes, and whether that was after the testnet launch, but precaution should be taken on the next onchain runtime upgrade.
It is suggested that apart from a review, both runtimes should be tested via pop up. We should also not merge this before the next runtime upgrade, just in case. I think it should be used for a bit on main first.