Skip to content

Commit

Permalink
Cherry picks 0.9.43 + CI fixes (#7)
Browse files Browse the repository at this point in the history
* fix randomness benchmarks

* fix vrf_output

* fix try-runtime in pallet-migrations

* export WeightInfo to allow different node template benchmarks (#4)

* pallet-maintenance-mode: fix compilation with no default features (#3)

* pallet-maintenance-mode: fix compilation with no default features

* Remove leftover pallet_migrations files

* make compile template files

* install protoc

* keep fixing stuff

* change template name

* update lock

* rename to moonkit_tempalte_runtime

---------

Co-authored-by: agus <[email protected]>
Co-authored-by: Nisheeth Barthwal <[email protected]>
Co-authored-by: girazoki <[email protected]>
  • Loading branch information
4 people authored Aug 29, 2023
1 parent 30264a4 commit 4b0317c
Show file tree
Hide file tree
Showing 20 changed files with 4,343 additions and 586 deletions.
3 changes: 2 additions & 1 deletion .cargo/config.toml
Original file line number Diff line number Diff line change
Expand Up @@ -31,5 +31,6 @@ rustflags = [
"-Aclippy::while_immutable_condition", # false positives
"-Aclippy::needless_option_as_deref", # false positives
"-Aclippy::derivable_impls", # false positives
"-Aclippy::explicit_counter_loop" # irrelevant
"-Aclippy::explicit_counter_loop", # irrelevant
"-Aclippy::redundant_closure_call" # false positives
]
12 changes: 9 additions & 3 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -197,6 +197,8 @@ jobs:
uses: actions/checkout@v3
with:
ref: ${{ needs.set-tags.outputs.git_ref }}
- name: Install Protoc
uses: arduino/setup-protoc@v1
- name: Cargo build
uses: ./.github/workflow-templates/cargo-build
- name: Upload runtimes
Expand All @@ -207,8 +209,8 @@ jobs:
- name: Upload binary
uses: actions/[email protected]
with:
name: moonbeam
path: build
name: moonkit-template
path: build/moonkit-template

build-features:
runs-on:
Expand All @@ -219,6 +221,8 @@ jobs:
uses: actions/checkout@v3
with:
ref: ${{ needs.set-tags.outputs.git_ref }}
- name: Install Protoc
uses: arduino/setup-protoc@v1
- name: Cargo build
uses: ./.github/workflow-templates/cargo-build
with:
Expand All @@ -227,7 +231,7 @@ jobs:
uses: actions/[email protected]
with:
name: moonkit-template-features
path: build
path: build/moonkit-template

rust-test:
runs-on:
Expand All @@ -242,6 +246,8 @@ jobs:
uses: actions/checkout@v3
with:
ref: ${{ needs.set-tags.outputs.git_ref }}
- name: Install Protoc
uses: arduino/setup-protoc@v1
- name: Run sccache-cache
uses: mozilla-actions/[email protected]
- name: Setup Variables
Expand Down
Loading

0 comments on commit 4b0317c

Please sign in to comment.