Skip to content

Commit

Permalink
feat: final sync for staging
Browse files Browse the repository at this point in the history
  • Loading branch information
R-K-H committed Dec 15, 2024
1 parent 20d95e6 commit 420e4bb
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -109,6 +109,20 @@ array_relationships:
remote_table:
name: prices_5m
schema: public
- name: proposals
using:
foreign_key_constraint_on:
column: fail_market_acct
table:
name: proposals
schema: public
- name: proposalsByPassMarketAcct
using:
foreign_key_constraint_on:
column: pass_market_acct
table:
name: proposals
schema: public
- name: takes
using:
foreign_key_constraint_on:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -658,7 +658,6 @@ async function insertAssociatedAccountsDataForProposal(

let passMarket: MarketRecord = {
marketAcct: proposal.account.passAmm.toString(),
proposalAcct: proposal.publicKey.toString(),
marketType: MarketType.FUTARCHY_AMM,
createTxSig: "",
baseMintAcct: storedBaseVault.conditionalOnFinalizeTokenMint.toString(),
Expand All @@ -684,7 +683,6 @@ async function insertAssociatedAccountsDataForProposal(

let failMarket: MarketRecord = {
marketAcct: proposal.account.failAmm.toString(),
proposalAcct: proposal.publicKey.toString(),
marketType: MarketType.FUTARCHY_AMM,
createTxSig: "",
baseMintAcct: storedBaseVault.conditionalOnRevertTokenMint.toString(),
Expand Down

0 comments on commit 420e4bb

Please sign in to comment.