|
@@ -550,25 +550,6 @@ parameter_types! {
|
|
pub const SurchargeReward: Balance = 0; // no reward
|
|
pub const SurchargeReward: Balance = 0; // no reward
|
|
}
|
|
}
|
|
|
|
|
|
-impl pallet_contracts::Trait for Runtime {
|
|
|
|
- type Time = Timestamp;
|
|
|
|
- type Randomness = RandomnessCollectiveFlip;
|
|
|
|
- type Currency = Balances;
|
|
|
|
- type Event = Event;
|
|
|
|
- type DetermineContractAddress = pallet_contracts::SimpleAddressDeterminer<Runtime>;
|
|
|
|
- type TrieIdGenerator = pallet_contracts::TrieIdFromParentCounter<Runtime>;
|
|
|
|
- type RentPayment = ();
|
|
|
|
- type SignedClaimHandicap = pallet_contracts::DefaultSignedClaimHandicap;
|
|
|
|
- type TombstoneDeposit = TombstoneDeposit;
|
|
|
|
- type StorageSizeOffset = pallet_contracts::DefaultStorageSizeOffset;
|
|
|
|
- type RentByteFee = RentByteFee;
|
|
|
|
- type RentDepositOffset = RentDepositOffset;
|
|
|
|
- type SurchargeReward = SurchargeReward;
|
|
|
|
- type MaxDepth = pallet_contracts::DefaultMaxDepth;
|
|
|
|
- type MaxValueSize = pallet_contracts::DefaultMaxValueSize;
|
|
|
|
- type WeightPrice = pallet_transaction_payment::Module<Self>;
|
|
|
|
-}
|
|
|
|
-
|
|
|
|
/// Opaque types. These are used by the CLI to instantiate machinery that don't need to know
|
|
/// Opaque types. These are used by the CLI to instantiate machinery that don't need to know
|
|
/// the specifics of the runtime. They can then be made to be agnostic over specific formats
|
|
/// the specifics of the runtime. They can then be made to be agnostic over specific formats
|
|
/// of data like extrinsics, allowing for them to continue syncing the network through upgrades
|
|
/// of data like extrinsics, allowing for them to continue syncing the network through upgrades
|
|
@@ -609,7 +590,6 @@ construct_runtime!(
|
|
Offences: pallet_offences::{Module, Call, Storage, Event},
|
|
Offences: pallet_offences::{Module, Call, Storage, Event},
|
|
RandomnessCollectiveFlip: pallet_randomness_collective_flip::{Module, Call, Storage},
|
|
RandomnessCollectiveFlip: pallet_randomness_collective_flip::{Module, Call, Storage},
|
|
Sudo: pallet_sudo::{Module, Call, Config<T>, Storage, Event<T>},
|
|
Sudo: pallet_sudo::{Module, Call, Config<T>, Storage, Event<T>},
|
|
- Contracts: pallet_contracts::{Module, Call, Config, Storage, Event<T>},
|
|
|
|
// Joystream
|
|
// Joystream
|
|
CouncilElection: election::{Module, Call, Storage, Event<T>, Config<T>},
|
|
CouncilElection: election::{Module, Call, Storage, Event<T>, Config<T>},
|
|
Council: council::{Module, Call, Storage, Event<T>, Config<T>},
|
|
Council: council::{Module, Call, Storage, Event<T>, Config<T>},
|