Skip to content

Update Anchor and Solana dependencies#345

Draft
mina86 wants to merge 1 commit intomasterfrom
mpn/a
Draft

Update Anchor and Solana dependencies#345
mina86 wants to merge 1 commit intomasterfrom
mpn/a

Conversation

@mina86
Copy link
Copy Markdown
Contributor

@mina86 mina86 commented Jun 15, 2024

Anchor 0.30 changed how IDL is generated. Unfortunately that change lead to build failures since now types need to implement IdlBuild trait (which our custom types and more crucially IBC types do not implement). Fixing this would be rather involved as we’d have to wrap all foreign types leading to uglier code throughout.

Since we don’t actually use the generated IDL, rather than fixing all that simply build Anchor programs without it.

@dhruvja
Copy link
Copy Markdown
Contributor

dhruvja commented Jun 15, 2024

We get Access violation in unknown section at address 0x9a of size 1 when we use 1.18 version of solana program.

@mina86 mina86 changed the title Update Anchor and Solana dependencies Update Anchor dependency Jun 18, 2024
@mina86 mina86 changed the title Update Anchor dependency Update Anchor and Solana dependencies Jun 18, 2024
@mina86
Copy link
Copy Markdown
Contributor Author

mina86 commented Jun 18, 2024

Anchor 0.30 requires Solana 1.18 (they claim it doesn’t but anchor-spl transitively depends on package which requires solana-program 1.18) so let’s leave this for now.

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.

2 participants