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