@0x/zero-ex: Rebase and use "slot" instead of "offset" language in storage buckets.

This commit is contained in:
Lawrence Forman 2020-05-08 12:50:33 -04:00
parent c911c3352c
commit d9a9bc35e3

View File

@ -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 }
}
}