This repository has been archived by the owner on May 4, 2024. It is now read-only.
[Bug] Abi cannot be generated when the script function name is different from the file name #1037
Labels
bug
Something isn't working
🐛 Bug
Description
To reproduce
build generate ABI
# move build --abi
sample code
filename: run_hello.move, function: main
Stack trace/error message
Expected Behavior
Generate ABI file successfully, path:
build/hello_world/abis/main.abi
Reason
Wrong way to get function bytecode by script file name, the script function bytecode should be obtained using the module name.
Error code segment
Fix suggestion
The text was updated successfully, but these errors were encountered: