From bcdad1cc2cc3b9b4646f6c92243e536c5061074d Mon Sep 17 00:00:00 2001 From: Tommy Johnson Date: Mon, 6 Jan 2025 20:04:04 -0500 Subject: [PATCH] address PR comments --- mev-programs/Anchor.toml | 2 +- mev-programs/programs/sdk/Cargo.toml | 2 +- mev-programs/programs/tip-payment/src/lib.rs | 4 ++++ 3 files changed, 6 insertions(+), 2 deletions(-) diff --git a/mev-programs/Anchor.toml b/mev-programs/Anchor.toml index 81983d5..214df1a 100644 --- a/mev-programs/Anchor.toml +++ b/mev-programs/Anchor.toml @@ -31,4 +31,4 @@ test = "yarn ts-mocha -p ./tsconfig.json -t 1000000 tests/**/*.{ts,js}" slots_per_epoch = "32" [features] -resolution = false \ No newline at end of file +resolution = false diff --git a/mev-programs/programs/sdk/Cargo.toml b/mev-programs/programs/sdk/Cargo.toml index 969547f..b02b10e 100644 --- a/mev-programs/programs/sdk/Cargo.toml +++ b/mev-programs/programs/sdk/Cargo.toml @@ -5,4 +5,4 @@ edition = "2021" [dependencies] anchor-lang = "0.30.1" -jito-tip-distribution = { features = ["no-entrypoint", "no-idl"], path = "../tip-distribution" } \ No newline at end of file +jito-tip-distribution = { features = ["no-entrypoint", "no-idl"], path = "../tip-distribution" } diff --git a/mev-programs/programs/tip-payment/src/lib.rs b/mev-programs/programs/tip-payment/src/lib.rs index 06b87c7..3e851eb 100644 --- a/mev-programs/programs/tip-payment/src/lib.rs +++ b/mev-programs/programs/tip-payment/src/lib.rs @@ -697,6 +697,10 @@ impl TipPaymentAccount { Ok(tips) } + #[deprecated( + since = "0.1.5", + note = "please change back to Anchor's `#[account(init)]` method" + )] fn initialize<'info>( seeds: &[u8], program_id: &Pubkey,