From d207cd792bf29d82426c869ca8e20f286d485cc6 Mon Sep 17 00:00:00 2001 From: Maximilian Schneider Date: Fri, 4 Oct 2024 12:37:46 +0100 Subject: [PATCH] fix compilation --- Anchor.toml | 21 +++++++++++++-------- programs/autobahn-executor/src/lib.rs | 2 +- 2 files changed, 14 insertions(+), 9 deletions(-) diff --git a/Anchor.toml b/Anchor.toml index c8c8117..98cf500 100644 --- a/Anchor.toml +++ b/Anchor.toml @@ -1,15 +1,20 @@ [toolchain] anchor_version = "0.28.0" -solana_version = "1.16.14" +solana_version = "1.17.34" -[workspace] -members = [ - "programs/autobahn-executor" -] +[features] +resolution = true +skip-lint = false + +[programs.mainnet] +autobahn_executor = "AutobNFLMzX1rFCDgwWpwr3ztG5c1oDbSrGq7Jj2LgE" + +[registry] +url = "https://api.apr.dev" [provider] -cluster = "mainnet" +cluster = "Mainnet" wallet = "~/.config/solana/id.json" -[programs.mainnet] -autobahn_executor = "AutobNFLMzX1rFCDgwWpwr3ztG5c1oDbSrGq7Jj2LgE" \ No newline at end of file +[workspace] +members = ["programs/autobahn-executor"] \ No newline at end of file diff --git a/programs/autobahn-executor/src/lib.rs b/programs/autobahn-executor/src/lib.rs index c85c669..50dd562 100644 --- a/programs/autobahn-executor/src/lib.rs +++ b/programs/autobahn-executor/src/lib.rs @@ -25,7 +25,7 @@ security_txt! { policy: "https://github.com/blockworks-foundation/autobahn/blob/master/SECURITY.md", source_code: "https://github.com/blockworks-foundation/autobahn", source_revision: default_env!("GITHUB_SHA", ""), - source_release: default_env!("GITHUB_REF_NAME", ""), + source_release: default_env!("GITHUB_REF_NAME", "") } #[cfg(not(feature = "no-entrypoint"))]