Skip to content

Commit 5702d95

Browse files
committed
fix: change SlotDerivation usage to 'for *' in template and generated code
1 parent d43e45b commit 5702d95

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

contracts/utils/SlotDerivation.sol

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ pragma solidity ^0.8.20;
1616
* contract Example {
1717
* // Add the library methods
1818
* using StorageSlot for bytes32;
19-
* using SlotDerivation for bytes32;
19+
* using SlotDerivation for *;
2020
*
2121
* // Declare a namespace
2222
* string private constant _NAMESPACE = "<namespace>"; // eg. OpenZeppelin.Slot

scripts/generate/templates/SlotDerivation.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ pragma solidity ^0.8.20;
1717
* contract Example {
1818
* // Add the library methods
1919
* using StorageSlot for bytes32;
20-
* using SlotDerivation for bytes32;
20+
* using SlotDerivation for *;
2121
*
2222
* // Declare a namespace
2323
* string private constant _NAMESPACE = "<namespace>"; // eg. OpenZeppelin.Slot

0 commit comments

Comments
 (0)