Skip to content

error: cannot find declaration FCL in f8d6e0586b0a20c7.FCL #828

@temt-ceo

Description

@temt-ceo

Environment: Emulator

Hi, I am currently developing a blockchain game.

And I am able to read the script from the SmartContract I deployed on the emulator, but when I executed the transaction, below error had occurred on the emulator running terminal and can not get transaction ID.

9:08AM WRN ❗ Script reverted computationUsed=0 memoryEstimate=9851 scriptID=d8ee5f94dd505cf12240473cf48942a2c0ec8f226a9176e55859db79d084113a 9:08AM WRN ERR [d8ee5f] [Error Code: 1101] error caused by: 1 error occurred: * [Error Code: 1101] cadence runtime error: Execution failed: error: cannot find declarationFCLinf8d6e0586b0a20c7.FCL`
--> d8ee5f94dd505cf12240473cf48942a2c0ec8f226a9176e55859db79d084113a:1:7
|
1 | import FCL from 0xf8d6e0586b0a20c7
| ^^^ available exported declarations are:

Was this error unhelpful?
Consider suggesting an improvement here: https://github.com/onflow/cadence/issues.
`

In the console.log, below is outputted even though I did not output console.log.

Image

What this error mean? Thank you.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    Status

    No status

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions