We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 56cdc46 commit 91481e6Copy full SHA for 91481e6
node/src/ledger/write/ledger_write_reducer.rs
@@ -1,3 +1,4 @@
1
+use openmina_core::bug_condition;
2
use redux::Dispatcher;
3
4
use crate::{
@@ -120,7 +121,9 @@ impl LedgerWriteState {
120
121
&& global_slot_since_genesis == expected_global_slot
122
{
123
match result {
- Err(err) => todo!("handle staged ledger diff creation err: {err}"),
124
+ Err(err) => {
125
+ bug_condition!("StagedLedgerDiffCreate error: {err}");
126
+ }
127
Ok(output) => {
128
dispatcher.push(BlockProducerAction::StagedLedgerDiffCreateSuccess {
129
output,
0 commit comments