Merge pull request #931 from nuttycom/remove_deprecated_default_fee

zcash_primitives: Remove the deprecated 1000-ZAT DEFAULT_FEE constant
This commit is contained in:
Kris Nuttycombe 2023-09-01 14:40:11 -06:00 committed by GitHub
commit 224e021558
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 8 deletions

View File

@ -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

View File

@ -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