EIPs/EIPS/eip-1803.md
Pandapip1 9e393a79d9
Force usage of included LICENSE file (#5055)
* Include LICENCE in the Jekyll build

* Replace old licence link with new and improved licence link

* Add note to EIP-1 mandating the new link

* Maybe this fixes it?

* Rename LICENCE so that jekyll picks it up

* Add original LICENCE file back

* Delete the markdown file

* Add Jekyll header

Hopefully the tooling still detects it as CC0

* Remove Jekyll header

* Maybe this will trick Jekyll and satisfy github?

* Remove config changes

* Enable incremental build

* Will it work if I rename it?

* I'll just paste the content of the licence into the file...

* Perhaps this will work

* Replace the licence file

* Fix false positive

Co-authored-by: Micah Zoltu <micah@zoltu.net>

* Resolve feedback

* Perhaps this might work

* It didn't work

This reverts commit 55116e15168fb20ae57dea97388bb260c0941465.

* Will licencee still detect this correctly?

* Jekyll Preamble in licence file

* Include it?

* Licence -> License, get rid of CC0.md

* Force wording of copyright waiver

* Formatting consistent with the rest of the list

* Spelling

* Escape

* Task failed successfully

* Fix two more links

* Will this render it?

* Perhaps this will work too

* .md essential

* Fix the issues Micah noted

Co-authored-by: Micah Zoltu <micah@zoltu.net>
2022-05-06 00:29:09 -07:00

1.3 KiB

eip title author discussions-to type category status created requires
1803 Rename opcodes for clarity Alex Beregszaszi (@axic) https://ethereum-magicians.org/t/eip-1803-rename-opcodes-for-clarity/3345 Standards Track Interface Stagnant 2017-07-28 141

Abstract

Rename the BALANCE, SHA3, NUMBER, GASLIMIT, GAS and INVALID opcodes to reflect their true meaning.

Specification

Rename the opcodes as follows:

  • BALANCE (0x31) to EXTBALANCE to be in line with EXTCODESIZE, EXTCODECOPY and EXTCODEHASH
  • SHA3 (0x20) to KECCAK256
  • NUMBER (0x43) to BLOCKNUMBER
  • GASLIMIT (0x45) to BLOCKGASLIMIT to avoid confusion with the gas limit of the transaction
  • GAS (0x5a) to GASLEFT to be clear what it refers to
  • INVALID (0xfe) to ABORT to clearly articulate when someone refers this opcode as opposed to "any invalid opcode"

Backwards Compatibility

This has no effect on any code. It can influence what mnemonics assemblers will use.

Implementation

Not applicable.

References

EIP-6 previously renamed SUICIDE (0xff) to SELFDESTRUCT. Renaming SHA3 was previously proposed by EIP-59.

Copyright and related rights waived via CC0.