You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hardhat used to have tests to validate the timestamp logic in HardhatNode. These tests used SinonFakeTimers to manually manipulate the observed system clock.
This can not be achieved in the same way but instead requires a refactor of EDR to support an interface for determining the block's timestamp. As such, these tests were not ported when ethereumjs was replaced.
Definition of Done
Refactor EDR to receive a trait (object) for determining the block's timestamp
Add tests based on Hardhat tests that validate block timestamp calculation
The text was updated successfully, but these errors were encountered:
Hardhat used to have tests to validate the timestamp logic in
HardhatNode
. These tests usedSinonFakeTimers
to manually manipulate the observed system clock.This can not be achieved in the same way but instead requires a refactor of EDR to support an interface for determining the block's timestamp. As such, these tests were not ported when
ethereumjs
was replaced.Definition of Done
The text was updated successfully, but these errors were encountered: