Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -94,9 +94,10 @@ impl PallasChainReader {
next: NextResponse<BlockContent>,
) -> StdResult<Option<ChainBlockNextAction>> {
match next {
NextResponse::RollForward(raw_block, _forward_tip) => {
let multi_era_block = MultiEraBlock::decode(&raw_block)
.with_context(|| "PallasChainReader failed to decode raw block")?;
NextResponse::RollForward(raw_block, forward_tip) => {
let multi_era_block = MultiEraBlock::decode(&raw_block).with_context(|| {
format!("PallasChainReader failed to decode raw block at {forward_tip:?}: {raw_block:?} ")
})?;
let parsed_block = ScannedBlock::convert(multi_era_block);
Ok(Some(ChainBlockNextAction::RollForward { parsed_block }))
}
Expand Down
2 changes: 1 addition & 1 deletion mithril-common/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ rustdoc-args = ["--cfg", "docsrs"]
ignored = ["serde_bytes"]

[features]
default = ["rug-backend"]
default = ["rug-backend", "allow_skip_signer_certification"]

# Enables `rug-backend` features for `mithril-stm` dependency
rug-backend = ["mithril-stm/rug-backend"]
Expand Down