Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Tracking PR for v0.2.0 release #273

Merged
merged 29 commits into from
Apr 12, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
29 commits
Select commit Hold shift + click to select a range
b769ee7
chore: update crate versions to v0.2.0
bobbinth Mar 11, 2024
2a8f37a
Add script to check rust versions + cleanup (#272)
phklive Mar 14, 2024
2e2813c
Dockerize node (#257)
phklive Mar 14, 2024
8d4390d
Implemented nullifier tree wrapper over `Smt` (#275)
polydez Mar 14, 2024
0a4fa39
Separate CI into multiple files (#278)
phklive Mar 15, 2024
e22e685
refactor: small error refactoring (using `'static str` instead of `St…
polydez Mar 20, 2024
bcbe4b4
bugfix: table name is block_headers instead of block_header (#283)
hackaugusto Mar 21, 2024
a150870
sqlite: use bundled version to enable FK checks (#284)
hackaugusto Mar 21, 2024
1849787
chore: update CI action for rust install (#280)
mFragaBA Mar 25, 2024
51fe84d
Add faucet enabling testing (#270)
phklive Mar 29, 2024
ebdfa6c
Migration to the `next` version of Miden dependencies (#297)
polydez Apr 5, 2024
3b42e8d
Implemented support for note trees in Miden node (#295)
polydez Apr 5, 2024
1270120
On-chain accounts protobuf & domain objects (#287)
polydez Apr 5, 2024
9adf0cd
fix: include batch index in db constraint for notes (#302)
mFragaBA Apr 5, 2024
2b609bd
fix: Send correct note index on sync response (#304)
igamigo Apr 6, 2024
3765aa6
Added support for on-chain (public) accounts in store (#293)
polydez Apr 6, 2024
2a32cc8
Implement `get_notes_by_id` endpoint (#298)
phklive Apr 8, 2024
fa24b83
Implemented writing on-chain accounts details on block applying (#294)
polydez Apr 9, 2024
0b99819
fix: Make code compatible with `miden-base`'s `next` (#307)
igamigo Apr 9, 2024
cf8e4fc
fix: fix create_basic_fungible_faucet and create_basic_wallet errors …
mFragaBA Apr 10, 2024
516881b
Add support for on-chain `notes` to the database (#300)
phklive Apr 10, 2024
04c655f
fix: remove assert (#313)
mFragaBA Apr 10, 2024
0c831fb
feat: add support for on-chain notes to `block-producer` (#310)
phklive Apr 11, 2024
5343fc9
Return absolute note index (#317)
igamigo Apr 12, 2024
18acc0a
chore: update badges in main readme
bobbinth Apr 12, 2024
de6eb7f
chore: re-ordered sections in main readme (and minor fixes)
bobbinth Apr 12, 2024
f496332
chore: use the same rustfmt settings as in miden-base
bobbinth Apr 12, 2024
0ebc4eb
chore: update changelog
bobbinth Apr 12, 2024
2482c06
docs: cleaning up artefacts (#319)
Dominik1999 Apr 12, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
38 changes: 38 additions & 0 deletions .dockerignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
# Include any files or directories that you don't want to be copied to your
# container here (e.g., local build artifacts, temporary files, etc.).
#
# For more help, visit the .dockerignore file reference guide at
# https://docs.docker.com/go/build-context-dockerignore/

**/.DS_Store
**/.classpath
**/.dockerignore
**/.env
**/.git
**/.gitignore
**/.project
**/.settings
**/.toolstarget
**/.vs
**/.vscode
**/*.*proj.user
**/*.dbmdl
**/*.jfm
**/charts
**/docker-compose*
**/compose*
**/Dockerfile*
**/node_modules
**/npm-debug.log
**/secrets.dev.yaml
**/values.dev.yaml
./bin
./target
/bin
/target
LICENSE
README.md
accounts
genesis.dat
miden-store.*
store.*
10 changes: 5 additions & 5 deletions .github/ISSUE_TEMPLATE/1-bugreport.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,38 +12,38 @@ body:
attributes:
label: "Version"
description: "Which node version are you running?"
placeholder: "v0.1.0"
placeholder: "v0.2.0"
validations:
required: true
- type: textarea
id: other-version
attributes:
label: "Other packages versions"
description: "Let us know of the versions of any other packages used. For example, which version of the client are you using?"
placeholder: "miden-client: v0.1.0"
placeholder: "miden-client: v0.2.0"
validations:
required: false
- type: textarea
id: what-happened
attributes:
label: "What happened?"
description: "Describe the behaviour you are experiencing."
description: "Describe the behavior you are experiencing."
placeholder: "Tell us what you see!"
validations:
required: true
- type: textarea
id: expected-to-happen
attributes:
label: "What should have happened?"
description: "Describe the behaviour you expected to see."
description: "Describe the behavior you expected to see."
placeholder: "Tell us what should have happened!"
validations:
required: true
- type: textarea
id: reproduce-steps
attributes:
label: "How can this be reproduced?"
description: "If possible, describe how to replicate the unexpected behaviour that you see."
description: "If possible, describe how to replicate the unexpected behavior that you see."
placeholder: "Steps!"
validations:
required: true
Expand Down
15 changes: 0 additions & 15 deletions .github/issue_template.md

This file was deleted.

73 changes: 0 additions & 73 deletions .github/workflows/ci.yml

This file was deleted.

22 changes: 22 additions & 0 deletions .github/workflows/doc.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
# Runs documentation related jobs.

name: doc

on:
push:
branches: [main, next]
pull_request:
types: [opened, reopened, synchronize]

jobs:
doc:
name: doc stable on ubuntu-latest
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Install Rust
uses: dtolnay/rust-toolchain@stable
- name: Install cargo make
run: cargo install cargo-make
- name: cargo make - doc
run: cargo make doc
51 changes: 51 additions & 0 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,51 @@
# Runs linting related jobs.

name: lint

on:
push:
branches: [main, next]
pull_request:
types: [opened, reopened, synchronize]

jobs:
version:
name: check rust version consistency
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
profile: minimal
override: true
- name: check rust versions
run: ./scripts/check-rust-version.sh

rustfmt:
name: rustfmt nightly on ubuntu-latest
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Install minimal Rust with rustfmt
uses: dtolnay/rust-toolchain@master
with:
toolchain: nightly
components: rustfmt
- name: Install cargo make
run: cargo install cargo-make
- name: cargo make - format-check
run: cargo make format-check

clippy:
name: clippy stable on ubuntu-latest
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Install minimal Rust with clippy
uses: dtolnay/rust-toolchain@master
with:
toolchain: stable
components: clippy
- name: Install cargo make
run: cargo install cargo-make
- name: cargo make - clippy
run: cargo make clippy
23 changes: 23 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
# Runs testing related jobs.

name: test

on:
push:
branches: [main, next]
pull_request:
types: [opened, reopened, synchronize]

jobs:
unit-and-integration:
name: test stable on ubuntu-latest
runs-on: ubuntu-latest
timeout-minutes: 30
steps:
- uses: actions/checkout@v4
- name: Install Rust
uses: dtolnay/rust-toolchain@stable
- name: Install cargo make
run: cargo install cargo-make
- name: cargo make - test-all
run: cargo make test-all
13 changes: 6 additions & 7 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,15 +1,12 @@
# Generated by Cargo

# will have compiled files and executables
debug/
target/

# Generated by protox `file_descriptor_set.bin`
*.bin

# Remove Cargo.lock from gitignore if creating an executable, leave it for libraries
# More information here https://doc.rust-lang.org/cargo/guide/cargo-toml-vs-cargo-lock.html
# Cargo.lock

# These are backup files generated by rustfmt
**/*.rs.bk

Expand All @@ -19,6 +16,11 @@ target/
# VS Code
.vscode/

# JetBrains IDEs
.idea/
.code/
.fleet/

# Genesis files
/accounts
genesis.dat
Expand All @@ -28,10 +30,7 @@ genesis.dat
*.sqlite3-shm
*.sqlite3-wal


# Docs ignore
.code
.idea
site/
venv/
env/
Expand Down
10 changes: 10 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,15 @@
# Changelog

## 0.2.0 (2024-04-11)

* Implemented Docker-based node deployment (#257).
* Improved build process (#267, #272, #278).
* Implemented Nullifier tree wrapper (#275).
* [BREAKING] Added support for public accounts (#287, #293, #294).
* [BREAKING] Added support for public notes (#300, #310).
* Added `GetNotesById` endpoint (#298).
* Implemented amd64 debian packager (#312).

## 0.1.0 (2024-03-11)

* Initial release.
11 changes: 9 additions & 2 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,10 @@

We want to make contributing to this project as easy and transparent as possible, whether it's:

- Reporting a [bug](https://github.com/0xPolygonMiden/miden-node/issues/new)
- Reporting a [bug](https://github.com/0xPolygonMiden/miden-node/issues/new?assignees=&labels=bug&projects=&template=1-bugreport.yml&title=%5BBug%5D%3A+)
- Taking part in [discussions](https://github.com/0xPolygonMiden/miden-node/discussions)
- Submitting a [fix](https://github.com/0xPolygonMiden/miden-node/pulls)
- Proposing new [features](https://github.com/0xPolygonMiden/miden-node/issues/new)
- Proposing new [features](https://github.com/0xPolygonMiden/miden-node/issues/new?assignees=&labels=enhancement&projects=&template=2-feature-request.yml&title=%5BFeature%5D%3A+)

 

Expand Down Expand Up @@ -80,6 +80,13 @@ For example, a new change to the `miden-node-store` crate might have the followi

You can find more information about the `cargo make` commands in the [Makefile](Makefile.toml)

### Testing
After writing code different types of tests (unit, integration, end-to-end) are required to make sure that the correct behavior has been achieved and that no bugs have been introduced. You can run tests using the following command:

```
cargo make test
```

### Versioning
We use [semver](https://semver.org/) naming convention.

Expand Down
Loading
Loading