chriseth

Results 33 issues of chriseth
trafficstars

Solidity should support template types / generics for contracts, libraries, functions and structs. The syntax should be as follows: ``` library listImpl[T] { struct List { T[] elements } function...

language design :rage4:
roadmap
epic
high impact
needs design

``and(shl(A, X), shl(A, Y))`` should be optimized to ``shl(A, and(X, Y))`` or even ``and(shl(Z, X), shl(Z, Y))`` should be optimized to ``shl(Z, and(X, Y))``

optimizer

I tried but failed. Assigning to @ekpyron ~Depends on https://github.com/ethereum/solidity/pull/12759 and https://github.com/ethereum/solidity/pull/12795~

priority review

This is a story that already exists is pivotal tracker. Solidity should support sum datatype similar to how they are supported by rust. ``` // Enum holding additional data (marked...

language design :rage4:
roadmap
high effort
high impact
needs design

This would allow `msg.sender.transfer{gas: max}(2 ether);`, which would then be the recommended way to implement the withdraw pattern.

language design :rage4:
low effort
high impact

It is impossible to define multiple events with the same signature in the same contract. This lead to the design that the user documentation ("NatSpec") has a mapping of event...

roadmap
low effort
low impact
must have

@alcuadrado and others proposed to expose the boundary between code and data in the emitted bytecode ( https://www.notion.so/Miscellaneous-debugging-symbols-Initial-proposal-2948f1a1f74742c0901ad54af05fa1ff ). I think this is a good idea, but we should not...

protocol design :crystal_ball:
low effort
high impact
must have eventually
needs design

The Scoper now does most of the work of the DeclarationRegistrationHelper - we should remove the asserts in the latter and make its behaviour rely on the ground work done...

medium effort
low impact
nice to have
refactor

This is currently a brainstorming issue. ENS should be better integrated into Solidity, but we probably do not want the compiler to make any name lookups at compilation time. Something...

medium effort
medium impact
research

In order to at least somewhat support ENS (we cannot fully support it because that creates issues with source verification), we could have compile-time evaluation of the namehash function on...

language design :rage4:
medium effort
medium impact