Skip to content

Conversation

@Thegaram
Copy link
Contributor

Ensure that isFeynman and isGalileo each have their own dedicated storage slot.

> forge inspect src/L2/predeploys/L1GasPriceOracle.sol:L1GasPriceOracle storageLayout

╭--------------------+---------------------+------+--------+-------+---------------------------------------------------------╮
| Name               | Type                | Slot | Offset | Bytes | Contract                                                |
+============================================================================================================================+
...
|--------------------+---------------------+------+--------+-------+---------------------------------------------------------|
| isFeynman          | bool                | 11   | 0      | 1     | src/L2/predeploys/L1GasPriceOracle.sol:L1GasPriceOracle |
|--------------------+---------------------+------+--------+-------+---------------------------------------------------------|
| __gap              | uint248             | 11   | 1      | 31    | src/L2/predeploys/L1GasPriceOracle.sol:L1GasPriceOracle |
|--------------------+---------------------+------+--------+-------+---------------------------------------------------------|
| isGalileo          | bool                | 12   | 0      | 1     | src/L2/predeploys/L1GasPriceOracle.sol:L1GasPriceOracle |
╰--------------------+---------------------+------+--------+-------+---------------------------------------------------------╯

zimpha
zimpha previously approved these changes Nov 26, 2025
@Thegaram Thegaram merged commit dfffa0f into main Nov 26, 2025
5 checks passed
@Thegaram Thegaram deleted the feat-galileo-gas-price-oracle-gap branch November 26, 2025 11:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants