Skip to content

yarn build failing for acala & karura #25

@koen84

Description

@koen84

When running the step yarn build it results in the following error (on both acala & karura) :

$ subql build
 ›   Error: [tsl] ERROR in $HOME/subql-dictionary/karura/src/mappings/mappingHandlers.ts(122,5)
 ›         TS2322: Type 'SubstrateEvent<AnyTuple>' is not assignable to type 'SubstrateEvent<AcalaEvmDatasource>'.
 ›     Type 'Codec[]' is missing the following properties from type 'SubstrateCustomDatasource<"substrate/AcalaEvm", SubstrateNetworkFilter, SubstrateMapping<SubstrateCustomHandler<string, Record<string, unknown>>>,
 ›   AcalaEvmProcessorOptions>': kind, assets, processor, mapping
error Command failed with exit code 2.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.```

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions