Skip to content

Commit

Permalink
Add subsidies for transfers only
Browse files Browse the repository at this point in the history
  • Loading branch information
dvush committed Mar 10, 2021
1 parent ccc8201 commit be9c8bc
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions core/bin/zksync_api/src/fee_ticker/constants.rs
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,6 @@ pub(crate) const BASE_CHANGE_PUBKEY_ONCHAIN_COST: u64 = CommitCost::CHANGE_PUBKE
// Represent the cost of performing operations after recursion is introduced to mainnet.
pub(crate) const SUBSIDY_TRANSFER_COST: u64 = BASE_TRANSFER_COST * 5 / 100;
pub(crate) const SUBSIDY_TRANSFER_TO_NEW_COST: u64 = BASE_TRANSFER_TO_NEW_COST * 5 / 100;
pub(crate) const SUBSIDY_WITHDRAW_COST: u64 = BASE_WITHDRAW_COST * 5 / 100;
pub(crate) const SUBSIDY_CHANGE_PUBKEY_OFFCHAIN_COST: u64 =
BASE_CHANGE_PUBKEY_OFFCHAIN_COST * 5 / 100;
pub(crate) const SUBSIDY_CHANGE_PUBKEY_CREATE2_COST: u64 =
BASE_CHANGE_PUBKEY_CREATE2_COST * 5 / 100;
pub(crate) const SUBSIDY_WITHDRAW_COST: u64 = BASE_WITHDRAW_COST;
pub(crate) const SUBSIDY_CHANGE_PUBKEY_OFFCHAIN_COST: u64 = BASE_CHANGE_PUBKEY_OFFCHAIN_COST;
pub(crate) const SUBSIDY_CHANGE_PUBKEY_CREATE2_COST: u64 = BASE_CHANGE_PUBKEY_CREATE2_COST;

0 comments on commit be9c8bc

Please sign in to comment.