Skip to content

Bump spl-tlv-account-resolution to 0.11.3 - #138

Merged
mikemaccana merged 1 commit into
mainfrom
claude/anchor-v1-solana-examples-lzh5no
Sep 3, 2026
Merged

Bump spl-tlv-account-resolution to 0.11.3#138
mikemaccana merged 1 commit into
mainfrom
claude/anchor-v1-solana-examples-lzh5no

Conversation

@mikemaccana

Copy link
Copy Markdown
Collaborator

Summary

Updates the spl-tlv-account-resolution dependency from 0.11.1 to 0.11.3 across multiple transfer hook programs to resolve a transitive dependency compatibility issue.

Changes

  • Updated spl-tlv-account-resolution version constraint in:
    • tokens/token-extensions/transfer-hook/allow-block-list-token/anchor-v1/programs/abl-token/Cargo.toml
    • tokens/token-extensions/transfer-hook/transfer-cost/anchor-v1/programs/transfer-hook/Cargo.toml

Details

Version 0.11.2 of spl-tlv-account-resolution introduced a transitive dependency on spl-list-view 0.1.0, which was incompatible with spl-pod 0.7.3 due to a breaking change in the PodLength trait's error type. This caused compilation failures in lockfiles created during the window before the upstream fix. Version 0.11.3 resolves this incompatibility and was released the same day as the spl-pod update. Setting the floor to 0.11.3 ensures past this broken dependency pair.

https://claude.ai/code/session_015wh3nRzs8oAUpNbCY97gDi

…xamples

The weekly Anchor v1 run on 31 August failed in two projects, transfer-cost
and allow-block-list-token, both at `anchor build`:

    Compiling spl-list-view v0.1.0
    error[E0277]: `?` couldn't convert the error to `ProgramError`
      --> src/list_view.rs:104:38

Neither project names spl-list-view. Both depend on
spl-tlv-account-resolution "0.11.1", and 0.11.2, published on 26 August,
added spl-list-view 0.1.0 as a dependency. That crate was written in February
against spl-pod 0.7.2, whose `PodLength` fixed the `TryFrom<usize>` error type
to `PodSliceError`. spl-pod 0.7.3 in April dropped that constraint, so
`L::try_from(..)?` no longer had a `From` impl to go through, and spl-list-view
0.1.0 has not compiled against a fresh resolution since. Nothing here pulled it
in until 0.11.2 appeared, and the scheduled run was the first fresh resolution
after that.

Upstream fixed it within hours of the run: spl-list-view 0.1.1, spl-pod 0.7.4
and spl-tlv-account-resolution 0.11.3 all shipped on 31 August, and 0.11.3
requires spl-list-view 0.1.1. A fresh resolution today lands on 0.11.3 and
both programs build; the re-run of the failed jobs confirms it.

Nothing in this repository was wrong, so the change is a floor, not a fix:
requiring 0.11.3 means a lockfile generated between the 26th and the 31st
cannot keep the broken pair after `cargo update`, and the comment records why
the number is what it is. The other transfer-hook examples pin the 0.9 line,
which never depended on spl-list-view.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_015wh3nRzs8oAUpNbCY97gDi
@mikemaccana
mikemaccana merged commit d3e6385 into main Sep 3, 2026
31 checks passed
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.

1 participant