Skip to content
This repository has been archived by the owner on Jan 21, 2022. It is now read-only.

Commit

Permalink
Update ganache-core to experiemental build 2.5.0-eip1283.1
Browse files Browse the repository at this point in the history
  • Loading branch information
davidmurdoch committed Jan 24, 2019
1 parent 72e7039 commit c280f4b
Show file tree
Hide file tree
Showing 4 changed files with 3,646 additions and 553 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ Options:
* `-?` or `--help`: Display help information
* `--version`: Display the version of ganache-cli
* `--noVMErrorsOnRPCResponse`: Do not transmit transaction failures as RPC errors. Enable this flag for error reporting behaviour which is compatible with other clients such as geth and Parity.
* `--hardfork`: Allows to specify which hardfork should be used. Supported hardforks are `byzantium` (default) and `constantinople`
* `--hardfork`: Allows to specify which hardfork should be used. Supported hardforks are `byzantium`, `constantinople`, and `constantinople-1283-removed` (default).
* `--allowUnlimitedContractSize`: Allows unlimited contract sizes while debugging. By enabling this flag, the check within the EVM for contract size limit of 24KB (see EIP-170) is bypassed. Enabling this flag **will** cause ganache-cli to behave differently than production environments.
* `--keepAliveTimeout`: Sets the HTTP server's `keepAliveTimeout` in milliseconds. See the [NodeJS HTTP docs](https://nodejs.org/api/http.html#http_server_keepalivetimeout) for details. `5000` by default.
* `-t` or `--time`: Date (ISO 8601) that the first block should start. Use this feature, along with the evm_increaseTime method to test time-dependent code.
Expand Down Expand Up @@ -149,7 +149,7 @@ Both `.provider()` and `.server()` take a single object which allows you to spec
* `"account_keys_path"`: `String` - Specifies a file to save accounts and private keys to, for testing.
* `"vmErrorsOnRPCResponse"`: `boolean` - Whether or not to transmit transaction failures as RPC errors. Set to `false` for error reporting behaviour which is compatible with other clients such as geth and Parity. This is `true` by default to replicate the error reporting behavior of previous versions of ganache.
* `"hdPath"`: The hierarchical deterministic path to use when generating accounts. Default: "m/44'/60'/0'/0/"
* `"hardfork"`: Allows to specify which hardfork should be used. Supported hardforks are `byzantium` (default) and `constantinople`
* `"hardfork"`: Allows to specify which hardfork should be used. Supported hardforks are `byzantium`, `constantinople`, and `constantinople-1283-removed` (default).
* `"allowUnlimitedContractSize"`: `boolean` - Allows unlimited contract sizes while debugging. By setting this to `true`, the check within the EVM for contract size limit of 24KB (see [EIP-170](https://git.io/vxZkK)) is bypassed. Setting this to `true` **will** cause `ganache-cli` to behave differently than production environments. (default: `false`; **ONLY** set to `true` during debugging).
* `"gasPrice"`: Sets the default gas price for transactions if not otherwise specified. Must be specified as a hex string in wei. Defaults to `"0x77359400"`, or 2 gwei.
* `"gasLimit"`: Sets the block gas limit. Must be specified as a hex string. Defaults to `"0x6691b7"`.
Expand Down
6 changes: 3 additions & 3 deletions args.js
Original file line number Diff line number Diff line change
Expand Up @@ -147,10 +147,10 @@ module.exports = exports = function(yargs, version, isDocker) {
})
.option('hardfork', {
group: 'Chain:',
describe: 'Allows to specify which hardfork should be used. Supported hardforks are `byzantium` (default) and `constantinople`',
describe: 'Allows to specify which hardfork should be used. Supported hardforks are `byzantium`, `constantinople`, and `constantinople-1283-removed` (default).',
type: 'string',
default: 'byzantium',
choices: ['byzantium', 'constantinople']
default: 'constantinople-1283-removed',
choices: ['byzantium', 'constantinople', 'constantinople-1283-removed']
})
.option('t', {
group: 'Chain:',
Expand Down
Loading

0 comments on commit c280f4b

Please sign in to comment.