Skip to content

Commit

Permalink
ethereum/relayer: fix comment about storage slot derivation
Browse files Browse the repository at this point in the history
  • Loading branch information
kcsongor authored and evan-gray committed Oct 31, 2023
1 parent af8138d commit d6a410d
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ struct SupportedMessageKeyTypes {
uint256 bitmap;
}

//keccak256("DefaultDeliveryProviderState") - 1
//keccak256("SupportedMessageKeyTypes") - 1
bytes32 constant SUPPORTED_MESSAGE_KEY_TYPES_SLOT =
0x5e6997bab73a9a9b8f33ae518f391b0426896f5c5f2d9fdce4ddbda5f4773406;

Expand All @@ -70,4 +70,4 @@ function getSupportedMessageKeyTypes()
assembly ("memory-safe") {
state.slot := SUPPORTED_MESSAGE_KEY_TYPES_SLOT
}
}
}

0 comments on commit d6a410d

Please sign in to comment.