Skip to content

Commit 48643e4

Browse files
committed
Update to snippets to use the latest iroha dev revision, update config paths
Signed-off-by: Nikita Strygin <dcnick3@users.noreply.github.com>
1 parent f1ab8d4 commit 48643e4

File tree

5 files changed

+12
-12
lines changed

5 files changed

+12
-12
lines changed

etc/meta.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
/**
22
* hyperledger/iroha#iroha2-dev
33
*/
4-
export const IROHA_REV_DEV = '50fc8baccc3c657b3cc3c926772d71b61040e2a8'
4+
export const IROHA_REV_DEV = 'e7a605c1a926c319d214ef3825524ee6c2e9f076'
55

66
/**
77
* hyperledger/iroha-javascript#iroha2 (rc13)

etc/snippet-sources.ts

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -116,15 +116,15 @@ export default [
116116
src: './src/example_code/lorem.rs',
117117
},
118118
{
119-
src: `https://raw.githubusercontent.com/hyperledger/iroha/${IROHA_REV_DEV}/configs/client/config.json`,
120-
filename: 'client-cli-config.json',
119+
src: `https://raw.githubusercontent.com/hyperledger/iroha/${IROHA_REV_DEV}/configs/client.template.toml`,
120+
filename: 'client-cli-config-template.toml',
121121
},
122122
{
123-
src: `https://raw.githubusercontent.com/hyperledger/iroha/${IROHA_REV_DEV}/configs/peer/config.json`,
124-
filename: 'peer-config.json',
123+
src: `https://raw.githubusercontent.com/hyperledger/iroha/${IROHA_REV_DEV}/configs/peer.template.toml`,
124+
filename: 'peer-config-template.toml',
125125
},
126126
{
127-
src: `https://raw.githubusercontent.com/hyperledger/iroha/${IROHA_REV_DEV}/configs/peer/genesis.json`,
127+
src: `https://raw.githubusercontent.com/hyperledger/iroha/${IROHA_REV_DEV}/configs/swarm/genesis.json`,
128128
},
129129
{
130130
src: `https://raw.githubusercontent.com/hyperledger/iroha/${IROHA_REV_DEV}/client/examples/tutorial.rs`,

src/guide/configure/client-configuration.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,9 @@
22

33
Let's look at the client configuration options.
44

5-
::: details Client configuration example
5+
::: details Client configuration template
66

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

99
:::
1010

src/guide/configure/peer-configuration.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,9 @@ your blockchain operates.
55

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

8-
::: details Peer configuration example
8+
::: details Peer configuration template
99

10-
<<< @/snippets/peer-config.json
10+
<<< @/snippets/peer-config-template.toml
1111

1212
:::
1313

src/guide/configure/sample-configuration.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,10 +11,10 @@ Here you can find sample configuration files for Iroha 2:
1111

1212
::: code-group
1313

14-
<<< @/snippets/peer-config.json
14+
<<< @/snippets/peer-config-template.toml
1515

1616
<<< @/snippets/genesis.json
1717

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

2020
:::

0 commit comments

Comments
 (0)