Skip to content

Commit

Permalink
Merge branch 'main' into donal-update-readme
Browse files Browse the repository at this point in the history
  • Loading branch information
bkchr authored Jan 11, 2025
2 parents 3210dd9 + 859e8d9 commit 0c85a05
Show file tree
Hide file tree
Showing 4 changed files with 16 additions and 2 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -102,6 +102,8 @@ jobs:
env:
RUSTFLAGS: "-C debug-assertions -D warnings"
SKIP_WASM_BUILD: 1
WS: ${{ matrix.runtime.uri }}
RUST_LOG: "remote-ext=info"

- name: Test benchmarks ${{ matrix.runtime.name }}
run: |
Expand Down
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,10 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/).
- Fix missing Encointer democracy pallet hook needed for enactment ([polkadot-fellows/runtimes/pull/508](https://github.com/polkadot-fellows/runtimes/pull/508))
- Improve benchmark configuration: fix storage whitelist in benchmarks ([polkadot-fellows/runtimes/pull/525](https://github.com/polkadot-fellows/runtimes/pull/525))

### Fixed

- Disallow `add_sub` and `set_subs` from `NonTransfer` proxy type in people chain runtimes ([polkadot-fellows/runtimes#518](https://github.com/polkadot-fellows/runtimes/pull/518))

### Added

- Location conversion tests for relays and parachains ([polkadot-fellows/runtimes#487](https://github.com/polkadot-fellows/runtimes/pull/487))
Expand Down
6 changes: 5 additions & 1 deletion system-parachains/people/people-kusama/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -492,7 +492,11 @@ impl InstanceFilter<RuntimeCall> for ProxyType {
c,
RuntimeCall::Balances { .. } |
// `request_judgement` puts up a deposit to transfer to a registrar
RuntimeCall::Identity(pallet_identity::Call::request_judgement { .. })
RuntimeCall::Identity(pallet_identity::Call::request_judgement { .. }) |
// `set_subs` and `add_sub` will take and repatriate deposits from the proxied
// account, should not be allowed.
RuntimeCall::Identity(pallet_identity::Call::add_sub { .. }) |
RuntimeCall::Identity(pallet_identity::Call::set_subs { .. })
),
ProxyType::CancelProxy => matches!(
c,
Expand Down
6 changes: 5 additions & 1 deletion system-parachains/people/people-polkadot/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -456,7 +456,11 @@ impl InstanceFilter<RuntimeCall> for ProxyType {
c,
RuntimeCall::Balances { .. } |
// `request_judgement` puts up a deposit to transfer to a registrar
RuntimeCall::Identity(pallet_identity::Call::request_judgement { .. })
RuntimeCall::Identity(pallet_identity::Call::request_judgement { .. }) |
// `set_subs` and `add_sub` will take and repatriate deposits from the proxied
// account, should not be allowed.
RuntimeCall::Identity(pallet_identity::Call::add_sub { .. }) |
RuntimeCall::Identity(pallet_identity::Call::set_subs { .. })
),
ProxyType::CancelProxy => matches!(
c,
Expand Down

0 comments on commit 0c85a05

Please sign in to comment.