From e67d54508d7db748685c844c91f6001f636de96b Mon Sep 17 00:00:00 2001 From: CHAMI Rachid Date: Tue, 18 Apr 2023 02:52:46 +0200 Subject: [PATCH 1/2] chore: update data root tuple genesis comment --- src/DataRootTuple.sol | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/DataRootTuple.sol b/src/DataRootTuple.sol index 99911c68..9f0951d3 100644 --- a/src/DataRootTuple.sol +++ b/src/DataRootTuple.sol @@ -7,7 +7,7 @@ pragma solidity ^0.8.4; /// https://github.com/celestiaorg/celestia-specs/blob/master/src/specs/data_structures.md#header struct DataRootTuple { // Celestia block height the data root was included in. - // Genesis block is height = 1. + // Genesis block is height = 0. uint256 height; // Data root. bytes32 dataRoot; From 313e36afddc6ec2fa50137524ca29b6bb7aea0e5 Mon Sep 17 00:00:00 2001 From: CHAMI Rachid Date: Mon, 1 May 2023 14:26:30 +0200 Subject: [PATCH 2/2] Update src/DataRootTuple.sol --- src/DataRootTuple.sol | 1 + 1 file changed, 1 insertion(+) diff --git a/src/DataRootTuple.sol b/src/DataRootTuple.sol index 9f0951d3..cf7ffaf9 100644 --- a/src/DataRootTuple.sol +++ b/src/DataRootTuple.sol @@ -8,6 +8,7 @@ pragma solidity ^0.8.4; struct DataRootTuple { // Celestia block height the data root was included in. // Genesis block is height = 0. + // First queryable block is height = 1. uint256 height; // Data root. bytes32 dataRoot;