Open
Description
Summary
Currently the Module trait requires has the following structure:
pub trait Module {
type Context;
type Config;
type CallMessage;
fn genesis()
fn call()
}
all the names are intuitive except "Config". it would be nicer and more informative if Config is renamed to something like GenesisConfig or Genesis or InitConfig. Realized this when i was explaining the demo-rollup and had to clarify what Config meant because it was not immediately clear.
For example, for the module SimpleToken, we create a struct SimpleToken and the SimpleTokenConfig and its not very clear to the user that SimpleTokenConfig is meant for storing the genesis info. Would suggest using Genesis for the associated type and for the examples to use SimpleTokenGenesis, BankGenesis etc.
Open to other names as well :)