Prune pallas dependencies.

Using 'pallas' as a dependency brings utxo-rpc other annoying dependencies such as _tokyo_. This not only makes the overall build longer, but it also prevents it to even work when targetting wasm.
This commit is contained in:
KtorZ
2024-08-03 14:14:49 +02:00
parent 09c065d332
commit 4645257e62
15 changed files with 73 additions and 499 deletions

View File

@@ -5,7 +5,7 @@ use super::{
use aiken_lang::ast::Span;
use miette::{Diagnostic, NamedSource};
use owo_colors::{OwoColorize, Stream::Stdout};
use pallas::codec::minicbor as cbor;
use pallas_codec::minicbor as cbor;
use std::fmt::Debug;
use uplc::ast::Constant;
@@ -50,7 +50,7 @@ pub enum Error {
ParameterizedValidator { n: usize },
#[error(
"I couldn't compute the address of the given validator because it's actually a minting policy!",
"I couldn't compute the address of the given validator because it's actually a minting policy!"
)]
#[diagnostic(code("aiken::blueprint::address::minting_validator"))]
#[diagnostic(help(
@@ -60,7 +60,7 @@ pub enum Error {
UnexpectedMintingValidator,
#[error(
"I couldn't compute the policyId of the given validator because it's actually a spending policy!",
"I couldn't compute the policyId of the given validator because it's actually a spending policy!"
)]
#[diagnostic(code("aiken::blueprint::address::spending_validator"))]
#[diagnostic(help(