Skip to content

Commit

Permalink
Enable democracy / update srtool summary (#642)
Browse files Browse the repository at this point in the history
* release v0.6.7

* update democracy and setup srtool summary

* fmt

* cleanup
  • Loading branch information
1xstj authored May 13, 2024
1 parent e909dea commit a93b343
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
6 changes: 6 additions & 0 deletions .github/workflows/publish-srtool-wasm.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
10 changes: 2 additions & 8 deletions runtime/mainnet/src/filters.rs
Original file line number Diff line number Diff line change
Expand Up @@ -33,16 +33,10 @@ impl Contains<RuntimeCall> for MainnetCallFilter {
}

match call {
// Filter democracy proposals creation
RuntimeCall::Democracy(_) |
// disallow council
RuntimeCall::Council(_) |
// Block jobs and roles pallet
RuntimeCall::Roles(_) |
RuntimeCall::Jobs(_) => false,
RuntimeCall::Roles(_) | RuntimeCall::Jobs(_) => false,
// al other calls are allowed
_ =>true

_ => true,
}
}
}

0 comments on commit a93b343

Please sign in to comment.