mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-04-25 23:27:56 +00:00
contracts: Allow contracts to dispatch calls into the runtime (#9276)
* contracts: Allow contracts to dispatch calls into the runtime * Fix RPC tests * Fix typo * Replace () by AllowAllFilter and DenyAllFilter * Add rust doc * Fixup for `()` removal * Fix lowest gas calculation * Rename AllowAllFilter and DenyAllFilter * Updated changelog
This commit is contained in:
committed by
GitHub
parent
2f31602896
commit
e01ac8cea0
@@ -143,7 +143,7 @@ And update the overall definition for weights on frame and a few related types a
|
||||
+const_assert!(NORMAL_DISPATCH_RATIO.deconstruct() >= AVERAGE_ON_INITIALIZE_RATIO.deconstruct());
|
||||
+
|
||||
+impl frame_system::Config for Runtime {
|
||||
type BaseCallFilter = ();
|
||||
type BaseCallFilter = frame_support::traits::AllowAll;
|
||||
+ type BlockWeights = RuntimeBlockWeights;
|
||||
+ type BlockLength = RuntimeBlockLength;
|
||||
+ type DbWeight = RocksDbWeight;
|
||||
|
||||
Reference in New Issue
Block a user