Skip to content

v0.8.0-rc.2

Pre-release
Pre-release

Choose a tag to compare

@github-actions github-actions released this 09 Apr 16:34
· 23 commits to main since this release
c126758

Starknet Devnet v0.8.0-rc.2

Usage related changes

  • prove_transaction now supports L2→L1 messages: Transactions are simulated during proof generation to extract L2→L1 messages. A new l2_to_l1_messages field is included in ProveTransactionResponse, and a messages_hash is bound into the proof/proof_facts (now 9 elements instead of 8).
  • ProofMode::None behavior change: When proof_mode is None, proof generation is skipped but proof_facts are still preserved and validated. Previously both were skipped.
  • Execution failures are now explicit errors: prove_transaction returns a TransactionExecutionFailed error
  • proveTransaction accepts BroadcastedTransaction: The endpoint now accepts BroadcastedTransaction input to conform with the spec.
  • Empty proof/proof_facts handled gracefully: Fixed an issue where empty proof or proof_facts fields could cause errors.

Development related changes

  • Bumped all crate versions from 0.8.0-rc.1 to 0.8.0-rc.2.
  • Versioned website docs for 0.8.0-rc.2.
  • Added messages() and all_messages() accessors to FunctionInvocation.
  • Extracted proof generation into a dedicated generate_proof function.
  • Added integration tests for L2→L1 message extraction, proof_facts validation, and execution failure error propagation.
  • Fixed flaky integration test by adding block retention buffer and re-fetching gas prices.
  • Updated CLI help text and documentation for proofs.

Installation

Binary

Download the appropriate binary for your platform from the assets below.

Docker

# Pull by version
docker pull docker.io/shardlabs/starknet-devnet-rs:0.8.0-rc.2
docker pull docker.io/shardlabs/starknet-devnet-rs:0.8.0-rc.2-seed0

# Pull by SHA
docker pull docker.io/shardlabs/starknet-devnet-rs:sha-c126758
docker pull docker.io/shardlabs/starknet-devnet-rs:sha-c126758-seed0

false
falsedocker.io/shardlabs/starknet-devnet-rs:latest
falsedocker.io/shardlabs/starknet-devnet-rs:latest-seed0

Note\nLatest tags are not available for release candidates.

Cargo

cargo install starknet-devnet

What's Changed

Other Changes

  • Fix empty proof/proof_facts deserialization and accept BroadcastedTransaction in proveTransaction by @3alpha in #914
  • feat: prove_transaction L2→L1 messages, ProofMode::None behavior change by @3alpha in #915
  • Release 0.8.0-rc.2 by @3alpha in #916

Full Changelog: v0.8.0-rc.1...v0.8.0-rc.2