Commit graph

484 commits

Author SHA1 Message Date
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
Santiago Carmuega
90432bf556 chore: fix new lint warnings (#400) 2024-02-11 17:56:22 -03:00
Santiago Carmuega
ae796b4a01 chore: update utxorpc-spec to 0.3.0 (#399) 2024-02-11 14:38:26 -03:00
dependabot[bot]
1179550104 build(deps): update itertools requirement from 0.10.5 to 0.12.1 (#390)
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.10.5...v0.12.1)

---
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-02-11 13:19:42 -03:00
Clark Alesna
d565260ce5 fix(utxorpc): map missing struct values (#387)
Tx hash and block height are now correctly mapped into the corresponding utxorpc structures.
2024-02-11 13:19:13 -03:00
Harper
3b148dc672 fix(addresses): check length before decoding (#377) 2024-02-11 12:55:01 -03:00
Ale Gadea
7c287296ee fix(traverse): add missing tx field getters for Conway (#392) 2024-02-11 12:53:33 -03:00
Alexsander Falcucci
83728a085d fix: support multiple pools in stake snapshot query (#396) 2024-02-11 12:51:35 -03:00
Alexsander Falcucci
d4a8acfaa0 feat(network): implement stake snapshot local state query (#394) 2024-02-06 09:17:44 -03:00
Alexsander Falcucci
1798946e3f fix: contemplate legacy tx outputs in utxo by address query (#386) 2024-01-29 10:19:47 -03:00
Santiago Carmuega
5cf77c1c7b fix: favor Babbage over Conway for tx decoding (#389) 2024-01-28 16:26:23 -03:00
Santiago Carmuega
25bbb925b2 fix(traverse): fix conway txs not returning reference inputs (#388) 2024-01-28 16:11:26 -03:00
Santiago Carmuega
dd0d7de2ea Release 0.22.0
pallas@0.22.0
pallas-addresses@0.22.0
pallas-applying@0.22.0
pallas-codec@0.22.0
pallas-configs@0.22.0
pallas-crypto@0.22.0
pallas-hardano@0.22.0
pallas-network@0.22.0
pallas-primitives@0.22.0
pallas-rolldb@0.22.0
pallas-traverse@0.22.0
pallas-txbuilder@0.22.0
pallas-utxorpc@0.22.0
pallas-wallet@0.22.0

Generated by cargo-workspaces
2024-01-25 09:03:26 -03:00
Felipe Rosa
65360b954d feat(hardano): enable async for read_blocks_from_point iterator (#379) 2024-01-25 08:44:24 -03:00
Andrew Westberg
acdceb993f fix(network): use initiatorOnlyDiffusionMode correctly after spec fix (#384) 2024-01-25 08:32:54 -03:00
Maico Leberle
da3e636759 feat(applying): implement Alonzo phase-1 validations (#380) 2024-01-19 22:19:46 -03:00
Matthias Benkort
0b1e5f0231 fix(codec): Fix flat encoding and decoding of arbitrarily size integers (#378)
This commits fixes the flat encoding and decoding (and consequently,
  the zigzag) for large integers in the following ways:

  - It removes support for encoding and decoding i128 values.

  - It optionally (feature = "num-bigint") introduces encoding and
    decoding of large sized integers through the num-bigint::BigInt
    type.

  Without the feature enabled, it is still possible to encode and decode
  isize values; but the use of i128 is now prohibited (as it would
  overflow on boundaries) in favor of arbitrarily sized integers.

  The commit also introduces a missing property roundtrip for encoding
  and decoding large integers, which was missing and thus, failed to
  identify the overflow problem.

  See related issue: https://github.com/aiken-lang/aiken/issues/796
2024-01-13 10:09:16 -03:00
Alexsander Falcucci
0c026ef4c9 feat: implement GetCurrentPParams local state query (#322) 2024-01-08 08:38:39 -03:00
Harper
4d887c6d94 feat(network): implement server side KeepAlive (#376) 2024-01-08 07:50:37 -03:00
Santiago Carmuega
52240911da fix: add missing Cargo metadata required for publish 2024-01-04 12:22:47 -03:00