Comments (3)
The relevant functions we might need are at: https://github.com/input-output-hk/plutus-apps/blob/main/plutus-contract/src/Plutus/Contract/Request.hs
from cooked-validators.
#45 closes this
from cooked-validators.
For documentation's sake:
As of merging #45, time management closely follows that of plutus-contract
. The reason being that we want to provide an instance of MonadMockChain (Contract w s e)
and its impossible to retrieve the SlotConfig
from within the contract monad.
Ok... its not impossible... we can observe the slot config by waitNSlots 1
, then recording the current time t0
, then repeating this and getting t1
. Now we could do some linear extrapolation and find out SlotConfig
. I'm not sure its worthwhile to do all of this.
from cooked-validators.
Related Issues (20)
- Default instance for PrettyCooked HOT 1
- Update `ormolu` HOT 3
- Version number is not set correctly in the `package.yaml` and cabal files HOT 3
- Get rid of the hack to retrieve private keys in `Cooked.Wallet.walletStakingSK`
- Pre commit hook failure HOT 4
- Missing "Show" instance for UtxoState HOT 14
- CI does not catch issues on `examples`
- Export lists for modules HOT 6
- Qualifying imports HOT 1
- Reporting code coverage
- Newline with `printCooked` HOT 1
- Time weirdnesses in `plutus-ledger-api` and `cardano-ledger` HOT 1
- Peculiar behaviour of GitHub Actions caches with respect to pull requests HOT 1
- Add a function to test for specific tokens and wallets on the final ledger state
- Formatting descrepancy between flake check and development shell
- Factor out the "combining modifications" idiom
- Fee probing
- Can't pay freshly minted `quickValue`s / can't work with Plutus V1 minting policies (?) HOT 1
- Make our development environment not depend on Ormolu 0.5.0.1
- Bump GHC version to 9.2.7
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from cooked-validators.