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

Contracts refactoring #61

@arminvoid

Description

@arminvoid

@0xAshish reported that making changes in contracts exceeds the max permissible bytecode size of a contract. FYI the byte limit for contract size is 24576. See this.

Moreover, there are a lot of calls among the contracts; interfaces for which are not every clean - for instance rootchain.setWethToken calling withdrawManager.setWethToken AND depositManager.setWethToken - This is code duplication which is one the reasons for large contract sizes. Also, the contracts are abundant with calls of the nature setContract (setExitNFTContract, setDepositManager etc)

To combat the same, some sort of contracts refactoring is required.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions