Skip to content

Instantly share code, notes, and snippets.

@sarbogast
Created March 25, 2017 18:05
Show Gist options
  • Save sarbogast/d6ffb671adea008dbc11aaa0e58f55e0 to your computer and use it in GitHub Desktop.
Save sarbogast/d6ffb671adea008dbc11aaa0e58f55e0 to your computer and use it in GitHub Desktop.
Ethereum genesis file compatible with Truffle tests.
{ "config": { "homesteadBlock": 10 }, "nonce": "0", "difficulty": "0x20000", "mixhash": "0x00000000000000000000000000000000000000647572616c65787365646c6578", "coinbase": "0x0000000000000000000000000000000000000000", "timestamp": "0x00", "parentHash": "0x0000000000000000000000000000000000000000000000000000000000000000", "extraData": "0x", "gasLimit": "0x2FEFD8", "alloc": {} }
@sarbogast
Copy link
Author

sarbogast commented Mar 25, 2017

The key point here is the homesteadBlock, which enables certain features including DELEGATECALL, which is what libraries are dependent on.

Source: https://blog.ethereum.org/2016/02/29/homestead-release/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment