File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed
internal/cardano-node/mithril-cardano-node-chain/src/chain_reader Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -94,9 +94,10 @@ impl PallasChainReader {
9494 next : NextResponse < BlockContent > ,
9595 ) -> StdResult < Option < ChainBlockNextAction > > {
9696 match next {
97- NextResponse :: RollForward ( raw_block, _forward_tip) => {
98- let multi_era_block = MultiEraBlock :: decode ( & raw_block)
99- . with_context ( || "PallasChainReader failed to decode raw block" ) ?;
97+ NextResponse :: RollForward ( raw_block, forward_tip) => {
98+ let multi_era_block = MultiEraBlock :: decode ( & raw_block) . with_context ( || {
99+ format ! ( "PallasChainReader failed to decode raw block at {forward_tip:?}: {raw_block:?} " )
100+ } ) ?;
100101 let parsed_block = ScannedBlock :: convert ( multi_era_block) ;
101102 Ok ( Some ( ChainBlockNextAction :: RollForward { parsed_block } ) )
102103 }
You can’t perform that action at this time.
0 commit comments