chore(interop): update u5c spec to v0.7.0 (#489)
This commit is contained in:
parent
9f9e088091
commit
8f74238dc5
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-codec = { version = "=0.28.0", path = "../pallas-codec" }
|
||||||
pallas-crypto = { version = "=0.28.0", path = "../pallas-crypto" }
|
pallas-crypto = { version = "=0.28.0", path = "../pallas-crypto" }
|
||||||
|
|
||||||
utxorpc-spec = { version = "0.6.0" }
|
utxorpc-spec = { version = "0.7.0" }
|
||||||
|
|
||||||
[dev-dependencies]
|
[dev-dependencies]
|
||||||
hex = "0.4.3"
|
hex = "0.4.3"
|
||||||
|
|
|
||||||
|
|
@ -279,6 +279,7 @@ impl<C: LedgerContext> Mapper<C> {
|
||||||
|
|
||||||
u5c::Certificate {
|
u5c::Certificate {
|
||||||
certificate: inner.into(),
|
certificate: inner.into(),
|
||||||
|
redeemer: None, // TODO
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
@ -286,6 +287,7 @@ impl<C: LedgerContext> Mapper<C> {
|
||||||
u5c::Withdrawal {
|
u5c::Withdrawal {
|
||||||
reward_account: Vec::from(x.0).into(),
|
reward_account: Vec::from(x.0).into(),
|
||||||
coin: x.1,
|
coin: x.1,
|
||||||
|
redeemer: None, // TODO
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
@ -301,6 +303,7 @@ impl<C: LedgerContext> Mapper<C> {
|
||||||
u5c::Multiasset {
|
u5c::Multiasset {
|
||||||
policy_id: x.policy().to_vec().into(),
|
policy_id: x.policy().to_vec().into(),
|
||||||
assets: x.assets().iter().map(|x| self.map_asset(x)).collect(),
|
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