mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-04-26 08:47:57 +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
@@ -744,11 +744,11 @@ impl pallet_tips::Config for Runtime {
|
||||
}
|
||||
|
||||
parameter_types! {
|
||||
pub const TombstoneDeposit: Balance = deposit(
|
||||
pub TombstoneDeposit: Balance = deposit(
|
||||
1,
|
||||
sp_std::mem::size_of::<pallet_contracts::ContractInfo<Runtime>>() as u32
|
||||
<pallet_contracts::Pallet<Runtime>>::contract_info_size(),
|
||||
);
|
||||
pub const DepositPerContract: Balance = TombstoneDeposit::get();
|
||||
pub DepositPerContract: Balance = TombstoneDeposit::get();
|
||||
pub const DepositPerStorageByte: Balance = deposit(0, 1);
|
||||
pub const DepositPerStorageItem: Balance = deposit(1, 0);
|
||||
pub RentFraction: Perbill = Perbill::from_rational(1u32, 30 * DAYS);
|
||||
|
||||
Reference in New Issue
Block a user