Skip to content

Commit a4cf0be

Browse files
committed
fix: add env variable for torus network
1 parent ef9f60f commit a4cf0be

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

.github/workflows/ci.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -134,6 +134,7 @@ jobs:
134134
TORUS_GOOGLE_CLIENTID="367906518235-1gh9efo0518u43fnaj3qfgob64fv1o8p.apps.googleusercontent.com"
135135
TORUS_DISCORD_VERIFIER="blogchain-app-discord-production"
136136
TORUS_DISCORD_CLIENTID="947888768269033512"
137+
TORUS_NETWORK=mainnet
137138
EOF
138139
fi
139140
[[ -z "$branch" ]] && { echo "Failed to set deploy branch" >&2 ; exit 1 ; }

src/backend/utilities/config.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ export const sufficientFunds = process.env.SUFFICIENT_ACCOUNT_FUNDS || `81800000
1616
// Time-sensitive signatures are valid for 5 minutes
1717
export const sigValidity = 5 * 60000
1818
export const bootstrapNodes = process.env.BOOTSTRAP_NODES ? JSON.parse(process.env.BOOTSTRAP_NODES) : defaultBootstraps
19+
export const torusNetwork = process.env.TORUS_NETWORK || `testnet`
1920

2021
const nearNetwork = process.env.NEAR_NETWORK || `testnet`
2122

0 commit comments

Comments
 (0)