Back-merge v0.11 hotfix (#146)
This commit is contained in:
commit
f26a99f50e
2 changed files with 2 additions and 1 deletions
|
|
@ -1,7 +1,7 @@
|
||||||
[package]
|
[package]
|
||||||
name = "pallas-traverse"
|
name = "pallas-traverse"
|
||||||
description = "Utilities to traverse over multi-era block data"
|
description = "Utilities to traverse over multi-era block data"
|
||||||
version = "0.11.0"
|
version = "0.11.1"
|
||||||
edition = "2021"
|
edition = "2021"
|
||||||
repository = "https://github.com/txpipe/pallas"
|
repository = "https://github.com/txpipe/pallas"
|
||||||
homepage = "https://github.com/txpipe/pallas"
|
homepage = "https://github.com/txpipe/pallas"
|
||||||
|
|
|
||||||
|
|
@ -29,6 +29,7 @@ pub fn block_era(cbor: &[u8]) -> Outcome {
|
||||||
3 => Outcome::Matched(Era::Allegra),
|
3 => Outcome::Matched(Era::Allegra),
|
||||||
4 => Outcome::Matched(Era::Mary),
|
4 => Outcome::Matched(Era::Mary),
|
||||||
5 => Outcome::Matched(Era::Alonzo),
|
5 => Outcome::Matched(Era::Alonzo),
|
||||||
|
6 => Outcome::Matched(Era::Babbage),
|
||||||
_ => Outcome::Inconclusive,
|
_ => Outcome::Inconclusive,
|
||||||
},
|
},
|
||||||
_ => Outcome::Inconclusive,
|
_ => Outcome::Inconclusive,
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue