-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
43d7af2
commit 2840085
Showing
8 changed files
with
29 additions
and
32 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,22 +1,22 @@ | ||
export const INITIAL_BLOCK = 3000000 | ||
|
||
export const TO_BLOCK = | ||
Bun.env.TO_BLOCK != null ? parseInt(Bun.env.TO_BLOCK) : undefined | ||
process.env.TO_BLOCK != null ? parseInt(process.env.TO_BLOCK) : undefined | ||
|
||
export const BASE_POOL_ACCOUNT = | ||
'42qnPyfw3sbWMGGtTPPc2YFNZRKPGXswRszyQQjGs2FDxdim' | ||
|
||
export const RPC_ENDPOINT = | ||
Bun.env.RPC_ENDPOINT || 'https://khala-rpc.dwellir.com' | ||
process.env.RPC_ENDPOINT || 'https://khala-rpc.dwellir.com' | ||
|
||
export const ENABLE_SNAPSHOT = Bun.env.ENABLE_SNAPSHOT === '1' | ||
export const ENABLE_SNAPSHOT = process.env.ENABLE_SNAPSHOT === '1' | ||
|
||
export const FORCE_REFRESH_IDENTITY = Bun.env.FORCE_REFRESH_IDENTITY === '1' | ||
export const FORCE_REFRESH_IDENTITY = process.env.FORCE_REFRESH_IDENTITY === '1' | ||
|
||
export const CLEAR_WITHDRAWAL_DATE = | ||
typeof Bun.env.CLEAR_WITHDRAWAL_DATE === 'string' | ||
? new Date(Bun.env.CLEAR_WITHDRAWAL_DATE) | ||
typeof process.env.CLEAR_WITHDRAWAL_DATE === 'string' | ||
? new Date(process.env.CLEAR_WITHDRAWAL_DATE) | ||
: undefined | ||
|
||
export const CLEAR_WITHDRAWAL_THRESHOLD = | ||
Bun.env.CLEAR_WITHDRAWAL_THRESHOLD || '0.01' | ||
process.env.CLEAR_WITHDRAWAL_THRESHOLD || '0.01' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -1432,7 +1432,7 @@ [email protected]: | |
resolved "https://registry.npmjs.org/destroy/-/destroy-1.2.0.tgz" | ||
integrity sha512-2sJGJTaXIIaR1w4iJSNoN0hnMY7Gpc/n8D4qSCJw8QqFWXf7cuAgnEHxBpweaVcPevC2l3KpjYCx3NypQQgaJg== | ||
|
||
dotenv@^16.0.3, dotenv@^16.3.1: | ||
dotenv@^16.0.3, dotenv@^16.3.1, dotenv@^16.4.5: | ||
version "16.4.5" | ||
resolved "https://registry.npmjs.org/dotenv/-/dotenv-16.4.5.tgz" | ||
integrity sha512-ZmdL2rui+eB2YwhsWzjInR8LldtZHGDoQ1ugH85ppHKwpUHL7j7rN0Ti9NCnGiQbhaZ11FpR+7ao1dNsmduNUg== | ||
|