-
Notifications
You must be signed in to change notification settings - Fork 0
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
runtimes: add template mainnet runtime #1012
Conversation
cbceec7
to
aa4c644
Compare
0c51602
to
8c7a958
Compare
8c7a958
to
4be8e8b
Compare
.runtime_api() | ||
.account_nonce(best_hash, account.public().into()) | ||
.expect("Fetching account nonce works; qed") | ||
//client |
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.
If it does't give additional context or isn't being restored in future, I would delete comments in general
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.
Yeah, we will need to restore that too. Commenting it out was of the first attempts to get it to compile at least.
let db = partial.backend.expose_db(); | ||
let storage = partial.backend.expose_storage(); | ||
|
||
cmd.run(config, partial.client, db, storage) | ||
}, | ||
BenchmarkCmd::Overhead(cmd) => { | ||
/*BenchmarkCmd::Overhead(cmd) => { |
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.
Did these commands work at some point? Can't remember being used anywhere
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.
Not sure if they were part of it before, but we might want to use some of them to really benchmark the chain.
Description
This add an initial template for the mainnet runtime. There are still a few smaller things missing, most notably separate genesis jsons for mainnet and testnet.
I opened the PR mostly to test early CI integration.
Type of change
Tests
Code still undergoes many changes, additional testing will be done once everything is ready.
Code review prechecks: