Skip to content
This repository has been archived by the owner on Dec 2, 2024. It is now read-only.

PLT-768 Renamed currentTime to currentNodeClientTimeRange and renamed currentPABSlot to currentNodeClientSlot #772

Merged
merged 1 commit into from
Oct 21, 2022

Conversation

koslambrou
Copy link
Contributor

Renamed currentTime to currentNodeClientTimeRange and renamed currentPABSlot to currentNodeClientSlot

  • Deprecated 'Plutus.Contract.Request.currentTime'

  • Created 'Plutus.Contract.Request.currentNodeClientTimeRange' which replaces 'currentTime'

  • Deprecated 'Plutus.Contract.Request.currentPABSlot'

  • Created 'Plutus.Contract.Request.currentNodeClientSlot' which replaces 'currentPABSlot'

  • Updated the plutus use case examples

  • Updated the PABReq and PABResp request handlers for the emulator and the PAB

Pre-submit checklist:

  • Branch
    • Tests are provided (if possible)
    • Commit sequence broadly makes sense
    • Key commits have useful messages
    • Formatting, PNG optimization, etc. are updated
  • PR
    • Self-reviewed the diff
    • Useful pull request description
    • Reference the ADR in the PR and reference the PR in the ADR (if revelant)
    • Reviewer requested

@koslambrou koslambrou force-pushed the plt-768 branch 2 times, most recently from 40dbb1b to 4c5405c Compare October 21, 2022 01:32
@koslambrou koslambrou requested review from berewt and a user October 21, 2022 01:32
currentPABSlot to currentNodeClientSlot

* Deprecated 'Plutus.Contract.Request.currentTime'

* Created 'Plutus.Contract.Request.currentNodeClientTimeRange' which
  replaces 'currentTime'

* Deprecated 'Plutus.Contract.Request.currentPABSlot'

* Created 'Plutus.Contract.Request.currentNodeClientSlot' which
  replaces 'currentPABSlot'

* Updated the plutus use case examples

* Updated the PABReq and PABResp request handlers for the emulator and
  the PAB

* Fixed a failing test case for the SealedBidAuction regarding validity
  intervals
@koslambrou koslambrou merged commit b7f0e25 into main Oct 21, 2022
@koslambrou koslambrou deleted the plt-768 branch October 21, 2022 18:01
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants