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

Bytes类使用不了DynamicBytes使用也有问题 #180

Open
YeexiaoZheng opened this issue Nov 20, 2022 · 1 comment
Open

Bytes类使用不了DynamicBytes使用也有问题 #180

YeexiaoZheng opened this issue Nov 20, 2022 · 1 comment

Comments

@YeexiaoZheng
Copy link

Bytes类的构造函数是protected,引入后不能new,且bytes长度需要在0到32,请问下这里是为什么?
DynamicBytes的使用也有问题,在TypedAbi.java中的ctor.newInstance(value);会失败,请问该怎么解决?
屏幕截图 2022-11-20 223449

@YeexiaoZheng
Copy link
Author

看明白了Bytes应该是给generate里的1到32用 应该要用Dynamic 但是报错哇亲
image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant