Skip to content

Commit

Permalink
contracts: brownie-config: explicitly set the chain ID to 1337
Browse files Browse the repository at this point in the history
ganache seems to incorrectly report the chain ID:
trufflesuite/ganache#515
If we set the chain ID explicitly, then ganache will use the provided
chain ID when handling the CHAINID opcode.
  • Loading branch information
Ivan Stanković committed Feb 10, 2022
1 parent 8e05b29 commit 17e2f04
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions contracts/brownie-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,3 +7,8 @@ compiler:
version: 0.8.11

dev_deployment_artifacts: true

networks:
development:
cmd_settings:
chain_id: 1337

0 comments on commit 17e2f04

Please sign in to comment.