feat(interop): re-export utxorpc spec to unify downstream versions (#448)
This commit is contained in:
parent
92da124247
commit
8fde4a5e11
2 changed files with 5 additions and 1 deletions
|
|
@ -11,7 +11,9 @@ readme = "README.md"
|
|||
authors = ["Santiago Carmuega <santiago@carmuega.me>"]
|
||||
|
||||
[dependencies]
|
||||
utxorpc-spec = { version = "0.4.4" }
|
||||
pallas-traverse = { version = "=0.25.0", path = "../pallas-traverse" }
|
||||
pallas-primitives = { version = "=0.25.0", path = "../pallas-primitives" }
|
||||
pallas-codec = { version = "=0.25.0", path = "../pallas-codec" }
|
||||
|
||||
utxorpc-spec = { version = "0.5.0" }
|
||||
# utxorpc-spec = { path = "../../../utxorpc/spec/gen/rust" }
|
||||
|
|
|
|||
|
|
@ -6,6 +6,8 @@ use pallas_traverse as trv;
|
|||
|
||||
use trv::OriginalHash;
|
||||
|
||||
pub use utxorpc_spec::utxorpc::v1alpha as spec;
|
||||
|
||||
use utxorpc_spec::utxorpc::v1alpha::cardano as u5c;
|
||||
|
||||
pub fn map_purpose(x: &conway::RedeemerTag) -> u5c::RedeemerPurpose {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue