Skip to content
This repository has been archived by the owner on Nov 15, 2023. It is now read-only.

Commit

Permalink
Remove redudnant trait: ComputeDispatchFee
Browse files Browse the repository at this point in the history
  • Loading branch information
pepyakin committed Jun 19, 2020
1 parent d140466 commit cc7cb96
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions frame/contracts/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -126,11 +126,6 @@ pub trait ContractAddressFor<CodeHash, AccountId> {
fn contract_address_for(code_hash: &CodeHash, data: &[u8], origin: &AccountId) -> AccountId;
}

/// A function that returns the fee for dispatching a `Call`.
pub trait ComputeDispatchFee<Call, Balance> {
fn compute_dispatch_fee(call: &Call) -> Balance;
}

/// Information for managing an account and its sub trie abstraction.
/// This is the required info to cache for an account
#[derive(Encode, Decode, RuntimeDebug)]
Expand Down

0 comments on commit cc7cb96

Please sign in to comment.