Closed syntrust closed 2 months ago
Addressing https://github.com/ethstorage/es-node/issues/304.
The current expectedDiff() in es-node differs from the implementation in MiningLib.sol, leading to rare cases where the computed difficulty does not match.
expectedDiff()
The unit test utilizes actual input data including previously failed cases.
reference:
Addressing https://github.com/ethstorage/es-node/issues/304.
The current
expectedDiff()
in es-node differs from the implementation in MiningLib.sol, leading to rare cases where the computed difficulty does not match.The unit test utilizes actual input data including previously failed cases.
reference: