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

changed to unhelpful error after install the rust address convertion binding #154

Open
yqrashawn opened this issue Nov 16, 2021 · 6 comments

Comments

@yqrashawn
Copy link
Contributor

image

error chagned to Invalid length: 0

the ecode method is address.encodeCfxAddress

@yqrashawn
Copy link
Contributor Author

this one as well
image

@yqrashawn
Copy link
Contributor Author

yqrashawn commented Nov 16, 2021

and

      encode(
        Buffer.from('106d49f8505410eb4e671d51f7d96d2c87807b09', 'hex'),
        -1,
      )

logs net0:aajg4wt2mbmbb44sp6szd783ry0jtad5becrm7htab

the old error is netId should be passed as in range [0, 0xFFFFFFFF]

@yqrashawn
Copy link
Contributor Author

image

@yqrashawn
Copy link
Contributor Author

image

@yqrashawn
Copy link
Contributor Author

also there's error when compile code using this with ssr, there should be ways to avoid that

@Pana
Copy link
Member

Pana commented Dec 6, 2021

Which version do you use ?

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

2 participants