Skip to content

Commit

Permalink
fix: merge conflicts
Browse files Browse the repository at this point in the history
  • Loading branch information
chambaz committed Jul 24, 2024
1 parent 3794e08 commit dcdd6d8
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ const DEFAULT_USDC_BANK_CONFIG: BankConfigOpt = {
operationalState: OperationalState.Operational,

oracle: {
setup: OracleSetup.PythEma,
setup: OracleSetup.PythLegacy,
keys: [new PublicKey("Gnt27xtC473ZT2Mw5u8wZ68Z3gULkSTb5DuxJy7eJotD")],
},
oracleMaxAge: 300,
Expand Down Expand Up @@ -92,7 +92,7 @@ const DEFAULT_TOKEN_BANK_CONFIG: BankConfigOpt = {
operationalState: OperationalState.Operational,

oracle: {
setup: OracleSetup.PythEma,
setup: OracleSetup.PythLegacy,
keys: [],
},
oracleMaxAge: null,
Expand Down Expand Up @@ -285,7 +285,7 @@ export const CreatePoolLoading = ({ poolCreatedData, setIsOpen, setIsCompleted }
tokenBankConfig.borrowLimit = new BigNumber(100); // todo: update this according to price
tokenBankConfig.depositLimit = new BigNumber(10000); // todo: update this according to price
tokenBankConfig.oracle = {
setup: OracleSetup.PythEma,
setup: OracleSetup.PythLegacy,
keys: [new PublicKey(poolCreatedData.oracle)],
};

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ const DEFAULT_USDC_BANK_CONFIG: BankConfigOpt = {
operationalState: OperationalState.Operational,

oracle: {
setup: OracleSetup.PythEma,
setup: OracleSetup.PythLegacy,
keys: [new PublicKey("Gnt27xtC473ZT2Mw5u8wZ68Z3gULkSTb5DuxJy7eJotD")],
},
oracleMaxAge: 300,
Expand Down Expand Up @@ -82,7 +82,7 @@ const DEFAULT_TOKEN_BANK_CONFIG: BankConfigOpt = {
operationalState: OperationalState.Operational,

oracle: {
setup: OracleSetup.PythEma,
setup: OracleSetup.PythLegacy,
keys: [],
},
oracleMaxAge: 300,
Expand Down
3 changes: 2 additions & 1 deletion turbo.json
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,7 @@
"GCP_PRIVATE_KEY",
"NEXT_PUBLIC_WALLET_KEY",
"NEXT_PUBLIC_ENABLE_BANK_SCRIPT",
"RESEND_API_KEY"
"RESEND_API_KEY",
"NEXT_PUBLIC_STAGE_TOKENS"
]
}

0 comments on commit dcdd6d8

Please sign in to comment.