Actually decode Conway transaction in 'aiken tx simulate'
This commit is contained in:
@@ -79,7 +79,7 @@ pub fn exec(
|
|||||||
)
|
)
|
||||||
};
|
};
|
||||||
|
|
||||||
let tx = MultiEraTx::decode_for_era(Era::Babbage, &tx_bytes).into_diagnostic()?;
|
let tx = MultiEraTx::decode_for_era(Era::Conway, &tx_bytes).into_diagnostic()?;
|
||||||
|
|
||||||
eprintln!(
|
eprintln!(
|
||||||
"{} {}",
|
"{} {}",
|
||||||
|
|||||||
@@ -141,6 +141,10 @@ pub fn scripts_needed(
|
|||||||
})
|
})
|
||||||
.unwrap_or_default();
|
.unwrap_or_default();
|
||||||
|
|
||||||
|
// TODO
|
||||||
|
assert!(txb.proposal_procedures.is_none());
|
||||||
|
assert!(txb.voting_procedures.is_none());
|
||||||
|
|
||||||
needed.append(&mut spend);
|
needed.append(&mut spend);
|
||||||
needed.append(&mut reward);
|
needed.append(&mut reward);
|
||||||
needed.append(&mut cert);
|
needed.append(&mut cert);
|
||||||
|
|||||||
Reference in New Issue
Block a user