Skip to content

Commit cb1c7ec

Browse files
committed
fix warns
1 parent b5deafe commit cb1c7ec

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

rust/src/builders/mod.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@ mod tx_builder;
3131
pub use tx_builder::*;
3232

3333
mod tx_builder_constants;
34-
pub use tx_builder_constants::*;
34+
#[allow(unused_imports)]
35+
pub(crate) use tx_builder_constants::*;
3536

3637
pub mod fakes;

rust/src/builders/tx_builder_constants.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,10 @@ use crate::*;
55
// 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
66
// The keys on the genesis block object (operation names) are sorted plain alphabetically.
77

8+
#[allow(dead_code)]
89
pub(crate) struct TxBuilderConstants();
910

11+
#[allow(dead_code)]
1012
impl TxBuilderConstants {
1113
pub(crate) fn plutus_default_cost_models() -> Costmdls {
1214
TxBuilderConstants::plutus_vasil_cost_models()

0 commit comments

Comments
 (0)