{"id":16711183,"url":"https://github.com/cmditch/solidity-time-testing","last_synced_at":"2026-02-07T00:33:36.854Z","repository":{"id":86547889,"uuid":"138775088","full_name":"cmditch/solidity-time-testing","owner":"cmditch","description":"Using DS-Warp to test time reliant functions in solidity","archived":false,"fork":false,"pushed_at":"2018-06-26T18:10:35.000Z","size":5,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-07-24T11:39:46.441Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Makefile","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/cmditch.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2018-06-26T18:04:32.000Z","updated_at":"2018-06-26T18:10:36.000Z","dependencies_parsed_at":null,"dependency_job_id":"9b1359e1-9a19-4ab4-8e70-427a1e0b52b8","html_url":"https://github.com/cmditch/solidity-time-testing","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/cmditch/solidity-time-testing","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cmditch%2Fsolidity-time-testing","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cmditch%2Fsolidity-time-testing/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cmditch%2Fsolidity-time-testing/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cmditch%2Fsolidity-time-testing/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/cmditch","download_url":"https://codeload.github.com/cmditch/solidity-time-testing/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cmditch%2Fsolidity-time-testing/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29181914,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-06T23:15:33.022Z","status":"ssl_error","status_checked_at":"2026-02-06T23:15:09.128Z","response_time":59,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-10-12T20:11:00.432Z","updated_at":"2026-02-07T00:33:36.846Z","avatar_url":"https://github.com/cmditch.png","language":"Makefile","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Testing Passing Time in Soldity\n\n## Run\n\n```\ngit clone git@github.com:cmditch/solidity-time-testing.git\ncd solidity-time-testing\ndapp test\n```\n\n## Requirements\n[Dapp.tools](https://dapp.tools/) required.\n\n```\ncurl https://nixos.org/nix/install | sh\nnix-channel --add https://nix.dapphub.com/pkgs/dapphub\nnix-channel --update\nnix-env -iA dapphub.{dapp,seth,hevm,evmdis}\n```\n\n## Info\nIn order to play nice with DSWarp, your contracts must implement a wrapper around `now`/`block.timestamp` called era().\n\nIn testing, you then create a \"testable\" version of the contract which mixes in DSWarp, allowing you to use `myTestContract.warp(2 days)`.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcmditch%2Fsolidity-time-testing","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcmditch%2Fsolidity-time-testing","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcmditch%2Fsolidity-time-testing/lists"}