8000 Anchor0.31 by daog1 · Pull Request #163 · kevinheavey/anchorpy · GitHub
[go: up one dir, main page]

Skip to content

Anchor0.31 - #163

Open
daog1 wants to merge 2 commits into
kevinheavey:mainfrom
Solana-ZH:anchor0.31
Open

daog1 wants to merge 2 commits into
kevinheavey:mainfrom
Solana-ZH:anchor0.31

Conversation

@daog1
@daog1 daog1 commented Jul 22, 2025
Copy link
Copy Markdown

Modified project dependencies to use anchorpy-idl and updated anchorpy-idl to support conversion from older Anchor IDL versions to newer ones. All tests in the project have passed.

@Rjohn666
Copy link
Copy Markdown

牛逼

@HealthyBuilder
Copy link
Copy Markdown

niu bi! Let's fucking go!

@nolimitech
Copy link
Copy Markdown

Pretty nice.
Maybe we should include a IDL converter. I still wonder, why there is no converter already...
Such as fetching from solscan.io or explorer.solana.com based on pubkey.

  1. Newer to Older (more easy to downsample).
    • signer => isSigner,
    • writable => isMut
    • etc..
  2. Older to newer (will miss some informations, such as metadata, etc..).

@daog1
daog1 commented Aug 7, 2025
Copy link
Copy Markdown
Author

Pretty nice.  相当不错。 Maybe we should include a IDL converter. I still wonder, why there is no converter already...也许我们应该包括一个 IDL 转换器。我仍然想知道,为什么还没有转换器...... Such as fetching from solscan.io or explorer.solana.com based on pubkey.例如从基于 pubkey 的 solscan.io 或 explorer.solana.com 获取。

  1. Newer to Older (more easy to downsample).
    从新到旧(更容易缩减采样)。
    • signer => isSigner,  签名者 => isSigner,
    • writable => isMut  可写 => isMut
    • etc..  等。。
  2. Older to newer (will miss some informations, such as metadata, etc..).从旧到新(会遗漏一些信息,例如元数据等)。

Sure, I added an automatic conversion feature in this PR: kevinheavey/anchorpy-idl#2

@DINGYIOK
DINGYIOK commented Sep 6, 2025
Copy link
Copy Markdown

That's amazing! I really hope AnchorPy supports 0.31

@markovejnovic markovejnovic mentioned this pull request Feb 1, 2026
3 tasks
@markovejnovic
Copy link
Copy Markdown

Thanks for the PR @daog1!! I improved on the quality a little bit and opened up a PR targeting 0.32.1. All tests are passing, but I think the test-suite is not as large as I'd like it to be (I couldn't find a lot of the IDLs that historically existed in the repo).

#166

This branch has not been deployed

No deployments
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.

6 participants

13 0