mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-04-26 20:27:58 +00:00
contracts: Reduce the API surface (#8359)
* contracts: Remove types and storage from the public interface * contracts: Remove current_schedule() getter * contracts: Improve documentation * Update README.md * Fix integration test
This commit is contained in:
committed by
GitHub
parent
d343683ca9
commit
d98a3c7942
@@ -295,10 +295,9 @@ pub fn testnet_genesis(
|
||||
phantom: Default::default(),
|
||||
},
|
||||
pallet_contracts: ContractsConfig {
|
||||
current_schedule: pallet_contracts::Schedule {
|
||||
enable_println, // this should only be enabled on development chains
|
||||
..Default::default()
|
||||
},
|
||||
// println should only be enabled on development chains
|
||||
current_schedule: pallet_contracts::Schedule::default()
|
||||
.enable_println(enable_println),
|
||||
},
|
||||
pallet_sudo: SudoConfig {
|
||||
key: root_key,
|
||||
|
||||
Reference in New Issue
Block a user