@0x/zero-ex
: Rebase and use "slot" instead of "offset" language in storage buckets.
This commit is contained in:
parent
c911c3352c
commit
d9a9bc35e3
@ -46,9 +46,9 @@ library LibPuppetPoolStorage {
|
||||
|
||||
/// @dev Get the storage bucket for this contract.
|
||||
function getStorage() internal pure returns (Storage storage stor) {
|
||||
uint256 storageOffset = LibStorage.getStorageOffset(
|
||||
uint256 storageSlot = LibStorage.getStorageSlot(
|
||||
LibStorage.StorageId.PuppetPool
|
||||
);
|
||||
assembly { stor_slot := storageOffset }
|
||||
assembly { stor_slot := storageSlot }
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user