Commit graph

577 commits

Author SHA1 Message Date
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
Santiago Carmuega
a85619623d
chore(interop): update u5c spec to v0.7.0 (#489) 2024-07-15 18:25:40 -03:00
Santiago Carmuega
1406d7a599
fix(interop): use correct input order to match redeemers (#487) 2024-07-14 13:48:05 -03:00
Santiago Carmuega
15538cd0bf
fix(interop): check for spend purpose when matching redeemers (#486) 2024-07-13 14:43:52 -03:00
Santiago Carmuega
2c9c98a499
chore(interop): update u5c specs to v0.6 (#485) 2024-07-12 18:03:17 -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
586444a530
ci: skip gmp dep until we can build on windows (#476) 2024-07-01 12:22:42 -03:00
Santiago Carmuega
3f0137ae02
chore: fix lint warnings and outdated tests (#475) 2024-07-01 11:34:31 -03:00
Andrew Westberg
acf18f202b
chore(math): initialize pallas-math crate (#474) 2024-06-29 17:43:06 -03:00
teebaumcrypto
d12fe799eb
fix(network): handle end of list in tx monitor response (#305) 2024-06-29 15:08:16 -03:00
dependabot[bot]
b07f88459c
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
1adc9a31d6
refactor(network): don't treat rejected txs as submit protocol errors (#306) 2024-06-29 15:00:08 -03:00
io:nathan
520079d1f0
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
07033ebf09
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
ee505a02e6
fix: relax CBOR decoding of Conway protocol params update (#473) 2024-06-18 13:03:07 -03:00
Santiago Carmuega
1d23f80843
refactor(interop): use batching for utxorpc ledger interface (#472) 2024-06-09 21:01:59 -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
ab2c503d00
chore: fix lint warnings (#470) 2024-06-01 08:05:47 -03:00
Nicolas Di Prima
46197734a2
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
6b3ac2f733
chore: split unstable features into independent flags (#469) 2024-05-27 18:42:22 -03:00
Santiago Carmuega
d4608cc297
fix(network): expose missing members in facades (#468) 2024-05-26 13:23:20 -03:00
Andrew Westberg
0c36f3803e
feat(traverse): Decode Conway block headers properly (#466) 2024-05-24 17:25:24 -03:00
Santiago Carmuega
69de222dbe
chore(traverse): make era enum serializable (#467) 2024-05-24 17:21:17 -03:00
Santiago Carmuega
e64b4a0f2b
docs: define security policy (#464)
Signed-off-by: Santiago Carmuega <santiago@carmuega.me>
2024-05-22 10:53:39 -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
Santiago Carmuega
a59fe53ae2
fix(primitives): handle conway extreme param updates (#462) 2024-05-21 08:29:09 -03:00
Santiago Carmuega
6387897ad3
refactor(interop): use stateful mapper for u5 (#460) 2024-05-17 20:54:33 -03:00
Santiago Carmuega
0bb407d691
chore: apply lint recommendations (#458) 2024-05-14 21:14:19 -03:00
Santiago Carmuega
ed38adc0ce
test(hardano): contemplate skip of last chunk in immutable read (#457) 2024-05-14 20:18:35 -03:00
Maico Leberle
f18af0b9b0
fix(applying): fix tx size calculation (#443) 2024-05-14 07:40:52 -03:00
aleksandar
810088a378
feat(interop): add ledger context for utxorpc mapping logic (#450)
Co-authored-by: Aleksandar Djuric <aleksandardjuric@alethea.io>
2024-05-14 07:19:04 -03:00
Alex Pozhylenkov
525417d660
fix(hardano): exclude last chunk file during immutable db read (#454) 2024-05-14 07:10:14 -03:00
Pi Lanningham
e1504a2463
feat: add a simple Crawler example (#453)
While working on Amaru, we'll likely want to grab lots of example data. This adds a small utility to easily grab one block, one tx, or blocks/txs matching some predicate
2024-05-08 20:11:13 -03:00
Vincent Hanquez
954e99db9e
chore(deps): use cryptoxide sha3 instead of depending on sha3 crate (#452) 2024-04-29 14:51:47 -03:00
Santiago Carmuega
9a405f22ee
chore: move txbuilder to stable feature (#451) 2024-04-21 04:12:25 -03:00
Santiago Carmuega
8fde4a5e11
feat(interop): re-export utxorpc spec to unify downstream versions (#448) 2024-04-18 22:40:40 -03:00
Santiago Carmuega
92da124247
feat(traverse): track original era for tx outputs (#447) 2024-04-18 22:36:19 -03:00
Santiago Carmuega
1b2616256f
feat(primitives): derive Eq on relevant structs (#446) 2024-04-18 22:25:02 -03:00
Pi Lanningham
1724f6acf0
feat(network): add an extra ergonomic method for n2c chainsync (#439) 2024-04-16 19:04:07 -03:00