Skip to content
This repository was archived by the owner on Oct 3, 2025. It is now read-only.

Commit 376ada8

Browse files
Expose ChargedAmount (paritytech#13488)
* Expose `ChargedAmount` * Fix imports
1 parent 3986560 commit 376ada8

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

frame/contracts/src/chain_extension.rs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,6 @@
7171
//! on how to use a chain extension in order to provide new features to ink! contracts.
7272
7373
use crate::{
74-
gas::ChargedAmount,
7574
wasm::{Runtime, RuntimeCosts},
7675
Error,
7776
};
@@ -80,7 +79,7 @@ use frame_support::weights::Weight;
8079
use sp_runtime::DispatchError;
8180
use sp_std::{marker::PhantomData, vec::Vec};
8281

83-
pub use crate::{exec::Ext, Config};
82+
pub use crate::{exec::Ext, gas::ChargedAmount, Config};
8483
pub use frame_system::Config as SysConfig;
8584
pub use pallet_contracts_primitives::ReturnFlags;
8685

0 commit comments

Comments
 (0)