Skip to content

Commit

Permalink
Improve activatePrecompiles doc
Browse files Browse the repository at this point in the history
  • Loading branch information
alcuadrado committed Sep 10, 2019
1 parent 87b1880 commit 5797586
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion lib/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,14 @@ export interface VMOpts {
*/
blockchain?: Blockchain
/**
* If true, create entries in the state tree for the precompiled contracts
* If true, create entries in the state tree for the precompiled contracts, saving some gas the
* first time each of them is called.
*
* If this parameter is false, the first call to each of them has to pay an extra 25000 gas
* for creating the account.
*
* Setting this to true has the effect of precompiled contracts' gas costs matching mainnet's from
* the very first call, which is intended for testing networks.
*/
activatePrecompiles?: boolean
/**
Expand Down

0 comments on commit 5797586

Please sign in to comment.