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 1d600bd commit bfc2e15Copy full SHA for bfc2e15
rust/cardano-blockchain-types/src/auxdata/aux_data.rs
@@ -96,6 +96,8 @@ impl TransactionAuxData {
96
fn decode_alonzo_plus_map(d: &mut minicbor::Decoder) -> Result<Self, minicbor::decode::Error> {
97
match d.tag() {
98
Ok(tag) => {
99
+ // CBOR tag identifier 259 for auxiliary data in the Alonzo and beyond eras
100
+ // https://github.com/IntersectMBO/cardano-ledger/blob/78b32d585fd4a0340fb2b184959fb0d46f32c8d2/eras/conway/impl/cddl-files/conway.cddl#L526
101
if tag.as_u64() != 259 {
102
return Err(minicbor::decode::Error::message(format!(
103
"Invalid tag for Alonzo+ Aux Data. Expected 259, found {tag}."
0 commit comments