From 1470eafbf07c77b6734c3be139d40982dd3a7c90 Mon Sep 17 00:00:00 2001 From: 1xstj <106580853+1xstj@users.noreply.github.com> Date: Mon, 13 May 2024 09:06:23 +0100 Subject: [PATCH] update democracy and setup srtool summary --- .github/workflows/generate-srtool-wasm.yml | 8 +++++++- .github/workflows/publish-srtool-wasm.yml | 6 ++++++ runtime/mainnet/src/filters.rs | 4 ---- 3 files changed, 13 insertions(+), 5 deletions(-) diff --git a/.github/workflows/generate-srtool-wasm.yml b/.github/workflows/generate-srtool-wasm.yml index 6ccca997e..614b0552b 100644 --- a/.github/workflows/generate-srtool-wasm.yml +++ b/.github/workflows/generate-srtool-wasm.yml @@ -4,7 +4,7 @@ on: workflow_dispatch: push: - branches: [main] + branches: [main, update-democracy] jobs: srtool: @@ -39,6 +39,12 @@ jobs: cat ${{ matrix.chain }}-srtool-digest.json echo "Runtime location: ${{ steps.srtool_build.outputs.wasm }}" + echo Summary: + echo - version: ${{ steps.srtool_build.outputs.version }} + echo - info: ${{ steps.srtool_build.outputs.info }} + echo - prop: ${{ steps.srtool_build.outputs.proposal_hash }} + echo - json: ${{ steps.srtool_build.outputs.json }} + - name: Archive Runtime uses: actions/upload-artifact@v2 with: diff --git a/.github/workflows/publish-srtool-wasm.yml b/.github/workflows/publish-srtool-wasm.yml index 1713ea43b..70a26008b 100644 --- a/.github/workflows/publish-srtool-wasm.yml +++ b/.github/workflows/publish-srtool-wasm.yml @@ -38,6 +38,12 @@ jobs: cat ${{ matrix.chain }}-srtool-digest.json echo "Runtime location: ${{ steps.srtool_build.outputs.wasm }}" + echo Summary: + echo - version: ${{ steps.srtool_build.outputs.version }} + echo - info: ${{ steps.srtool_build.outputs.info }} + echo - prop: ${{ steps.srtool_build.outputs.proposal_hash }} + echo - json: ${{ steps.srtool_build.outputs.json }} + - name: Upload ${{ matrix.chain }} wasm to release if: matrix.chain == 'mainnet' uses: svenstaro/upload-release-action@v2 diff --git a/runtime/mainnet/src/filters.rs b/runtime/mainnet/src/filters.rs index 02241147e..03cdd5f56 100644 --- a/runtime/mainnet/src/filters.rs +++ b/runtime/mainnet/src/filters.rs @@ -33,10 +33,6 @@ impl Contains for MainnetCallFilter { } match call { - // Filter democracy proposals creation - RuntimeCall::Democracy(_) | - // disallow council - RuntimeCall::Council(_) | // Block jobs and roles pallet RuntimeCall::Roles(_) | RuntimeCall::Jobs(_) => false,