-
Notifications
You must be signed in to change notification settings - Fork 6.2k
Open
Labels
language design
Any changes to the language, e.g. new featuresAny changes to the language, e.g. new featuresmedium effortDefault level of effortDefault level of effortmedium impactDefault level of impactDefault level of impactmust have eventuallySomething we consider essential but not enough to prevent us from releasing Solidity 1.0 without it.Something we consider essential but not enough to prevent us from releasing Solidity 1.0 without it.needs designThe proposal is too vague to be implemented right awayThe proposal is too vague to be implemented right away

Description
There is currently support for verbatim
, allowing to instert arbitrary bytecode, but only when compiling in strict assembly mode. But the verbatim
group of functions ios not available inside assembly
blocks in Solidity code. Example:
function f() {
assembly {
verbatim_0i_0o(hex"c0")
}
}
When compiling with solc
:
Error: Function "verbatim_0i_0o" not found.
What is the motivation for disabling verbatim in Solidity? I understand that it must be used with care and only for very specific reasons. My use case is that I am targetting a forked version of the EVM interpreter with new opcodes. I'm currently unable to use solc
to compile contracts targetting this fork.
Thanks!
mattes, highskore, DimaStebaev, CodeSandwich and PaulRBerg
Metadata
Metadata
Assignees
Labels
language design
Any changes to the language, e.g. new featuresAny changes to the language, e.g. new featuresmedium effortDefault level of effortDefault level of effortmedium impactDefault level of impactDefault level of impactmust have eventuallySomething we consider essential but not enough to prevent us from releasing Solidity 1.0 without it.Something we consider essential but not enough to prevent us from releasing Solidity 1.0 without it.needs designThe proposal is too vague to be implemented right awayThe proposal is too vague to be implemented right away
