The existing test is too easy, to the point where a backend which doesn't actually do any work other than return [0, true] would pass it. Updated the test to use a very low difficulty so that the backend might at least need to grind some nonces before the tests pass.
The smallest valid nonce is now 33, this should kept secret from the backend developers :rofl:
The existing test is too easy, to the point where a backend which doesn't actually do any work other than return
[0, true]
would pass it. Updated the test to use a very low difficulty so that the backend might at least need to grind some nonces before the tests pass.The smallest valid nonce is now
33
, this should kept secret from the backend developers :rofl: