solidity icon indicating copy to clipboard operation
solidity copied to clipboard

Solidity, the Smart Contract Programming Language

Results 755 solidity issues
Sort by recently updated
recently updated
newest added

## Description Not a bug, but rather an issue. In the following example, it is known at compile time that the `else` branch is unreachable. If the loop is commented...

bug :bug:

GM! Aderyn Maintainer here! We recently launched a VS Code extension to make it easy to use Aderyn. So I thought I'll include that link in the resources section Especially...

documentation :book:
external contribution :star:

This PR addresses the documentation issue raised in #15303 regarding the confusion between bytes and string encoding in the ABI specification examples. ### Changes - Updated the `bar(bytes3[2])` example to...

external contribution :star:

Closes #13545 - added `REMOVED_IDS` set in the `error_codes.py` - found all previosly removed error codes and added to this set (with references to the files and removal commits) -...

external contribution :star:

## Description An immutable variable that is initialized at declaration site can be used in `pure` context if it is of type `uint` but not if it is of type...

bug :bug:
medium effort
medium impact
must have eventually

Related to https://github.com/ethereum/solidity/issues/8153 and following https://github.com/ethereum/solidity/pull/12256 we should make sure we actually are as strict as we want to be for ``pure`` functions. In particular, we should disallow ``codecopy`` with...

breaking change :warning:
low effort
low impact

## Description `solc` LSP mode crashes `textDocument/hover` with certain code snippets. Possibly due to null pointer dereference. ## Environment - Compiler version: 0.8.29-develop.2025.4.3+commit.ab55807c.Linux.clang - Compilation pipeline (legacy, IR, EOF): LSP...

bug :bug:

solc version: 0.8.29 description: The statement **bytes4 public constant s2 = B.g.selector;** causes a compilation error, but removing public resolves the issue. ```solidity interface A { function f() external; }...

bug :bug:

## Description The getter automatically generated by the mapping has a bug. ## Environment Remix 0.8.29 ## Steps to Reproduce When I use " mapping(address => uint256[]) public holderCertificates;",the getters...

bug :bug:

## Description Currently when compiling contracts to the EOF the compiler does not output any debug information, either trough legacy source maps or the new EthDebug format. Implement a form...

feature
ethdebug