Skip to content

lang, cli, spl: Update solana toolchain to v1.9.13#1653

Merged
paul-schaaf merged 25 commits intosolana-foundation:masterfrom
fanatid:solana-update
Mar 27, 2022
Merged

lang, cli, spl: Update solana toolchain to v1.9.13#1653
paul-schaaf merged 25 commits intosolana-foundation:masterfrom
fanatid:solana-update

Conversation

@fanatid
Copy link
Contributor

@fanatid fanatid commented Mar 20, 2022

Close #1375

Probably I need to update also lock files in tests 🤔, will check and push changes if required.

edited:

@fanatid fanatid force-pushed the solana-update branch 2 times, most recently from 22757ca to 478539d Compare March 20, 2022 15:58
@dovahcrow
Copy link

Move to Solana 1.9 is very important because of the change of the zstd version (a C library), you cannot even have solana_* 1.8 and solana_* 1.9 coexist in the same library which breaks applications who is depending on both anchor 0.22/0.23 and solana 1.9.

e.g.

...
versions that meet the requirements ^0.5.1 are: 0.5.4+zstd.1.4.7, 0.5.3+zstd.1.4.5, 0.5.2+zstd.1.4.5, 0.5.1+zstd.1.4.4
the package zstd links to the native library zstd, but it conflicts with a previous package which links to zstd as well:
package zstd v0.9.0+zstd.1.5.0
... which satisfies dependency zstd = "^0.9.0" of package solana-account-decoder v1.9.13 (ssh://git@github.com/dovahcrow/solana-mole.git?branch=mole#4182d566)
... which satisfies git dependency solana-account-decoder of package solana-client v1.9.13 (ssh://git@github.com/dovahcrow/solana-mole.git?branch=mole#4182d566)

- run: cd tests/bpf-upgradeable-state && cp bpf_upgradeable_state-keypair.json target/deploy/bpf_upgradeable_state-keypair.json && anchor test --skip-local-validator --skip-build --skip-lint
- uses: ./.github/actions/git-diff/

# this test exists to make sure that anchor
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nit: let's do 80 chars for comments

@paul-schaaf paul-schaaf changed the title lang, cli, spl: Update solana toolchain to v1.9.0 lang, cli, spl: Update solana toolchain to v1.9.13 Mar 26, 2022
@@ -0,0 +1,4 @@
#!/bin/sh

rm ./tests/misc.ts
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should add a comment here for future readers.

@paul-schaaf paul-schaaf merged commit 40ea715 into solana-foundation:master Mar 27, 2022
@fanatid fanatid deleted the solana-update branch April 10, 2022 19:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Update solana crates to 1.9

4 participants