Skip to content

Conversation

@lorisleiva
Copy link
Member

This PR updates Codama and the code it generates for the new web3.js to be compatible with the latest IInstructionWithData change introduce in solana-foundation/solana-web3.js#3632.

Note that, we need to wait for 2.1.0 to be published before merging this PR since, otherwise, we will be using a canary version in our dependencies.

@changeset-bot
Copy link

changeset-bot bot commented Nov 28, 2024

🦋 Changeset detected

Latest commit: dfd1934

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 6 packages
Name Type
@codama/renderers-js-umi Minor
@codama/dynamic-parsers Minor
@codama/dynamic-codecs Minor
@codama/renderers-rust Minor
@codama/renderers-js Minor
@codama/renderers Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@mcintyre94
Copy link
Contributor

Nice, thanks for this!

{% endif %}
{% if hasData %}
& IInstructionWithData<Uint8Array>
& IInstructionWithData<ReadonlyUint8Array>
Copy link
Contributor

Choose a reason for hiding this comment

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

Nice! I think this is the solution to the type error here, right? https://codesandbox.io/p/sandbox/dfsktf

Copy link
Member Author

Choose a reason for hiding this comment

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

That's right! I think this is ready to be merged actually since I believe the required changes are bundled in the latest Solana Kit version.

@lorisleiva
Copy link
Member Author

Closing in favour of #714

@lorisleiva lorisleiva closed this Jul 15, 2025
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.

4 participants