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

unify hash calculation of nft asset node #336

Merged
merged 2 commits into from
Jun 12, 2023

Conversation

lightning-li
Copy link
Contributor

Description

Unify hash calculation of nft leaf node; hash(nft leaf) = mimc(creatorIndex, ownerIndex, nftContentHash0, nftContentHash1, royaltyRate, collectionId)

Rationale

Example

Changes

Notable changes:

  • Change ComputeNftAssetLeafHash function

@lightning-li lightning-li merged commit 74fbed2 into bnb-chain:testnet Jun 12, 2023
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

Successfully merging this pull request may close these issues.

2 participants