Skip to content

Instantly share code, notes, and snippets.

@Akagi201
Last active November 26, 2018 05:58
Show Gist options
  • Save Akagi201/d0957455b56af2a0496ecb020dc25f4f to your computer and use it in GitHub Desktop.
Save Akagi201/d0957455b56af2a0496ecb020dc25f4f to your computer and use it in GitHub Desktop.
[0x]

问题

  • Exceeds block gas limit
hmm that sucks
we normally run ganache in-process so don't often come across using an external ganache running on 8545

can you set the gasLimit in `package.json` to something higher `ganache-cli -p 8545 --gasLimit 10000000 --networkId 50 -m \"${npm_package_config_mnemonic}\"`
or 8 million if you want to match current mainnet, default looks like 6 million in ganache

tools

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