ethereum-optimism / ethereum-optimism/optimism
Should IOptimismMintableERC20.bridge be a view function?
- Dominant language
- Go
- Stars
- 6.5k
- Forks
- 4k
- Avg merge
- 2d 15h
- Merged PRs (30d)
- 145
Description
**Bug Description**
I think `IOptimismMintableERC20.bridge` should be a read-only `view` function
https://github.com/ethereum-optimism/optimism/blob/34779f7dd720bcf70a67da0f9e8525780b9cdfa8/packages/contracts-bedrock/src/universal/IOptimismMintableERC20.sol#L13
https://github.com/ethereum-optimism/optimism/blob/34779f7dd720bcf70a67da0f9e8525780b9cdfa8/packages/contracts-bedrock/src/universal/OptimismMintableERC20.sol#L127-L129
Contributor guide
Research direction
Start by reading IOptimismMintableERC20.sol at line 13 and OptimismMintableERC20.sol at lines 127-129. Confirm whether bridge is intended to be read-only in both the interface and implementation, then verify that the resulting contract behavior and existing checks remain correct.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- solidity
- Domain
- blockchain
- Issue type
- Bug
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Clearly specified
- Newbie friendliness
- 38/100