fulldecent / aion-aip040

Reference implementation for Aion non-fungible tokens
MIT License
3 stars 3 forks source link

Reference documentation that hash codes will never collide #28

Closed fulldecent closed 5 years ago

fulldecent commented 5 years ago

We depend on a property of the AVM where it is guaranteed that hashcode is globally unique for every class and Enum instance.

This property needs to be a documented specification of AVM for us to rely on it.

Our consumer https://github.com/fulldecent/aion-aip040/blob/master/src/main/java/org/aion/AVMBlockchainWrapper.java#L81

Upstream vendor issue https://github.com/aionnetwork/AVM/issues/404