ethereum-optimism / ethereum-optimism/optimism

Remove redundant assertions outside of the StandardValidator

Open
#16,362 1 comment 1 reaction 1 assignee Claimed by @AmadiMichael View on GitHub
T-smart-contract
Dominant language
Go
Stars
6.5k
Forks
4k
Avg merge
2d 15h
Merged PRs (30d)
145

Description

The StandardValidator should contain all necessary checks.

This means that we can remove the redundant checks which occur throughout the contracts package, including:
- `ChainAssertions.sol`
- Checks in deploy scripts ([example](https://github.com/ethereum-optimism/optimism/blob/develop/packages/contracts-bedrock/scripts/deploy/DeployOPChain.s.sol#L542-L548))

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.