Commit graph

562 commits

Author SHA1 Message Date
Santiago Carmuega
fbc7c73c20 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
504fcd7fc6 docs: update readme with latest crate structure (#539) 2024-11-03 12:26:35 -03:00
Santiago Carmuega
1f6bc6b865 chore: use new method for github dark mode images (#538) 2024-11-03 11:25:03 -03:00
Santiago Carmuega
ccd51a396c chore: remove rolldb from repo (#537) 2024-11-03 11:14:39 -03:00
Santiago Carmuega
f0380c4928 chore: update root crate re-exports (#536) 2024-11-03 10:51:34 -03:00
Andrew Westberg
84a63a379a fix(math): update once_cell::Lazy -> std::sync::LazyLock 2024-10-31 18:18:45 -04:00
Andrew Westberg
d9b632abef fix(math): fix edge cases of ln and pow 2024-10-30 20:42:33 -04:00
Joshua Marchand (JSHy)
b580f1caab fix(txbuilder): don't include empty redeemers in Conway txs (#532) 2024-10-25 19:06:25 -03:00
Santiago Carmuega
3adc16b798 fix(txbuilder): sign transactions using Conway era (#531) 2024-10-24 16:17:34 -03:00
Santiago Carmuega
a29a6cf50f feat(txbuilder): compute ScriptDataHash including edge cases (#525)
Co-authored-by: kalomaaan <kalomaaan@gmail.com>
2024-10-22 22:20:58 -03:00
Santiago Carmuega
dfbe307e6c feat(traverse): prioritize Conway for tx decoding heuristics (#527) 2024-10-22 10:27:56 -03:00
Santiago Carmuega
3b5dcef195 refactor: support roundtrip encoding for script data hash components (#526) 2024-10-22 10:09:37 -03:00
Matthias Benkort
6b667c78a3 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
Andrew Westberg
7d79407163 feat(crypto): Add Key Evolving Signatures (KES) 2024-10-17 15:12:33 -04:00
Santiago Carmuega
33b076ad23 feat(txbuilder): expose independent output builder (#522) 2024-10-17 13:36:33 -03:00
Santiago Carmuega
19b0ac3072 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
Santiago Carmuega
ae71a53707 chore(interop): bump u5c to v0.11.0 (#519) 2024-10-11 09:10:39 -03:00
Andrew Westberg
de923dc004 feat(crypto): add extra types and conversions (#517) 2024-10-04 08:37:36 -03:00
Santiago Carmuega
3b5c1ba7ab feat(traverse): introduce MultiEraValue (#516) 2024-10-01 09:46:58 -03:00
Santiago Carmuega
cd2fd2b639 feat(codec): improve KeyValuePairs ergonomics (#515) 2024-10-01 09:00:23 -03:00
Andrew Westberg
50b947624f chore[applying]: Fix cargo fmt from previous commits 2024-09-26 07:58:08 -04:00
Andrew Westberg
2477c7c44a fix[pallas-math]: use malachite as default 2024-09-26 07:58:08 -04:00
Andrew Westberg
20befb28ac feat[pallas-crypto]: Add Nonce Capabilities 2024-09-26 07:58:08 -04:00
Pedro Sánchez Terraf
7c7a3c25ab 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
87e47de094 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
6a3d8df216 feat(interop): map u5c Conway structs (#511) 2024-09-06 21:12:27 -03:00
Santiago Carmuega
6cba3882ed 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
510ce8e4ee fix(interop): support Conway pparams mapping to u5c (#509) 2024-08-25 13:23:31 -03:00
Santiago Carmuega
5a189a2f30 fix(applying): use correct cost model for Conway (#508) 2024-08-25 13:00:59 -03:00
Santiago Carmuega
7b5a25a8f6 fix(applying): add missing Conway pparams variant (#507) 2024-08-25 12:42:27 -03:00
Matthias Benkort
95510c253c fix(primitives): patch remaining Conway issues (#505)
* Expose private struct fields for ExUnitPrices.
* Fix UpdateDRepCert variant argument.
2024-08-25 11:48:54 -03:00
Harper
67f8b4bc9a fix(primitives): skip nonempty invariant check (#506) 2024-08-25 11:44:35 -03:00
Santiago Carmuega
c8e8d2619c fix: exclude large data files blocking crate publish 2024-08-21 08:57:53 -03:00
Santiago Carmuega
f4527fc438 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
78627d0d2a feat(interop): implement u5c pparams mapping (#504) 2024-08-15 16:01:10 -03:00
Santiago Carmuega
42c0169945 chore(interop): bump u5c spec to v0.9 (#503) 2024-08-15 10:48:28 -03:00
Santiago Carmuega
27c4967824 feat(interop): introduce field-mask context for u5c (#502) 2024-08-15 10:35:58 -03:00
Matthias Benkort
9020cc512b fix(primitives): expose hidden struct fields in Conway (#501)
* Provide slightly better error when failing to decode Plutus data.
* Expose GovActionId, Constitution & Anchor inner fields
2024-08-10 20:08:45 -03:00
Matthias Benkort
afc93b2c3c fix(traverse): use Conway types in places they are meant to (#499) 2024-08-08 08:33:10 -03:00
Santiago Carmuega
2758cc5a2c fix(interop): skip conway certs in u5c (#498) 2024-08-03 10:46:14 -03:00
Joshua Marchand (JSHy)
b7c6144b4d chore(txbuilder): export ExUnits to make them accessible from outside (#497) 2024-08-02 14:39:49 -03:00
Andrew Westberg
0f8cafdaa0 feat(math): add support for some math functions (#483) 2024-08-01 19:35:18 -03:00
Santiago Carmuega
46dff24c3e chore(interop): update u5c spec to v0.8.0 (#493) 2024-07-28 19:48:43 -03:00
Santiago Carmuega
ad1a5e3c2e fix(addresses): relax length check during parsing (#491) 2024-07-19 09:36:07 -03:00
Santiago Carmuega
f1a90e84fa 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
Steven Johnson
9528bedfda feat(hardano): add fuzzy block search by slot in Immutable db (#484)
Co-authored-by: Mr-Leshiy <leshiy12345678@gmail.com>
2024-07-15 22:16:58 -03:00
Lucas
60e07e2f00 fix(interop): map missing u5c redeemers (#490) 2024-07-15 21:47:25 -03:00
Santiago Carmuega
8f74238dc5 chore(interop): update u5c spec to v0.7.0 (#489) 2024-07-15 18:25:40 -03:00
Santiago Carmuega
9f9e088091 fix(interop): use correct input order to match redeemers (#487) 2024-07-14 13:48:05 -03:00
Santiago Carmuega
9b16a98fb1 fix(interop): check for spend purpose when matching redeemers (#486) 2024-07-13 14:43:52 -03:00