Skip to content

Releases: Hyle-org/hyle

v0.8.0

24 Jan 15:12
88ba05b
Compare
Choose a tag to compare

Breaking changes

  • 💥 Merge contracts metadata feature into 'client' (#677)
  • 💥 Rework contract registration via proof outputs, introduce UUID contract (#672)
  • 💥 Register transactions as blobs (#651)

Features

  • ✨ Helper function to register Hyle contracts using ProvableBlobTx (#666)
  • ✨ Allow early settlement of proven-failed transactions + refactoring (#662)
  • ✨ Resend all unsigned dp (#648)
  • ✨ Send PoDAUpdate when receiving enough signatures (#640)

Bug Fixes

  • 🐛 Handle subdomain identity (#676)
  • 🐛 fix loadtest (#678)
  • 🐛 Fix tx builder when execution fails (#650)
  • 🐛 Fix mempool save_on_disk (#659)
  • 🐛 Tweak node state handling of failing (native) proofs (#644)
  • 🐛 🐛 fix fork bug, buffer bug, add tests (#645)
  • 🐛 Fix Dockerfile (#649)
  • 🐛 Fix SP1Env (#647)
  • 🐛 Fix bus metrics and create an e2e test to check their setup (#642)

Documentation

  • 📝 Enforce rust version for workspace (#673)
  • 📝 Add README to crates (#657)

Performance

  • ⚡️ Increase TCP frame max length (#638)

Refactoring

  • ♻️ Refacto consensus to use Staking Action (#679)
  • ♻️ Refacto some mempool/storage functions (#658)
  • ♻️ Make Risc0Prover::prove public and don't copy binary (#646)

Devtools / CI

  • 💚 Fix star count CI (#664)
  • 💚 Fix release bump version (#663)
  • 👷‍♂️ Move noir/SP1/risc0 verifiers to the hyle-verifiers crate (#639)

Removed

  • 🔥 Remove hyled & hyrun (#643)

Dependencies

  • ⬇️ Downgrade to axum 0.8.1 after yanked version (#670)
  • ⬆️ Bump axum from 0.8.1 to 0.8.2 (#661)
  • ⬆️ Bump borsh from 1.5.4 to 1.5.5 (#660)
  • ⬆️ Bump serde_json from 1.0.135 to 1.0.137 (#655)
  • ⬆️ Bump indexmap from 2.7.0 to 2.7.1 (#653)
  • ⬆️ Bump clap from 4.5.26 to 4.5.27 (#652)
  • ⬆️ Bump sp1-sdk from 4.0.0 to 4.0.1 (#654)
  • ⬆️ Bump test-log from 0.2.16 to 0.2.17 (#656)

Uncategorized

  • Fix loadtest clippy warnings (#680)
  • 🔖 Bump version to 0.7.2 (#668)

v0.7.2

21 Jan 11:09
68026ff
Compare
Choose a tag to compare

Bug Fixes

  • 🐛 Fix tx builder when execution fails

v0.7.1

20 Jan 17:17
015afdc
Compare
Choose a tag to compare

Bug Fixes

  • 🐛 Fix SP1Env

Refactoring

  • ♻️ Make Risc0Prover::prove public and don't copy binary

v0.7.0

17 Jan 16:59
2a192dd
Compare
Choose a tag to compare

Breaking changes

  • 💥 Remove hyle feature as node is no more a dependency (#625)
  • 💥 Move API clients & model to sdk (#624)
  • 💥 Add hyle-model crate (#623)

Features

  • ✨ Feat/move signed blocks creation to mempool (#614)
  • ✨ SDK: Add more endpoints to IndexerApiHttpClient (#630)
  • ✨ Add native verifications (#597)
  • ✨ Feat: use tcp server client in loadtest (#589)
  • ✨ Add TcpServer for receiving txs (#576)
  • ✨ Read TxHash from HyleOutput (#587)

Bug Fixes

  • 🐛 Wait until the genesis block has been processed to start the consensus (#616)
  • 🐛 Fix Mempool load_file removing ProofData enum (#619)
  • 🐛 Don't process PeerEvents from non-genesis-stakers during genesis (#611)
  • 🐛 Fix build without features (#615)
  • 🐛 make modules shutdown without breaking select loop (#606)
  • 🐛 Fix cargo check (#583)

Documentation

  • 📝 Add more categories to release notes (#593)

Tests

  • ✅ Make integration tests isolated with random port (#610)
  • ✅ Add utilities for integration testing & add a test for Mempool asynchronicity (#573)

Performance

  • ⚡️ Faster contract execution in genesis by not running in r0vm (#618)
  • ⚡️ Send big blobs in loadtest / increas fjall cache (#626)
  • ⚡️ Serialize test verifier with bincode (#607)
  • ⚡️ Make node_state into a module again to run it asynchronously (#594)
  • ⚡️ Make on_data_proposal asynchronous (#586)
  • ⚡️ Speed up timeout - expect pop_front to work and use vecdeque
  • ⚡️ Make on_new_tx verify proofs asynchronously (#582)

Refactoring

  • ♻️ Remove hyrun usage from tests (#637)
  • ♻️ Do not regenerate Txs in loadtest (#629)
  • ♻️ Move Verifiers to mempool (#605)
  • ♻️ Use .into() to build Transaction instead of wrap() (#602)
  • ♻️ Load all transactions before sending them (#604)
  • ♻️ Cleanup Identity/ContractName initialization (#603)

Logging

  • 🔊 p2p logs to log full context (#634)
  • 🔊 Reduce spam of logs (#617)

Security

  • 🔒 Add clippy warnings on unwrap, fix most uses and document others (#600)

Devtools / CI

  • 💚 Fix github stars ci (#632)
  • 👷 Add slack notification of github stars (#631)
  • 👷‍♂️ Fix reproducible contracts build following crate move (#592)
  • 💚 Fix Dockerfile after move to crates (#588)
  • 💚 Fix release flow again (#580)

Dependencies

  • ⬆️ Bump risc0-zkvm from 1.2.0 to 1.2.1 (#635)
  • ➖ Remove unused proptest (#636)
  • ⬆️ Bump risc0-build from 1.2.0 to 1.2.1 (#628)
  • ⬆️ Bump bonsai-sdk from 1.2.0 to 1.2.1 (#627)
  • ⬆️ Bump sp1-sdk from 4.0.0-rc.11 to 4.0.0 (#622)
  • ⬆️ Bump axum-test from 17.0.2 to 17.1.0 (#621)
  • ⬆️ Bump sp1-sdk from 4.0.0-rc.10 to 4.0.0-rc.11 (#608)
  • ⬆️ Bump axum-test from 17.0.1 to 17.0.2 (#609)
  • ⬆️ Bump sp1-sdk from 4.0.0-rc.9 to 4.0.0-rc.10 (#595)
  • ⬆️ Bump syn from 2.0.95 to 2.0.96 (#585)
  • ⬆️ Bump clap from 4.5.25 to 4.5.26 (#584)

Uncategorized

  • 🚚 Regroup all crates into same dir (#575)
  • 🔖 Bump version to 0.6.0 (#581)

v0.6.0

10 Jan 09:27
bcd7c70
Compare
Choose a tag to compare

Features

  • ✨ Loadtest crate (#527)
  • ✨ Add SP1 prover to client sdk (#555)
  • ✨ Automatically settle all TXs we can when settling/timing out

Bug Fixes

  • 🐛 Fix hyrun default proof path (#577)
  • 🐛 Hash all critical fields in ConsensusProposal, refactor
  • 🐛 Fix node restart: Serialize node_state in DA
  • 🐛 Add serde derive for bincode 1.3.3 compatibility (#549)
  • 🐛 Fix timeout handling on trigger (#545)
  • 🐛 Always try to rejoin consensus when restarting the node

Configuration

  • 🔧 Fix Dockerfile default conf (#569)
  • 🔧 Fix default conf (#564)
  • 🔧 Add configuration option on max body size for rest api (#550)

Performance

  • ⚡️ use buffer writer instead of file io directly (#563)
  • ⚡️ Remove write! from hash functions (#565)

Refactoring

  • ♻️ Update AMM contract for builder (#539)

Security

  • 🔒️ Fix: fail when registering duplicate identity (#536)

Devtools / CI

  • 💚 Fix release workflow (#579)
  • 💚 Fix docker build (#574)
  • 👷 Fix script for gitmoji pr title (#570)
  • 👷 Add CI to check PR title (#554)

Dependencies

  • ➖ Better dependencies flags (#571)
  • ⬆️ Upgrade to SP1 4.0.0-rc8 (#558)
  • ➖ Remove sqlx as default dependency (#559)
  • ⬆️ Bump clap from 4.5.23 to 4.5.24 (#556)
  • ⬆️ Bump tokio-tungstenite from 0.24.0 to 0.26.1 (#557)
  • ⬆️ Bump serde_json from 1.0.134 to 1.0.135 (#546)
  • ⬆️ Bump testcontainers-modules from 0.11.4 to 0.11.5 (#547)
  • ⬆️ Bump syn from 2.0.93 to 2.0.95 (#541)
  • ⬆️ Bump sqlx from 0.8.2 to 0.8.3 (#533)

Uncategorized

  • 🦺 Fix clippy warning after clippy update (#578)
  • Replace sled by fjall
  • Update Axum to 0.8.1
  • Prevent already settled TXs from timing out, refactor + tests
  • Store TXs in order in blocks and return that order
  • create role_timeout (#542)
  • Leader handles timeouts like other nodes
  • Move simple_commit_round macro in autobahn_testing (#532)

v0.5.0

06 Jan 13:32
6f6d824
Compare
Choose a tag to compare

Features

  • ✨ Add new custom alpine image (#530)
  • ✨ Generic Transaction Builder (#488)

Bug Fixes

  • 🐛 Fix missing r0vm in docker (#529)
  • 🐛 Fix genesis stake amount (#531)
  • 🐛 Don't update the consensus proposal parent hash when timing out
  • 🐛 Find a non-conflicting port for DA catchup tests
  • 🐛 Ignore lanes that don't change during consensus for PoDA validation (#516)
  • 🐛 Use the consensus proposal hash as the block hash, propagate to the indexer (#504)

Tests

  • ✅ Fix tests: don't refuse late proposal (#499)

Performance

  • ⚡️ Improve performance by not cloning & dropping so much

Refactoring

  • ♻️ Use light version of DAListener to catchup current blocks in DataAvailability (#515)
  • ♻️ Log when modules stop
  • ♻️ Add integration test (consensus+DA) for joining
  • ♻️ Split ApiHttpClient for node & indexer (#509)
  • ♻️ Validate blob tx identity early
  • ♻️ Fix recursion (now 100% more trustless) + only one type of proof transaction (#466)
  • ♻️ Add "node" feature to have lighter build (#490)

Devtools / CI

  • 💚 Fix ci docker build (#518)
  • 🔨 Add prove helper function to client sdk (#510)
  • 👷 Fasten r0vm install (#498)
  • 👷 Use r0vm executor in CI (#495)

Dependencies

  • ⬆️ Bump tempfile from 3.14.0 to 3.15.0
  • ⬆️ Bump reqwest from 0.12.11 to 0.12.12 (#508)
  • ⬆️ Bump syn from 2.0.92 to 2.0.93
  • ⬆️ Bump serde from 1.0.216 to 1.0.217
  • ⬆️ Bump reqwest from 0.12.10 to 0.12.11
  • ➖ Remove unused dependencies (#500)
  • ⬆️ Bump quote from 1.0.37 to 1.0.38 (#493)
  • ⬆️ Bump syn from 2.0.91 to 2.0.92 (#497)
  • ⬆️ Bump reqwest from 0.12.9 to 0.12.10 (#496)
  • ⬆️ Bump anyhow from 1.0.94 to 1.0.95 (#489)
  • ⬆️ Bump serde_with from 3.11.0 to 3.12.0 (#494)

Uncategorized

  • 📦️ Add docker build CI cache (#492)
  • Fixup dockerfile
  • Fix dockerfile not having r0vm

v0.4.1

26 Dec 09:23
a542ca5
Compare
Choose a tag to compare

Dependencies

  • ⬆️ Bump syn from 2.0.90 to 2.0.91 (#485)
  • ⬆️ Bump serde_json from 1.0.133 to 1.0.134 (#484)
  • ⬆️ Bump env_logger from 0.11.5 to 0.11.6 (#483)
  • ⬆️ Bump bytemuck from 1.20.0 to 1.21.0 (#486)

Uncategorized

  • 📦️ Publish docker image on ghcr (#491)
  • 🔖 Bump version to v0.4.0

v0.4.0

23 Dec 09:20
b42c691
Compare
Choose a tag to compare

Features

  • ✨ New Staking Contract (#453)
  • ✨ Recursion part 2 - node support (#461)
  • ✨ Add PoDA and its verification into Cut (#449)
  • ✨ Reuse consensus signatures to build signed blocks in DA + various fixes (#442)
  • ✨ Risc zero recursion program + hyrun update

Bug Fixes

  • 🐛 Fix insert proofs in DB (#480)
  • 🐛 Fix get_transactions_by_height API endpoint
  • 🐛 Verify signatures when receiving sync replies (#477)
  • 🐛 Remove tokio console (#470)
  • 🐛 Cut always have tip of each lane (#469)
  • 🐛 Remove randomness in Block (#465)
  • 🐛 Update next leader after bonding new validators (#462)

Documentation

  • 📝 Update GRANTS.md with Proof of residency repo link (#452)

Refactoring

  • ♻️ DataAvailability sends Signed Blocks over tcp (#472)
  • ♻️ Remove bb from CI

Devtools / CI

  • 🔨 Tool to set RUST_LOG env var (#473)
  • 👷 Fix CI bump version (#456)

Dependencies

  • ⬆️ Bump config from 0.14.1 to 0.15.0 (#471)
  • ⬆️ Bump axum-test from 16.4.0 to 16.4.1 (#460)
  • ⬆️ Bump proptest from 1.5.0 to 1.6.0 (#459)

Uncategorized

  • Feat/add timestamp in consensus proposal (#475)
  • Fix spurious error when adding missing lane entries
  • Allow looking at a full line in the log viewer by clicking on it (#474)
  • add tests
  • regroup encoding/decoding in Codec
  • Capture logs from testProcess correctly

v0.3.0

16 Dec 09:48
f85cd19
Compare
Choose a tag to compare

Features

  • ✨ Add state commande to hyled (#445)
  • ✨ feat: add noir verifier (#389)
  • ✨ Only remove proofs for DP of other validators (#424)
  • ✨ Allow up to 2% slippage in the AMM (#420)
  • ✨ Hyllar indexer (#401)
  • ✨ Add SP1 verifier support, version 3, make contract-sdk ZKVM agnostic (#411)
  • ✨ Graceful shutdown (#380)
  • ✨ Add a server for bonsai runner (#391)

Bug Fixes

  • 🐛 Fix: remove redondant p2p connections for new peers (#455)
  • 🐛 Fix: force order in HashMap for block hash function (#454)
  • 🐛 Improve logs (#451)
  • 🐛 Fix logs + renaming (#450)
  • 🐛 Fix clippy (#426)
  • 🐛 Fix DA issues (#400)
  • 🐛 Remove anyhow macros from guest codes (#373)

Documentation

  • 📝 Add telegram badge to readme (#437)
  • 📝 Better readme (#388)
  • 📝 readme: Move hyled section (#387)
  • 📝 Update README (#384)

Configuration

  • 🔧 Share cargo version accross all packages (#447)

Tests

  • ✅ Generate proofs in e2e tests (#425)
  • ✅ Use risc0 dev mode for e2e tests (#377)

Refactoring

  • ♻️ Generate img/txt using a build script, SDK sp1 support (#446)
  • ♻️ Move staking.rs to a contract crate (#427)
  • ♻️ Make BlobIndex usize unstead of u32 (#421)
  • ♻️ Indexer returns hex string instead of Vec (#444)
  • ♻️ merge guest/ and contract/ in contracts
  • ♻️ Refacto NodeState (#433)
  • ♻️ Optimise build times (#428)
  • ♻️ Refacto DataProposals (#416)
  • ♻️ Refactor callee_blob handling (#370)
  • ♻️ Reorg cargo workspace (#414)
  • ♻ Add a timeout to the DB migration
  • ♻ Remove platinum prover from the node itself
  • ♻️ Run clippy fix (#406)
  • ♻️ Move api definition in relevant modules (#403)
  • ♻️ Refactor node_state settlement logic (#386)

Logging

  • 🔊 Better proof verification log (#378)

Devtools / CI

  • 👷 Add CI to set Cargo version to latest tag (#448)
  • 💚 Fix release ci
  • 👷 Generate release on tag push (#376)
  • 💚 Fix Dockerfile (#368)

Removed

  • 🔥 Remove amm & hyllar2 from genesis (#382)
  • 🔥 ignore lot_of_nodes flakky test (#402)

Dependencies

  • ⬆️ Upgrade axum-otel-metrics to 0.91 & opentelemetry to 0.27 (#434)
  • ⬆️ Bump serde from 1.0.215 to 1.0.216 (#439)
  • ⬆️ Bump chrono from 0.4.38 to 0.4.39 (#419)
  • ⬆️ Bump sha2 from sha2-v0.10.6-risczero.0 to sha2-v0.10.8 (#417)
  • ⬆️ Bump assertables from 9.4.0 to 9.5.0 (#418)
  • ⬆️ Bump clap from 4.5.22 to 4.5.23 (#410)
  • ⬆️ Bump tokio-stream from 0.1.16 to 0.1.17 (#409)
  • ⬆️ Bump risc0-zkvm from 1.1.3 to 1.2.0 (#404)
  • ⬆️ Bump tokio from 1.41.1 to 1.42.0 (#397)
  • ⬆️ Bump tokio-util from 0.7.12 to 0.7.13 (#398)
  • ⬆️ Bump anyhow from 1.0.93 to 1.0.94 (#396)
  • ⬆️ Bump clap from 4.5.21 to 4.5.22 (#395)
  • ⬆️ Bump tracing-subscriber from 0.3.18 to 0.3.19 (#375)
  • ⬆️ Bump syn from 2.0.89 to 2.0.90 (#374)
  • ⬆️ Bump bytes from 1.8.0 to 1.9.0 (#367)

Uncategorized

  • Implement an in-memory only Blocks module for tests
  • fixup
  • Don't return 404 when not finding results
  • Update bincode to rc3
  • Fix e2e tests working directory conflict
  • Cleanup in mempool: remote &mut, encode/decode (#429)
  • ⚙️ Use module type names instead of declarative one + handle generic modules (#413)
  • Return proofs as part of blob_transaction calls (#379)
  • Remove proofs from my own lane when committing (#392)
  • test: AMM integration tests (#371)
  • Speed up CI with custom profile, two fixups for better get performance (#372)
  • Use an actual Result for RunResult (#369)
  • Add pagination to indexer, refacto blob tx (#366)

v0.2.0

29 Nov 11:40
c699289
Compare
Choose a tag to compare

Features

  • ✨ Add helper crate to prove on bonsai (#365)

Bug Fixes

  • 🐛 Fix AMM (#357)

Genesis

  • 🌱 Add AMM to genesis (#355)

Refactoring

  • ♻️ Improve rest client & hydentity get account info (#344)

Devtools / CI

  • 👷 Ony build docker on tags & main (#359)
  • 🔨 Fix build_proofs.sh script (#351)

Dependencies

  • ⬆️ Bump tracing from 0.1.40 to 0.1.41 (#353)

Uncategorized

  • Mock workflow/add qps and change contract name (#358)
  • feat: one blobTx can change same contract state multiple times (#361)
  • Fix/identity (#363)
  • feat: Add AMM contract (#342)
  • Chore/rework mempool metrics (#356)
  • fix: clippy (#352)
  • Chore/add mempool consensus itests (#343)