JeremyX2022

Results 5 comments of JeremyX2022

> Hey @JeremyX2022, can I confirm the version of `ethers` you are using here? > ethers.version '6.11.1'

I also post in ethers: https://github.com/ethers-io/ethers.js/issues/4656 but the issue seems more related to hardhat

I see, Openzeppelin merkle tree (https://github.com/OpenZeppelin/merkle-tree) uses an opinionated double leaf hash algorithm.

I set to 3 leaves, the root value is different since the different handle of odd leaf: copied or left to the next level. and I changed to 6 leaves:...

> When calculating the second layer, there will be 3 nodes in total again. Thus the different handles of odd leaf lead to different results. In fact, any leaf numbers...