Skip to content
This repository has been archived by the owner on May 4, 2024. It is now read-only.

[evm] npx hardhat compile does not pass the compile error from the Move compiler #29

Closed
junkil-park opened this issue Apr 14, 2022 · 0 comments · Fixed by #26
Closed
Projects

Comments

@junkil-park
Copy link
Collaborator

npx hardhat compile
Nothing to compile
Building 10 Move packages...
Successfully built /Users/jkpark/Work/move/language/evm/hardhat-examples/contracts/Caller
Successfully built /Users/jkpark/Work/move/language/evm/hardhat-examples/contracts/ERC20DecimalsMock
Successfully built /Users/jkpark/Work/move/language/evm/hardhat-examples/contracts/ERC20Mock
Successfully built /Users/jkpark/Work/move/language/evm/hardhat-examples/contracts/Event

Failed to build /Users/jkpark/Work/move/language/evm/hardhat-examples/contracts/ExternalCall
Error: exiting with Yul generation errors

Successfully built /Users/jkpark/Work/move/language/evm/hardhat-examples/contracts/FortyTwo
Successfully built /Users/jkpark/Work/move/language/evm/hardhat-examples/contracts/Greeter
Successfully built /Users/jkpark/Work/move/language/evm/hardhat-examples/contracts/Native
Successfully built /Users/jkpark/Work/move/language/evm/hardhat-examples/contracts/Revert
Successfully built /Users/jkpark/Work/move/language/evm/hardhat-examples/contracts/Token
An unexpected error occurred:

Error: Failed to build one or more Move packages
    at SimpleTaskDefinition.action (/Users/jkpark/Work/move/language/evm/hardhat-move/src/index.ts:388:19)
    at Environment._runTaskDefinition (/Users/jkpark/Work/move/language/evm/hardhat-examples/node_modules/hardhat/src/internal/core/runtime-environment.ts:219:14)
    at Environment.run (/Users/jkpark/Work/move/language/evm/hardhat-examples/node_modules/hardhat/src/internal/core/runtime-environment.ts:131:14)
    at SimpleTaskDefinition.action (/Users/jkpark/Work/move/language/evm/hardhat-examples/node_modules/hardhat/src/builtin-tasks/compile.ts:1422:7)
    at Environment._runTaskDefinition (/Users/jkpark/Work/move/language/evm/hardhat-examples/node_modules/hardhat/src/internal/core/runtime-environment.ts:219:14)
    at Environment.run (/Users/jkpark/Work/move/language/evm/hardhat-examples/node_modules/hardhat/src/internal/core/runtime-environment.ts:131:14)
    at main (/Users/jkpark/Work/move/language/evm/hardhat-examples/node_modules/hardhat/src/internal/cli/cli.ts:218:5)
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
Development

Successfully merging a pull request may close this issue.

1 participant