Commit graph

538 commits

Author SHA1 Message Date
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
Santiago Carmuega
6273e758c0 chore(interop): update u5c specs to v0.6 (#485) 2024-07-12 18:03:17 -03:00
Santiago Carmuega
496f73fbf3 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
9552d669b5 ci: skip gmp dep until we can build on windows (#476) 2024-07-01 12:22:42 -03:00
Santiago Carmuega
de48c9df46 chore: fix lint warnings and outdated tests (#475) 2024-07-01 11:34:31 -03:00
Andrew Westberg
1fdf8dc01f chore(math): initialize pallas-math crate (#474) 2024-06-29 17:43:06 -03:00
teebaumcrypto
9011a2e078 fix(network): handle end of list in tx monitor response (#305) 2024-06-29 15:08:16 -03:00
dependabot[bot]
604b492dee build(deps): update itertools requirement from 0.12.1 to 0.13.0 (#459)
Updates the requirements on [itertools](https://github.com/rust-itertools/itertools) to permit the latest version.
- [Changelog](https://github.com/rust-itertools/itertools/blob/master/CHANGELOG.md)
- [Commits](https://github.com/rust-itertools/itertools/compare/v0.12.1...v0.13.0)

---
updated-dependencies:
- dependency-name: itertools
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-06-29 15:02:05 -03:00
teebaumcrypto
6504915a42 refactor(network): don't treat rejected txs as submit protocol errors (#306) 2024-06-29 15:00:08 -03:00
io:nathan
fac640b789 feat(network): add tx submission and tx monitor clients to network facades (#442)
* added txsubmission client to network facades
* added txmonitor::client to network facades
2024-06-29 14:28:33 -03:00
Alex Pozhylenkov
9d7fda86ba chore: improve ImmutableDB error handling (#426)
Co-authored-by: Steven Johnson <stevenj@users.noreply.github.com>
2024-06-29 14:25:40 -03:00
Santiago Carmuega
ab8bd49701 fix: relax CBOR decoding of Conway protocol params update (#473) 2024-06-18 13:03:07 -03:00
Santiago Carmuega
12b83111ee refactor(interop): use batching for utxorpc ledger interface (#472) 2024-06-09 21:01:59 -03:00
Santiago Carmuega
52c6db13ef 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
0f30012d75 chore: fix lint warnings (#470) 2024-06-01 08:05:47 -03:00
Nicolas Di Prima
3e32159caf Merge pull request from GHSA-wr2p-64gm-8x2c
This allowed users to create invalid Ed25519 Extended Secret Keys
with potentially cryptographically weak ECDSA Signatures.

However we still allow to have an _unsafe_ version to construct
a `SecretKeyExtended` from bytes without performing checks.
This is in order to allow a compatibility path without breaking
codes too much.

allow the direct conversion from XPrv from ed25519_bip32 crates to pallas-crypto's SecretKeyExtended without performing the bit tweaks check

While it is unsafe to call the SecretKeyExtended::from_bytes_unchecked
(unsafe in the cryptographic sense, not in the rust memory management
sense) we know this is going to be okay because the XPrv was already
safely created.

We previously removed the direct conversion of byte arrays into SecretKeyExtended

This has been replaced with a `TryFrom` and a `from_bytes() -> Result<Self>` function.
This allows us to perform the recovery of the wrapped private keys
without losing the security of performing the checks of the validity
of the Ed25519 Extended structure.

This should be safe to use and shouldn't make incompatibilities
because the Xprv was already checked for bit tweaks previously
in the flow.

add unsafe functions to leak the content of the SecretKey or SecretKeyExtended

Remove the From implementation to convert Secret Keys into Bytes

Instead prefer the explicit unsafe functions to leak the content of the keys

temporarily remove the public access of the as_bytes function

this is to prevent leaking the bytes of the private keys.
2024-06-01 07:32:32 -03:00
Santiago Carmuega
61c82bfdf8 chore: split unstable features into independent flags (#469) 2024-05-27 18:42:22 -03:00
Santiago Carmuega
540a27db8e fix(network): expose missing members in facades (#468) 2024-05-26 13:23:20 -03:00
Andrew Westberg
f4fd2600f1 feat(traverse): Decode Conway block headers properly (#466) 2024-05-24 17:25:24 -03:00
Santiago Carmuega
3a83c1fdad chore(traverse): make era enum serializable (#467) 2024-05-24 17:21:17 -03:00
Santiago Carmuega
e92958ec6d docs: define security policy (#464)
Signed-off-by: Santiago Carmuega <santiago@carmuega.me>
2024-05-22 10:53:39 -03:00
Santiago Carmuega
a19aa07ad2 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
Santiago Carmuega
17022b5f07 fix(primitives): handle conway extreme param updates (#462) 2024-05-21 08:29:09 -03:00
Santiago Carmuega
37cad70f9c refactor(interop): use stateful mapper for u5 (#460) 2024-05-17 20:54:33 -03:00
Santiago Carmuega
3fabbb2504 chore: apply lint recommendations (#458) 2024-05-14 21:14:19 -03:00