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

Commit

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

* Fix imports
  • Loading branch information
pmikolajczyk41 authored and gpestana committed Mar 1, 2023
1 parent 397ce89 commit 1349e6a
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 1349e6a

Please sign in to comment.