Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
103 commits
Select commit Hold shift + click to select a range
ca1d44d
[refactor] #3875: Fix authentication/authorization docstring (#3876)
6r1d Sep 7, 2023
85979b9
[feature] #3868: Add iroha_swarm disclaimer header
Arjentix Sep 6, 2023
9bcffa4
[refactor] #3526: Allow only a fixed set of signature verification co…
DCNick3 Sep 6, 2023
f2e546f
[refactor] #3526: Add signature check condition unit tests
DCNick3 Sep 8, 2023
5ff4fbc
[feature] #1915: Implement `Fast` kura init mode
Erigara Sep 5, 2023
0b5336e
[fix]: Don't fail if dir exists in test_env.py
Erigara Sep 6, 2023
a16d3cf
[feature] #3355: Standardize block API (#3884)
mversic Sep 19, 2023
8da5298
[ci] #3849: Fix stable/lts configs pushing job (#3894)
BAStos525 Sep 20, 2023
76da488
[ci] #3622: Use cargo manifest lints instead of unmaintained cargo-lints
DCNick3 Sep 20, 2023
08866f3
[fix]: `mkdir -r` with store path, not lock path (#3908)
0x009922 Sep 21, 2023
eae79b0
[fix] #3906: Fix wasm memory leak
Erigara Sep 22, 2023
d6f6adb
[fix] #3905: Fix `apply_blocks` and `validate_blocks` benchmark
Erigara Sep 21, 2023
df8c49a
[refactor] #3882: Update iroha_data_model_derive to use syn 2.0
DCNick3 Sep 12, 2023
e8b4b28
[refactor] #3882: Make derive(Filter) use darling
DCNick3 Sep 13, 2023
90bb4b2
[refactor] #3882: Make derive(IdEqOrdHash) use darling, add tests
DCNick3 Sep 14, 2023
d5a584b
[refactor] #3882: Make PartiallyTaggedSerialize/Deserialize use darling
DCNick3 Sep 15, 2023
3ce0ff8
[feature] #3737: Add support for usage of Self type in serde partiall…
DCNick3 Sep 15, 2023
06d8274
[refactor] #2437: Improve naming, simplify repeated .filter_maps & ge…
DCNick3 Sep 18, 2023
7e971eb
[refactor] #3882: Add tests for derive(HasOrigin) macro, reduce repet…
DCNick3 Sep 18, 2023
83647f0
[refactor] #3882: Clean up Emitter APIs documentation to make clippy …
DCNick3 Sep 18, 2023
5d3318b
[refactor] #3882: Add basic generics support to `derive(HasOrigin)`
DCNick3 Sep 25, 2023
ed3a16e
[refactor]: Replace Registered with Identifiable in ISI bounds (#3925)
mversic Sep 26, 2023
a3230e6
[feature]: parse filter as JSON5 in `iroha_client_cli` (#3923)
0x009922 Sep 26, 2023
fedc55b
[documentation]: Remove the develop-iroha-module guide (#3907)
outoftardis Sep 26, 2023
99b659e
[fix] #3899: Fix topology mismatch bug (#3903)
Arjentix Sep 26, 2023
93ffbff
[refactor] #3911: Migrate iroha_futures_derive to syn 2.0
DCNick3 Sep 22, 2023
6306a97
[ci] #3825: Clean default runner free space (#3902)
BAStos525 Sep 26, 2023
8de7980
[refactor] #3895: move `commit_topology` into block payload (#3916)
mversic Sep 27, 2023
1637e7b
[refactor] #3886: Remove 'Versioned' prefix from versioned containers…
mversic Sep 28, 2023
1692238
[refactor]: Rename ISI from *Box to *Expr (#3930)
mversic Oct 2, 2023
1ca7c39
[refactor]: Move account roles to `WSV`
Erigara Sep 28, 2023
a8dc780
[refactor]: Range queries for roles
Erigara Sep 26, 2023
f30c796
[refactor]: Avoid clone in roles lookup
Erigara Sep 28, 2023
6ec8ab9
[fix] #3939: Fix the usage of `Span::join`
DCNick3 Oct 2, 2023
3208104
[ci] #3768: add client cli tests into CI (#3818)
AlexStroke Oct 4, 2023
2797b06
[refactor]: move expression len out of public API into core (#3949)
mversic Oct 4, 2023
5b6cec9
[fix] #3928: Make failing the wasm tests actually fail the CI
DCNick3 Sep 28, 2023
f6f4a9f
[fix] #3928: Fix double free in wasm tests
DCNick3 Sep 28, 2023
98abd65
[refactor] #3950: Merge API and Telemetry endpoints into a single server
DCNick3 Oct 4, 2023
f6670b8
[refactor]: Include smart contract code into the workspace (#3944)
mversic Oct 9, 2023
34a9cd5
[fix] #3953: Fix `RemoveKeyValue` for `Domain`
Erigara Oct 5, 2023
d3e302d
[fix] #3932: Fix transfer `AssetDefinition`
Erigara Oct 5, 2023
a64845b
[fix] #3931: Fix burn `Trigger` reprtitions
Erigara Oct 5, 2023
386975b
[feature] #3953: Add `owned_by` field to `Domain`
Erigara Oct 4, 2023
e509871
[feature] #3953: `Domain` owner permissions
Erigara Oct 4, 2023
485450d
[feature] #3953: Transfer `Domain` ownership
Erigara Oct 5, 2023
ee1d442
[refactor] #3874: Remove `IsAssetDefinitionOwner` (#3979)
benhhack Oct 11, 2023
b5f3f89
[refactor] #3918: Rename validator to executor (#3976)
mversic Oct 11, 2023
d46520a
[fix] #0000: proper rustc in devShell
Oct 12, 2023
f9f8728
[docs]: Remove `api_spec.md` (#3968)
0x009922 Oct 13, 2023
b90b41f
[fix] #0000: Fix executor downloading in update_configs.sh (#3990)
Arjentix Oct 13, 2023
688bd31
[refactor]: bump dependencies (#3981)
mversic Oct 13, 2023
ea3b682
[feature] #3516: make FindTrigger queries return original WASM
Oct 6, 2023
8c84087
[refactor] remove optimized WASM from data_model
Oct 6, 2023
bf90a7d
[refactor]: remove unused dependencies (#3992)
mversic Oct 16, 2023
0eb7fab
[bump]: Bump Iroha version to RC20 (#3993)
mversic Oct 17, 2023
f9f5ede
[fix]: Remove @appetrosyan from codeowners
appetrosyan Oct 17, 2023
3e39393
[fix] #3898: Make `scripts/test_env.py` stop peers when aborting
ilchu Oct 20, 2023
da700da
[feature] #3237: Expose cargo's output in wasm_builder_cli to have bu…
DCNick3 Oct 19, 2023
051695f
[feature] #3929: Lazy queries inside wasm
Arjentix Oct 2, 2023
0e13452
[fix]: Reduce configuration stack size
Arjentix Oct 11, 2023
1ea5f31
[ci] #3578: Add client cli tests into stable workflow (#3998)
AlexStroke Oct 23, 2023
8018332
[fix] #4014: Use method(not field) access in client (#4015)
mversic Oct 26, 2023
9f7530d
[refactor] #3640: place permission tokens in a separate module (#3940)
mversic Oct 31, 2023
a04448e
[feature] #3964: `application/x-parity-scale` response for `/status` …
0x009922 Oct 31, 2023
4fccf3a
[refactor]: Optimize executor (#4013)
Arjentix Oct 31, 2023
e692e19
[refactor] #3124: Introduced Query request builder into Client API
pesterev Oct 27, 2023
b711701
[documentation]: Update lts/stable configs following a release
actions-user Nov 6, 2023
4f546bd
[docs]: Fixes the pytests documentation
pesterev Nov 3, 2023
003a8a0
[fix] #3995: Fix topology mismatch
Erigara Oct 20, 2023
4fd628f
[fix] #3995: Fix topology peer update
Erigara Oct 31, 2023
c3adf25
[fix] #3995: Reset state based on block hash not height
Erigara Oct 31, 2023
5578aaa
[fix] #3826: Fix benchmarks build (#4019)
mversic Nov 8, 2023
3fdddf4
[refactor] #3740: Replace impl From<Pagination> for Vec<...> with a m…
VAmuzing Nov 8, 2023
8860376
[refactor] #3856: Proc macro for default validator boilerplate
ilchu Sep 18, 2023
97ed585
[feature] #4041: Add git commit SHA to client_cli (#4042)
mversic Nov 9, 2023
b22ebc4
[feature] #3900: `fetch_size` query parameter
Arjentix Oct 25, 2023
e9c6fe4
[ci]: Add iroha2 stable tag only publishing (#4044)
BAStos525 Nov 9, 2023
b085fef
[fix] #4057: Fix query store message ordering issue
Erigara Nov 15, 2023
b84700a
[ci]: Get more free space on the runner for release's long tests (#4052)
BAStos525 Nov 20, 2023
1fc7870
[refactor] #3422: Use blake2 crate without going through ursa
DCNick3 Oct 23, 2023
63e6658
[refactor] #3422: transplant BLS code from ursa, adapt to iroha_crypt…
DCNick3 Oct 23, 2023
a2ff61e
[refactor] #3422: transplant Ed25519 and Secp256k1 code from ursa
DCNick3 Oct 25, 2023
746b5dd
[refactor] #3422: transplant X25519Sha256 and ChaCha20Poly1305 code f…
DCNick3 Oct 25, 2023
7fa950b
[refactor] #3422: remove ursa from dependencies 🎉
DCNick3 Oct 30, 2023
cc70288
[refactor] #3422: bump iroha_crypto deps
DCNick3 Nov 1, 2023
fe3fc43
[refactor] #3422: remove unused code from secp256k1
DCNick3 Nov 1, 2023
8292043
[refactor] #3422: refactor bls to not use large macro blocks
DCNick3 Nov 2, 2023
d57bffd
[refactor] #3422: migrate iroha_crypto to use k256
DCNick3 Nov 7, 2023
304d7cc
[refactor] #3422: Clean up the API & resurrect ursa tests
DCNick3 Nov 8, 2023
4ce1a2c
[refactor] #3237: Fix clippy lints
DCNick3 Nov 9, 2023
08e28dc
[refactor] #3422: do not leak error type from `aead` crate, allows re…
DCNick3 Nov 13, 2023
1f7bb71
[refactor] #3422: clean up some ursa tests: remove redundant result.i…
DCNick3 Nov 13, 2023
df41226
[refactor] #3422: remove the misplaced `openssl-sys` dependency from …
DCNick3 Nov 14, 2023
0511141
[refactor] #3982: Clear live queries after smart contract end (#4024)
Arjentix Nov 20, 2023
73f677b
[feature] #4060: add support for boxed slices in FFI (#4062)
mversic Nov 21, 2023
3baaba8
[fix] #0000: fix stable client config (#4066)
mversic Nov 22, 2023
a55fe90
[fix] #4070: Enable `tls-rustls-native-roots` `iroha_client` feature …
DCNick3 Nov 22, 2023
8588ca5
[fix] #4065: Prevent pub key spoofing in p2p
Erigara Nov 21, 2023
7ee2539
[feature] #3974: Add subcommand into iroha_client_cli to transfer dom…
pesterev Nov 7, 2023
6d75fe9
[fix] Fix transfer domain pytest
AlexStroke Nov 16, 2023
302f599
[documentation]: Update lts/stable configs following a release
actions-user Nov 22, 2023
4091d04
[fix] #1232: Introduce startup time benchmark
SamHSmith Nov 10, 2023
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
2 changes: 1 addition & 1 deletion .github/CODEOWNERS
Original file line number Diff line number Diff line change
@@ -1 +1 @@
* @s8sato @appetrosyan @mversic @arjentix @SamHSmith @QuentinI @outoftardis @ilchu @pesterev @Erigara @0x009922 @DCNick3
* @s8sato @mversic @arjentix @SamHSmith @QuentinI @outoftardis @ilchu @pesterev @Erigara @0x009922 @DCNick3
6 changes: 0 additions & 6 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,12 +25,6 @@ updates:
schedule:
interval: "daily"

- package-ecosystem: "cargo"
target-branch: "iroha2-dev"
directory: "/wasm/"
schedule:
interval: "daily"

- package-ecosystem: "cargo"
target-branch: "iroha2-dev"
directory: "/default_validator/"
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/iroha2-ci-image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,13 @@ jobs:
dockerhub:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: docker/login-action@v2
- uses: actions/checkout@v4
- uses: docker/login-action@v3
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
- name: Build and push iroha2-ci image
uses: docker/build-push-action@v4
uses: docker/build-push-action@v5
with:
push: true
tags: hyperledger/iroha2-ci:nightly-2023-06-25
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/iroha2-dev-nightly.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,13 +8,13 @@ jobs:
container:
image: hyperledger/iroha2-ci:nightly-2023-06-25
steps:
- uses: actions/checkout@v3
- uses: docker/login-action@v2
- uses: actions/checkout@v4
- uses: docker/login-action@v3
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
- name: Build and push iroha2:dev-nightly image
uses: docker/build-push-action@v4
uses: docker/build-push-action@v5
with:
push: true
tags: hyperledger/iroha2:dev-nightly-${{ github.sha }}
Expand Down
7 changes: 3 additions & 4 deletions .github/workflows/iroha2-dev-pr-label.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,19 +5,18 @@ on:
branches: [iroha-dev]
paths:
- 'docs/source/references/schema.json'
- 'docs/source/references/api_spec.md'
- 'docs/source/references/config.md'

jobs:
api-changes:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- uses: jitterbit/get-changed-files@v1
continue-on-error: true
id: api_label
- uses: actions-ecosystem/action-add-labels@v1
if: contains(steps.api_label.outputs.added_modified, 'docs/source/references/schema.json') || contains(steps.api_label.outputs.added_modified, 'docs/source/references/api_spec.md')
if: contains(steps.api_label.outputs.added_modified, 'docs/source/references/schema.json')
with:
github_token: ${{ secrets.github_token }}
labels: |
Expand All @@ -26,7 +25,7 @@ jobs:
config-changes:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- uses: jitterbit/get-changed-files@v1
continue-on-error: true
id: config_label
Expand Down
9 changes: 3 additions & 6 deletions .github/workflows/iroha2-dev-pr-static.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,6 @@ on:
- '**.toml'
- '.github/workflows/**.yml'

# Not part of the workspace
- '!wasm/**'

concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
Expand All @@ -25,17 +22,17 @@ jobs:
container:
image: hyperledger/iroha2-ci:nightly-2023-06-25
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- uses: Swatinem/rust-cache@v2

- name: Format
run: cargo fmt --all -- --check
- name: Lints without features
if: always()
run: cargo lints clippy --workspace --benches --tests --examples --no-default-features --quiet
run: cargo clippy -Zlints --workspace --benches --tests --examples --no-default-features --quiet
- name: Lints with all features enabled
if: always()
run: cargo lints clippy --workspace --benches --tests --examples --all-features --quiet
run: cargo clippy -Zlints --workspace --benches --tests --examples --all-features --quiet
- name: Documentation
if: always()
run: cargo doc --no-deps --quiet
6 changes: 5 additions & 1 deletion .github/workflows/iroha2-dev-pr-ui.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,11 @@ jobs:
matrix:
feature_flag: [all-features, no-default-features]
steps:
- uses: actions/checkout@v3
- name: Maximize build space
run: |
sudo rm -rf /usr/share/dotnet
sudo rm -rf "$AGENT_TOOLSDIRECTORY"
- uses: actions/checkout@v4
- uses: Swatinem/rust-cache@v2
- name: Run tests, with ${{ matrix.feature_flag }}
run: |
Expand Down
41 changes: 13 additions & 28 deletions .github/workflows/iroha2-dev-pr-wasm.yaml
Original file line number Diff line number Diff line change
@@ -1,20 +1,19 @@
name: I2::Dev::Wasm

defaults:
run:
working-directory: wasm

on:
pull_request:
branches: [iroha2-dev]
paths:
- 'wasm/**.rs'
- 'wasm/**.json'
- 'wasm/**.toml'
- 'wasm/**.yml'
- 'data_model/**.rs'
- 'data_model/**.yml'
- 'data_model/**.json'
- 'data_model/**.toml'

- 'smart_contract/**.rs'
- 'smart_contract/**.yml'
- 'smart_contract/**.json'
- 'smart_contract/**.toml'

concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
Expand All @@ -23,29 +22,15 @@ env:
RUSTUP_TOOLCHAIN: nightly-2023-06-25

jobs:
static-analysis:
runs-on: ubuntu-latest
container:
image: hyperledger/iroha2-ci:nightly-2023-06-25
steps:
- uses: actions/checkout@v3
- uses: Swatinem/rust-cache@v2

- name: Format
run: cargo fmt --all -- --check
- name: Lints
if: always()
run: cargo lints clippy --workspace --benches --tests --examples --quiet
- name: Documentation
if: always()
run: cargo doc --no-deps --quiet

tests:
runs-on: ubuntu-latest #[self-hosted, Linux]
container:
image: hyperledger/iroha2-ci:nightly-2023-06-25
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- uses: Swatinem/rust-cache@v2
- name: Run tests
run: mold --run cargo test --tests --no-fail-fast --quiet
- name: Install iroha_wasm_test_runner
run: cargo install --path tools/wasm_test_runner
- name: Run smart contract tests on WebAssembly VM
working-directory: smart_contract
run: mold --run cargo test --tests --target wasm32-unknown-unknown --no-fail-fast --quiet
61 changes: 43 additions & 18 deletions .github/workflows/iroha2-dev-pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,46 +9,40 @@ on:
- '**.toml'
- '.github/workflows/**.yml'

# Not part of the workspace
- '!wasm/**'

concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true

env:
CARGO_TERM_COLOR: always
CLIENT_CLI_DIR: "/__w/${{ github.event.repository.name }}/${{ github.event.repository.name }}/test"

jobs:
check:
consistency:
runs-on: [self-hosted, Linux, iroha2ci]
container:
image: hyperledger/iroha2-ci:nightly-2023-06-25
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- uses: Swatinem/rust-cache@v2
- name: Check config.md
if: always()
run: ./scripts/check.sh docs
run: ./scripts/tests/consistency.sh docs
- name: Check genesis.json
if: always()
run: ./scripts/check.sh genesis
run: ./scripts/tests/consistency.sh genesis
- name: Check client/config.json
if: always()
run: ./scripts/check.sh client
run: ./scripts/tests/consistency.sh client
- name: Check peer/config.json
if: always()
run: ./scripts/check.sh peer
run: ./scripts/tests/consistency.sh peer
- name: Check schema.json
if: always()
run: ./scripts/check.sh schema
run: ./scripts/tests/consistency.sh schema
- name: Check Docker Compose configurations
if: always()
run: ./scripts/check.sh docker-compose
- name: Wasm build check
if: always()
working-directory: wasm
run: mold --run cargo build --target wasm32-unknown-unknown --quiet
run: ./scripts/tests/consistency.sh docker-compose

with_coverage:
runs-on: [self-hosted, Linux, iroha2ci]
Expand Down Expand Up @@ -100,7 +94,7 @@ jobs:
image: hyperledger/iroha2-ci:nightly-2023-06-25
timeout-minutes: 60
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- uses: Swatinem/rust-cache@v2
- name: Run tests
run: mold --run cargo test -p iroha_client --tests --no-default-features unstable_network --quiet
Expand All @@ -113,9 +107,9 @@ jobs:
container:
image: hyperledger/iroha2-ci:nightly-2023-06-25
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: Login to Soramitsu Harbor
uses: docker/login-action@v2
uses: docker/login-action@v3
with:
registry: docker.soramitsu.co.jp
username: ${{ secrets.HARBOR_USERNAME }}
Expand All @@ -137,3 +131,34 @@ jobs:
file: Dockerfile
# This context specification is required
context: .

client-cli-tests:
runs-on: [self-hosted, Linux, iroha2ci]
container:
image: hyperledger/iroha2-ci:nightly-2023-06-25
timeout-minutes: 60
steps:
- uses: actions/checkout@v4
- uses: Swatinem/rust-cache@v2
- name: Build binaries
run: |
cargo build --bin iroha_client_cli
cargo build --bin kagami
cargo build --bin iroha
- name: Setup test Iroha 2 environment on the bare metal
run: |
./scripts/test_env.py setup
- name: Mark binaries as executable
run: |
chmod +x ${{ env.CLIENT_CLI_DIR }}
- name: Install dependencies using Poetry
working-directory: client_cli/pytests
run: |
poetry install
- name: Run client cli tests
working-directory: client_cli/pytests
run: |
poetry run pytest
- name: Cleanup test environment
run: |
./scripts/test_env.py cleanup
14 changes: 7 additions & 7 deletions .github/workflows/iroha2-dev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,25 +13,25 @@ jobs:
container:
image: hyperledger/iroha2-ci:nightly-2023-06-25
steps:
- uses: actions/checkout@v3
- uses: docker/login-action@v2
- uses: actions/checkout@v4
- uses: docker/login-action@v3
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
- name: Login to Soramitsu Harbor
uses: docker/login-action@v2
uses: docker/login-action@v3
with:
registry: docker.soramitsu.co.jp
username: ${{ secrets.HARBOR_USERNAME }}
password: ${{ secrets.HARBOR_TOKEN }}
- name: Set up Docker Buildx
id: buildx
if: always()
uses: docker/setup-buildx-action@v2
uses: docker/setup-buildx-action@v3
with:
install: true
- name: Build and push iroha2:dev image
uses: docker/build-push-action@v4
uses: docker/build-push-action@v5
if: always()
with:
push: true
Expand All @@ -51,7 +51,7 @@ jobs:
container:
image: hyperledger/iroha2-ci:nightly-2023-06-25
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- uses: Swatinem/rust-cache@v2
- name: Build
run: mold --run cargo build --release --verbose
Expand Down Expand Up @@ -87,7 +87,7 @@ jobs:
container:
image: hyperledger/iroha2-ci:nightly-2023-06-25
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- uses: Swatinem/rust-cache@v2
- name: Run debug tests and save telemetry
env:
Expand Down
Loading