Feature Request: add time property to truffle-config.js
See original GitHub issueIssue
Ganache-core and ganache-cli have options to set a specific time stamp on the genesis block, but there is no way to specify this in a truffle-config.js
Expected Behavior
Adding a genesis_time property as suggested below would enable truffle test to start the default ganache-core with the appropriate time.
module.exports = {
...
genesis_time: "2019-04-09T02:10:14Z"
...
};
Issue Analytics
- State:
- Created 4 years ago
- Comments:5 (5 by maintainers)
Top Results From Across the Web
Configuration - Truffle Suite
Your configuration file is called truffle-config.js and is located at the root of your project directory. This file is a Javascript file and...
Read more >Configuration | Truffle documentation - DApp develop framework
Your configuration file is called truffle-config.js and is located at the root of your project directory. This file is a Javascript file and...
Read more >How to write, test and deploy Ethereum smart contracts using ...
In your Truffle.config.js file, add the following code: const HDWalletProvider = require('@truffle/hdwallet-provider'); module.exports = {
Read more >Truffle develop timeout error · Issue #2552 - GitHub
I'm trying to run truffle develop , but about 95% of the time I get the following timeout ... And below my truffle-config.js...
Read more >Truffle: Testing Smart Contracts - SitePoint
js . In that file, add the following code: var HashMarket = artifacts.require( ...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found

I’d love to take a look at adding this!
@krsnnik Let us know if you have any questions about this. Good luck!