It came upon the previous ACD that an author was unclear how an address is chosen for a precompile. I wrote a sample process that uses an EIP registry that tracks all opcodes. An Author would submit a PR to the registry to request an address as part of the processes.
Reasons this might be a good thing.
- Clear to Authors how to proceed
- The current spec of all opcode/precompiles exists in a single place.
Reasons it might not be a good thing
- More complex than necessary
- Process for process sake
Some proposed text that could be included in the EIP or EIP-1 .
Process for Assigning Precompile Addresses
Once an EIP containing a precompile has progressed to REVIEW or has progressed to a sufficient maturity* the authors may propose a precompile address through a PR to the PRECOMPILE REGISTRY(TBD). The Precompile Status reflects the EIP status it references.
*The definition of sufficient is arbitered by the EIP Editors and is left to their decision.
Example Format
Value | Mnemonic | δ | α | Description | EIP | Status |
---|---|---|---|---|---|---|
0x00 | STOP | 0 | 0 | Halts execution. | YP | FINAL |
Thoughts?