Skip to content

Commit b4118c8

Browse files
committed
fix
1 parent d004d9d commit b4118c8

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

crates/common/src/slot_identifier.rs

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -238,10 +238,9 @@ impl SlotInfo {
238238
let data_slot = B256::from(data_start + U256::from(i));
239239
let data_slot_u256 = data_start + U256::from(i);
240240

241-
// Create member info for this data slot - no label needed as it will be shown
242-
// under the main variable
241+
// Create member info for this data slot with indexed label
243242
let member_info = Self {
244-
label: String::new(),
243+
label: format!("{}[{}]", self.label, i),
245244
slot_type: StorageTypeInfo {
246245
label: self.slot_type.label.clone(),
247246
dyn_sol_type: DynSolType::FixedBytes(32),

0 commit comments

Comments
 (0)