Skip to content

@codama/nodes-from-anchor@1.5.6

Choose a tag to compare

@codama-releases codama-releases released this 15 Sep 07:38
· 2 commits to 1.x since this release
84cabd1

Patch Changes

  • #1126 9a19abf Thanks @lorisleiva! - Fix Vec<u8> instruction arguments used as PDA seeds to derive from their raw bytes instead of the Borsh size-prefixed encoding. Anchor derives byte-array seeds from the unprefixed bytes, so the generated seed type previously produced a different PDA than the on-chain program for any program using a Vec<u8> seed.

  • #1127 3e5388a Thanks @lorisleiva! - Fix variable string and bytes PDA seeds from legacy Anchor IDLs to derive from their raw bytes instead of their Borsh size-prefixed encoding, matching the existing behaviour of constant seeds.

  • Updated dependencies [fa4a453, abefbeb, 362f618, 55b9ede, dabfe42, b418a9e]:

    • @codama/nodes@1.11.0
    • @codama/errors@1.11.0
    • @codama/visitors@1.11.0