Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions src/utils/TransientStorage.sol
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ contract TransientStorage {

/// Load a value from the transient storage.
/// @param key The key to store or retrieve the value.
function tload(bytes32 key) public view returns (bytes32 value) {
function tload(bytes32 key) internal view returns (bytes32 value) {
assembly ("memory-safe") {
value := tload(key)
}
Expand All @@ -17,7 +17,7 @@ contract TransientStorage {
/// Store a value in the transient storage.
/// @param key The key to store or retrieve the value.
/// @param value The value to store in the transient storage.
function tstore(bytes32 key, bytes32 value) public {
function tstore(bytes32 key, bytes32 value) internal {
assembly ("memory-safe") {
tstore(key, value)
}
Expand Down