File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -8,7 +8,7 @@ contract TransientStorage {
88
99 /// Load a value from the transient storage.
1010 /// @param key The key to store or retrieve the value.
11- function tload (bytes32 key ) public view returns (bytes32 value ) {
11+ function tload (bytes32 key ) internal view returns (bytes32 value ) {
1212 assembly ("memory-safe" ) {
1313 value := tload (key)
1414 }
@@ -17,7 +17,7 @@ contract TransientStorage {
1717 /// Store a value in the transient storage.
1818 /// @param key The key to store or retrieve the value.
1919 /// @param value The value to store in the transient storage.
20- function tstore (bytes32 key , bytes32 value ) public {
20+ function tstore (bytes32 key , bytes32 value ) internal {
2121 assembly ("memory-safe" ) {
2222 tstore (key, value)
2323 }
You can’t perform that action at this time.
0 commit comments