Simon Gellis
296b43f33a
feat(traverse): implement MultiEraValue.into_conway ( #545 )
2024-11-12 21:06:24 -03:00
Santiago Carmuega
3ba8dac19c
fix: remove math from root crate ( #541 )
2024-11-04 12:29:46 -03:00
Santiago Carmuega
a8c4ba3979
fix(crypto): remove modules with non-published deps ( #540 )
2024-11-04 12:16:26 -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
f3de418eee
docs: update readme with latest crate structure ( #539 )
2024-11-03 12:26:35 -03:00
Santiago Carmuega
e406e8fe58
chore: use new method for github dark mode images ( #538 )
2024-11-03 11:25:03 -03:00
Santiago Carmuega
3bdae69b0f
chore: remove rolldb from repo ( #537 )
2024-11-03 11:14:39 -03:00
Santiago Carmuega
00e1611592
chore: update root crate re-exports ( #536 )
2024-11-03 10:51:34 -03:00
Andrew Westberg
b641c4e686
fix(math): update once_cell::Lazy -> std::sync::LazyLock
2024-10-31 18:18:45 -04:00
Andrew Westberg
2db41703b3
fix(math): fix edge cases of ln and pow
2024-10-30 20:42:33 -04:00
Joshua Marchand (JSHy)
0dd9bcdd7e
fix(txbuilder): don't include empty redeemers in Conway txs ( #532 )
2024-10-25 19:06:25 -03:00
Santiago Carmuega
211674d81c
fix(txbuilder): sign transactions using Conway era ( #531 )
2024-10-24 16:17:34 -03:00
Santiago Carmuega
698d7a4933
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
061a7796d6
feat(traverse): prioritize Conway for tx decoding heuristics ( #527 )
2024-10-22 10:27:56 -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
Andrew Westberg
4871342a8d
feat(crypto): Add Key Evolving Signatures (KES)
2024-10-17 15:12:33 -04:00
Santiago Carmuega
05f8b2bd07
feat(txbuilder): expose independent output builder ( #522 )
2024-10-17 13:36:33 -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
Santiago Carmuega
4d0f9fc0cf
chore(interop): bump u5c to v0.11.0 ( #519 )
2024-10-11 09:10:39 -03:00
Andrew Westberg
0ca7c34776
feat(crypto): add extra types and conversions ( #517 )
2024-10-04 08:37:36 -03:00
Santiago Carmuega
de88df1986
feat(traverse): introduce MultiEraValue ( #516 )
2024-10-01 09:46:58 -03:00
Santiago Carmuega
80d121d13a
feat(codec): improve KeyValuePairs ergonomics ( #515 )
2024-10-01 09:00:23 -03:00
Andrew Westberg
615e2d4c29
chore[applying]: Fix cargo fmt from previous commits
2024-09-26 07:58:08 -04:00
Andrew Westberg
73a3a73d0e
fix[pallas-math]: use malachite as default
2024-09-26 07:58:08 -04:00
Andrew Westberg
15b424f4fc
feat[pallas-crypto]: Add Nonce Capabilities
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
5a19c6858c
feat(interop): map u5c Conway structs ( #511 )
2024-09-06 21:12:27 -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
d6994ee5b6
fix(interop): support Conway pparams mapping to u5c ( #509 )
2024-08-25 13:23:31 -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
Matthias Benkort
2d89f3da54
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
7aa510389b
fix(primitives): skip nonempty invariant check ( #506 )
2024-08-25 11:44:35 -03:00
Santiago Carmuega
f5ebe71a08
fix: exclude large data files blocking crate publish
2024-08-21 08:57:53 -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
cd1beff822
feat(interop): implement u5c pparams mapping ( #504 )
2024-08-15 16:01:10 -03:00
Santiago Carmuega
d9824fff37
chore(interop): bump u5c spec to v0.9 ( #503 )
2024-08-15 10:48:28 -03:00
Santiago Carmuega
c6621730eb
feat(interop): introduce field-mask context for u5c ( #502 )
2024-08-15 10:35:58 -03:00
Matthias Benkort
81390296a3
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
5c18f06fa2
fix(traverse): use Conway types in places they are meant to ( #499 )
2024-08-08 08:33:10 -03:00
Santiago Carmuega
3e2c657f20
fix(interop): skip conway certs in u5c ( #498 )
2024-08-03 10:46:14 -03:00
Joshua Marchand (JSHy)
be681fed92
chore(txbuilder): export ExUnits to make them accessible from outside ( #497 )
2024-08-02 14:39:49 -03:00
Andrew Westberg
2c69435046
feat(math): add support for some math functions ( #483 )
2024-08-01 19:35:18 -03:00
Santiago Carmuega
3dbd582207
chore(interop): update u5c spec to v0.8.0 ( #493 )
2024-07-28 19:48:43 -03:00
Santiago Carmuega
c7f2240e0e
fix(addresses): relax length check during parsing ( #491 )
2024-07-19 09:36:07 -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
Steven Johnson
56b2df5f0d
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
4fbca7b8ce
fix(interop): map missing u5c redeemers ( #490 )
2024-07-15 21:47:25 -03:00