Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: updated deploy #220

Merged
merged 2 commits into from
Oct 20, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading