mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-04-27 12:48:00 +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
@@ -17,7 +17,7 @@
|
||||
|
||||
use crate::{
|
||||
BalanceOf, ContractInfo, ContractInfoOf, Pallet,
|
||||
RawAliveContractInfo, Config, Schedule,
|
||||
Config, Schedule,
|
||||
Error, storage::Storage,
|
||||
chain_extension::{
|
||||
Result as ExtensionResult, Environment, ChainExtension, Ext, SysConfig, RetVal,
|
||||
@@ -26,6 +26,7 @@ use crate::{
|
||||
exec::{AccountIdOf, Executable}, wasm::PrefabWasmModule,
|
||||
weights::WeightInfo,
|
||||
wasm::ReturnCode as RuntimeReturnCode,
|
||||
storage::RawAliveContractInfo,
|
||||
};
|
||||
use assert_matches::assert_matches;
|
||||
use codec::Encode;
|
||||
|
||||
Reference in New Issue
Block a user