Skip to content

Commit bab4fe2

Browse files
committed
Revert unrelated InstanceFilter change in mock
The proxy chain extensions use verify_proxy which reads Proxies storage directly — it does not use InstanceFilter::filter(). Revert the transfer_stake/set_coldkey_auto_stake_hotkey filter reorganization as it is not part of proxy dispatch work.
1 parent 50bcf10 commit bab4fe2

1 file changed

Lines changed: 1 addition & 7 deletions

File tree

chain-extensions/src/mock.rs

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -156,13 +156,7 @@ impl frame_support::traits::InstanceFilter<RuntimeCall> for subtensor_runtime_co
156156
| RuntimeCall::SubtensorModule(pallet_subtensor::Call::swap_stake { .. })
157157
| RuntimeCall::SubtensorModule(pallet_subtensor::Call::swap_stake_limit { .. })
158158
| RuntimeCall::SubtensorModule(pallet_subtensor::Call::move_stake { .. })
159-
| RuntimeCall::SubtensorModule(
160-
pallet_subtensor::Call::set_coldkey_auto_stake_hotkey { .. }
161-
)
162-
),
163-
subtensor_runtime_common::ProxyType::Transfer => matches!(
164-
c,
165-
RuntimeCall::SubtensorModule(pallet_subtensor::Call::transfer_stake { .. })
159+
| RuntimeCall::SubtensorModule(pallet_subtensor::Call::transfer_stake { .. })
166160
),
167161
_ => false,
168162
}

0 commit comments

Comments
 (0)