Skip to content

yarn build failing for acala & karura #25

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.```

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions