【发布时间】:2022-12-14 23:59:14
【问题描述】:
我正在尝试遵循基数初学者银行教程:
https://github.com/radixdlt/community-scrypto-examples/tree/main/basic/auction
系统规格: Windows 11(64 位) 编辑:VSCode
在发布项目之前遵循 repo 中提到的更新指南: https://docs.radixdlt.com/main/scrypto/getting-started/updating-scrypto.html:
>> rustup update stable
>> cd radixdlt-scrypto
>> git pull origin main
>> cargo install --path ./simulator
>> resim reset
以上命令全部执行成功。
但是当我尝试使用以下方式发布包时:
`>> resim publish .`
我收到以下错误:
PS C:\KAUSTUBH\DDS\project\community-scrypto-examples\basic\auction> resim publish .
Compiling auction v0.1.0 (C:\KAUSTUBH\DDS\project\community-scrypto-examples\basic\auction)
Finished release [optimized] target(s) in 22.76s
thread 'main' panicked at 'Failed to instantiate WASM module: Instantiation("Function signature does not match")', C:\KAUSTUBH\DDS\radix\scryptoc_core\radixdlt-scrypto\radix-engine\src\wasm\wasmi.rs:84:10
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
我试图导出一个变量
`>> $RUST_BACKTRACE=1`
我尝试再次发布,但再次出现相同的错误
【问题讨论】:
标签: scrypto