Skip to content

Commit 4507784

Browse files
authored
Merge pull request #248 from openmina/develop
Merge `develop` into `main`
2 parents 0ea02cf + baf26bb commit 4507784

File tree

246 files changed

+10149
-9429
lines changed

Some content is hidden

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

246 files changed

+10149
-9429
lines changed

.drone.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ steps:
5757
image: rust:1.75-bullseye
5858
commands:
5959
- apt-get update && apt-get install -y libssl-dev libjemalloc-dev jq
60-
- rustup update nightly-2023-12-21 && rustup default nightly-2023-12-21
60+
- rustup update 1.75 && rustup default 1.75
6161
- rustup component add rustfmt
6262
- cargo test --release -p cli
6363
- cargo build --release -p cli --bin openmina

.github/workflows/ci.yaml

Lines changed: 29 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,16 +10,41 @@ concurrency:
1010
cancel-in-progress: true
1111

1212
jobs:
13-
build:
13+
ledger-tests:
1414
runs-on: ubuntu-20.04
15+
env:
16+
CARGO_TERM_COLOR: always
1517
steps:
1618
- name: Git checkout
1719
uses: actions/checkout@v3
18-
1920
- name: Setup Rust
2021
run: |
22+
# Nightly to be able to use `--report-time` below
2123
rustup install nightly
2224
rustup override set nightly
25+
- name: Download circuits files
26+
run: |
27+
git clone --depth 1 https://github.com/openmina/circuit-blobs.git
28+
ln -s -b $PWD/circuit-blobs/* ledger/
29+
- name: Build ledger tests
30+
run: |
31+
cd ledger
32+
cargo build --release --tests
33+
- name: Run ledger tests
34+
run: |
35+
cd ledger
36+
cargo test --release -- -Z unstable-options --report-time
37+
38+
build:
39+
runs-on: ubuntu-20.04
40+
steps:
41+
- name: Git checkout
42+
uses: actions/checkout@v3
43+
44+
- name: Setup Rust
45+
run: |
46+
rustup install 1.75
47+
rustup override set 1.75
2348
rustup component add clippy rustfmt
2449
2550
# - name: Check
@@ -75,7 +100,7 @@ jobs:
75100
needs: [ build ]
76101
runs-on: ubuntu-20.04
77102
container:
78-
image: minaprotocol/mina-daemon:2.0.0rampup4-14047c5-focal-berkeley
103+
image: minaprotocol/mina-daemon:2.0.0berkeley-rc1-1551e2f-focal-berkeley
79104
strategy:
80105
matrix:
81106
test: [p2p_basic_connections, p2p_basic_incoming, p2p_basic_outgoing]
@@ -99,7 +124,7 @@ jobs:
99124
needs: [ build ]
100125
runs-on: ubuntu-20.04
101126
container:
102-
image: minaprotocol/mina-daemon:2.0.0rampup4-14047c5-focal-berkeley
127+
image: minaprotocol/mina-daemon:2.0.0berkeley-rc1-1551e2f-focal-berkeley
103128
strategy:
104129
matrix:
105130
test: [single_node, multi_node, connection_discovery, webrtc_single_node, webrtc_multi_node]

CHANGELOG.md

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

88
## [Unreleased]
99

10+
## [0.2.0] - 2024-02-29
11+
12+
### Changed
13+
14+
- Default Rust toolchain switched to stable channel (as of 1.75).
15+
- Internal refactoring to how leaf actions in the state machine are organized.
16+
17+
### Fixed
18+
19+
- Node can now connect to the current berkeleynet after updates to:
20+
- Wire type definitions.
21+
- Verification, proving and circuits.
22+
- Ledger and transaction application logic.
23+
24+
### Added
25+
26+
- Ledger tests on CI.
27+
1028
## [0.1.0] - 2024-02-02
1129

1230
### Fixed
@@ -34,6 +52,7 @@ First public release.
3452
- 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.
3553
- Web-based frontend for the node.
3654

37-
[unreleased]: https://github.com/openmina/openmina/compare/v0.1.0...develop
55+
[unreleased]: https://github.com/openmina/openmina/compare/v0.2.0...develop
56+
[0.2.0]: https://github.com/openmina/openmina/releases/tag/v0.1.0...v0.2.0
3857
[0.1.0]: https://github.com/openmina/openmina/releases/tag/v0.0.1...v0.1.0
3958
[0.0.1]: https://github.com/openmina/openmina/releases/tag/v0.0.1

0 commit comments

Comments
 (0)