1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
use pallet_preimage::Config;
use crate::*;
use drml_primitives::*;
frame_support::parameter_types! {
pub const PreimageMaxSize: u32 = 4096 * 1024;
pub const PreimageBaseDeposit: Balance = COIN;
pub const PreimageByteDeposit: Balance = 10 * MILLI;
}
impl Config for Runtime {
type BaseDeposit = PreimageBaseDeposit;
type ByteDeposit = PreimageByteDeposit;
type Currency = Balances;
type Event = Event;
type ManagerOrigin = Root;
type MaxSize = PreimageMaxSize;
type WeightInfo = ();
}