You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/index.md
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -49,7 +49,7 @@ VM Class, `new VM(opts)` creates a new VM object
49
49
-`opts.state`**Trie** a merkle-patricia-tree instance for the state tree (ignored if stateManager is passed)
50
50
-`opts.blockchain`**Blockchain** a blockchain object for storing/retrieving blocks (ignored if stateManager is passed)
51
51
-`opts.chain`**([String][31]\|[Number][32])** the chain the VM operates on [default: 'mainnet']
52
-
-`opts.hardfork`**[String][31]** hardfork rules to be used [default: 'byzantium', supported: 'byzantium' (will throw on unsupported)]
52
+
-`opts.hardfork`**[String][31]** hardfork rules to be used [default: 'byzantium', supported: 'byzantium', 'constantinople' (will throw on unsupported)]
53
53
-`opts.activatePrecompiles`**[Boolean][33]** create entries in the state tree for the precompiled contracts
54
54
-`opts.allowUnlimitedContractSize`**[Boolean][33]** allows unlimited contract sizes while debugging. By setting this to `true`, the check for contract size limit of 24KB (see [EIP-170][34]) is bypassed. (default: `false`; ONLY set to `true` during debugging)
55
55
-`opts.emitFreeLogs`**[Boolean][33]** Changes the behavior of the LOG opcode, the gas cost of the opcode becomes zero and calling it using STATICCALL won't throw. (default: `false`; ONLY set to `true` during debugging)
Copy file name to clipboardExpand all lines: lib/index.js
+3-3Lines changed: 3 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -36,7 +36,7 @@ VM.deps = {
36
36
* @param {Trie} opts.state a merkle-patricia-tree instance for the state tree (ignored if stateManager is passed)
37
37
* @param {Blockchain} opts.blockchain a blockchain object for storing/retrieving blocks (ignored if stateManager is passed)
38
38
* @param {String|Number} opts.chain the chain the VM operates on [default: 'mainnet']
39
-
* @param {String} opts.hardfork hardfork rules to be used [default: 'byzantium', supported: 'byzantium' (will throw on unsupported)]
39
+
* @param {String} opts.hardfork hardfork rules to be used [default: 'byzantium', supported: 'byzantium', 'constantinople' (will throw on unsupported)]
40
40
* @param {Boolean} opts.activatePrecompiles create entries in the state tree for the precompiled contracts
41
41
* @param {Boolean} opts.allowUnlimitedContractSize allows unlimited contract sizes while debugging. By setting this to `true`, the check for contract size limit of 24KB (see [EIP-170](https://git.io/vxZkK)) is bypassed. (default: `false`; ONLY set to `true` during debugging)
42
42
* @param {Boolean} opts.emitFreeLogs Changes the behavior of the LOG opcode, the gas cost of the opcode becomes zero and calling it using STATICCALL won't throw. (default: `false`; ONLY set to `true` during debugging)
0 commit comments