Function createBlockGenerateContext

  • Parameters

    • params: {
          assets?: WritableBlockAssets;
          chainID?: Buffer;
          finalizedHeight?: number;
          getMethodContext?: (() => MethodContext);
          getOffchainStore?: ((moduleID: Buffer, subStorePrefix: Buffer) => SubStore);
          getStore?: ((moduleID: Buffer, storePrefix: Buffer) => ImmutableSubStore);
          header: BlockHeader;
          logger?: Logger;
      }
      • Optional assets?: WritableBlockAssets
      • Optional chainID?: Buffer
      • Optional finalizedHeight?: number
      • Optional getMethodContext?: (() => MethodContext)
      • Optional getOffchainStore?: ((moduleID: Buffer, subStorePrefix: Buffer) => SubStore)
          • (moduleID: Buffer, subStorePrefix: Buffer): SubStore
          • Parameters

            • moduleID: Buffer
            • subStorePrefix: Buffer

            Returns SubStore

      • Optional getStore?: ((moduleID: Buffer, storePrefix: Buffer) => ImmutableSubStore)
          • (moduleID: Buffer, storePrefix: Buffer): ImmutableSubStore
          • Parameters

            • moduleID: Buffer
            • storePrefix: Buffer

            Returns ImmutableSubStore

      • header: BlockHeader
      • Optional logger?: Logger

    Returns InsertAssetContext

Generated using TypeDoc