Actually decode Conway transaction in 'aiken tx simulate'
This commit is contained in:
parent
508d88035b
commit
c454dc72eb
|
@ -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);
|
||||||
|
|
Loading…
Reference in New Issue