Skip to content

Commit

Permalink
Update raw name and raw symbol for existing NFTs (#139)
Browse files Browse the repository at this point in the history
Update the raw name and raw symbol from the onchain data for existing NFTs when reingesting. This allows correction of incorrect values during reprocessing on an existing index.
  • Loading branch information
linuskendall authored Nov 30, 2023
1 parent a973f19 commit fdd406a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions nft_ingester/src/program_transformers/bubblegum/mint_v1.rs
Original file line number Diff line number Diff line change
Expand Up @@ -110,6 +110,8 @@ where
asset_data::Column::MetadataMutability,
asset_data::Column::SlotUpdated,
asset_data::Column::Reindex,
asset_data::Column::RawName,
asset_data::Column::RawSymbol,
])
.to_owned(),
)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -161,6 +161,8 @@ pub async fn save_v1_asset<T: ConnectionTrait + TransactionTrait>(
asset_data::Column::MetadataMutability,
asset_data::Column::SlotUpdated,
asset_data::Column::Reindex,
asset_data::Column::RawName,
asset_data::Column::RawSymbol,
])
.to_owned(),
)
Expand Down

0 comments on commit fdd406a

Please sign in to comment.