chore(utxorpc): update spec to v0.14 and update redeemer mapper (#559)
Co-authored-by: ricomiles <ricoquiblat@gmail.com>
This commit is contained in:
parent
e2aa8139fc
commit
ac66eb9473
4 changed files with 49 additions and 1 deletions
|
|
@ -65,6 +65,12 @@ impl<C: LedgerContext> Mapper<C> {
|
|||
u5c::Redeemer {
|
||||
purpose: self.map_purpose(&x.tag()).into(),
|
||||
payload: self.map_plutus_datum(x.data()).into(),
|
||||
index: x.index().into(),
|
||||
ex_units: Some(u5c::ExUnits {
|
||||
steps: x.ex_units().steps,
|
||||
memory: x.ex_units().mem,
|
||||
}),
|
||||
original_cbor: x.encode().into(),
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue