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
Recent work on the emulator has causes a regression with transaction time validation support. It is no longer possible to check a transaction's time interval in plutus emluator.
emulatorGlobals::Globals
emulatorGlobals = mkShelleyGlobals
genesisDefaultsWithBigMaxTxSize
(fixedEpochInfo (EpochSize432000) (mkSlotLength 8)) -- Not sure about these values, probably not relevant for the emulator.2-- maxMajorPV
This sets a major protocol version of 2, but that has as a consequence that time handling will not work, because it only starts working with version 6.
Summary
Recent work on the emulator has causes a regression with transaction time validation support. It is no longer possible to check a transaction's time interval in plutus emluator.
@brunjlar located the bug in emulatorGlobals:
This sets a major protocol version of 2, but that has as a consequence that time handling will not work, because it only starts working with version 6.
Steps to reproduce the behavior
runTrace
Actual Result
Paying from script transaction is unsuccessful, script balance at end is 2ada
See error:
Expected Result
Paying from script transaction is successful, script balance at end is 0.
No script validation errors seen.
Describe the approach you would take to fix this
Upgrade emulator from protocol version 2 to 6
System info
plutus-apps: 50290ad
The text was updated successfully, but these errors were encountered: