Skip to content

Commit

Permalink
Update to snippets to use the latest iroha dev revision, update confi…
Browse files Browse the repository at this point in the history
…g paths

Signed-off-by: Nikita Strygin <[email protected]>
  • Loading branch information
DCNick3 committed May 14, 2024
1 parent c330feb commit 9d7004f
Show file tree
Hide file tree
Showing 5 changed files with 12 additions and 12 deletions.
2 changes: 1 addition & 1 deletion etc/meta.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/**
* hyperledger/iroha#iroha2-dev
*/
export const IROHA_REV_DEV = '50fc8baccc3c657b3cc3c926772d71b61040e2a8'
export const IROHA_REV_DEV = 'e7a605c1a926c319d214ef3825524ee6c2e9f076'

/**
* hyperledger/iroha-javascript#iroha2 (rc13)
Expand Down
10 changes: 5 additions & 5 deletions etc/snippet-sources.ts
Original file line number Diff line number Diff line change
Expand Up @@ -116,15 +116,15 @@ export default [
src: './src/example_code/lorem.rs',
},
{
src: `https://raw.githubusercontent.com/hyperledger/iroha/${IROHA_REV_DEV}/configs/client/config.json`,
filename: 'client-cli-config.json',
src: `https://raw.githubusercontent.com/hyperledger/iroha/${IROHA_REV_DEV}/configs/client.template.toml`,
filename: 'client-cli-config-template.toml',
},
{
src: `https://raw.githubusercontent.com/hyperledger/iroha/${IROHA_REV_DEV}/configs/peer/config.json`,
filename: 'peer-config.json',
src: `https://raw.githubusercontent.com/hyperledger/iroha/${IROHA_REV_DEV}/configs/peer.template.toml`,
filename: 'peer-config-template.toml',
},
{
src: `https://raw.githubusercontent.com/hyperledger/iroha/${IROHA_REV_DEV}/configs/peer/genesis.json`,
src: `https://raw.githubusercontent.com/hyperledger/iroha/${IROHA_REV_DEV}/configs/swarm/genesis.json`,
},
{
src: `https://raw.githubusercontent.com/hyperledger/iroha/${IROHA_REV_DEV}/client/examples/tutorial.rs`,
Expand Down
4 changes: 2 additions & 2 deletions src/guide/configure/client-configuration.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@

Let's look at the client configuration options.

::: details Client configuration example
::: details Client configuration template

<<< @/snippets/client-cli-config.json
<<< @/snippets/client-cli-config-template.toml

:::

Expand Down
4 changes: 2 additions & 2 deletions src/guide/configure/peer-configuration.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@ your blockchain operates.

Here's an example of how peer configuration file looks like:

::: details Peer configuration example
::: details Peer configuration template

<<< @/snippets/peer-config.json
<<< @/snippets/peer-config-template.toml

:::

Expand Down
4 changes: 2 additions & 2 deletions src/guide/configure/sample-configuration.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,10 @@ Here you can find sample configuration files for Iroha 2:

::: code-group

<<< @/snippets/peer-config.json
<<< @/snippets/peer-config-template.toml

<<< @/snippets/genesis.json

<<< @/snippets/client-cli-config.json
<<< @/snippets/client-cli-config-template.toml

:::

0 comments on commit 9d7004f

Please sign in to comment.