Commit graph

46 commits

Author SHA1 Message Date
Santiago Carmuega
67789f25cd
feat(applying): include main constants in pparams (#565) 2024-12-22 12:06:47 -03:00
Santiago Carmuega
3a614d2c91
chore: apply new lint warnings from latest clippy (#561) 2024-12-14 17:37:33 -03:00
Santiago Carmuega
bda3889b41
Release 0.31.0
pallas@0.31.0
pallas-addresses@0.31.0
pallas-applying@0.31.0
pallas-codec@0.31.0
pallas-configs@0.31.0
pallas-crypto@0.31.0
pallas-hardano@0.31.0
pallas-math@0.31.0
pallas-network@0.31.0
pallas-primitives@0.31.0
pallas-traverse@0.31.0
pallas-txbuilder@0.31.0
pallas-utxorpc@0.31.0
pallas-wallet@0.31.0

Generated by cargo-workspaces
2024-11-03 12:28:59 -03:00
Santiago Carmuega
537cd45c23
refactor: support roundtrip encoding for script data hash components (#526) 2024-10-22 10:09:37 -03:00
Matthias Benkort
969d5612b7
refactor: Re-organize and clean-up pallas-primitives (#523)
* Re-organize and clean-up pallas-primitives

  Namely:

  - Move _common_ (i.e. era-independent) types and structures up to the
    `lib` module; to be shared across all eras. If any of those deviate
    in a subsequent era, it is easy to bring them down and define new
    types from the point of divergence onward. This simplifies the scope
    of each era-specific module and make them slightly easier to
    navigate.

    Note that, each era module still re-export all of the common types
    that's relevant to that particular era. So technically, this
    reorganization doesn't really change anything for callers/users of
    the library.

  - Rename `Scripthash` to `ScriptHash`. Before this commit, both
    actually existed as `ScriptHash` was introduced with the Conway era.
    Yet, they refer to the same thing, so the duplication is simply
    confusing.

  - Rename `One` / `Two` constructors for `NetworkId` to `Testnet` and
    `Mainnet` respectively. Also defined idiomatic `From` & `TryFrom`
    implementation for conversion to and from `u8`. This is a lot let
    confusing!

  - Generalize `PlutusScript` with a constant generic, to avoid
    repetition for each plutus script generated for specific version.
    Note that a distinction is still _necessary_ if we want to provie
    out-of-the-box serialisers for Plutus scripts, which are serialised
    with a tag prefix depending on the language. All else apart, they
    are strictly similar types.

  - Rename `CostMdls` to `CostModels`. Because, common.

  - Rename `plutus_script` to `plutus_v1_script` in the Alonzo's witness
    set, for consistency with other eras.

* Fix ordering of ScriptHash variants.

  This is an odd one. See the note.

* Bump minicbor to v0.25.1

* Add aliases with deprecation warnings to various fields and types.

* revert renaming plutus_script to plutus_v1_script in Alonzo witness

  See https://github.com/txpipe/pallas/pull/523#discussion_r1807329742
2024-10-22 08:57:21 -03:00
Santiago Carmuega
21af5b7505
feat: add support for Conway config and params traverse (#521)
Co-authored-by: Clark Alesna <clark_alesna@hotmail.com>
Co-authored-by: johnquinnvictaboada <quinnvictaboada@gmail.com>
2024-10-16 21:43:23 -03:00
Andrew Westberg
615e2d4c29 chore[applying]: Fix cargo fmt from previous commits 2024-09-26 07:58:08 -04:00
Pedro Sánchez Terraf
07b74515a4
feat(applying): add cert and native script validation for ShelleyMA (#510)
BREAKING CHANGE: the `validate` fn signature has changed to support these changes

---------

Co-authored-by: Ale Gadea <ale.gadea@txpipe.io>
2024-09-23 13:24:32 -03:00
Santiago Carmuega
1bec8be109
Release 0.30.2
pallas@0.30.2
pallas-addresses@0.30.2
pallas-applying@0.30.2
pallas-codec@0.30.2
pallas-configs@0.30.2
pallas-crypto@0.30.2
pallas-hardano@0.30.2
pallas-math@0.30.2
pallas-network@0.30.2
pallas-primitives@0.30.2
pallas-rolldb@0.30.2
pallas-traverse@0.30.2
pallas-txbuilder@0.30.2
pallas-utxorpc@0.30.2
pallas-wallet@0.30.2

Generated by cargo-workspaces
2024-09-08 18:49:23 -03:00
Santiago Carmuega
21640a5c68
Release 0.30.1
pallas@0.30.1
pallas-addresses@0.30.1
pallas-applying@0.30.1
pallas-codec@0.30.1
pallas-configs@0.30.1
pallas-crypto@0.30.1
pallas-hardano@0.30.1
pallas-math@0.30.1
pallas-network@0.30.1
pallas-primitives@0.30.1
pallas-rolldb@0.30.1
pallas-traverse@0.30.1
pallas-txbuilder@0.30.1
pallas-utxorpc@0.30.1
pallas-wallet@0.30.1

Generated by cargo-workspaces
2024-08-25 14:35:15 -03:00
Santiago Carmuega
51c331c1b6
fix(applying): use correct cost model for Conway (#508) 2024-08-25 13:00:59 -03:00
Santiago Carmuega
f32d3e4618
fix(applying): add missing Conway pparams variant (#507) 2024-08-25 12:42:27 -03:00
Santiago Carmuega
385973b544
Release 0.30.0
pallas@0.30.0
pallas-addresses@0.30.0
pallas-applying@0.30.0
pallas-codec@0.30.0
pallas-configs@0.30.0
pallas-crypto@0.30.0
pallas-hardano@0.30.0
pallas-math@0.30.0
pallas-network@0.30.0
pallas-primitives@0.30.0
pallas-rolldb@0.30.0
pallas-traverse@0.30.0
pallas-txbuilder@0.30.0
pallas-utxorpc@0.30.0
pallas-wallet@0.30.0

Generated by cargo-workspaces
2024-08-20 14:02:20 -03:00
Santiago Carmuega
5d00e2c992
Release 0.29.0
pallas@0.29.0
pallas-addresses@0.29.0
pallas-applying@0.29.0
pallas-codec@0.29.0
pallas-configs@0.29.0
pallas-crypto@0.29.0
pallas-hardano@0.29.0
pallas-math@0.29.0
pallas-network@0.29.0
pallas-primitives@0.29.0
pallas-rolldb@0.29.0
pallas-traverse@0.29.0
pallas-txbuilder@0.29.0
pallas-utxorpc@0.29.0
pallas-wallet@0.29.0

Generated by cargo-workspaces
2024-07-15 22:31:37 -03:00
Santiago Carmuega
412fde4d6c
Release 0.28.0
pallas@0.28.0
pallas-addresses@0.28.0
pallas-applying@0.28.0
pallas-codec@0.28.0
pallas-configs@0.28.0
pallas-crypto@0.28.0
pallas-hardano@0.28.0
pallas-math@0.28.0
pallas-network@0.28.0
pallas-primitives@0.28.0
pallas-rolldb@0.28.0
pallas-traverse@0.28.0
pallas-txbuilder@0.28.0
pallas-utxorpc@0.28.0
pallas-wallet@0.28.0

Generated by cargo-workspaces
2024-07-01 13:39:28 -03:00
Santiago Carmuega
ee505a02e6
fix: relax CBOR decoding of Conway protocol params update (#473) 2024-06-18 13:03:07 -03:00
Santiago Carmuega
91e17f31d1
Release 0.27.0
pallas@0.27.0
pallas-addresses@0.27.0
pallas-applying@0.27.0
pallas-codec@0.27.0
pallas-configs@0.27.0
pallas-crypto@0.27.0
pallas-hardano@0.27.0
pallas-network@0.27.0
pallas-primitives@0.27.0
pallas-rolldb@0.27.0
pallas-traverse@0.27.0
pallas-txbuilder@0.27.0
pallas-utxorpc@0.27.0
pallas-wallet@0.27.0

Generated by cargo-workspaces
2024-06-01 08:47:13 -03:00
Santiago Carmuega
51a81241d3
Release 0.26.0
pallas@0.26.0
pallas-addresses@0.26.0
pallas-applying@0.26.0
pallas-codec@0.26.0
pallas-configs@0.26.0
pallas-crypto@0.26.0
pallas-hardano@0.26.0
pallas-network@0.26.0
pallas-primitives@0.26.0
pallas-rolldb@0.26.0
pallas-traverse@0.26.0
pallas-txbuilder@0.26.0
pallas-utxorpc@0.26.0
pallas-wallet@0.26.0

Generated by cargo-workspaces
2024-05-21 08:32:18 -03:00
Maico Leberle
f18af0b9b0
fix(applying): fix tx size calculation (#443) 2024-05-14 07:40:52 -03:00
Santiago Carmuega
92da124247
feat(traverse): track original era for tx outputs (#447) 2024-04-18 22:36:19 -03:00
Santiago Carmuega
2d6b6fda1e
chore(applying): prepare pparams for folding logic (#438) 2024-04-15 21:53:33 -03:00
Maico Leberle
a0c409b65e
refactor(applying): unify approach for protocol params access (#432) 2024-04-11 21:41:27 -03:00
Santiago Carmuega
d5fd8f1e20
Release 0.25.0
pallas@0.25.0
pallas-addresses@0.25.0
pallas-applying@0.25.0
pallas-codec@0.25.0
pallas-configs@0.25.0
pallas-crypto@0.25.0
pallas-hardano@0.25.0
pallas-network@0.25.0
pallas-primitives@0.25.0
pallas-rolldb@0.25.0
pallas-traverse@0.25.0
pallas-txbuilder@0.25.0
pallas-utxorpc@0.25.0
pallas-wallet@0.25.0

Generated by cargo-workspaces
2024-04-02 09:50:58 -03:00
Harper
c31e773ce2
feat: add Conway 2024-03 CDDL conformity (#424) 2024-04-01 14:02:52 -03:00
Maico Leberle
1a0fc322fa
feat(applying): add support for preview / preprod networks (#422) 2024-04-01 13:49:14 -03:00
Santiago Carmuega
00ece5d300
Release 0.24.0
pallas@0.24.0
pallas-addresses@0.24.0
pallas-applying@0.24.0
pallas-codec@0.24.0
pallas-configs@0.24.0
pallas-crypto@0.24.0
pallas-hardano@0.24.0
pallas-network@0.24.0
pallas-primitives@0.24.0
pallas-rolldb@0.24.0
pallas-traverse@0.24.0
pallas-txbuilder@0.24.0
pallas-utxorpc@0.24.0
pallas-wallet@0.24.0

Generated by cargo-workspaces
2024-03-09 08:09:42 -03:00
Maico Leberle
181a13c3d6
feat: add Babbage phase-1 validations (#405) 2024-02-20 20:30:09 -03:00
Santiago Carmuega
5a44f38e7a
Release 0.23.0
pallas@0.23.0
pallas-addresses@0.23.0
pallas-applying@0.23.0
pallas-codec@0.23.0
pallas-configs@0.23.0
pallas-crypto@0.23.0
pallas-hardano@0.23.0
pallas-network@0.23.0
pallas-primitives@0.23.0
pallas-rolldb@0.23.0
pallas-traverse@0.23.0
pallas-txbuilder@0.23.0
pallas-utxorpc@0.23.0
pallas-wallet@0.23.0

Generated by cargo-workspaces
2024-02-11 18:02:33 -03:00
Santiago Carmuega
3dd00ad3cd
chore: fix new lint warnings (#400) 2024-02-11 17:56:22 -03:00
Santiago Carmuega
8916e43b95
Release 0.22.0
pallas@0.22.0
pallas-addresses@0.22.0
pallas-applying@0.22.0
pallas-codec@0.22.0
pallas-configs@0.22.0
pallas-crypto@0.22.0
pallas-hardano@0.22.0
pallas-network@0.22.0
pallas-primitives@0.22.0
pallas-rolldb@0.22.0
pallas-traverse@0.22.0
pallas-txbuilder@0.22.0
pallas-utxorpc@0.22.0
pallas-wallet@0.22.0

Generated by cargo-workspaces
2024-01-25 09:03:26 -03:00
Maico Leberle
7b2894e4a2
feat(applying): implement Alonzo phase-1 validations (#380) 2024-01-19 22:19:46 -03:00
Santiago Carmuega
cf98e1e5da
release: v0.21.0 (#375) 2024-01-04 10:07:12 -03:00
Harper
d045701259
fix: update pallas-applying to work with keepraw native scripts (#370) 2024-01-03 08:41:06 -03:00
Alex Pozhylenkov
35e0d5459c
chore: fix code formatting (#363) 2024-01-02 07:15:38 -03:00
Maico Leberle
ccef8795f1
doc(applying): add ShelleyMA tests description (#356) 2023-12-13 17:07:37 -03:00
Maico Leberle
04232c6a4c
feat(applying): implement ShelleyMA phase-1 validations (#354) 2023-12-12 07:53:10 -03:00
Santiago Carmuega
107738a981
fix(applying): define specific dependency versions 2023-11-20 21:26:44 -03:00
Santiago Carmuega
25b552c6a9
Release 0.20.0
pallas@0.20.0
pallas-addresses@0.20.0
pallas-applying@0.20.0
pallas-codec@0.20.0
pallas-configs@0.20.0
pallas-crypto@0.20.0
pallas-network@0.20.0
pallas-primitives@0.20.0
pallas-rolldb@0.20.0
pallas-traverse@0.20.0
pallas-utxorpc@0.20.0

Generated by cargo-workspaces
2023-11-20 19:53:17 -03:00
Santiago Carmuega
3d15fce191
chore: fix lint warnings (#339) 2023-11-20 19:46:14 -03:00
Maico Leberle
317e23fb45
fix(applying): contemplate fee rules for genesis UTxOs (#332) 2023-11-14 17:42:59 -03:00
Santiago Carmuega
f26b9bd591
chore: fix lint warnings (#330) 2023-11-13 17:00:00 -03:00
Maico Leberle
68b46c36a8
feat(applying): add remaining validations for Byron era (#325) 2023-11-09 14:50:46 -03:00
Maico Leberle
ac4aef4eaa
feat(applying): validate all inputs in UTxO set (#324) 2023-11-07 18:29:23 -03:00
Maico Leberle
eb4f39d78c
feat(applying): check non-empty set of inputs and outputs (#312) 2023-11-03 18:15:17 -03:00
Maico Leberle
794e725984
docs(applying): document Byron tx validations (#311) 2023-10-17 18:44:09 -03:00
Maico Leberle
986ee75761
feat: scaffold Byron phase-1 validations (#300)
Co-authored-by: Santiago Carmuega <santiago@carmuega.me>
2023-10-10 17:16:26 -03:00