EIP-1803: Rename opcodes for clarity

Discussion topic for

A comment about changing the title: https://github.com/ethereum/EIPs/pull/1803/#issuecomment-488119162

It might be worth considering to rename NOT to BITNOT (and maybe all other bitwise operations as well).

1 Like

How about NEG for bitwise negation?

@ekpyron @chriseth what do you think about this?

Within the Solidity team today we’ve discussed a couple of new additions:

  • ADDRESS -> SELFADDRESS (in line with SELFBALANCE)
  • ORIGIN -> TXORIGIN
  • CODESIZE -> SELFCODESIZE (as above)
  • CODECOPY -> SELFCODECOPY (as above)
  • GASPRICE -> TXGASPRICE
  • DIFFICULTY -> BLOCKDIFFICULTY
  • TIMESTAMP -> BLOCKTIMESTAMP
3 Likes

I just learned about this, what needs to happen to get this moved to final? Given that it is just a naming thing, it feels like there is little coordination needed and if everyone agrees we can just move to final, update the yellow paper, and be done. Am I missing something that makes this particularly challenging to get through?

There is more discussion to be found at https://github.com/ethereum/solidity/issues/7966