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
Santiago Carmuega
88d3d1c5cc
test(hardano): contemplate skip of last chunk in immutable read ( #457 )
2024-05-14 20:18:35 -03:00
Maico Leberle
59a5db0143
fix(applying): fix tx size calculation ( #443 )
2024-05-14 07:40:52 -03:00
aleksandar
5a299ce049
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
1a927ee1a0
fix(hardano): exclude last chunk file during immutable db read ( #454 )
2024-05-14 07:10:14 -03:00
Pi Lanningham
af8898b8ec
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
7c60affea1
chore(deps): use cryptoxide sha3 instead of depending on sha3 crate ( #452 )
2024-04-29 14:51:47 -03:00
Santiago Carmuega
7374eeac92
chore: move txbuilder to stable feature ( #451 )
2024-04-21 04:12:25 -03:00
Santiago Carmuega
df202c27c3
feat(interop): re-export utxorpc spec to unify downstream versions ( #448 )
2024-04-18 22:40:40 -03:00
Santiago Carmuega
0b82bb702a
feat(traverse): track original era for tx outputs ( #447 )
2024-04-18 22:36:19 -03:00
Santiago Carmuega
33fcec215d
feat(primitives): derive Eq on relevant structs ( #446 )
2024-04-18 22:25:02 -03:00
Pi Lanningham
a1e18833d6
feat(network): add an extra ergonomic method for n2c chainsync ( #439 )
2024-04-16 19:04:07 -03:00
Alexsander Falcucci
9e7cafbcac
feat(network): implement GetChainBlockNo local state query ( #441 )
2024-04-16 09:27:23 -03:00
Santiago Carmuega
4a3a8fb0da
chore(applying): prepare pparams for folding logic ( #438 )
2024-04-15 21:53:33 -03:00
Santiago Carmuega
01ed19ffe3
fix(configs): parse directly into rational numbers ( #437 )
2024-04-15 18:54:53 -03:00
Santiago Carmuega
5ca773f8a7
feat(configs): add serde for Alonzo genesis file ( #436 )
2024-04-15 16:41:09 -03:00
Maico Leberle
fb8b7402fe
refactor(applying): unify approach for protocol params access ( #432 )
2024-04-11 21:41:27 -03:00
Santiago Carmuega
df3291bef5
feat(network): implement background keep-alive loop ( #427 )
2024-04-02 21:27:33 -03:00
Santiago Carmuega
3b7ac7ee38
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
Santiago Carmuega
0a98731390
test(hardano): fix failing tests on CI context ( #429 )
2024-04-02 09:49:22 -03:00
Santiago Carmuega
4168332f20
test(hardano): discover snapshots by inspecting test_data dir ( #428 )
2024-04-02 09:18:53 -03:00
Harper
0c84dc4983
feat: add Conway 2024-03 CDDL conformity ( #424 )
2024-04-01 14:02:52 -03:00
Maico Leberle
f1fca9f445
feat(applying): add support for preview / preprod networks ( #422 )
2024-04-01 13:49:14 -03:00
dependabot[bot]
8b9300e3bb
build(deps): update utxorpc-spec requirement from 0.3.0 to 0.4.4 ( #425 )
...
Updates the requirements on [utxorpc-spec](https://github.com/utxorpc/spec ) to permit the latest version.
- [Commits](https://github.com/utxorpc/spec/compare/v0.3.0...v0.4.4 )
---
updated-dependencies:
- dependency-name: utxorpc-spec
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-04-01 13:42:08 -03:00
Santiago Carmuega
e0d87868f0
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
dependabot[bot]
68b119ec67
build(deps): update base64 requirement from 0.21.2 to 0.22.0 ( #417 )
...
Updates the requirements on [base64](https://github.com/marshallpierce/rust-base64 ) to permit the latest version.
- [Changelog](https://github.com/marshallpierce/rust-base64/blob/master/RELEASE-NOTES.md )
- [Commits](https://github.com/marshallpierce/rust-base64/compare/v0.21.2...v0.22.0 )
---
updated-dependencies:
- dependency-name: base64
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-03-08 20:32:02 -03:00
Harper
394f14e835
feat(rolldb): allow optionally overlap of WAL over immutable chain ( #419 )
2024-03-08 20:31:31 -03:00
Harper
b640ce4097
fix: allow extra bytes when decoding base address ( #420 )
2024-03-08 20:27:09 -03:00
Santiago Carmuega
ce8eac735b
fix(primitives): contemplate Conway's CBOR set tag ( #421 )
...
Co-authored-by: jmhrpr <25673452+jmhrpr@users.noreply.github.com>
2024-03-08 19:32:03 -03:00
Alexsander Falcucci
212da166df
feat: implement GetCBOR local state query ( #413 )
2024-03-04 15:25:17 -03:00
Santiago Carmuega
f5263378b8
feat(crypto): add Blake2b hasher for 20-bytes digests ( #416 )
2024-03-03 16:38:28 -03:00
Alexsander Falcucci
54582764a2
feat(network): implement GetGenesisConfig local state query ( #407 )
2024-02-26 08:44:37 -03:00
dependabot[bot]
d304357261
build(deps): update rocksdb requirement from 0.21.0 to 0.22.0 ( #403 )
...
Updates the requirements on [rocksdb](https://github.com/rust-rocksdb/rust-rocksdb ) to permit the latest version.
- [Release notes](https://github.com/rust-rocksdb/rust-rocksdb/releases )
- [Changelog](https://github.com/rust-rocksdb/rust-rocksdb/blob/master/CHANGELOG.md )
- [Commits](https://github.com/rust-rocksdb/rust-rocksdb/compare/v0.21.0...v0.22.0 )
---
updated-dependencies:
- dependency-name: rocksdb
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-02-20 20:31:03 -03:00
Maico Leberle
eade9eca82
feat: add Babbage phase-1 validations ( #405 )
2024-02-20 20:30:09 -03:00
Santiago Carmuega
7a67453b58
feat(rolldb): allow crawl from intersect options ( #404 )
2024-02-13 21:34:10 -03:00
Santiago Carmuega
3ac73c3c05
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