Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

console v3.0调用预编译合约bug #601

Open
imtypist opened this issue Apr 8, 2022 · 1 comment
Open

console v3.0调用预编译合约bug #601

imtypist opened this issue Apr 8, 2022 · 1 comment
Labels
improve Improve ease of use resolved

Comments

@imtypist
Copy link

imtypist commented Apr 8, 2022

无法自动在contracts/.compiled/group0文件夹下生成对应的abi和bin文件(这个可以在v2.8中实现),因此会报错abi is empty...的错误,暂时修复方式可以通过deploy命令获得bin和abi文件,然后手动在group0文件夹下创建预编译合约的地址目录,例如预编译合约地址为0000000000000000000000000000000000005001,则需要在console文件夹下创建的目录结构为

contracts/.compiled/group0/0x0000000000000000000000000000000000005001/

在这个目录下放进bin和abi文件即可成功调用预编译合约。

另一个问题是无法通过0x5001这样简短的地址调用,必须要写全,但是这个特性在v2.8是支持的,希望在v3.0中也可以支持

@ywy2090 ywy2090 added the improve Improve ease of use label Jun 28, 2022
@kyonRay
Copy link
Member

kyonRay commented Aug 1, 2023

resolved in 3.4.0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
improve Improve ease of use resolved
Projects
None yet
Development

No branches or pull requests

3 participants