-
Notifications
You must be signed in to change notification settings - Fork 20
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add moonbase runtime and chain spec (#446)
* Add moonbase runtime and chain spec * Add moonbase chain specs into command * Add generated moonbase chain specs * Add moonbase option in scripts and CI workflows * Add moonbase option in CI workflows * Add moonbase option in scripts and CI workflows * update moonbase genesis info * update moonbase chain spec using :moobase Co-authored-by: Kailai Wang <[email protected]>
- Loading branch information
1 parent
9a47338
commit e3566a6
Showing
45 changed files
with
4,717 additions
and
19 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -7,16 +7,17 @@ on: | |
type: choice | ||
description: The chain whose runtime is benchmarked | ||
options: | ||
- litmus | ||
- litentry | ||
- rococo | ||
- litmus | ||
- litentry | ||
- rococo | ||
- moonbase | ||
pallets: | ||
description: pallets to benchmark, * for all, or comma listed (e.g. frame-system,pallet-proxy) | ||
default: '*' | ||
default: "*" | ||
required: true | ||
|
||
env: | ||
REMOTE_HOST: parachain-benchmark # remote host to run benchmarking upon, must be ssh reachable | ||
REMOTE_HOST: parachain-benchmark # remote host to run benchmarking upon, must be ssh reachable | ||
|
||
jobs: | ||
## build docker image with runtime-benchmarks feature, and then run the benchmarking remotely | ||
|
@@ -62,13 +63,13 @@ jobs: | |
- name: Create auto PR | ||
uses: peter-evans/create-pull-request@v3 | ||
with: | ||
commit-message: '[benchmarking bot] Auto commit generated weights files' | ||
commit-message: "[benchmarking bot] Auto commit generated weights files" | ||
committer: benchmarking bot <[email protected]> | ||
author: ${{ github.actor }} <${{ github.actor }}@users.noreply.github.com> | ||
signoff: false | ||
branch: benchmarking-bot-${{ github.run_id }} | ||
delete-branch: true | ||
title: '[benchmarking bot] Update generated weights files' | ||
title: "[benchmarking bot] Update generated weights files" | ||
body: | | ||
This is an automatically created PR. | ||
It updates the weights files under `runtime/${{ github.event.inputs.chain }}/src/weights/*.rs` after running benchmarks on the remote machine: ${{ env.REMOTE_HOST }} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -12,4 +12,5 @@ members = [ | |
'runtime/litentry', | ||
'runtime/litmus', | ||
'runtime/rococo', | ||
'runtime/moonbase', | ||
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
{ | ||
"rootKey": "jcMcexZDWw6PUEeSEXAcGppmyy1mSzSvgHCmge6jYYmVma2Y7", | ||
"invulnerables": [ | ||
[ | ||
"jcRVUU8svEMTtwJjX1HzySNrrVEHVnoAdNAmhnbM8ub5dfbM9", | ||
"jcSmq9jXyvZWwJQY6cqf7fCAbnFpesph35H3iqKPgSexTLbCr" | ||
] | ||
], | ||
"candidacyBond": "16000000000000", | ||
"endowedAccounts": [ | ||
[ | ||
"jcRVUU8svEMTtwJjX1HzySNrrVEHVnoAdNAmhnbM8ub5dfbM9", | ||
"1000000000000000" | ||
], | ||
[ | ||
"jcMcexZDWw6PUEeSEXAcGppmyy1mSzSvgHCmge6jYYmVma2Y7", | ||
"1000000000000000" | ||
], | ||
[ | ||
"jcS2wD5jDwouCqVABGCZhVjKQQm3ZHxMYTabySfT3Pygzck9W", | ||
"1000000000000000" | ||
] | ||
], | ||
"council": [ | ||
"jcRVUU8svEMTtwJjX1HzySNrrVEHVnoAdNAmhnbM8ub5dfbM9" | ||
], | ||
"technicalCommittee": [ | ||
"jcRVUU8svEMTtwJjX1HzySNrrVEHVnoAdNAmhnbM8ub5dfbM9" | ||
], | ||
"bootNodes": [ | ||
"/dns/moonbase-parachain-sg-0.litentry.io/tcp/40333/ws/p2p/12D3KooWB4f2J7EzKNDmuc4pEgJR9F7w3nE3JNWEEad6PphJhTNx" | ||
], | ||
"telemetryEndpoints": [ | ||
"wss://telemetry-backend.parachain.litentry.io/submit" | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.