Skip to content

Commit

Permalink
fix warns
Browse files Browse the repository at this point in the history
  • Loading branch information
lisicky committed Jan 28, 2025
1 parent b5deafe commit cb1c7ec
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 2 additions & 1 deletion rust/src/builders/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ mod tx_builder;
pub use tx_builder::*;

mod tx_builder_constants;
pub use tx_builder_constants::*;
#[allow(unused_imports)]
pub(crate) use tx_builder_constants::*;

pub mod fakes;
2 changes: 2 additions & 0 deletions rust/src/builders/tx_builder_constants.rs
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,10 @@ use crate::*;
// The cost-model values are taken from the genesis block - https://github.com/input-output-hk/cardano-node/blob/master/configuration/cardano/mainnet-alonzo-genesis.json#L26-L195
// The keys on the genesis block object (operation names) are sorted plain alphabetically.

#[allow(dead_code)]
pub(crate) struct TxBuilderConstants();

#[allow(dead_code)]
impl TxBuilderConstants {
pub(crate) fn plutus_default_cost_models() -> Costmdls {
TxBuilderConstants::plutus_vasil_cost_models()
Expand Down

0 comments on commit cb1c7ec

Please sign in to comment.