fix: change SlotDerivation usage to 'for *' in template and generated code
This commit is contained in:
@ -16,7 +16,7 @@ pragma solidity ^0.8.20;
|
|||||||
* contract Example {
|
* contract Example {
|
||||||
* // Add the library methods
|
* // Add the library methods
|
||||||
* using StorageSlot for bytes32;
|
* using StorageSlot for bytes32;
|
||||||
* using SlotDerivation for bytes32;
|
* using SlotDerivation for *;
|
||||||
*
|
*
|
||||||
* // Declare a namespace
|
* // Declare a namespace
|
||||||
* string private constant _NAMESPACE = "<namespace>"; // eg. OpenZeppelin.Slot
|
* string private constant _NAMESPACE = "<namespace>"; // eg. OpenZeppelin.Slot
|
||||||
|
|||||||
@ -17,7 +17,7 @@ pragma solidity ^0.8.20;
|
|||||||
* contract Example {
|
* contract Example {
|
||||||
* // Add the library methods
|
* // Add the library methods
|
||||||
* using StorageSlot for bytes32;
|
* using StorageSlot for bytes32;
|
||||||
* using SlotDerivation for bytes32;
|
* using SlotDerivation for *;
|
||||||
*
|
*
|
||||||
* // Declare a namespace
|
* // Declare a namespace
|
||||||
* string private constant _NAMESPACE = "<namespace>"; // eg. OpenZeppelin.Slot
|
* string private constant _NAMESPACE = "<namespace>"; // eg. OpenZeppelin.Slot
|
||||||
|
|||||||
Reference in New Issue
Block a user