Skip to content

Commit

Permalink
chore: updated deploy (#220)
Browse files Browse the repository at this point in the history
  • Loading branch information
0xCardinalError authored Oct 20, 2023
1 parent 517dd31 commit 7f7ae0b
Show file tree
Hide file tree
Showing 17 changed files with 6,325 additions and 157 deletions.
2 changes: 1 addition & 1 deletion deploy/test/000_deploy_test_token.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ const func: DeployFunction = async function ({ deployments, getNamedAccounts, ne

let token = null;

if (network.name == 'testnet') {
if (network.name == 'testnet' || network.name == 'pretestnet') {
// We deploy new token if there is no token
if (!(token = await getOrNull('TestToken'))) {
const argsToken = ['gBZZ', 'gBZZ', '1250000000000000000000000', networkConfig[network.name]?.multisig];
Expand Down
2 changes: 1 addition & 1 deletion deploy/test/010_deploy_verify.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import verify from '../../utils/verify';
const func: DeployFunction = async function ({ deployments, network }) {
const { log, get } = deployments;

if (network.name == 'testnet' && process.env.TESTNET_ETHERSCAN_KEY) {
if ((network.name == 'testnet' || network.name == 'pretestnet') && process.env.TESTNET_ETHERSCAN_KEY) {
const swarmNetworkID = networkConfig[network.name]?.swarmNetworkId;

// Verify TestNet token
Expand Down
1 change: 1 addition & 0 deletions deployments/pretestnet/.chainId
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
5
Loading

0 comments on commit 7f7ae0b

Please sign in to comment.