argotorg / argotorg/solidity

File-level inline assembly blocks

Open
#9,282 9 comments 3 reactions 0 assignees View on GitHub
low effort medium impact must have eventually
Dominant language
C++
Stars
25.7k
Forks
6.2k
Avg merge
1d 11h
Merged PRs (30d)
21

Description

Just like free functions, inline assembly blocks could be allowed at file level. This would make it possible to write helper functions in yul that can be called from any inline assembly block. Maybe we could even import these yul functions using import statements.

Contributor guide

Open the contributing guide

Research direction

Start by studying how free functions and inline assembly blocks are currently represented and resolved in the Solidity compiler. Then investigate how file-level Yul functions would interact with calls from separate inline assembly blocks and whether import statements should be supported. Done means the language design, scope, and required implementation and tests are agreed.

Written by the indexing model from the issue text.

Assessment

Tech stack
solidity
Domain
blockchain, compilers
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.