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

Why are addresses 32 bytes? #397

Closed
fulldecent opened this issue Jul 12, 2019 · 2 comments
Closed

Why are addresses 32 bytes? #397

fulldecent opened this issue Jul 12, 2019 · 2 comments

Comments

@fulldecent
Copy link
Contributor

Addresses are specified in code as 32 bytes https://github.com/aionnetwork/AVM/blob/master/org.aion.avm.api/src/avm/Address.java#L11

But documentation for FastVM states addresses are 128-bits. Documentation for AVM does not specify bit length.

@jeff-aion
Copy link
Contributor

Where does the FastVM doc state that the addresses are 128-bit? Here, it defines them as 32 bytes: https://github.com/aionnetwork/aion_fastvm/wiki/Specifications

This isn't specific to either VM but a defined constant of the Aion network.

@fulldecent
Copy link
Contributor Author

Thank you. I was confused with FastVM documentation. No problem here.

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