contracts: Make ChainExtension trait generic over the runtime (#8003)

This commit is contained in:
Alexander Theißen
2021-02-03 12:29:18 +01:00
committed by GitHub
parent 06b432caba
commit 26b093ea8a
3 changed files with 11 additions and 8 deletions
+1 -1
View File
@@ -337,7 +337,7 @@ pub trait Config: frame_system::Config {
type WeightInfo: WeightInfo;
/// Type that allows the runtime authors to add new host functions for a contract to call.
type ChainExtension: chain_extension::ChainExtension;
type ChainExtension: chain_extension::ChainExtension<Self>;
/// The maximum number of tries that can be queued for deletion.
type DeletionQueueDepth: Get<u32>;