nim-codex/tests/contracts
markspanbroek d1658d7b77
Fix on-chain clock (#732)
* market: use `pending` blocktag when querying onchain state

* clock: use wall clock in integration tests

reason: we'll need to wait for the next period in
integration tests, and we can't do that if the
time doesn't advance

* clock: remove unused field

* integration: use pending block time to get current time

* clock: fix on-chain clock for hardhat

Only use 'latest' block for updates
Only update the first time you see a block

* integration: do not start tests with a very outdated block

* integration: allow for longer expiry period
2024-03-11 16:57:20 +00:00
..
deployment.nim Smart contracts update: Groth16Proof instead of bytes (#683) 2024-02-07 07:50:35 +01:00
examples.nim Load purchase state from chain (#283) 2022-11-08 08:10:17 +01:00
nim.cfg feat: integrate dagger contracts 2022-02-04 15:34:56 +11:00
testClock.nim Fix on-chain clock (#732) 2024-03-11 16:57:20 +00:00
testContracts.nim Smart contracts update: Groth16Proof instead of bytes (#683) 2024-02-07 07:50:35 +01:00
testDeployment.nim Smart contracts update: Groth16Proof instead of bytes (#683) 2024-02-07 07:50:35 +01:00
testMarket.nim Smart contracts update: Groth16Proof instead of bytes (#683) 2024-02-07 07:50:35 +01:00
time.nim Fix on-chain clock (#732) 2024-03-11 16:57:20 +00:00