Expose Pallas stuff, bump version, update changelog

This commit is contained in:
Turner 2022-10-27 20:40:37 -07:00
parent 819256df99
commit aabcacbe87
7 changed files with 17 additions and 6 deletions

View File

@ -1,5 +1,11 @@
# Changelog
## [v0.0.22] - 2022-10-28
## Added
**uplc**: Expose various Pallas primitives from UPLC to make constructing
UPLC types possible for consumers
## [next] - 2022-MM-DD
### Added

2
Cargo.lock generated
View File

@ -1202,7 +1202,7 @@ checksum = "c0edd1e5b14653f783770bce4a4dabb4a5108a5370a5f5d8cfe8710c361f6c8b"
[[package]]
name = "uplc"
version = "0.0.21"
version = "0.0.22"
dependencies = [
"anyhow",
"cryptoxide",

View File

@ -19,7 +19,7 @@ pallas-primitives = "0.14.0-alpha.3"
pallas-traverse = "0.14.0-alpha.3"
serde = { version = "1.0.144", features = ["derive"] }
serde_json = "1.0.85"
uplc = { path = '../uplc', version = "0.0.21" }
uplc = { path = '../uplc', version = "0.0.22" }
aiken-lang = { path = "../lang", version = "0.0.20" }
toml = "0.5.9"
walkdir = "2.3.2"

View File

@ -17,7 +17,7 @@ itertools = "0.10.5"
miette = "5.2.0"
strum = "0.24.1"
thiserror = "1.0.37"
uplc = { path = '../uplc', version = "0.0.21" }
uplc = { path = '../uplc', version = "0.0.22" }
vec1 = "1.8.0"
[dev-dependencies]

View File

@ -1,7 +1,7 @@
[package]
name = "uplc"
description = "Utilities for working with Untyped Plutus Core"
version = "0.0.21"
version = "0.0.22"
edition = "2021"
repository = "https://github.com/txpipe/aiken/crates/uplc"
homepage = "https://github.com/txpipe/aiken"

View File

@ -8,7 +8,12 @@ mod pretty;
pub mod program_builder;
pub mod tx;
pub use pallas_primitives::alonzo::PlutusData;
pub use pallas_codec::utils::KeyValuePairs;
pub use pallas_crypto::hash::Hash;
pub use pallas_primitives::{
alonzo::{BigInt, Constr, PlutusData},
babbage::{PostAlonzoTransactionOutput, TransactionInput, TransactionOutput, Value},
};
use pallas_primitives::{Error, Fragment};

View File

@ -21,7 +21,7 @@ mod phase_one;
pub mod script_context;
#[cfg(test)]
mod tests;
mod to_plutus_data;
pub mod to_plutus_data;
/// Evaluate the scripts in a transaction using
/// the UPLC Cek Machine. This function collects