Skip to content

Conversation

@mialbu
Copy link
Member

@mialbu mialbu commented Aug 12, 2024

The removed functions were specifically required for the precompile versions since they override functions that consider an immutable (set during deployment) variable of the logic contract. Because the deployment part is not executed for the precompile version, these needed to be overridden with specific data suited for the precompile.

Thus, now for a logic update, a new logic contract needs to be deployed. This means its deployment part will be executed and its immutable variable will be set, so that the original functions must be used.

@mialbu mialbu requested a review from txhsl August 12, 2024 13:17
@mialbu mialbu self-assigned this Aug 12, 2024
@txhsl
Copy link
Contributor

txhsl commented Aug 13, 2024

The following two can be removed as well, for the same reason.

address public constant SELF = 0x1212100000000000000000000000000000000004;

address public constant SELF = 0x1212100000000000000000000000000000000005;

@mialbu
Copy link
Member Author

mialbu commented Aug 13, 2024

The following two can be removed as well, for the same reason.

address public constant SELF = 0x1212100000000000000000000000000000000004;

address public constant SELF = 0x1212100000000000000000000000000000000005;

Removed in commit 920f797.

@mialbu mialbu merged commit 6d9e02a into develop Aug 13, 2024
@mialbu mialbu deleted the maintenance/remove-precompile-methods branch August 13, 2024 08:51
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