From 758ba84e4bf47b41cd4fdb42791f22030d8a6537 Mon Sep 17 00:00:00 2001 From: acheron <98934430+acheroncrypto@users.noreply.github.com> Date: Sun, 1 Dec 2024 20:44:47 +0100 Subject: [PATCH] cli: Avoid extra IDL generation during `verify` (#3398) --- CHANGELOG.md | 2 ++ cli/src/lib.rs | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index a125fab050..78126acdf3 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -97,6 +97,8 @@ The minor version will be incremented upon a breaking change and the patch versi - idl: Fix detecting false-positives from doc comments during module path conversion ([#3359](https://github.com/coral-xyz/anchor/pull/3359)). - cli: Remove passing the rent sysvar account to IDL instructions ([#3372](https://github.com/coral-xyz/anchor/pull/3372)). - lang: Fix `cpi` feature instructions not accounting for discriminator overrides ([#3376](https://github.com/coral-xyz/anchor/pull/3376)). +- idl: Ignore compiler warnings during builds ([#3396](https://github.com/coral-xyz/anchor/pull/3396)). +- cli: Avoid extra IDL generation during `verify` ([#3398](https://github.com/coral-xyz/anchor/pull/3398)). ### Breaking diff --git a/cli/src/lib.rs b/cli/src/lib.rs index ac90750112..462379b1b7 100644 --- a/cli/src/lib.rs +++ b/cli/src/lib.rs @@ -2067,7 +2067,7 @@ fn verify( if !skip_build { build( cfg_override, - false, + true, None, None, true,