Skip to content

Commit 2e48cc3

Browse files
authored
Merge branch 'openmina:develop' into develop
2 parents 0d89f32 + 4fbdad4 commit 2e48cc3

File tree

55 files changed

+460
-204
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

55 files changed

+460
-204
lines changed

CHANGELOG.md

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,13 +7,23 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
77

88
## [Unreleased]
99

10+
## [0.13.0] - 2025-01-06
11+
1012
### Fixed
1113

1214
- **Mempool**: Inside the transaction and snark pool reducers, only broadcast locally injected transactions and producer snarks. Libp2p layer takes care of diffs received from gossip already.
15+
- **P2P**: Don't forget the initial peers list.
16+
- WebRTC connection leaks.
17+
- zkApp transaction proofs are now verified on a separate thread.
18+
- Sometimes produced blocks were broadcasted too early.
19+
- `OneOrTwo::zip` never panics now, on failure it returns an error.
1320

1421
### Changed
1522

1623
- On native, use jemalloc as the default allocator.
24+
- Allocations reduced considerably by using stack-allocated bignums in the VRF evaluator.
25+
- The same thread is now reused to verify all block proofs.
26+
- `RUST_BACKTRACE` is always set to `full` now.
1727

1828
## [0.12.0] - 2024-12-04
1929

@@ -338,7 +348,8 @@ First public release.
338348
- Alpha version of the node which can connect and syncup to the berkeleynet network, and keep applying new blocks to maintain consensus state and ledger up to date.
339349
- Web-based frontend for the node.
340350

341-
[Unreleased]: https://github.com/openmina/openmina/compare/v0.12.0...develop
351+
[Unreleased]: https://github.com/openmina/openmina/compare/v0.13.0...develop
352+
[0.13.0]: https://github.com/openmina/openmina/compare/v0.12.0...v0.13.0
342353
[0.12.0]: https://github.com/openmina/openmina/compare/v0.11.0...v0.12.0
343354
[0.11.0]: https://github.com/openmina/openmina/compare/v0.10.3...v0.11.0
344355
[0.10.3]: https://github.com/openmina/openmina/compare/v0.10.0...v0.10.3

Cargo.lock

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

cli/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "cli"
3-
version = "0.12.0"
3+
version = "0.13.0"
44
edition = "2021"
55
license = "Apache-2.0"
66

cli/replay_dynamic_effects/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "replay_dynamic_effects"
3-
version = "0.12.0"
3+
version = "0.13.0"
44
edition = "2021"
55
license = "Apache-2.0"
66

cli/src/main.rs

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,20 @@ mod unsafe_signal_handlers {
4545
}
4646
}
4747

48+
fn setup_var_from_single_and_only_thread() {
49+
const VARS: &[(&str, &str)] = &[("RUST_BACKTRACE", "full")];
50+
51+
for (name, value) in VARS {
52+
if std::env::var(name).is_err() {
53+
// Safe to call, we didn't launch any threads yet
54+
unsafe { std::env::set_var(name, value) };
55+
}
56+
}
57+
}
58+
4859
fn main() -> anyhow::Result<()> {
60+
setup_var_from_single_and_only_thread();
61+
4962
#[cfg(feature = "unsafe-signal-handlers")]
5063
unsafe_signal_handlers::setup();
5164
let app = commands::OpenminaCli::parse();

core/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "openmina-core"
3-
version = "0.12.0"
3+
version = "0.13.0"
44
edition = "2021"
55
license = "Apache-2.0"
66

0 commit comments

Comments
 (0)