Skip to content

Commit

Permalink
Expose structs used for invocation metering. (#1496)
Browse files Browse the repository at this point in the history
### What

Expose structs used for invocation metering.

### Why

These are meant to be public.

### Known limitations

N/A
  • Loading branch information
dmkozh authored Dec 11, 2024
1 parent 25f8d3a commit 64caabb
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion soroban-env-host/src/host.rs
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ mod declared_size;
pub(crate) mod error;
pub(crate) mod frame;
#[cfg(any(test, feature = "testutils"))]
mod invocation_metering;
pub mod invocation_metering;
pub(crate) mod ledger_info_helper;
pub(crate) mod lifecycle;
mod mem_helper;
Expand Down
3 changes: 3 additions & 0 deletions soroban-env-host/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,9 @@ pub use host::{
};
pub use soroban_env_common::*;

#[cfg(any(test, feature = "testutils"))]
pub use host::invocation_metering::{FeeEstimate, InvocationResources};

pub mod ledger_info;
pub use ledger_info::LedgerInfo;

Expand Down

0 comments on commit 64caabb

Please sign in to comment.