pub(crate) fn commit_migration(
        fork: &Fork,
        service_name: &str,
        migration_hash: Hash,
    ) -> Result<(), ExecutionError> {
        Schema::new(fork)
            .add_migration_commit(service_name, migration_hash)
            .map_err(From::from)
    }
/// Makes the node block on the specified migration after the block corresponding
/// to `fork` is committed. After the block is committed, all nodes in the network
/// are guaranteed to have migration data prepared for flushing.
Makes the node block on the specified migration after the block corresponding
to `fork` is committed. After the block is committed, all nodes in the network
are guaranteed to have migration data prepared for flushing.
Makes the node block on the specified migration after the block corresponding to ` fork ` is committed . After the block is committed all nodes in the network are guaranteed to have migration data prepared for flushing .
pub(crate) fn commit_migration(
        fork: &Fork,
        service_name: &str,
        migration_hash: Hash,
    ) -> Result<(), ExecutionError> {
        Schema::new(fork)
            .add_migration_commit(service_name, migration_hash)
            .map_err(From::from)
    }
pub ( crate ) fn commit_migration ( fork : & Fork , service_name : & str , migration_hash : Hash , ) -> Result < ( ) , ExecutionError > { Schema :: new ( fork ) . add_migration_commit ( service_name , migration_hash ) . map_err ( From :: from ) }
Makes the node block on the specified migration after the block corresponding
to `fork` is committed.
Makes the node block on the specified migration after the block corresponding to ` fork ` is committed .
fork
&Fork
service_name
&str
migration_hash
Hash
fork
&Fork
service_name
&str
migration_hash
Hash