Typeberry by Fluffy Labs - v0.4.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 & pvm.WithOpaque<"HeaderHash">,
            initialState: T,
        ): Promise<pvm.Result<typeof pvm.OK, StateUpdateError>>;
    }

    Type Parameters

    Implemented by

    Index

    Methods