Skip to content

Commit 607c930

Browse files
committed
Merge branch 'nightly' into ege/estimate-gas-l1-fee
2 parents 4b81d09 + 7e79a8a commit 607c930

File tree

31 files changed

+563
-260
lines changed

31 files changed

+563
-260
lines changed

CHANGELOG.md

Lines changed: 13 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,18 @@
11
# Changelog
22
## [Unreleased]
33
### Added
4+
- feat: Stop at height full-node arguments
5+
**New hidden node args:**\
6+
`--stop-at-l1-height`: Stop the full node L1 sync after reaching this L1 height
7+
`--stop-at-l2-height`: Stop the full node L2 sync after reaching this L2 height
8+
- fix(fullnode): avoid rewriting pending proofs on retry (reduces PendingProof retry-path rewrite amplification). ([#3176](https://github.com/chainwayxyz/citrea/pull/3176))
9+
- fix: `eth_estimateGas` failing with not enough funds for L1 fee ([#3169](https://github.com/chainwayxyz/citrea/pull/3169))
10+
11+
## [v2.2.0](2026-03-02)
12+
### Added
413
- feat: Reactivate pruning. ([#3010](https://github.com/chainwayxyz/citrea/pull/3010))
514
- feat: Support `eth_sendRawTransactionSync` on websocket disabled nodes. ([#3164](https://github.com/chainwayxyz/citrea/pull/3164))
15+
- feat: Rocksdb diff script.([#3170](https://github.com/chainwayxyz/citrea/pull/3170))
616

717
### Changed
818
- refactor: Remove `dev_mode` field from local prover config to fix prover config confusion.(This change does not require no env var change because it was set with `RISC0_DEV_MODE` env var, right now dev mode is determined with `PROVING_MODE` in batch prover config) ([#3160](https://github.com/chainwayxyz/citrea/pull/3160))
@@ -11,7 +21,7 @@
1121
- perf: Skip re-execution of proof request in boundless([#3144](https://github.com/chainwayxyz/citrea/pull/3144))
1222
- perf: Mine DA transaction prefix using transaction locktime([#3111](https://github.com/chainwayxyz/citrea/pull/3111))
1323
- fix: Check for shutdown signal when processing blocks in L1/L2 syncers loops ([#3152](https://github.com/chainwayxyz/citrea/pull/3152))
14-
- fix: `eth_estimateGas` failing with not enough funds for L1 fee ([#3169](https://github.com/chainwayxyz/citrea/pull/3169))
24+
- perf: Set rocksdb bloom filter policy ([#3180](https://github.com/chainwayxyz/citrea/pull/3180))
1525

1626
## [v2.1.0](2026-02-17)
1727
### Added
@@ -219,7 +229,8 @@ For a detailed list of changes, see auto generated changelog at [v0.6.0 release
219229
- Fix bug where full nodes try verifying sequencer commitments which they have not synced up to. ([#1220](https://github.com/chainwayxyz/citrea/pull/1220))
220230
- Set default priority fee to 0. ([#1226](https://github.com/chainwayxyz/citrea/pull/1226))
221231

222-
[unreleased]: https://github.com/chainwayxyz/citrea/compare/v2.1.0...HEAD
232+
[unreleased]: https://github.com/chainwayxyz/citrea/compare/v2.2.0...HEAD
233+
[v2.2.0]: https://github.com/chainwayxyz/citrea/compare/v2.1.0...v2.2.0
223234
[v2.1.0]: https://github.com/chainwayxyz/citrea/compare/v2.0.0...v2.1.0
224235
[v2.0.0]: https://github.com/chainwayxyz/citrea/compare/v1.2.2...v2.0.0
225236
[v1.2.2]: https://github.com/chainwayxyz/citrea/compare/v1.2.1...v1.2.2

Cargo.lock

Lines changed: 35 additions & 35 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ members = [
4141
]
4242

4343
[workspace.package]
44-
version = "2.1.0"
44+
version = "2.2.0"
4545
edition = "2021"
4646
license = "GPL-3.0-only"
4747
authors = ["Chainway Labs <info@chainway.xyz>"]

bin/citrea/src/cli.rs

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,24 @@ pub(crate) struct Args {
5959
/// Logging verbosity
6060
#[arg(long, short = 'q')]
6161
pub(crate) quiet: bool,
62+
63+
/// Stop the full node L1 sync after reaching this L1 height (debug/testing).
64+
/// Only valid for full nodes.
65+
#[arg(
66+
long,
67+
hide = true,
68+
conflicts_with_all = ["sequencer", "batch_prover", "light_client_prover"]
69+
)]
70+
pub(crate) stop_at_l1_height: Option<u64>,
71+
72+
/// Stop the full node L2 sync after reaching this L2 height (debug/testing).
73+
/// Only valid for full nodes.
74+
#[arg(
75+
long,
76+
hide = true,
77+
conflicts_with_all = ["sequencer", "batch_prover", "light_client_prover"]
78+
)]
79+
pub(crate) stop_at_l2_height: Option<u64>,
6280
}
6381

6482
pub(crate) enum NodeWithConfig {

0 commit comments

Comments
 (0)