From bd28eedd8cfcc9d0dce5811cc5609a2c80267118 Mon Sep 17 00:00:00 2001 From: Dan Cline <6798349+Rjected@users.noreply.github.com> Date: Tue, 1 Aug 2023 05:34:47 -0400 Subject: [PATCH] chore: add subkey docs to `StorageEntry` (#4016) --- crates/primitives/src/storage.rs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/crates/primitives/src/storage.rs b/crates/primitives/src/storage.rs index a0997e6d0d..07434f4b6f 100644 --- a/crates/primitives/src/storage.rs +++ b/crates/primitives/src/storage.rs @@ -3,6 +3,8 @@ use reth_codecs::{derive_arbitrary, Compact}; use serde::{Deserialize, Serialize}; /// Account storage entry. +/// +/// `key` is the subkey when used as a value in the `StorageChangeSet` table. #[derive_arbitrary(compact)] #[derive(Debug, Default, Copy, Clone, PartialEq, Eq, Serialize, Deserialize, PartialOrd, Ord)] pub struct StorageEntry {