Skip to content

Commit

Permalink
Expose ChargedAmount (paritytech#13488)
Browse files Browse the repository at this point in the history
* Expose `ChargedAmount`

* Fix imports
  • Loading branch information
pmikolajczyk41 authored and nathanwhit committed Jul 19, 2023
1 parent 88953b9 commit 720d953
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions frame/contracts/src/chain_extension.rs
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,6 @@
//! on how to use a chain extension in order to provide new features to ink! contracts.

use crate::{
gas::ChargedAmount,
wasm::{Runtime, RuntimeCosts},
Error,
};
Expand All @@ -80,7 +79,7 @@ use frame_support::weights::Weight;
use sp_runtime::DispatchError;
use sp_std::{marker::PhantomData, vec::Vec};

pub use crate::{exec::Ext, Config};
pub use crate::{exec::Ext, gas::ChargedAmount, Config};
pub use frame_system::Config as SysConfig;
pub use pallet_contracts_primitives::ReturnFlags;

Expand Down

0 comments on commit 720d953

Please sign in to comment.