Skip to content

Commit

Permalink
feat: add skip batch mint indexing feature
Browse files Browse the repository at this point in the history
  • Loading branch information
n00m4d committed Sep 12, 2024
1 parent dc14c21 commit ec088cd
Show file tree
Hide file tree
Showing 15 changed files with 489 additions and 29 deletions.
3 changes: 3 additions & 0 deletions digital_asset_types/src/dao/generated/batch_mint_to_verify.rs
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ pub struct Model {
pub url: String,
pub created_at_slot: i64,
pub signature: String,
pub merkle_tree: Vec<u8>,
pub staker: Vec<u8>,
pub collection: Option<Vec<u8>>,
pub download_attempts: i32,
Expand All @@ -33,6 +34,7 @@ pub enum Column {
Url,
CreatedAtSlot,
Signature,
MerkleTree,
Staker,
Collection,
DownloadAttempts,
Expand Down Expand Up @@ -63,6 +65,7 @@ impl ColumnTrait for Column {
Self::Url => ColumnType::String(None).def(),
Self::CreatedAtSlot => ColumnType::BigInteger.def(),
Self::Signature => ColumnType::String(None).def(),
Self::MerkleTree => ColumnType::Binary.def(),
Self::Staker => ColumnType::Binary.def(),
Self::Collection => ColumnType::Binary.def().null(),
Self::DownloadAttempts => ColumnType::Integer.def(),
Expand Down
3 changes: 2 additions & 1 deletion integration_tests/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -39,4 +39,5 @@ tempfile = { workspace = true }
async-channel = { workspace = true }
cadence = { workspace = true }
cadence-macros = { workspace = true }
bubblegum-batch-sdk = { workspace = true }
bubblegum-batch-sdk = { workspace = true }
spl-account-compression = { workspace = true }
Loading

0 comments on commit ec088cd

Please sign in to comment.