diff --git a/etc/meta.ts b/etc/meta.ts index 22807369a..117cde14c 100644 --- a/etc/meta.ts +++ b/etc/meta.ts @@ -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) diff --git a/etc/snippet-sources.ts b/etc/snippet-sources.ts index a5bb4ad37..59dd08057 100644 --- a/etc/snippet-sources.ts +++ b/etc/snippet-sources.ts @@ -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`, diff --git a/src/guide/configure/client-configuration.md b/src/guide/configure/client-configuration.md index 62cb20ef6..b034d6b43 100644 --- a/src/guide/configure/client-configuration.md +++ b/src/guide/configure/client-configuration.md @@ -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 ::: diff --git a/src/guide/configure/peer-configuration.md b/src/guide/configure/peer-configuration.md index cb5c730d3..1e4a1b503 100644 --- a/src/guide/configure/peer-configuration.md +++ b/src/guide/configure/peer-configuration.md @@ -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 ::: diff --git a/src/guide/configure/sample-configuration.md b/src/guide/configure/sample-configuration.md index e8033adea..72f1d6410 100644 --- a/src/guide/configure/sample-configuration.md +++ b/src/guide/configure/sample-configuration.md @@ -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 :::