Skip to content

Commit

Permalink
Merge pull request #248 from openmina/develop
Browse files Browse the repository at this point in the history
Merge `develop` into `main`
  • Loading branch information
tizoc committed Feb 29, 2024
2 parents 0ea02cf + baf26bb commit 4507784
Show file tree
Hide file tree
Showing 246 changed files with 10,149 additions and 9,429 deletions.
2 changes: 1 addition & 1 deletion .drone.yml
Expand Up @@ -57,7 +57,7 @@ steps:
image: rust:1.75-bullseye
commands:
- apt-get update && apt-get install -y libssl-dev libjemalloc-dev jq
- rustup update nightly-2023-12-21 && rustup default nightly-2023-12-21
- rustup update 1.75 && rustup default 1.75
- rustup component add rustfmt
- cargo test --release -p cli
- cargo build --release -p cli --bin openmina
Expand Down
33 changes: 29 additions & 4 deletions .github/workflows/ci.yaml
Expand Up @@ -10,16 +10,41 @@ concurrency:
cancel-in-progress: true

jobs:
build:
ledger-tests:
runs-on: ubuntu-20.04
env:
CARGO_TERM_COLOR: always
steps:
- name: Git checkout
uses: actions/checkout@v3

- name: Setup Rust
run: |
# Nightly to be able to use `--report-time` below
rustup install nightly
rustup override set nightly
- name: Download circuits files
run: |
git clone --depth 1 https://github.com/openmina/circuit-blobs.git
ln -s -b $PWD/circuit-blobs/* ledger/
- name: Build ledger tests
run: |
cd ledger
cargo build --release --tests
- name: Run ledger tests
run: |
cd ledger
cargo test --release -- -Z unstable-options --report-time
build:
runs-on: ubuntu-20.04
steps:
- name: Git checkout
uses: actions/checkout@v3

- name: Setup Rust
run: |
rustup install 1.75
rustup override set 1.75
rustup component add clippy rustfmt
# - name: Check
Expand Down Expand Up @@ -75,7 +100,7 @@ jobs:
needs: [ build ]
runs-on: ubuntu-20.04
container:
image: minaprotocol/mina-daemon:2.0.0rampup4-14047c5-focal-berkeley
image: minaprotocol/mina-daemon:2.0.0berkeley-rc1-1551e2f-focal-berkeley
strategy:
matrix:
test: [p2p_basic_connections, p2p_basic_incoming, p2p_basic_outgoing]
Expand All @@ -99,7 +124,7 @@ jobs:
needs: [ build ]
runs-on: ubuntu-20.04
container:
image: minaprotocol/mina-daemon:2.0.0rampup4-14047c5-focal-berkeley
image: minaprotocol/mina-daemon:2.0.0berkeley-rc1-1551e2f-focal-berkeley
strategy:
matrix:
test: [single_node, multi_node, connection_discovery, webrtc_single_node, webrtc_multi_node]
Expand Down
21 changes: 20 additions & 1 deletion CHANGELOG.md
Expand Up @@ -7,6 +7,24 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

## [Unreleased]

## [0.2.0] - 2024-02-29

### Changed

- Default Rust toolchain switched to stable channel (as of 1.75).
- Internal refactoring to how leaf actions in the state machine are organized.

### Fixed

- Node can now connect to the current berkeleynet after updates to:
- Wire type definitions.
- Verification, proving and circuits.
- Ledger and transaction application logic.

### Added

- Ledger tests on CI.

## [0.1.0] - 2024-02-02

### Fixed
Expand Down Expand Up @@ -34,6 +52,7 @@ First public release.
- 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.
- Web-based frontend for the node.

[unreleased]: https://github.com/openmina/openmina/compare/v0.1.0...develop
[unreleased]: https://github.com/openmina/openmina/compare/v0.2.0...develop
[0.2.0]: https://github.com/openmina/openmina/releases/tag/v0.1.0...v0.2.0
[0.1.0]: https://github.com/openmina/openmina/releases/tag/v0.0.1...v0.1.0
[0.0.1]: https://github.com/openmina/openmina/releases/tag/v0.0.1

0 comments on commit 4507784

Please sign in to comment.