From 4e760b64ce55be49a83b2f0c42f8f7b09b827e6c Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 4 Nov 2024 12:03:34 +0400 Subject: [PATCH 1/2] chore(deps): bump the deps group across 2 directories with 1 update (#5214) Bumps the deps group with 1 update in the /pytests/iroha_cli_tests directory: [faker](https://github.com/joke2k/faker). Bumps the deps group with 1 update in the /pytests/iroha_torii_tests directory: [faker](https://github.com/joke2k/faker). Updates `faker` from 30.8.1 to 30.8.2 - [Release notes](https://github.com/joke2k/faker/releases) - [Changelog](https://github.com/joke2k/faker/blob/master/CHANGELOG.md) - [Commits](https://github.com/joke2k/faker/compare/v30.8.1...v30.8.2) Updates `faker` from 30.8.1 to 30.8.2 - [Release notes](https://github.com/joke2k/faker/releases) - [Changelog](https://github.com/joke2k/faker/blob/master/CHANGELOG.md) - [Commits](https://github.com/joke2k/faker/compare/v30.8.1...v30.8.2) --- updated-dependencies: - dependency-name: faker dependency-type: direct:production update-type: version-update:semver-patch dependency-group: deps - dependency-name: faker dependency-type: direct:production update-type: version-update:semver-patch dependency-group: deps ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- pytests/iroha_cli_tests/poetry.lock | 6 +++--- pytests/iroha_torii_tests/poetry.lock | 8 ++++---- pytests/iroha_torii_tests/pyproject.toml | 2 +- 3 files changed, 8 insertions(+), 8 deletions(-) diff --git a/pytests/iroha_cli_tests/poetry.lock b/pytests/iroha_cli_tests/poetry.lock index 9fb625d39d2..787e5b695dc 100644 --- a/pytests/iroha_cli_tests/poetry.lock +++ b/pytests/iroha_cli_tests/poetry.lock @@ -273,13 +273,13 @@ testing = ["hatch", "pre-commit", "pytest", "tox"] [[package]] name = "faker" -version = "30.8.1" +version = "30.8.2" description = "Faker is a Python package that generates fake data for you." optional = false python-versions = ">=3.8" files = [ - {file = "Faker-30.8.1-py3-none-any.whl", hash = "sha256:4f7f133560b9d4d2a915581f4ba86f9a6a83421b89e911f36c4c96cff58135a5"}, - {file = "faker-30.8.1.tar.gz", hash = "sha256:93e8b70813f76d05d98951154681180cb795cfbcff3eced7680d963bcc0da2a9"}, + {file = "Faker-30.8.2-py3-none-any.whl", hash = "sha256:4a82b2908cd19f3bba1a4da2060cc4eb18a40410ccdf9350d071d79dc92fe3ce"}, + {file = "faker-30.8.2.tar.gz", hash = "sha256:aa31b52cdae3673d6a78b4857c7bcdc0e98f201a5cb77d7827fa9e6b5876da94"}, ] [package.dependencies] diff --git a/pytests/iroha_torii_tests/poetry.lock b/pytests/iroha_torii_tests/poetry.lock index 7a12de0acf6..2df96aef81d 100644 --- a/pytests/iroha_torii_tests/poetry.lock +++ b/pytests/iroha_torii_tests/poetry.lock @@ -230,13 +230,13 @@ files = [ [[package]] name = "faker" -version = "30.8.1" +version = "30.8.2" description = "Faker is a Python package that generates fake data for you." optional = false python-versions = ">=3.8" files = [ - {file = "Faker-30.8.1-py3-none-any.whl", hash = "sha256:4f7f133560b9d4d2a915581f4ba86f9a6a83421b89e911f36c4c96cff58135a5"}, - {file = "faker-30.8.1.tar.gz", hash = "sha256:93e8b70813f76d05d98951154681180cb795cfbcff3eced7680d963bcc0da2a9"}, + {file = "Faker-30.8.2-py3-none-any.whl", hash = "sha256:4a82b2908cd19f3bba1a4da2060cc4eb18a40410ccdf9350d071d79dc92fe3ce"}, + {file = "faker-30.8.2.tar.gz", hash = "sha256:aa31b52cdae3673d6a78b4857c7bcdc0e98f201a5cb77d7827fa9e6b5876da94"}, ] [package.dependencies] @@ -813,4 +813,4 @@ test = ["websockets"] [metadata] lock-version = "2.0" python-versions = "^3.11" -content-hash = "259cff05a76c1411128af543be01b9e1323d4a51c8e427929bec7b3fb9a68c77" +content-hash = "bcbc7513db46db13ed0f2a6f32fbda1b39078e84e3dfc6d03991a39e1ff3536a" diff --git a/pytests/iroha_torii_tests/pyproject.toml b/pytests/iroha_torii_tests/pyproject.toml index 56e9536df32..1157fb98aaa 100644 --- a/pytests/iroha_torii_tests/pyproject.toml +++ b/pytests/iroha_torii_tests/pyproject.toml @@ -12,7 +12,7 @@ pytest = "^8.3.3" websocket-client = "^1.8.0" allure-pytest = "^2.13.5" python-dotenv = "^1.0.1" -faker = "^30.8.1" +faker = "^30.8.2" jsonschema = "^4.23.0" pyyaml = "^6.0.2" toml = "^0.10.2" From 70e5aacf3290f4b143018bc6f21ce5dcecf38d18 Mon Sep 17 00:00:00 2001 From: Nurzhan Saken Date: Mon, 4 Nov 2024 12:04:30 +0400 Subject: [PATCH 2/2] chore: update links to repo and docs (#5213) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * chore: update links to repo and docs * docs: remove broken badge --------- Signed-off-by: Nurzhan Sakén --- .github/ISSUE_TEMPLATE/bug.yml | 10 +++--- CHANGELOG.md | 2 +- CONTRIBUTING.md | 32 +++++++++---------- Cargo.toml | 6 ++-- README.md | 27 ++++++++-------- crates/iroha/Cargo.toml | 4 +-- crates/iroha/README.md | 6 ++-- .../tests/extra_functional/connected_peers.rs | 2 +- crates/iroha_cli/Cargo.toml | 4 +-- crates/iroha_cli/README.md | 6 ++-- crates/iroha_config/src/client_api.rs | 4 +-- crates/iroha_core/Cargo.toml | 4 +-- crates/iroha_crypto/src/lib.rs | 2 +- crates/iroha_data_model/src/query/mod.rs | 2 +- crates/iroha_ffi/src/handle.rs | 12 +++---- crates/iroha_ffi_derive/src/ffi_fn.rs | 2 +- crates/iroha_ffi_derive/src/getset_gen.rs | 2 +- crates/iroha_ffi_derive/src/wrapper.rs | 2 +- crates/iroha_kagami/src/genesis/generate.rs | 2 +- crates/iroha_logger/src/lib.rs | 2 +- crates/iroha_macro/Cargo.toml | 4 +-- crates/iroha_macro/README.md | 2 +- crates/iroha_macro_utils/Cargo.toml | 4 +-- crates/iroha_numeric/Cargo.toml | 4 +-- crates/iroha_primitives/Cargo.toml | 4 +-- crates/iroha_smart_contract/README.md | 6 ++-- crates/iroha_telemetry/src/metrics.rs | 4 +-- crates/iroha_telemetry_derive/Cargo.toml | 6 ++-- crates/iroha_telemetry_derive/src/lib.rs | 2 +- crates/irohad/Cargo.toml | 4 +-- crates/irohad/README.md | 2 +- crates/irohad/src/main.rs | 4 +-- docs/README.md | 4 +-- docs/source/iroha_2_whitepaper.md | 4 +-- .../test/api_version/test_api_version.py | 10 +++--- .../test/health/test_health.py | 6 ++-- scripts/tests/multisig.recursion.sh | 2 +- .../src/lib.rs | 2 +- 38 files changed, 102 insertions(+), 105 deletions(-) diff --git a/.github/ISSUE_TEMPLATE/bug.yml b/.github/ISSUE_TEMPLATE/bug.yml index 23c457f5a74..6569e7f55da 100644 --- a/.github/ISSUE_TEMPLATE/bug.yml +++ b/.github/ISSUE_TEMPLATE/bug.yml @@ -6,12 +6,12 @@ body: - type: markdown attributes: value: | - Thanks for taking the time to fill out this form! You may refer to the [contributing guide](https://github.com/hyperledger/iroha/blob/main/CONTRIBUTING.md#reporting-bugs) for further details on filling bug reports. + Thanks for taking the time to fill out this form! You may refer to the [contributing guide](https://github.com/hyperledger-iroha/iroha/blob/main/CONTRIBUTING.md#reporting-bugs) for further details on filling bug reports. Please be aware that SDK issues belong to other repositories: - - JavaScript: [`iroha-javascript`](https://github.com/hyperledger/iroha-javascript) - - Java/Kotlin: [`iroha-java`](https://github.com/hyperledger/iroha-java) - - Python: [`iroha-python`](https://github.com/hyperledger/iroha-python) + - JavaScript: [`iroha-javascript`](https://github.com/hyperledger-iroha/iroha-javascript) + - Java/Kotlin: [`iroha-java`](https://github.com/hyperledger-iroha/iroha-java) + - Python: [`iroha-python`](https://github.com/hyperledger-iroha/iroha-python) - type: input id: env attributes: @@ -72,7 +72,7 @@ body: label: Logs description: | Provide an output log in JSON format, so we could determine what caused the issue faster. - To configure a file path and level for logs, check the [reference documentation](https://github.com/hyperledger/iroha/blob/iroha2-dev/docs/source/references/config.md#logger) or [peer configuration](https://hyperledger.github.io/iroha-2-docs/guide/configure/peer-configuration.html#logger). + To configure a file path and level for logs, check the [reference documentation](https://docs.iroha.tech/reference/torii-endpoints.html#configuration-retrieve) or [peer configuration](https://docs.iroha.tech/guide/configure/peer-configuration.html#logger). **Please** leave JSON [syntax highlighting](https://help.github.com/en/github/writing-on-github/creating-and-highlighting-code-blocks#syntax-highlighting) and [collapsed sections](https://docs.github.com/en/get-started/writing-on-github/working-with-advanced-formatting/organizing-information-with-collapsed-sections) (`
` tag) enabled. If the log indentation is broken, use the [js-beautify](https://beautifier.io/) service to format it. value: | diff --git a/CHANGELOG.md b/CHANGELOG.md index b631e61cea0..d721fea5c6c 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -391,7 +391,7 @@ - hyperledger#3162 Forbid 0 height in block streaming requests - Configuration macro initial test - hyperledger#3592 Fix for config files being updated on `release` -- hyperledger#3246 Don't involve `observing peer `_ without `fault `_ +- hyperledger#3246 Don't involve `observing peer `_ without `fault `_ - hyperledger#3570 Correctly display client-side string query errors - hyperledger#3596 `iroha_client_cli` shows blocks/events - hyperledger#3473 Make `kagami validator` work from outside the iroha repository root directory diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index a173b877fcb..120d232b999 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -19,18 +19,18 @@ New to our project? [Make your first contribution](#your-first-code-contribution ### TL;DR - Find [ZenHub](https://app.zenhub.com/workspaces/iroha-v2-60ddb820813b9100181fc060/board?repos=181739240). -- Fork [Iroha](https://github.com/hyperledger/iroha/tree/main). +- Fork [Iroha](https://github.com/hyperledger-iroha/iroha/tree/main). - Fix your issue of choice. - Ensure you follow our [style guides](#style-guides) for code and documentation. - Write [tests](https://doc.rust-lang.org/cargo/commands/cargo-test.html). Ensure they all pass (`cargo test --workspace`). - Perform pre-commit routine like formatting & artifacts regeneration (see [`pre-commit.sample`](./hooks/pre-commit.sample)) -- With the `upstream` set to track [Hyperledger Iroha repository](https://github.com/hyperledger/iroha), `git pull -r upstream main`, `git commit -s`, `git push `, and [create a pull request](https://github.com/hyperledger/iroha/compare) to the `main` branch. Ensure it follows the [pull request guidelines](#pull-request-etiquette). +- With the `upstream` set to track [Hyperledger Iroha repository](https://github.com/hyperledger-iroha/iroha), `git pull -r upstream main`, `git commit -s`, `git push `, and [create a pull request](https://github.com/hyperledger-iroha/iroha/compare) to the `main` branch. Ensure it follows the [pull request guidelines](#pull-request-etiquette). ### Reporting Bugs A *bug* is an error, design flaw, failure or fault in Iroha that causes it to produce an incorrect, unexpected, or unintended result or behaviour. -We track Iroha bugs via [Github Issues](https://github.com/hyperledger/iroha/issues?q=is%3Aopen+is%3Aissue+label%3ABug) labeled with the `Bug` tag. +We track Iroha bugs via [GitHub Issues](https://github.com/hyperledger-iroha/iroha/issues?q=is%3Aopen+is%3Aissue+label%3ABug) labeled with the `Bug` tag. When you create a new issue, there is a template for you to fill in. Here's the checklist of what you should do when you are reporting bugs: - [ ] Add the `Bug` tag @@ -83,7 +83,7 @@ If you have any questions regarding our handling of security vulnerabilities, pl ### Suggesting Improvements -Create [an issue](https://github.com/hyperledger/iroha/issues/new) on GitHub with the appropriate tags (`Optimization`, `Enhancement`) and describe the improvement you are suggesting. You may leave this idea for us or someone else to develop, or you may implement it yourself. +Create [an issue](https://github.com/hyperledger-iroha/iroha/issues/new) on GitHub with the appropriate tags (`Optimization`, `Enhancement`) and describe the improvement you are suggesting. You may leave this idea for us or someone else to develop, or you may implement it yourself. If you intend to implement the suggestion yourself, do the following: @@ -117,7 +117,7 @@ You, as part of the aforementioned community, should consider helping others too ## Your First Code Contribution -1. Find a beginner-friendly issue among issues with the [good-first-issue](https://github.com/hyperledger/iroha/labels/good%20first%20issue) label. +1. Find a beginner-friendly issue among issues with the [good-first-issue](https://github.com/hyperledger-iroha/iroha/labels/good%20first%20issue) label. 2. Make sure that no one else is working on the issues you have chosen by checking that it is not assigned to anybody. 3. Assign the issue to yourself so that others can see that someone is working on it. 4. Read our [Rust Style Guide](#rust-style-guide) before you start writing code. @@ -125,7 +125,7 @@ You, as part of the aforementioned community, should consider helping others too ## Pull Request Etiquette -Please [fork](https://docs.github.com/en/get-started/quickstart/fork-a-repo) the [repository](https://github.com/hyperledger/iroha/tree/main) and [create a feature branch](https://docs.github.com/en/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/creating-and-deleting-branches-within-your-repository) for your contributions. When working with **PRs from forks**, check [this manual](https://help.github.com/articles/checking-out-pull-requests-locally). +Please [fork](https://docs.github.com/en/get-started/quickstart/fork-a-repo) the [repository](https://github.com/hyperledger-iroha/iroha/tree/main) and [create a feature branch](https://docs.github.com/en/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/creating-and-deleting-branches-within-your-repository) for your contributions. When working with **PRs from forks**, check [this manual](https://help.github.com/articles/checking-out-pull-requests-locally). #### Working on code contribution: - Follow the [Rust Style Guide](#rust-style-guide) and the [Documentation Style Guide](#documentation-style-guide). @@ -170,8 +170,8 @@ To pass the *`check-PR-title`* check, the pull request title must adhere to the ### Git Workflow -- [Fork](https://docs.github.com/en/get-started/quickstart/fork-a-repo) the [repository](https://github.com/hyperledger/iroha/tree/main) and [create a feature branch](https://docs.github.com/en/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/creating-and-deleting-branches-within-your-repository) for your contributions. -- [Configure the remote](https://docs.github.com/en/pull-requests/collaborating-with-pull-requests/working-with-forks/configuring-a-remote-for-a-fork) to sync your fork with the [Hyperledger Iroha repository](https://github.com/hyperledger/iroha/tree/main). +- [Fork](https://docs.github.com/en/get-started/quickstart/fork-a-repo) the [repository](https://github.com/hyperledger-iroha/iroha/tree/main) and [create a feature branch](https://docs.github.com/en/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/creating-and-deleting-branches-within-your-repository) for your contributions. +- [Configure the remote](https://docs.github.com/en/pull-requests/collaborating-with-pull-requests/working-with-forks/configuring-a-remote-for-a-fork) to sync your fork with the [Hyperledger Iroha repository](https://github.com/hyperledger-iroha/iroha/tree/main). - Use the [Git Rebase Workflow](https://git-rebase.io/). Avoid using `git pull`. Use `git pull --rebase` instead. - Use the provided [git hooks](./hooks/) to ease the development process. @@ -204,7 +204,7 @@ Follow these commit guidelines: - To run the source-code based tests, execute [`cargo test`](https://doc.rust-lang.org/cargo/commands/cargo-test.html) in the Iroha root. Note that this is a long process. - To run benchmarks, execute [`cargo bench`](https://doc.rust-lang.org/cargo/commands/cargo-bench.html) from the Iroha root. To help debug benchmark outputs, set the `debug_assertions` environment variable like so: `RUSTFLAGS="--cfg debug_assertions" cargo bench`. - If you are working on a particular component, be mindful that when you run `cargo test` in a [workspace](https://doc.rust-lang.org/cargo/reference/workspaces.html), it will only run the tests for that workspace, which usually doesn't include any [integration tests](https://www.testingxperts.com/blog/what-is-integration-testing). -- If you want to test your changes on a minimal network, the provided [`docker-compose.yml`](defaults/docker-compose.yml) creates a network of 4 Iroha peers in docker containers that can be used to test consensus and asset propagation-related logic. We recommend interacting with that network using either [`iroha-python`](https://github.com/hyperledger/iroha-python), or the included Iroha client CLI. +- If you want to test your changes on a minimal network, the provided [`docker-compose.yml`](defaults/docker-compose.yml) creates a network of 4 Iroha peers in docker containers that can be used to test consensus and asset propagation-related logic. We recommend interacting with that network using either [`iroha-python`](https://github.com/hyperledger-iroha/iroha-python), or the included Iroha client CLI. - Do not remove failing tests. Even tests that are ignored will be run in our pipeline eventually. - If possible, please benchmark your code both before and after making your changes, as a significant performance regression can break existing users' installations. @@ -379,13 +379,11 @@ We use pinned dependencies. Follow these guidelines for versioning: Our community members are active at: -| Service | Link | -| ------------- | ------------------------------------------------------------ | -| RocketChat | https://chat.hyperledger.org/channel/iroha | -| StackOverflow | https://stackoverflow.com/questions/tagged/hyperledger-iroha | -| Mailing List | hyperledger-iroha@lists.hyperledger.org | -| Gitter | https://gitter.im/hyperledger-iroha/Lobby | -| Telegram | https://t.me/hl_iroha | -| YouTube | https://www.youtube.com/channel/UCYlK9OrZo9hvNYFuf0vrwww | +| Service | Link | +|---------------|--------------------------------------------------------------------| +| StackOverflow | https://stackoverflow.com/questions/tagged/hyperledger-iroha | +| Mailing List | https://lists.lfdecentralizedtrust.org/g/iroha | +| Telegram | https://t.me/hyperledgeriroha | +| Discord | https://discord.com/channels/905194001349627914/905205848547155968 | --- diff --git a/Cargo.toml b/Cargo.toml index 8569c51c1e6..9dc7f75c3e1 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -5,8 +5,8 @@ version = "2.0.0-rc.1.0" authors = ["Iroha 2 team "] description = "Efficient, simple, Byzantine-fault-tolerant DLT inspired by the Kaizen principle" -repository = "https://github.com/hyperledger/iroha/tree/iroha2-lts" -documentation = "https://hyperledger.github.io/iroha-2-docs" +repository = "https://github.com/hyperledger-iroha/iroha" +documentation = "https://docs.iroha.tech" homepage = "https://iroha.tech" license = "Apache-2.0" @@ -149,7 +149,7 @@ rust.unused_lifetimes = "warn" # TODO: reenable # rust.unsafe_op_in_unsafe_fn = "deny" rust.unexpected_cfgs = { level = "warn", check-cfg = [ - # FIXME: https://github.com/hyperledger/iroha/issues/3102 + # FIXME: https://github.com/hyperledger-iroha/iroha/issues/3102 'cfg(feature, values("ffi_import"))', # It is set by `cargo-llvm-cov` 'cfg(coverage)' diff --git a/README.md b/README.md index 5e99fcb7099..6223a42c4e4 100644 --- a/README.md +++ b/README.md @@ -1,7 +1,6 @@ # Hyperledger Iroha [![License](https://img.shields.io/badge/License-Apache%202.0-blue.svg)](https://opensource.org/licenses/Apache-2.0) -![Rust](https://github.com/hyperledger/iroha/workflows/Rust/badge.svg?branch=main) Iroha is a simple and efficient blockchain ledger based on the **distributed ledger technology (DLT)**. Its design principles are inspired by the Japanese Kaizen principle of eliminating excesses (*muri*). @@ -137,11 +136,11 @@ There is a set of configuration parameters that could be passed either through a irohad --config /path/to/config.toml ``` -**Note:** detailed configuration reference is [work in progress](https://github.com/hyperledger/iroha-2-docs/issues/392). +**Note:** detailed configuration reference is [work in progress](https://github.com/hyperledger-iroha/iroha-2-docs/issues/392). ### Endpoints -For a list of all endpoints, available operations, and ways to customize them with parameters, see [API Reference > Torii Endpoints](https://hyperledger.github.io/iroha-2-docs/api/torii-endpoints) +For a list of all endpoints, available operations, and ways to customize them with parameters, see [Reference > Torii Endpoints](https://docs.iroha.tech/reference/torii-endpoints.html) ### Logging @@ -166,7 +165,7 @@ Output goes to `/dev/stdout`. Piping to files or [log rotation](https://www.comm ### Monitoring -The details of the `Health` endpoint can be found in the [API Reference > Torii Endpoints](https://hyperledger.github.io/iroha-2-docs/api/torii-endpoints#health). +The details of the `Health` endpoint can be found in the [API Reference > Torii Endpoints](https://docs.iroha.tech/reference/torii-endpoints.html#health). Iroha can produce both JSON-formatted as well as `prometheus`-readable metrics at the `status` and `metrics` endpoints respectively. @@ -176,7 +175,7 @@ The [`prometheus`](https://prometheus.io/docs/introduction/overview/) monitoring Iroha stores blocks and snapshots in the `storage` directory, which is created automatically by Iroha in the working directory of the peer. If `kura.block_store_path` is specified in the config file, it overrides the default one and is resolved relative to the config file location. -**Note:** detailed configuration reference is [work in progress](https://github.com/hyperledger/iroha-2-docs/issues/392). +**Note:** detailed configuration reference is [work in progress](https://github.com/hyperledger-iroha/iroha-2-docs/issues/392). ### Scalability @@ -186,21 +185,21 @@ The provided `docker-compose` file showcases a minimum viable network and the ge ## Further Reading -We encourage you to check out our [Iroha 2 Tutorial](https://hyperledger.github.io/iroha-2-docs/) first. It is suitable for both experienced developers and prospective users of Iroha 2, and it provides language-specific guides for Bash, Python, Rust, Kotlin/Java, and Javascript/TypeScript. +We encourage you to check out our [Iroha 2 Tutorial](https://docs.iroha.tech) first. It is suitable for both experienced developers and prospective users of Iroha 2, and it provides language-specific guides for Bash, Python, Rust, Kotlin/Java, and Javascript/TypeScript. -* [Iroha 2 Documentation](https://hyperledger.github.io/iroha-2-docs/) - * [Glossary](https://hyperledger.github.io/iroha-2-docs/guide/glossary) - * [Iroha Special Instructions](https://hyperledger.github.io/iroha-2-docs/guide/blockchain/instructions) - * [API Reference](https://hyperledger.github.io/iroha-2-docs/api/torii-endpoints) +* [Iroha 2 Documentation](https://docs.iroha.tech) + * [Glossary](https://docs.iroha.tech/reference/glossary.html) + * [Iroha Special Instructions](https://docs.iroha.tech/blockchain/instructions.html) + * [API Reference](https://docs.iroha.tech/reference/torii-endpoints.html) * [Iroha 2 Whitepaper](./docs/source/iroha_2_whitepaper.md) Iroha SDKs: -* [Iroha Python](https://github.com/hyperledger/iroha-python) -* [Iroha Java](https://github.com/hyperledger/iroha-java) -* [Iroha Javascript](https://github.com/hyperledger/iroha-javascript) -* [Iroha iOS Swift](https://github.com/hyperledger/iroha-ios) +* [Iroha Python](https://github.com/hyperledger-iroha/iroha-python) +* [Iroha Java](https://github.com/hyperledger-iroha/iroha-java) +* [Iroha Javascript](https://github.com/hyperledger-iroha/iroha-javascript) +* [Iroha iOS Swift](https://github.com/hyperledger-iroha/iroha-ios) ## How to Contribute diff --git a/crates/iroha/Cargo.toml b/crates/iroha/Cargo.toml index 13ece91a788..8b029bb9ff2 100644 --- a/crates/iroha/Cargo.toml +++ b/crates/iroha/Cargo.toml @@ -18,8 +18,8 @@ categories.workspace = true workspace = true [badges] -is-it-maintained-issue-resolution = { repository = "https://github.com/hyperledger/iroha" } -is-it-maintained-open-issues = { repository = "https://github.com/hyperledger/iroha" } +is-it-maintained-issue-resolution = { repository = "https://github.com/hyperledger-iroha/iroha" } +is-it-maintained-open-issues = { repository = "https://github.com/hyperledger-iroha/iroha" } maintenance = { status = "actively-developed" } [features] diff --git a/crates/iroha/README.md b/crates/iroha/README.md index 12b58623472..28e13478354 100644 --- a/crates/iroha/README.md +++ b/crates/iroha/README.md @@ -2,7 +2,7 @@ This is the Iroha 2 client library crate. With it you can build your own client applications to communicate with peers in an Iroha 2 network via HTTP/WebSocket. -Follow the [Iroha 2 tutorial](https://hyperledger.github.io/iroha-2-docs/guide/rust.html) for instructions on how to set up, configure, and use the Iroha 2 client and client library. +Follow the [Iroha 2 tutorial](https://docs.iroha.tech/guide/tutorials/rust.html) for instructions on how to set up, configure, and use the Iroha 2 client and client library. ## Features @@ -16,9 +16,9 @@ Follow the [Iroha 2 tutorial](https://hyperledger.github.io/iroha-2-docs/guide/r Add the following to the manifest file of your Rust project: ```toml -iroha = { git = "https://github.com/hyperledger/iroha", branch = "main" } +iroha = { git = "https://github.com/hyperledger-iroha/iroha" } ``` ## Examples -We highly recommend looking at the sample [`iroha`](../iroha_cli) implementation binary as well as our [tutorial](https://hyperledger.github.io/iroha-2-docs/guide/rust.html) for more examples and explanations. +We highly recommend looking at the sample [`iroha`](../iroha_cli) implementation binary as well as our [tutorial](https://docs.iroha.tech/guide/tutorials/rust.html) for more examples and explanations. diff --git a/crates/iroha/tests/extra_functional/connected_peers.rs b/crates/iroha/tests/extra_functional/connected_peers.rs index 31272cfd8b5..915614c3fd4 100644 --- a/crates/iroha/tests/extra_functional/connected_peers.rs +++ b/crates/iroha/tests/extra_functional/connected_peers.rs @@ -43,7 +43,7 @@ async fn register_new_peer() -> Result<()> { } /// Test the number of connected peers, changing the number of faults tolerated down and up -// Note: sometimes fails due to https://github.com/hyperledger/iroha/issues/5104 +// Note: sometimes fails due to https://github.com/hyperledger-iroha/iroha/issues/5104 async fn connected_peers_with_f(faults: usize) -> Result<()> { let n_peers = 3 * faults + 1; diff --git a/crates/iroha_cli/Cargo.toml b/crates/iroha_cli/Cargo.toml index 68727ce2d6d..b843a2dccc2 100644 --- a/crates/iroha_cli/Cargo.toml +++ b/crates/iroha_cli/Cargo.toml @@ -18,8 +18,8 @@ categories = ["cryptography::cryptocurrencies", "command-line-utilities"] workspace = true [badges] -is-it-maintained-issue-resolution = { repository = "https://github.com/hyperledger/iroha" } -is-it-maintained-open-issues = { repository = "https://github.com/hyperledger/iroha" } +is-it-maintained-issue-resolution = { repository = "https://github.com/hyperledger-iroha/iroha" } +is-it-maintained-open-issues = { repository = "https://github.com/hyperledger-iroha/iroha" } maintenance = { status = "actively-developed" } [[bin]] diff --git a/crates/iroha_cli/README.md b/crates/iroha_cli/README.md index 08c4494f3d2..30295aac38b 100644 --- a/crates/iroha_cli/README.md +++ b/crates/iroha_cli/README.md @@ -20,7 +20,7 @@ cargo build The above command will produce the `iroha` ELF executable file for Linux/BSD, the `iroha` executable for MacOS, and the `iroha.exe` executable for Windows, depending on your platform and configuration. -Check [build and installation instructions](https://hyperledger.github.io/iroha-2-docs/guide/build-and-install.html) for more details. +Alternatively, check out the [documentation](https://docs.iroha.tech/get-started/install-iroha-2.html) for system-wide installation instructions. ## Usage @@ -50,9 +50,9 @@ iroha [OPTIONS] | `wasm` | Execute commands related to WASM | | `help` | Print the help message for `iroha` and/or the current subcommand other than `help` subcommand | -Refer to [Iroha Special Instructions](https://hyperledger.github.io/iroha-2-docs/guide/blockchain/instructions.html) for more information about Iroha instructions such as register, mint, grant, and so on. +Refer to [Iroha Special Instructions](https://docs.iroha.tech/blockchain/instructions.html) for more information about Iroha instructions such as register, mint, grant, and so on. -Check the [Bash guide in Iroha Tutorial](https://hyperledger.github.io/iroha-2-docs/guide/bash.html) for detailed instructions on working with Iroha Client CLI. +Check the [getting started guide](https://docs.iroha.tech/get-started/operate-iroha-2-via-cli.html) for detailed instructions on working with Iroha Client CLI. ## Examples diff --git a/crates/iroha_config/src/client_api.rs b/crates/iroha_config/src/client_api.rs index 9bd4fa2a8e5..d49639a15d6 100644 --- a/crates/iroha_config/src/client_api.rs +++ b/crates/iroha_config/src/client_api.rs @@ -7,7 +7,7 @@ // TODO: Currently logic here is not generalised and handles only `logger.level` parameter. In future, when // other parts of configuration are refactored and there is a solid foundation e.g. as a general // configuration-related crate, this part should be re-written in a clean way. -// Track configuration refactoring here: https://github.com/hyperledger/iroha/issues/2585 +// Track configuration refactoring here: https://github.com/hyperledger-iroha/iroha/issues/2585 use serde::{Deserialize, Serialize}; @@ -63,7 +63,7 @@ mod test { let actual = serde_json::to_string_pretty(&value).expect("The value is a valid JSON"); // NOTE: whenever this is updated, make sure to update the documentation accordingly: - // https://hyperledger.github.io/iroha-2-docs/reference/torii-endpoints.html + // https://docs.iroha.tech/reference/torii-endpoints.html // -> Configuration endpoints let expected = expect_test::expect![[r#" { diff --git a/crates/iroha_core/Cargo.toml b/crates/iroha_core/Cargo.toml index 10d266bd5af..ca38faabe2d 100644 --- a/crates/iroha_core/Cargo.toml +++ b/crates/iroha_core/Cargo.toml @@ -26,8 +26,8 @@ expensive-telemetry = ["iroha_telemetry/metric-instrumentation"] profiling = [] [badges] -is-it-maintained-issue-resolution = { repository = "https://github.com/hyperledger/iroha" } -is-it-maintained-open-issues = { repository = "https://github.com/hyperledger/iroha" } +is-it-maintained-issue-resolution = { repository = "https://github.com/hyperledger-iroha/iroha" } +is-it-maintained-open-issues = { repository = "https://github.com/hyperledger-iroha/iroha" } maintenance = { status = "actively-developed" } [dependencies] diff --git a/crates/iroha_crypto/src/lib.rs b/crates/iroha_crypto/src/lib.rs index 939c707d3a4..45d92d865df 100755 --- a/crates/iroha_crypto/src/lib.rs +++ b/crates/iroha_crypto/src/lib.rs @@ -367,7 +367,7 @@ impl PublicKeyInner { /// `PublicKey` will be lazily deserialized inside WASM. /// This is needed for performance reasons, since `PublicKeyInner::from_bytes` is quite slow. /// However inside WASM in most cases `PublicKey` is used only for comparisons (==). -/// See https://github.com/hyperledger/iroha/issues/5038 for details. +/// See https://github.com/hyperledger-iroha/iroha/issues/5038 for details. #[cfg(target_family = "wasm")] mod lazy { use alloc::{boxed::Box, vec::Vec}; diff --git a/crates/iroha_data_model/src/query/mod.rs b/crates/iroha_data_model/src/query/mod.rs index 64c7bc257ea..39038062783 100644 --- a/crates/iroha_data_model/src/query/mod.rs +++ b/crates/iroha_data_model/src/query/mod.rs @@ -40,7 +40,7 @@ pub mod parameters; pub mod predicate; /// A query that either returns a single value or errors out -// NOTE: we are planning to remove this class of queries (https://github.com/hyperledger/iroha/issues/4933) +// NOTE: we are planning to remove this class of queries (https://github.com/hyperledger-iroha/iroha/issues/4933) pub trait SingularQuery: Sealed { /// The type of the output of the query type Output; diff --git a/crates/iroha_ffi/src/handle.rs b/crates/iroha_ffi/src/handle.rs index a6400fa3fce..5e9b1f451ce 100644 --- a/crates/iroha_ffi/src/handle.rs +++ b/crates/iroha_ffi/src/handle.rs @@ -67,7 +67,7 @@ macro_rules! def_ffi_fns { Err(err) => err.into(), }, Err(_) => { - // TODO: Implement error handling (https://github.com/hyperledger/iroha/issues/2252) + // TODO: Implement error handling (https://github.com/hyperledger-iroha/iroha/issues/2252) $crate::FfiReturn::UnrecoverableError }, } @@ -97,7 +97,7 @@ macro_rules! def_ffi_fns { let handle_ref: &$other = $crate::FfiConvert::try_from_ffi(handle_ptr as <&$other as $crate::FfiType>::ReprC, &mut ())?; <$other as $crate::FfiOutPtrWrite>::write_out(Clone::clone(handle_ref), out_ptr.cast::<<$other as $crate::FfiType>::ReprC>()); } )+ - // TODO: Implement error handling (https://github.com/hyperledger/iroha/issues/2252) + // TODO: Implement error handling (https://github.com/hyperledger-iroha/iroha/issues/2252) _ => return Err($crate::FfiReturn::UnknownHandle), } @@ -126,7 +126,7 @@ macro_rules! def_ffi_fns { let out_ptr = out_ptr.cast::<<$other as $crate::FfiType>::ReprC>(); <$other as $crate::FfiOutPtrWrite>::write_out(default_value, out_ptr); } )+ - // TODO: Implement error handling (https://github.com/hyperledger/iroha/issues/2252) + // TODO: Implement error handling (https://github.com/hyperledger-iroha/iroha/issues/2252) _ => return Err($crate::FfiReturn::UnknownHandle), } @@ -164,7 +164,7 @@ macro_rules! def_ffi_fns { ::write_out(lhandle == rhandle, out_ptr); } )+ - // TODO: Implement error handling (https://github.com/hyperledger/iroha/issues/2252) + // TODO: Implement error handling (https://github.com/hyperledger-iroha/iroha/issues/2252) _ => return Err($crate::FfiReturn::UnknownHandle), } @@ -202,7 +202,7 @@ macro_rules! def_ffi_fns { ::write_out(lhandle.cmp(rhandle), out_ptr); } )+ - // TODO: Implement error handling (https://github.com/hyperledger/iroha/issues/2252) + // TODO: Implement error handling (https://github.com/hyperledger-iroha/iroha/issues/2252) _ => return Err($crate::FfiReturn::UnknownHandle), } @@ -228,7 +228,7 @@ macro_rules! def_ffi_fns { let handle_ptr = handle_ptr as <$other as $crate::FfiType>::ReprC; let _handle: $other = $crate::FfiConvert::try_from_ffi(handle_ptr, &mut ())?; } )+ - // TODO: Implement error handling (https://github.com/hyperledger/iroha/issues/2252) + // TODO: Implement error handling (https://github.com/hyperledger-iroha/iroha/issues/2252) _ => return Err($crate::FfiReturn::UnknownHandle), } diff --git a/crates/iroha_ffi_derive/src/ffi_fn.rs b/crates/iroha_ffi_derive/src/ffi_fn.rs index 2b16204a07d..a71793e237a 100644 --- a/crates/iroha_ffi_derive/src/ffi_fn.rs +++ b/crates/iroha_ffi_derive/src/ffi_fn.rs @@ -61,7 +61,7 @@ pub fn gen_definition(fn_descriptor: &FnDescriptor, trait_name: Option<&Ident>) match std::panic::catch_unwind(fn_) { Ok(res) => res, Err(_) => { - // TODO: Implement error handling (https://github.com/hyperledger/iroha/issues/2252) + // TODO: Implement error handling (https://github.com/hyperledger-iroha/iroha/issues/2252) iroha_ffi::FfiReturn::UnrecoverableError }, } diff --git a/crates/iroha_ffi_derive/src/getset_gen.rs b/crates/iroha_ffi_derive/src/getset_gen.rs index 065fadea13d..3331aff8e8b 100644 --- a/crates/iroha_ffi_derive/src/getset_gen.rs +++ b/crates/iroha_ffi_derive/src/getset_gen.rs @@ -67,7 +67,7 @@ pub fn gen_resolve_type(arg: &Arg) -> TokenStream { let #arg_name = if let Ok(ok) = #arg_name { ok } else { - // TODO: Implement error handling (https://github.com/hyperledger/iroha/issues/2252) + // TODO: Implement error handling (https://github.com/hyperledger-iroha/iroha/issues/2252) return Err(iroha_ffi::FfiReturn::ExecutionFail); }; }; diff --git a/crates/iroha_ffi_derive/src/wrapper.rs b/crates/iroha_ffi_derive/src/wrapper.rs index a00a520c1ec..702eed93385 100644 --- a/crates/iroha_ffi_derive/src/wrapper.rs +++ b/crates/iroha_ffi_derive/src/wrapper.rs @@ -736,7 +736,7 @@ fn gen_ffi_fn_call_stmt(fn_descriptor: &FnDescriptor, ffi_fn_name: &Ident) -> To if unwrap_result_type(output.src_type()).is_some() { quote! { iroha_ffi::FfiReturn::ExecutionFail => { - // TODO: Implement error handling (https://github.com/hyperledger/iroha/issues/2252) + // TODO: Implement error handling (https://github.com/hyperledger-iroha/iroha/issues/2252) //return Err(Default::default()); unimplemented!("Error handling is not properly implemented yet"); } diff --git a/crates/iroha_kagami/src/genesis/generate.rs b/crates/iroha_kagami/src/genesis/generate.rs index 8ba89cc3519..441e294c8f2 100644 --- a/crates/iroha_kagami/src/genesis/generate.rs +++ b/crates/iroha_kagami/src/genesis/generate.rs @@ -202,7 +202,7 @@ fn generate_synthetic( builder.append_instruction(Register::account(Account::new(account_id.clone()))); // FIXME: Should `assets_per_domain` be renamed to `asset_definitions_per_domain`? - // https://github.com/hyperledger/iroha/issues/3508 + // https://github.com/hyperledger-iroha/iroha/issues/3508 for asset in 0..assets_per_domain { let mint = Mint::asset_numeric( 13u32, diff --git a/crates/iroha_logger/src/lib.rs b/crates/iroha_logger/src/lib.rs index 0f953e9127d..127d6aef98a 100644 --- a/crates/iroha_logger/src/lib.rs +++ b/crates/iroha_logger/src/lib.rs @@ -68,7 +68,7 @@ impl InitConfig { /// # Errors /// If the logger is already set, raises a generic error. // TODO: refactor configuration in a way that `terminal_colors` is part of it -// https://github.com/hyperledger/iroha/issues/3500 +// https://github.com/hyperledger-iroha/iroha/issues/3500 pub fn init_global(config: InitConfig) -> Result { try_set_logger()?; diff --git a/crates/iroha_macro/Cargo.toml b/crates/iroha_macro/Cargo.toml index a53f0bc8672..8ffa9143db2 100644 --- a/crates/iroha_macro/Cargo.toml +++ b/crates/iroha_macro/Cargo.toml @@ -11,8 +11,8 @@ license.workspace = true workspace = true [badges] -is-it-maintained-issue-resolution = { repository = "https://github.com/hyperledger/iroha" } -is-it-maintained-open-issues = { repository = "https://github.com/hyperledger/iroha" } +is-it-maintained-issue-resolution = { repository = "https://github.com/hyperledger-iroha/iroha" } +is-it-maintained-open-issues = { repository = "https://github.com/hyperledger-iroha/iroha" } maintenance = { status = "actively-developed" } [features] diff --git a/crates/iroha_macro/README.md b/crates/iroha_macro/README.md index 829d2a4fee0..ee84effc2c2 100644 --- a/crates/iroha_macro/README.md +++ b/crates/iroha_macro/README.md @@ -9,7 +9,7 @@ This crate contains macros and attributes for Iroha projects: Add the following to the manifest file of your Rust project: ```toml -iroha_derive = { git = "https://github.com/hyperledger/iroha/", branch="main" } +iroha_derive = { git = "https://github.com/hyperledger-iroha/iroha" } ``` ## Examples diff --git a/crates/iroha_macro_utils/Cargo.toml b/crates/iroha_macro_utils/Cargo.toml index 2092e69889d..76f153d2a81 100644 --- a/crates/iroha_macro_utils/Cargo.toml +++ b/crates/iroha_macro_utils/Cargo.toml @@ -8,8 +8,8 @@ authors.workspace = true license.workspace = true [badges] -is-it-maintained-issue-resolution = { repository = "https://github.com/hyperledger/iroha" } -is-it-maintained-open-issues = { repository = "https://github.com/hyperledger/iroha" } +is-it-maintained-issue-resolution = { repository = "https://github.com/hyperledger-iroha/iroha" } +is-it-maintained-open-issues = { repository = "https://github.com/hyperledger-iroha/iroha" } maintenance = { status = "actively-developed" } [dependencies] diff --git a/crates/iroha_numeric/Cargo.toml b/crates/iroha_numeric/Cargo.toml index c73c4df54a8..930749747c4 100644 --- a/crates/iroha_numeric/Cargo.toml +++ b/crates/iroha_numeric/Cargo.toml @@ -11,8 +11,8 @@ license.workspace = true workspace = true [badges] -is-it-maintained-issue-resolution = { repository = "https://github.com/hyperledger/iroha" } -is-it-maintained-open-issues = { repository = "https://github.com/hyperledger/iroha" } +is-it-maintained-issue-resolution = { repository = "https://github.com/hyperledger-iroha/iroha" } +is-it-maintained-open-issues = { repository = "https://github.com/hyperledger-iroha/iroha" } maintenance = { status = "actively-developed" } [features] diff --git a/crates/iroha_primitives/Cargo.toml b/crates/iroha_primitives/Cargo.toml index 8111925c9d1..d542663395f 100644 --- a/crates/iroha_primitives/Cargo.toml +++ b/crates/iroha_primitives/Cargo.toml @@ -11,8 +11,8 @@ license.workspace = true workspace = true [badges] -is-it-maintained-issue-resolution = { repository = "https://github.com/hyperledger/iroha" } -is-it-maintained-open-issues = { repository = "https://github.com/hyperledger/iroha" } +is-it-maintained-issue-resolution = { repository = "https://github.com/hyperledger-iroha/iroha" } +is-it-maintained-open-issues = { repository = "https://github.com/hyperledger-iroha/iroha" } maintenance = { status = "actively-developed" } [features] diff --git a/crates/iroha_smart_contract/README.md b/crates/iroha_smart_contract/README.md index 827c53fe526..91e601c90d2 100644 --- a/crates/iroha_smart_contract/README.md +++ b/crates/iroha_smart_contract/README.md @@ -4,7 +4,7 @@ The library crate that is used for writing Iroha-compliant smart contracts in Ru ## Usage -Check the [WASM section of our tutorial](https://hyperledger.github.io/iroha-2-docs/guide/blockchain/wasm.html) for a detailed guide. +Check the [WASM section of our tutorial](https://docs.iroha.tech/blockchain/wasm.html) for a detailed guide. ## Running tests @@ -48,8 +48,8 @@ By following this list of optimization steps you can reduce the size of your bin codegen-units = 1 # Further reduces binary size but increases compilation time [dependencies] - iroha_data_model = { git = "https://github.com/hyperledger/iroha/", branch = "iroha2", default-features = false } - iroha_smart_contract = { git = "https://github.com/hyperledger/iroha/", branch = "iroha2" } + iroha_data_model = { git = "https://github.com/hyperledger-iroha/iroha/", default-features = false } + iroha_smart_contract = { git = "https://github.com/hyperledger-iroha/iroha/" } panic-halt = "0.2.0" ``` diff --git a/crates/iroha_telemetry/src/metrics.rs b/crates/iroha_telemetry/src/metrics.rs index 432f70b1ff4..0bf373ea4df 100644 --- a/crates/iroha_telemetry/src/metrics.rs +++ b/crates/iroha_telemetry/src/metrics.rs @@ -263,7 +263,7 @@ mod test { let actual = serde_json::to_string_pretty(&value).expect("Sample is valid"); // CAUTION: if this is outdated, make sure to update the documentation: - // https://hyperledger.github.io/iroha-2-docs/api/torii-endpoints#status + // https://docs.iroha.tech/reference/torii-endpoints.html#status let expected = expect_test::expect![[r#" { "peers": 4, @@ -287,7 +287,7 @@ mod test { let actual = hex::encode_upper(bytes); // CAUTION: if this is outdated, make sure to update the documentation: - // https://hyperledger.github.io/iroha-2-docs/api/torii-endpoints#status + // https://docs.iroha.tech/reference/torii-endpoints.html#status let expected = expect_test::expect!["10147C0C14407CD9370848"]; expected.assert_eq(&actual); } diff --git a/crates/iroha_telemetry_derive/Cargo.toml b/crates/iroha_telemetry_derive/Cargo.toml index 83973e6c86b..fc6ac2b76dd 100644 --- a/crates/iroha_telemetry_derive/Cargo.toml +++ b/crates/iroha_telemetry_derive/Cargo.toml @@ -14,12 +14,12 @@ workspace = true proc-macro = true [badges] -is-it-maintained-issue-resolution = { repository = "https://github.com/hyperledger/iroha" } -is-it-maintained-open-issues = { repository = "https://github.com/hyperledger/iroha" } +is-it-maintained-issue-resolution = { repository = "https://github.com/hyperledger-iroha/iroha" } +is-it-maintained-open-issues = { repository = "https://github.com/hyperledger-iroha/iroha" } maintenance = { status = "actively-developed" } [features] -# FIXME: it doesn't work https://github.com/hyperledger/iroha/issues/5134 +# FIXME: it doesn't work https://github.com/hyperledger-iroha/iroha/issues/5134 metric-instrumentation = [] [dependencies] diff --git a/crates/iroha_telemetry_derive/src/lib.rs b/crates/iroha_telemetry_derive/src/lib.rs index b2c63305ac2..5abca0a5d79 100644 --- a/crates/iroha_telemetry_derive/src/lib.rs +++ b/crates/iroha_telemetry_derive/src/lib.rs @@ -271,7 +271,7 @@ fn impl_metrics( ) } -// FIXME: metrics were removed https://github.com/hyperledger/iroha/issues/5134 +// FIXME: metrics were removed https://github.com/hyperledger-iroha/iroha/issues/5134 #[cfg(feature = "metric-instrumentation")] fn write_metrics( metric_arg_ident: proc_macro2::Ident, diff --git a/crates/irohad/Cargo.toml b/crates/irohad/Cargo.toml index ee75417b35d..d7323d0f191 100644 --- a/crates/irohad/Cargo.toml +++ b/crates/irohad/Cargo.toml @@ -32,8 +32,8 @@ dev-telemetry = ["telemetry", "iroha_telemetry/dev-telemetry", "iroha_logger/tok schema-endpoint = ["iroha_torii/schema"] [badges] -is-it-maintained-issue-resolution = { repository = "https://github.com/hyperledger/iroha" } -is-it-maintained-open-issues = { repository = "https://github.com/hyperledger/iroha" } +is-it-maintained-issue-resolution = { repository = "https://github.com/hyperledger-iroha/iroha" } +is-it-maintained-open-issues = { repository = "https://github.com/hyperledger-iroha/iroha" } maintenance = { status = "actively-developed" } [dependencies] diff --git a/crates/irohad/README.md b/crates/irohad/README.md index 7a6c37aa96c..da8659adc06 100644 --- a/crates/irohad/README.md +++ b/crates/irohad/README.md @@ -72,7 +72,7 @@ Refer to [generating key pairs with `kagami`](../iroha_kagami#crypto) for more d ### Configuration file -**Note:** this section is under development. You can track it in the [issue](https://github.com/hyperledger/iroha-2-docs/issues/392). +**Note:** this section is under development. You can track it in the [issue](https://github.com/hyperledger-iroha/iroha-2-docs/issues/392). ## Deployment diff --git a/crates/irohad/src/main.rs b/crates/irohad/src/main.rs index 493fd79b93a..6c7daafc4e0 100644 --- a/crates/irohad/src/main.rs +++ b/crates/irohad/src/main.rs @@ -578,14 +578,14 @@ fn validate_config(config: &Config) -> Result<(), ConfigError> { #[cfg(not(feature = "telemetry"))] if config.telemetry.is_some() { // TODO: use a centralized configuration logging - // https://github.com/hyperledger/iroha/issues/4300 + // https://github.com/hyperledger-iroha/iroha/issues/4300 eprintln!("`telemetry` config is specified, but ignored, because Iroha is compiled without `telemetry` feature enabled"); } #[cfg(not(feature = "dev-telemetry"))] if config.dev_telemetry.out_file.is_some() { // TODO: use a centralized configuration logging - // https://github.com/hyperledger/iroha/issues/4300 + // https://github.com/hyperledger-iroha/iroha/issues/4300 eprintln!("`dev_telemetry.out_file` config is specified, but ignored, because Iroha is compiled without `dev-telemetry` feature enabled"); } diff --git a/docs/README.md b/docs/README.md index df5a39ae82f..b907992e83b 100644 --- a/docs/README.md +++ b/docs/README.md @@ -2,8 +2,8 @@ This is the main Iroha 2 documentation that you will find useful: -- [Tutorial](https://hyperledger.github.io/iroha-2-docs/) -- [API Reference](https://hyperledger.github.io/iroha-2-docs/api/torii-endpoints) +- [Tutorial](https://docs.iroha.tech/guide/tutorials/) +- [API Reference](https://docs.iroha.tech/reference/torii-endpoints.html) - [Iroha 2 Whitepaper](./source/iroha_2_whitepaper.md) diff --git a/docs/source/iroha_2_whitepaper.md b/docs/source/iroha_2_whitepaper.md index e94965e8e40..0ea88eb767f 100644 --- a/docs/source/iroha_2_whitepaper.md +++ b/docs/source/iroha_2_whitepaper.md @@ -339,7 +339,7 @@ To retrieve information about World State View of the Peer clients will use Iroh ### 2.14 Client API -Client libraries interact with Iroha over the HTTP and WebSocket. For details about the available endpoints, see [API Reference > Torii Endpoints](https://hyperledger.github.io/iroha-2-docs/api/torii-endpoints). +Client libraries interact with Iroha over the HTTP and WebSocket. For details about the available endpoints, see [Reference > Torii Endpoints](https://docs.iroha.tech/reference/torii-endpoints.html). ### 2.15 Versioning @@ -367,4 +367,4 @@ Versioning support will have the following benefits: # Glossary -The glossary of commonly used terms can be found [here](https://hyperledger.github.io/iroha-2-docs/guide/glossary.html) +The glossary of commonly used terms can be found [here](https://docs.iroha.tech/reference/glossary.html) diff --git a/pytests/iroha_torii_tests/test/api_version/test_api_version.py b/pytests/iroha_torii_tests/test/api_version/test_api_version.py index fc9c3d66ce8..5066f96756e 100644 --- a/pytests/iroha_torii_tests/test/api_version/test_api_version.py +++ b/pytests/iroha_torii_tests/test/api_version/test_api_version.py @@ -26,7 +26,7 @@ def test_api_version_responce_presence( @allure.id("1032") -@pytest.mark.xfail(reason="https://github.com/hyperledger/iroha/issues/4218") +@pytest.mark.xfail(reason="https://github.com/hyperledger-iroha/iroha/issues/4218") def test_api_version_response_pattern(GIVEN_get_request_to_api_version_enpoint_is_sent): with allure.step("WHEN I get the response"): response = GIVEN_get_request_to_api_version_enpoint_is_sent @@ -37,7 +37,7 @@ def test_api_version_response_pattern(GIVEN_get_request_to_api_version_enpoint_i @allure.id("1026") -@pytest.mark.xfail(reason="https://github.com/hyperledger/iroha/issues/4218") +@pytest.mark.xfail(reason="https://github.com/hyperledger-iroha/iroha/issues/4218") def test_api_version_request_with_unexpected_param( GIVEN_get_request_with_unexpected_param_to_api_version_enpoint_is_sent, ): @@ -55,7 +55,7 @@ def test_api_version_request_with_unexpected_param( @allure.id("1033") -@pytest.mark.xfail(reason="https://github.com/hyperledger/iroha/issues/4218") +@pytest.mark.xfail(reason="https://github.com/hyperledger-iroha/iroha/issues/4218") def test_api_version_response_content_type( GIVEN_get_request_to_api_version_enpoint_is_sent, ): @@ -68,7 +68,7 @@ def test_api_version_response_content_type( @allure.id("1037") -@pytest.mark.xfail(reason="https://github.com/hyperledger/iroha/issues/4218") +@pytest.mark.xfail(reason="https://github.com/hyperledger-iroha/iroha/issues/4218") def test_api_version_response_format(GIVEN_get_request_to_api_version_enpoint_is_sent): with allure.step("WHEN I get the response"): response = GIVEN_get_request_to_api_version_enpoint_is_sent @@ -89,7 +89,7 @@ def test_api_version_response_time(): @allure.id("1024") -@pytest.mark.xfail(reason="https://github.com/hyperledger/iroha/issues/4218") +@pytest.mark.xfail(reason="https://github.com/hyperledger-iroha/iroha/issues/4218") def test_api_version_response_content_length( GIVEN_get_request_to_api_version_enpoint_is_sent, ): diff --git a/pytests/iroha_torii_tests/test/health/test_health.py b/pytests/iroha_torii_tests/test/health/test_health.py index 2e6b0d625b9..8a9df7a0679 100644 --- a/pytests/iroha_torii_tests/test/health/test_health.py +++ b/pytests/iroha_torii_tests/test/health/test_health.py @@ -23,7 +23,7 @@ def test_health_status_presence(GIVEN_get_request_to_health_endpoint_is_sent): @allure.id("1029") -@pytest.mark.xfail(reason="https://github.com/hyperledger/iroha/issues/4218") +@pytest.mark.xfail(reason="https://github.com/hyperledger-iroha/iroha/issues/4218") def test_health_content_type(GIVEN_get_request_to_health_endpoint_is_sent): with allure.step("WHEN I get the response"): response = GIVEN_get_request_to_health_endpoint_is_sent @@ -34,7 +34,7 @@ def test_health_content_type(GIVEN_get_request_to_health_endpoint_is_sent): @allure.id("1030") -@pytest.mark.xfail(reason="https://github.com/hyperledger/iroha/issues/4218") +@pytest.mark.xfail(reason="https://github.com/hyperledger-iroha/iroha/issues/4218") def test_health_format_with_unexpected_param( GIVEN_get_request_with_unexpected_param_to_health_enpoint_is_sent, ): @@ -47,7 +47,7 @@ def test_health_format_with_unexpected_param( @allure.id("1028") -@pytest.mark.xfail(reason="https://github.com/hyperledger/iroha/issues/4218") +@pytest.mark.xfail(reason="https://github.com/hyperledger-iroha/iroha/issues/4218") def test_health_response_format(GIVEN_get_request_to_health_enpoint_is_sent): with allure.step("WHEN I get the response"): response = GIVEN_get_request_to_health_enpoint_is_sent diff --git a/scripts/tests/multisig.recursion.sh b/scripts/tests/multisig.recursion.sh index fea4fc985cc..cc69c33723e 100644 --- a/scripts/tests/multisig.recursion.sh +++ b/scripts/tests/multisig.recursion.sh @@ -2,7 +2,7 @@ set -ex # This diagram describes the state when the root multisig account is successfully authenticated in this test: -# https://github.com/hyperledger/iroha/pull/5027#discussion_r1741722664 +# https://github.com/hyperledger-iroha/iroha/pull/5027#discussion_r1741722664 cargo build scripts/test_env.py setup diff --git a/wasm/samples/executor_with_custom_permission/src/lib.rs b/wasm/samples/executor_with_custom_permission/src/lib.rs index 8d9ba3b6bc1..5ae332a8094 100644 --- a/wasm/samples/executor_with_custom_permission/src/lib.rs +++ b/wasm/samples/executor_with_custom_permission/src/lib.rs @@ -32,7 +32,7 @@ getrandom::register_custom_getrandom!(iroha_executor::stub_getrandom); visit_register_domain, visit_unregister_domain, - // FIXME: Don't derive manually (https://github.com/hyperledger/iroha/issues/3834) + // FIXME: Don't derive manually (https://github.com/hyperledger-iroha/iroha/issues/3834) visit_grant_role_permission, visit_grant_role_permission, visit_revoke_role_permission,