smartcontracts

Results 126 issues of smartcontracts

# Context In our ongoing efforts to enhance the OP Stack smart contract development process, we recently introduced interfaces to the OP Stack. This addition serves two primary purposes: it...

See #12414 for context. Tracking ticket for work to implement and integrate the interface generation tool.

See #12412 for context. Simple tracking ticket for the work around creating a design doc for this tool.

We're planning to drop Slither from GitHub actions for now. Slither action hasn't been useful for a long time. We'd like to reintroduce Slither with the following modifications: - Slither...

Adds a template into fp-recovery that will retire existing games.

Ran `npx @defi-wonderland/natspec-smells --include "src/L2/ETHLiquidity.sol"` here https://github.com/ethereum-optimism/optimism/pulls https://github.com/ethereum-optimism/optimism/blob/develop/packages/contracts-bedrock/src/L2/ETHLiquidity.sol. I get `@inheritdoc is missing` for some functions that should not require this at all: ``` src/L2/ETHLiquidity.sol:30 ETHLiquidity:burn @inheritdoc is missing src/L2/ETHLiquidity.sol:38...

Getting `memory access out of bounds` when running this tool. ``` $ npx @defi-wonderland/natspec-smells --include "src/**/*.sol" RuntimeError: memory access out of bounds at wasm://wasm/0551ebc6:wasm-function[317]:0x2a6aa at wasm://wasm/0551ebc6:wasm-function[42983]:0x13a6854 ... ``` Against https://github.com/ethereum-optimism/optimism/tree/develop/packages/contracts-bedrock

### Is your feature request related to a problem? Please describe I contribute to a monorepo where we would like to be able to use asdf to manage versions for...

enhancement

**Describe the bug** Solidity allows for assembly blocks to be marked as "memory-safe" to indicate that the assembly block follows certain rules about memory safety. Standard assembly blocks look like:...

bug
parsing
lang:solidity

**Description** Sets up the U18 OPCM base by: - Clearing out all existing contract-specific upgrade functions. - Cleaning up and removing unnecessary upgrades from the OPCM upgrade function. - Removing...

M-exempt-frozen-files