From 0d97b31728598f1b17521212515dedad3e4d40af Mon Sep 17 00:00:00 2001 From: mpoke Date: Thu, 17 Oct 2024 20:17:15 +0200 Subject: [PATCH] update revision height in docs --- docs/docs/build/modules/02-provider.md | 2 +- docs/docs/consumer-development/onboarding.md | 2 +- x/ccv/provider/client/cli/tx.go | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/docs/docs/build/modules/02-provider.md b/docs/docs/build/modules/02-provider.md index 431d32e8b6..6bcf211485 100644 --- a/docs/docs/build/modules/02-provider.md +++ b/docs/docs/build/modules/02-provider.md @@ -1660,7 +1660,7 @@ where `update-consumer-msg.json` contains: "initialization_parameters":{ "initial_height":{ "revision_number": 1, - "revision_height": 0 + "revision_height": 1 }, "genesis_hash": "", "binary_hash": "", diff --git a/docs/docs/consumer-development/onboarding.md b/docs/docs/consumer-development/onboarding.md index 4350db2c14..5dcaec0b6d 100644 --- a/docs/docs/consumer-development/onboarding.md +++ b/docs/docs/consumer-development/onboarding.md @@ -59,7 +59,7 @@ Example of initialization parameters: // Initial height of new consumer chain. // For a completely new chain, this will be {0,1}. "initial_height" : { - "revision_height": 0, + "revision_height": 1, "revision_number": 1, }, // Hash of the consumer chain genesis state without the consumer CCV module genesis params. diff --git a/x/ccv/provider/client/cli/tx.go b/x/ccv/provider/client/cli/tx.go index d1caeb1d6f..ec694fd49e 100644 --- a/x/ccv/provider/client/cli/tx.go +++ b/x/ccv/provider/client/cli/tx.go @@ -234,7 +234,7 @@ where create_consumer.json has the following structure: "initialization_parameters": { "initial_height": { "revision_number": 1, - "revision_height": 0 + "revision_height": 1 }, "genesis_hash": "", "binary_hash": "", @@ -332,7 +332,7 @@ where update_consumer.json has the following structure: "initialization_parameters": { "initial_height": { "revision_number": 1, - "revision_height": 0 + "revision_height": 1 }, "genesis_hash": "", "binary_hash": "",