diff --git a/module-system/module-implementations/sov-blob-storage/src/lib.rs b/module-system/module-implementations/sov-blob-storage/src/lib.rs index 1cd1cc6ea..45ba1201f 100644 --- a/module-system/module-implementations/sov-blob-storage/src/lib.rs +++ b/module-system/module-implementations/sov-blob-storage/src/lib.rs @@ -58,4 +58,5 @@ impl BlobStorage { impl Module for BlobStorage { type Context = C; type Config = (); + type CallMessage = sov_modules_api::NonInstantiable; } diff --git a/module-system/module-implementations/sov-chain-state/src/lib.rs b/module-system/module-implementations/sov-chain-state/src/lib.rs index 563e31eea..0455193d7 100644 --- a/module-system/module-implementations/sov-chain-state/src/lib.rs +++ b/module-system/module-implementations/sov-chain-state/src/lib.rs @@ -135,6 +135,8 @@ impl sov_modules_api::Mo type Config = ChainStateConfig; + type CallMessage = sov_modules_api::NonInstantiable; + fn genesis( &self, config: &Self::Config, diff --git a/module-system/sov-modules-api/src/lib.rs b/module-system/sov-modules-api/src/lib.rs index d96fce88d..d3e196bbd 100644 --- a/module-system/sov-modules-api/src/lib.rs +++ b/module-system/sov-modules-api/src/lib.rs @@ -1,4 +1,4 @@ -#![feature(associated_type_defaults)] +#![doc = include_str!("../README.md")] mod bech32; pub mod default_context; @@ -294,7 +294,7 @@ pub trait Module { type Config; /// Module defined argument to the call method. - type CallMessage: Debug + BorshSerialize + BorshDeserialize = NonInstantiable; + type CallMessage: Debug + BorshSerialize + BorshDeserialize; /// Genesis is called when a rollup is deployed and can be used to set initial state values in the module. fn genesis(