Skip to content

Commit 3555d94

Browse files
gzalzebatsell
andauthored
Upgrade solana deps to 3.0.x (#178)
**What’s Changed?** **Important**: * This release requires that the underlying RPC is running agave/jito-solana version 3.0.0 or higher. * You must include the following changes into your operator’s service configuration file: ``` LimitMEMLOCK=2000000000 LimitNOFILE=1000000 RESTAKING_PROGRAM_ID=RestkWeAVL8fRGgzhfeoqFhsqKRchg6aa1XrcH96z4Q ``` * Upgrade jito-solana dependencies to 3.x * Removal of anchor-lang dependencies * Upgrade rust-toolchain to 1.89.0 * Removal of various spl program crates * Introduction of new spl program interface crates * Upstream changes reflected in load_and_process_ledger --------- Co-authored-by: Evan Batsell <[email protected]>
1 parent fd20535 commit 3555d94

File tree

135 files changed

+7617
-4850
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

135 files changed

+7617
-4850
lines changed

.github/workflows/ci.yaml

Lines changed: 2 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -41,29 +41,6 @@ jobs:
4141
with:
4242
fail-if-changed: true
4343
fail-message: 'Unexpected changes in the shank IDL files. Please run `./target/release/jito-tip-router-shank-cli` to regenerate the files.'
44-
- name: Set Node.js 22.x
45-
uses: actions/setup-node@v3
46-
with:
47-
node-version: 22.x
48-
- name: Run install
49-
uses: borales/actions-yarn@v4
50-
with:
51-
cmd: install
52-
- name: Generate kinobi IDL files
53-
uses: borales/actions-yarn@v4
54-
with:
55-
cmd: generate-clients
56-
- name: Verify no changed files
57-
uses: tj-actions/verify-changed-files@v20
58-
id: verify-changed-kinobi-files
59-
- name: Run step only when any of the above files change.
60-
if: steps.verify-changed-kinobi-files.outputs.files_changed == 'true'
61-
env:
62-
CHANGED_FILES: ${{ steps.verify-changed-kinobi-files.outputs.changed_files }}
63-
run: |
64-
echo "Changed files: $CHANGED_FILES"
65-
echo "Unexpected changes in the client files. Please run `yarn generate-clients` to regenerate the files."
66-
exit 1
6744

6845
lint:
6946
name: lint
@@ -114,7 +91,7 @@ jobs:
11491
run: echo "/home/runner/.local/share/solana/install/active_release/bin" >> $GITHUB_PATH
11592
# TODO: remove
11693
- name: Building programs
117-
run: cargo-build-sbf
94+
run: cd program && cargo-build-sbf && cd ..
11895
env:
11996
TIP_ROUTER_PROGRAM_ID: ${{ env.TIP_ROUTER_PROGRAM_ID }}
12097
SBF_OUT_PATH: ${{ github.workspace }}/target/sbf-solana-solana/release
@@ -193,7 +170,7 @@ jobs:
193170
- uses: taiki-e/install-action@nextest
194171
- run: cargo nextest run --all-features -E 'not test(ledger_utils::tests)'
195172
env:
196-
SBF_OUT_DIR: ${{ github.workspace }}/integration_tests/tests/fixtures
173+
SBPF_OUT_DIR: ${{ github.workspace }}/integration_tests/tests/fixtures
197174

198175
# create_release:
199176
# name: Create Release

0 commit comments

Comments
 (0)