pub trait IrohaMigrationAPI<Block: BlockT>: Core<Block> {
// Provided methods
fn needs_migration(
&self,
__runtime_api_at_param__: &BlockId<Block>,
iroha_address: String
) -> Result<bool, ApiError> { ... }
fn needs_migration_with_context(
&self,
__runtime_api_at_param__: &BlockId<Block>,
context: ExecutionContext,
iroha_address: String
) -> Result<bool, ApiError> { ... }
}