Skip to content

Commit

Permalink
Update Rust, Solana version and CI runner (#71)
Browse files Browse the repository at this point in the history
  • Loading branch information
danenbm authored Mar 5, 2024
1 parent 0bf3c81 commit bc79f34
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 6 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,11 @@ on:
env:
CARGO_TERM_COLOR: always
IMAGE_NAME: plerkle-test-validator
RUST_VERSION: 1.69.0
SOLANA_VERSION_STABLE: v1.16.6
RUST_VERSION: 1.73.0
SOLANA_VERSION_STABLE: v1.17.20
jobs:
release-stable:
runs-on: buildjet-8vcpu-ubuntu-2004
runs-on: ubuntu-20-04-8-cores
steps:
- uses: actions/checkout@v2
- name: Set env vars
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,12 +12,12 @@ on:
env:
CARGO_TERM_COLOR: always
IMAGE_NAME: plerkle-test-validator
RUST_VERSION: 1.69.0
SOLANA_VERSION_STABLE: v1.16.6
RUST_VERSION: 1.73.0
SOLANA_VERSION_STABLE: v1.17.20

jobs:
test-stable:
runs-on: buildjet-4vcpu-ubuntu-2004
runs-on: ubuntu-20-04-8-cores
steps:
- uses: actions/checkout@v2
- name: Set env vars
Expand Down
9 changes: 9 additions & 0 deletions plerkle/src/geyser_plugin_nft.rs
Original file line number Diff line number Diff line change
Expand Up @@ -126,6 +126,15 @@ impl<'a> PlerklePrivateMethods for Plerkle<'a> {
block_time: block_info.block_time,
block_height: block_info.block_height,
executed_transaction_count: 0,
},
ReplicaBlockInfoVersions::V0_0_3(block_info) => plerkle_serialization::solana_geyser_plugin_interface_shims::ReplicaBlockInfoV2 {
parent_slot: 0,
parent_blockhash: "",
slot: block_info.slot,
blockhash: block_info.blockhash,
block_time: block_info.block_time,
block_height: block_info.block_height,
executed_transaction_count: 0,
}
}
}
Expand Down

0 comments on commit bc79f34

Please sign in to comment.