From f76482fd22e5548ade7254f0eee8b3453588aec1 Mon Sep 17 00:00:00 2001 From: Ignacio Amigo Date: Fri, 13 Sep 2024 16:33:54 -0300 Subject: [PATCH] Revert to good comment --- crates/proto/src/generated/block.rs | 2 +- crates/rpc-proto/proto/block.proto | 2 +- proto/block.proto | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/crates/proto/src/generated/block.rs b/crates/proto/src/generated/block.rs index 1ad3fea5..2c0898b1 100644 --- a/crates/proto/src/generated/block.rs +++ b/crates/proto/src/generated/block.rs @@ -28,7 +28,7 @@ pub struct BlockHeader { /// a hash of a STARK proof attesting to the correct state transition. #[prost(message, optional, tag = "9")] pub proof_hash: ::core::option::Option, - /// an accumulative hash from all kernel hashes. + /// a commitment to all transaction kernels supported by this block. #[prost(message, optional, tag = "10")] pub kernel_root: ::core::option::Option, /// the time when the block was created. diff --git a/crates/rpc-proto/proto/block.proto b/crates/rpc-proto/proto/block.proto index cc3ba8ea..616f927b 100644 --- a/crates/rpc-proto/proto/block.proto +++ b/crates/rpc-proto/proto/block.proto @@ -23,7 +23,7 @@ message BlockHeader { digest.Digest tx_hash = 8; // a hash of a STARK proof attesting to the correct state transition. digest.Digest proof_hash = 9; - // an accumulative hash from all kernel hashes. + // a commitment to all transaction kernels supported by this block. digest.Digest kernel_root = 10; // the time when the block was created. fixed32 timestamp = 11; diff --git a/proto/block.proto b/proto/block.proto index cc3ba8ea..616f927b 100644 --- a/proto/block.proto +++ b/proto/block.proto @@ -23,7 +23,7 @@ message BlockHeader { digest.Digest tx_hash = 8; // a hash of a STARK proof attesting to the correct state transition. digest.Digest proof_hash = 9; - // an accumulative hash from all kernel hashes. + // a commitment to all transaction kernels supported by this block. digest.Digest kernel_root = 10; // the time when the block was created. fixed32 timestamp = 11;