Typeberry by Fluffy Labs - v0.5.0
    Preparing search index...

    Interface InitStatesDb<T>

    Interface to initialize states db. Typically used in conjunction with StatesDb.

    interface InitStatesDb<T = State> {
        insertInitialState(
            headerHash: OpaqueHash & WithOpaque<"HeaderHash">,
            initialState: T,
        ): Promise<utils.Result<typeof utils.OK, StateUpdateError>>;
    }

    Type Parameters

    Implemented by

    Index

    Methods