Skip to content

Commit 71a6678

Browse files
authored
Merge pull request #219 from openmina/chore/fix-warnings
chore: Fix warnings
2 parents 5da2938 + b6dfef5 commit 71a6678

File tree

39 files changed

+55
-53
lines changed

39 files changed

+55
-53
lines changed

node/src/block_producer/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ mod block_producer_actions;
1313
pub use block_producer_actions::*;
1414

1515
mod block_producer_reducer;
16-
pub use block_producer_reducer::*;
16+
1717

1818
mod block_producer_effects;
1919
pub use block_producer_effects::*;

node/src/block_producer/vrf_evaluator/mod.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,10 +15,10 @@ mod block_producer_vrf_evaluator_actions;
1515
pub use block_producer_vrf_evaluator_actions::*;
1616

1717
mod block_producer_vrf_evaluator_reducer;
18-
pub use block_producer_vrf_evaluator_reducer::*;
18+
1919

2020
mod block_producer_vrf_evaluator_effects;
21-
pub use block_producer_vrf_evaluator_effects::*;
21+
2222

2323
mod block_producer_vrf_evaluator_service;
2424
pub use block_producer_vrf_evaluator_service::*;

node/src/consensus/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ mod consensus_actions;
55
pub use consensus_actions::*;
66

77
mod consensus_reducer;
8-
pub use consensus_reducer::*;
8+
99

1010
mod consensus_effects;
1111
pub use consensus_effects::*;

node/src/ledger/ledger_service.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -784,7 +784,7 @@ impl<T: LedgerService> BlockProducerService for T {
784784
won_slot.global_slot_since_genesis(pred_block.global_slot_diff());
785785

786786
// TODO(binier): include `invalid_txns` in output.
787-
let (pre_diff, invalid_txns) = staged_ledger
787+
let (pre_diff, _invalid_txns) = staged_ledger
788788
.create_diff(
789789
&CONSTRAINT_CONSTANTS,
790790
(&global_slot_since_genesis).into(),

node/src/logger/logger_effects.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -681,7 +681,6 @@ pub fn logger_effects<S: Service>(store: &Store<S>, action: ActionWithMetaRef<'_
681681
summary = format!("Vrf Evaluation requested: {:?}", a.vrf_input),
682682
)
683683
}
684-
_ => {}
685684
},
686685
BlockProducerAction::BestTipUpdate(_) => {}
687686
_ => {}

node/src/p2p/channels/best_tip/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
pub use ::p2p::channels::best_tip::*;
22

33
mod p2p_channels_best_tip_actions;
4-
pub use p2p_channels_best_tip_actions::*;
4+

node/src/p2p/channels/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,4 +6,4 @@ pub mod snark;
66
pub mod snark_job_commitment;
77

88
mod p2p_channels_actions;
9-
pub use p2p_channels_actions::*;
9+

node/src/p2p/channels/rpc/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
pub use ::p2p::channels::rpc::*;
22

33
mod p2p_channels_rpc_actions;
4-
pub use p2p_channels_rpc_actions::*;
4+

node/src/p2p/channels/snark/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
pub use ::p2p::channels::snark::*;
22

33
mod p2p_channels_snark_actions;
4-
pub use p2p_channels_snark_actions::*;
4+
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
pub use ::p2p::channels::snark_job_commitment::*;
22

33
mod p2p_channels_snark_job_commitment_actions;
4-
pub use p2p_channels_snark_job_commitment_actions::*;
4+

0 commit comments

Comments
 (0)