Skip to content

Commit 35a46df

Browse files
authored
Merge pull request #2564 from pyth-network/cprussin/remove-amount-staked-per-wallet
chore(staking): remove amount_staked_per_account
2 parents 23af293 + d6084de commit 35a46df

File tree

3 files changed

+1
-58
lines changed

3 files changed

+1
-58
lines changed

apps/staking/src/app/api/v1/amount_staked_per_account/route.ts

-53
This file was deleted.

apps/staking/src/config/server.ts

-3
Original file line numberDiff line numberDiff line change
@@ -80,9 +80,6 @@ export const SIMULATION_PAYER_ADDRESS = getOr(
8080
"SIMULATION_PAYER_ADDRESS",
8181
"E5KR7yfb9UyVB6ZhmhQki1rM1eBcxHvyGKFZakAC5uc",
8282
);
83-
export const AMOUNT_STAKED_PER_ACCOUNT_SECRET = demandInProduction(
84-
"AMOUNT_STAKED_PER_ACCOUNT_SECRET",
85-
);
8683

8784
class MissingEnvironmentError extends Error {
8885
constructor(name: string) {

apps/staking/turbo.json

+1-2
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,7 @@
1212
"MAINNET_API_RPC",
1313
"BLOCKED_REGIONS",
1414
"AMPLITUDE_API_KEY",
15-
"GOOGLE_ANALYTICS_ID",
16-
"AMOUNT_STAKED_PER_ACCOUNT_SECRET"
15+
"GOOGLE_ANALYTICS_ID"
1716
]
1817
},
1918
"start:dev": {

0 commit comments

Comments
 (0)