diff --git a/CHANGELOG.md b/CHANGELOG.md index 1bfc896..e9687da 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,6 +5,12 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). +## [0.6.1] - Unreleased + +### Fixed + +- **No program entrypoints**: `spl-token` and `spl-associated-token-account` are built with their `no-entrypoint` feature. Without it each defined an `entrypoint` symbol, so a test binary linking kite and an Anchor program failed with `duplicate symbol: entrypoint`. Anchor's IDL build links the tests, so `anchor build` failed for `compression/cnft-vault` in solana-program-examples. Kite only calls their instruction builders; the token programs themselves run inside LiteSVM. + ## [0.6.0] - Unreleased ### Breaking Changes diff --git a/Cargo.lock b/Cargo.lock index e9ab558..d474522 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -2677,7 +2677,7 @@ dependencies = [ [[package]] name = "solana-kite" -version = "0.6.0" +version = "0.6.1" dependencies = [ "litesvm", "solana-account", diff --git a/Cargo.toml b/Cargo.toml index 5c3fa6a..626a5df 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "solana-kite" -version = "0.6.0" +version = "0.6.1" edition = "2021" authors = ["Mike MacCana "] description = "High level client-side tools for testing your Solana programs" @@ -36,8 +36,11 @@ solana-signer = "3.0.0" solana-sdk-ids = "3.1" solana-transaction = "4.1.5" -spl-token = "9.0.0" -spl-associated-token-account = "8.0.0" +# kite calls these crates' instruction builders; the token programs themselves run +# inside LiteSVM. Without `no-entrypoint` each defines an `entrypoint` symbol, which +# clashes with the program under test's when a test binary links both. +spl-token = { version = "9.0.0", features = ["no-entrypoint"] } +spl-associated-token-account = { version = "8.0.0", features = ["no-entrypoint"] } [dev-dependencies] # PACKET_DATA_SIZE, the 1,232-byte legacy transaction size limit, and wincode,