chore(interop): update u5c spec to v0.7.0 (#489)

This commit is contained in:
Santiago Carmuega 2024-07-15 18:25:40 -03:00 committed by GitHub
parent 1406d7a599
commit a85619623d
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 4 additions and 1 deletions

View file

@ -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"

View file

@ -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
}
}