Skip to content
This repository has been archived by the owner on Mar 28, 2023. It is now read-only.

Commit

Permalink
Merge pull request #696 from keep-network/ropsten-development-constants
Browse files Browse the repository at this point in the history
Give Ropsten development constants
  • Loading branch information
Sloan Thompson authored Jul 7, 2020
2 parents 4dc17d3 + a20ec42 commit 9dc653a
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion solidity/migrations/2_deploy_contracts.js
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,11 @@ const all = [
module.exports = (deployer, network, accounts) => {
deployer.then(async () => {
let constantsContract = TBTCConstants
if (network == "keep_dev" || network == "development") {
if (
network == "keep_dev" ||
network == "development" ||
network == "ropsten"
) {
// For keep_dev and development, replace constants with testnet constants.
// Masquerade as TBTCConstants like a sinister fellow.
TBTCDevelopmentConstants._json.contractName = "TBTCConstants"
Expand Down

0 comments on commit 9dc653a

Please sign in to comment.