Skip to content
This repository was archived by the owner on Mar 28, 2023. It is now read-only.
This repository was archived by the owner on Mar 28, 2023. It is now read-only.

Much of Deposit state can be immutable #605

@wjmelements

Description

@wjmelements

Currently a lot of state is written via SSTORE. It would be much cheaper to use PUSH. If you updated to the latest solidity you would be able to use immutable variables, which are written into code instead of in storage. This would substantially reduce the gas used to create a deposit or to read its state.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions