Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Replace Anchor dependency with a smaller fork #519

Merged
merged 1 commit into from
Oct 25, 2024

Conversation

mina86
Copy link
Contributor

@mina86 mina86 commented Oct 25, 2024

Replace Anchor dependency with a fork which diverges less from 0.29.
The previous one had 30 commits on top of v0.29.0 tag (with 29 pulled
from Anchor master). The new one is v0.29.0 with just a single commit
that we need on top of it.

Somehow this addresses the following build errors:

error[E0046]: not all trait items implemented, missing: `deserialize_reader`
  --> /home/mpn/.cargo/git/checkouts/anchor-714801cc5351d5e5/90a3008/lang/src/idl.rs:35:27
   |
35 | #[derive(AnchorSerialize, AnchorDeserialize)]
   |                           ^^^^^^^^^^^^^^^^^ missing `deserialize_reader` in implementation

error[E0046]: not all trait items implemented, missing: `deserialize_reader`
  --> /home/mpn/.cargo/git/checkouts/anchor-714801cc5351d5e5/90a3008/lang/src/idl.rs:62:1
   |
62 | #[account("internal")]
   | ^^^^^^^^^^^^^^^^^^^^^^ missing `deserialize_reader` in implementation

Replace Anchor dependency with a fork which diverges less from 0.29.
The previous one had 30 commits on top of v0.29.0 tag (with 29 pulled
from Anchor master).  The new one is v0.29.0 with just a single commit
that we need on top of it.
@mina86 mina86 merged commit 173c094 into ComposableFi:hyperspace-mantis Oct 25, 2024
@mina86 mina86 deleted the b branch October 25, 2024 14:53
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