From 14d61a2e98627645cd360d286989f064fcd3d8ea Mon Sep 17 00:00:00 2001 From: Kris Nuttycombe Date: Fri, 1 Sep 2023 12:46:13 -0600 Subject: [PATCH] zcash_primitives: Remove the deprecated 1000-ZAT DEFAULT_FEE constant --- zcash_primitives/CHANGELOG.md | 2 ++ zcash_primitives/src/transaction/components/amount.rs | 8 -------- 2 files changed, 2 insertions(+), 8 deletions(-) diff --git a/zcash_primitives/CHANGELOG.md b/zcash_primitives/CHANGELOG.md index 44f903ca0..d5855b66a 100644 --- a/zcash_primitives/CHANGELOG.md +++ b/zcash_primitives/CHANGELOG.md @@ -37,6 +37,8 @@ and this library adheres to Rust's notion of - `impl {PartialEq, Eq} for transaction::builder::Error` (use `assert_matches!` where error comparisons are required) - `zcash_primitives::transaction::components::orchard::Unauthorized` +- `zcash_primitives::transaction::components::amount::DEFAULT_FEE` was + deprecated in 0.12.0 and has now been removed. ## [0.12.0] - 2023-06-06 ### Added diff --git a/zcash_primitives/src/transaction/components/amount.rs b/zcash_primitives/src/transaction/components/amount.rs index 83b57c38d..b4e8c4f1e 100644 --- a/zcash_primitives/src/transaction/components/amount.rs +++ b/zcash_primitives/src/transaction/components/amount.rs @@ -8,14 +8,6 @@ use orchard::value as orchard; pub const COIN: i64 = 1_0000_0000; pub const MAX_MONEY: i64 = 21_000_000 * COIN; -#[deprecated( - since = "0.12.0", - note = "To calculate the ZIP 317 fee, use `transaction::fees::zip317::FeeRule`. -For a constant representing the minimum ZIP 317 fee, use `transaction::fees::zip317::MINIMUM_FEE`. -For the constant amount 1000 zatoshis, use `Amount::const_from_i64(1000)`." -)] -pub const DEFAULT_FEE: Amount = Amount(1000); - /// A type-safe representation of some quantity of Zcash. /// /// An Amount can only be constructed from an integer that is within the valid monetary