chore(interop): update u5c spec to v0.7.0 (#489)
This commit is contained in:
parent
1406d7a599
commit
a85619623d
2 changed files with 4 additions and 1 deletions
|
|
@ -16,7 +16,7 @@ pallas-primitives = { version = "=0.28.0", path = "../pallas-primitives" }
|
|||
pallas-codec = { version = "=0.28.0", path = "../pallas-codec" }
|
||||
pallas-crypto = { version = "=0.28.0", path = "../pallas-crypto" }
|
||||
|
||||
utxorpc-spec = { version = "0.6.0" }
|
||||
utxorpc-spec = { version = "0.7.0" }
|
||||
|
||||
[dev-dependencies]
|
||||
hex = "0.4.3"
|
||||
|
|
|
|||
|
|
@ -279,6 +279,7 @@ impl<C: LedgerContext> Mapper<C> {
|
|||
|
||||
u5c::Certificate {
|
||||
certificate: inner.into(),
|
||||
redeemer: None, // TODO
|
||||
}
|
||||
}
|
||||
|
||||
|
|
@ -286,6 +287,7 @@ impl<C: LedgerContext> Mapper<C> {
|
|||
u5c::Withdrawal {
|
||||
reward_account: Vec::from(x.0).into(),
|
||||
coin: x.1,
|
||||
redeemer: None, // TODO
|
||||
}
|
||||
}
|
||||
|
||||
|
|
@ -301,6 +303,7 @@ impl<C: LedgerContext> Mapper<C> {
|
|||
u5c::Multiasset {
|
||||
policy_id: x.policy().to_vec().into(),
|
||||
assets: x.assets().iter().map(|x| self.map_asset(x)).collect(),
|
||||
redeemer: None, // TODO
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue