@0x/zero-ex: Rebase and use "slot" instead of "offset" language in storage buckets.
This commit is contained in:
@@ -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 }
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user