Skip to content

Commit

Permalink
fix solana version issues
Browse files Browse the repository at this point in the history
  • Loading branch information
sduchesneau committed Oct 18, 2024
1 parent 241b67b commit 0cee8db
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion sol-minimal/templates/Cargo.toml.gotmpl
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ num-traits = "0.2.15"
prost = "0.13.3"
prost-types = "0.13.3"
substreams = "0.6.0"
substreams-solana = "0.14.0"
substreams-solana = "0.14.1"
substreams-solana-program-instructions = "0.2.0"
substreams-database-change = "2.0"
substreams-entity-change = "2.0"
Expand Down
2 changes: 1 addition & 1 deletion sol-minimal/templates/src/lib.rs.gotmpl
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,6 @@ fn map_my_data(blk: Block) -> mydata::MyData {
my_data.block_slot = blk.slot;
my_data.block_timestamp = blk.block_time.clone().unwrap_or_default().timestamp as u64;
my_data.transactions_len = blk.transactions.len() as u64;
my_data.instructions_len = blk.instructions().count() as u64;
my_data.instructions_len = blk.walk_instructions().count() as u64;
my_data
}

0 comments on commit 0cee8db

Please sign in to comment.