Commit Graph

1796 Commits

Author SHA1 Message Date
Adrian Sutton e92c13b3ba Automatically merged updates to draft EIP(s) 2159 (#2249)
Hi, I'm a bot! This change was automatically merged because:

 - It only modifies existing Draft or Last Call EIP(s)
 - The PR was approved or written by at least one author of each modified EIP
 - The build is passing
2019-08-23 09:17:05 +12:00
Matt Luongo 8db2de158d EIP-152: Blake2b `F` precompile (#2129)
* Brought issue #152 into the repo as a draft EIP.

Thanks @tjade273!

* Make the draft EIP consistent with the template

Also added myself as an author

* Break backwards compatibility into its own section

* Added notes about the in-progress implementation

Should have a working geth precompile and initial benchmarks shortly

* Specify EIP-2046 as a requirement

While 2046's cheaper precompile contract calls aren't a requirement for
this EIP's implementation, shipping this precompile without EIP-2046
would make the F function expensive for some of the motivating usecases.

* Don't use ABI encoding for precompile

Replace the existing ABI encoding interface to the BLAKE2b `F`
precompile with a loosely pack struct that's `staticcall`-friendly.

H/t to @pdyraga for putting together the interface!

* Add @pdyraga to the EIP authors.

* Remove less relevant EIP rationale

Let's not relitigate precompiles, WASM, etc in thie EIP :)

* Use 0x09 as the precompile address

If a conflicting EIP is moving forward the EIP editor can assign a new
address

* Choosing an EIP number

Contributing docs suggest EIPs be named `eip-draft-with-a-title` until
an editor has been assigned, but discussing this work off-platform
without a number is a problem.

Assigning 152 as the issue number where the `F` precompile was
originally raised (https://github.com/ethereum/EIPs/issues/152)

* Add a missing colon

Thanks @axic 🙌

* Spelling updates

* Add @MadeOfTin to the authors list

* Prefer the original issue for discussion

* Clarify the precompile's initial implementation

* Make the precompile return value clear

* Clean up references wording

* More rationale around this BLAKE2b approach

* Fix a couple misspellings

* Updated the interface for F precompile

- F precompile accepts now `abi.encodePacked` parameters taking 
exactly 213 bytes. This is safer and does not require left-padding data
- `rounds` parameter is now the first one as the gas cost depends only
on this parameter

* Updated gas cost section proposing GFROUND=1

* Detailed benchmarks moved to appendix section

* Benchmark stats are compared against ecRecover as a baseline

* Clarification: f parameter is true if it is nonzero

This rule is compatible with Solidity for boolean.

* Avoid referring to abi.encodePacked

The specification should not be Solidity-specific. Instead of
referring to abi.encodePacked we now just say "tightly encoded".

* Fixed incorrect link

"specified in the RFC" linked to the geth PR for F precompile
instead of linking to the BLAKE2b RFC.

* Shortened the description about when parameter f is considered as true

* Minor grammar improvement

* Updated information about endianness of F precompile inputs

BLAKE2b is consistently little-endian. abi.encodePacked encodes each 
of its arguments in big-endian order. We need to be clear which parameters
should go as little-endian (h, m, t) and which parameters should go as 
big-endian (rounds, f).

* Strict validation of f parameter

* Initial test vectors for F precompile

Test cases covered:
- input length too short
- input length too long
- malformed f flag encoding
- correct input, test vector from BLAKE2b RFC, Appendix A

* Test vector for a non-final round

* Test vector for the maximum number of rounds

* Test vector for a single round

* Added test vector for empty input

* The final block indicator (8-bit word) does not have endianness

* Clarify state vector encoding does not change in the output

* Put too short input test vector next to empty input test vector

* Added test vector for zero-rounds BLAKE2b case
2019-08-22 15:07:10 +02:00
Adrian Sutton 4bb7f9af46 Automatically merged updates to draft EIP(s) 2159 (#2248)
Hi, I'm a bot! This change was automatically merged because:

 - It only modifies existing Draft or Last Call EIP(s)
 - The PR was approved or written by at least one author of each modified EIP
 - The build is passing
2019-08-22 16:22:42 +12:00
MrChico 8bb0d4c031 Automatically merged updates to draft EIP(s) 1679 (#2241)
Hi, I'm a bot! This change was automatically merged because:

 - It only modifies existing Draft or Last Call EIP(s)
 - The PR was approved or written by at least one author of each modified EIP
 - The build is passing
2019-08-19 23:34:56 +12:00
Gabriel Barros d8995cc001 Automatically merged updates to draft EIP(s) 1822 (#2244)
Hi, I'm a bot! This change was automatically merged because:

 - It only modifies existing Draft or Last Call EIP(s)
 - The PR was approved or written by at least one author of each modified EIP
 - The build is passing
2019-08-19 14:07:47 +12:00
Erik Marks 512b4a4c07 Automatically merged updates to draft EIP(s) 1193 (#2240)
Hi, I'm a bot! This change was automatically merged because:

 - It only modifies existing Draft or Last Call EIP(s)
 - The PR was approved or written by at least one author of each modified EIP
 - The build is passing
2019-08-16 13:31:03 +12:00
Martin Holst Swende 0ab7e9c31f Automatically merged updates to draft EIP(s) 1884 (#2239)
Hi, I'm a bot! This change was automatically merged because:

 - It only modifies existing Draft or Last Call EIP(s)
 - The PR was approved or written by at least one author of each modified EIP
 - The build is passing
2019-08-16 10:50:26 +12:00
Tim Beiko 226cf77d98 Automatically merged updates to draft EIP(s) 1679 (#2226)
Hi, I'm a bot! This change was automatically merged because:

 - It only modifies existing Draft or Last Call EIP(s)
 - The PR was approved or written by at least one author of each modified EIP
 - The build is passing
2019-08-16 08:19:34 +12:00
Adrian Sutton 9a0e1ab1fc Move EIP-2159 to last call (#2231)
* Add common metrics EIP.

* Fix spelling error.

* Assign EIP number, added more information on what Prometheus does.

* Add link to prometheus website for further info.

* Fix link.

* Fix discussion link.

* Switch to standards track - interface instead of informational.

* Add motivation.

* Link to PR implementing EIP in Pantheon.

* Move EIP-2159 to last call.

* Add review period end
2019-08-15 12:58:00 +01:00
Juliano Rizzo 2cbe15fe0b Automatically merged updates to draft EIP(s) 1191 (#2233)
Hi, I'm a bot! This change was automatically merged because:

 - It only modifies existing Draft or Last Call EIP(s)
 - The PR was approved or written by at least one author of each modified EIP
 - The build is passing
2019-08-10 12:57:11 +12:00
Alex Beregszaszi bba07b8763 Fix Markdown rendering within summary/detail (#2059)
* Fix Markdown rendering within summary/detail

* Add vendor to .gitignore

* Remove duplicate github-pages entry from Gemfile

* Require github-pages 198

This brings in fixes to kramdown.

* Remove explicit jekyll version as github-pages brings it in as a dependency

* Update bundler dependency tree

* Fake bundler version

* use Ruby 2.3.0

* Set sane defaults for kramdown

* Fix links after kramdown update

* Remove <details> formatting from EIP-1474 as it is not working with embedded markdown

* Revert "Fix Markdown rendering within summary/detail"

* Fix email in EIP-1812

* Remove <details> formatting from EIP-1620 as it is not working with embedded markdown
2019-08-09 08:05:52 +12:00
Péter Szilágyi a7c13f469e EIP 2124: Fork identifier for chain compatibility checks (#2124)
* EIP 2124: Zero RTT netsplit on chain mismatch

* Assign number to EIP 2124

* Address review comments on EIP 2124.

* Rename EIP 2124 to better reflect content

* Fix cardinality

* Fix email address in 2124

* Update fork identifier EIP based on review discussions.

* Fixup EIP name for the fork identifier.

* Remove stale mention of ENR from forkid EIP.

* Add RLP encoding test cases for forkid EIP.

* Add Felix too to the forkid EIP author list.

* Get rid of mentioning the MTU stuffin the forkid EIP.
2019-08-08 15:52:35 +01:00
Filip Š 30fb1b70d5 Add link to Python implementation (#2227) 2019-08-06 08:13:14 +12:00
Adam Schmideg cb987601ff Automatically merged updates to draft EIP(s) 1767 (#2223)
Hi, I'm a bot! This change was automatically merged because:

 - It only modifies existing Draft or Last Call EIP(s)
 - The PR was approved or written by at least one author of each modified EIP
 - The build is passing
2019-08-02 16:31:10 +12:00
Bryant Eisenbach fbb6f3757c EIP-1344: Move to Final after Last Call Review (#1994)
* EIP-1344: Move to Accepted after Last Call Review

- One additional reviewer added comment
- No technical updates suggested

* EIP-1344: Remove review period

* EIP-1344: Update status to Final
2019-07-30 11:49:49 +12:00
William Entriken a03dcd2c85 Automatically merged updates to draft EIP(s) 1344 (#2218)
Hi, I'm a bot! This change was automatically merged because:

 - It only modifies existing Draft or Last Call EIP(s)
 - The PR was approved or written by at least one author of each modified EIP
 - The build is passing
2019-07-30 03:50:28 +12:00
Bryant Eisenbach d01dbcb5c5 Automatically merged updates to draft EIP(s) 1344 (#2216)
Hi, I'm a bot! This change was automatically merged because:

 - It only modifies existing Draft or Last Call EIP(s)
 - The PR was approved or written by at least one author of each modified EIP
 - The build is passing
2019-07-27 12:23:54 +12:00
Bryant Eisenbach 87fa62cdcb Automatically merged updates to draft EIP(s) 1344 (#2215)
Hi, I'm a bot! This change was automatically merged because:

 - It only modifies existing Draft or Last Call EIP(s)
 - The PR was approved or written by at least one author of each modified EIP
 - The build is passing
2019-07-27 04:27:06 +12:00
James Hancock 7cbc5bb400 Automatically merged updates to draft EIP(s) 1679 (#2214)
Hi, I'm a bot! This change was automatically merged because:

 - It only modifies existing Draft or Last Call EIP(s)
 - The PR was approved or written by at least one author of each modified EIP
 - The build is passing
2019-07-27 03:49:03 +12:00
Pelle Braendgaard b31680badb EIP-1056 Ethereum Lightweight Identity implementation (#2210)
* submit original ERC as EIP

* Update with deployed address

* update to correct format

* fix typo
2019-07-26 15:14:36 +01:00
James Hancock 6f703274bc Automatically merged updates to draft EIP(s) 2025 (#2213)
Hi, I'm a bot! This change was automatically merged because:

 - It only modifies existing Draft or Last Call EIP(s)
 - The PR was approved or written by at least one author of each modified EIP
 - The build is passing
2019-07-27 01:06:19 +12:00
Tom Brand cf112ba7c8 Automatically merged updates to draft EIP(s) 2028 (#2211)
Hi, I'm a bot! This change was automatically merged because:

 - It only modifies existing Draft or Last Call EIP(s)
 - The PR was approved or written by at least one author of each modified EIP
 - The build is passing
2019-07-26 09:08:04 +12:00
Alan Lu 7b15e2efb6 Abandoned ERC 1154 (#2206) 2019-07-23 23:10:04 +02:00
James Hancock dba388942f Automatically merged updates to draft EIP(s) 2025 (#2207)
Hi, I'm a bot! This change was automatically merged because:

 - It only modifies existing Draft or Last Call EIP(s)
 - The PR was approved or written by at least one author of each modified EIP
 - The build is passing
2019-07-23 23:37:27 +12:00
Alex Beregszaszi a83a10fedf
Rename eip-X template to eip-template (#2201)
* Rename eip-X template to eip-template

To reduce potential confusion.

* Rename explanation of assets/eip-X to assets/eip-N
2019-07-23 10:32:39 +01:00
xinbenlv 0b1c7f75bd Check-In first draft of EIP-2135 (#2171)
* Update the minimized eip-1202 to get ready of publication

* Add eip-2135 init draft

* Update EIP-2135 at 6e4e401118/eip-2135.md
2019-07-23 14:42:49 +12:00
Loredana Cirstea 1529796d3a Add ERC: dType Alias Extension - Decentralized Type System (#2193)
* Add ERC: dType Alias Extension - Decentralized Type System

* Add EIP number 2193, fix links

As suggested in https://github.com/ethereum/EIPs/pull/2193#discussion_r304121479, https://github.com/ethereum/EIPs/pull/2193#discussion_r304121615

* EIP-2193 - add separator semantics, address PR review

- add separator semantic explanations
- add EIP-155 as requirement, as per https://github.com/ethereum/EIPs/pull/2193#discussion_r304139427
- address https://github.com/ethereum/EIPs/pull/2193#discussion_r304139590
  -- use `external` instead of public
  -- clarify who can set aliases
  -- chainId explanation
  -- use `bytes1 separator` instead of `string separator`
2019-07-19 07:14:06 +12:00
Tom Brand fc9dad1f82 Automatically merged updates to draft EIP(s) 2028 (#2199)
Hi, I'm a bot! This change was automatically merged because:

 - It only modifies existing Draft or Last Call EIP(s)
 - The PR was approved or written by at least one author of each modified EIP
 - The build is passing
2019-07-18 23:03:21 +12:00
Witek 4e33f4ca90 Automatically merged updates to draft EIP(s) 1761 (#2198)
Hi, I'm a bot! This change was automatically merged because:

 - It only modifies existing Draft or Last Call EIP(s)
 - The PR was approved or written by at least one author of each modified EIP
 - The build is passing
2019-07-18 14:53:42 +12:00
William Entriken bd877f84f9 Fix typo in (#2194) 2019-07-17 23:40:46 +01:00
Alex Beregszaszi b241c17b6a Remove Deferred from the status list (#2162) 2019-07-17 23:35:03 +02:00
Greg Colvin c9010a4924
Ready for last call. (#2189)
* Update eip-615.md

* Update discussion-to link.

* Update eip-615.md

* Update eip-615.md

* Update eip-615.md

* Update eip-615.md

* Update eip-615.md

Suggested review-period-end in 14 days

* Update eip-615.md
2019-07-15 21:57:23 -04:00
Tim Beiko 4a488ee68d Expand EIP Championing Section in EIP-1 (#1991)
* Update eip-1.md

* Update EIPS/eip-1.md

Co-Authored-By: timbeiko <t.beiko23@gmail.com>

* Update EIP-1 based on reviewer feedback

* Remove qualifiers

Based on @carver's comments.

* Rephrase based on review feedback

Rephrase based on review feedback
2019-07-13 18:28:58 +01:00
Frank.R.Wu 18c5e008d4 Automatically merged updates to draft EIP(s) 1504 (#2188)
Hi, I'm a bot! This change was automatically merged because:

 - It only modifies existing Draft or Last Call EIP(s)
 - The PR was approved or written by at least one author of each modified EIP
 - The build is passing
2019-07-12 19:06:36 +12:00
Frank.R.Wu 7e3351a34e ERC-1504 Upgradable Smart Contract (USC) (#1504)
* Add EIP-1898: ERC 54 Upgradable Smart Contract

* Rename + Change header

* Update eip-1898.md

* Update eip-1898.md

* Update eip-1898.md

Update eip-1898.md to Dropbox version.

* Update eip-1898.md

* Update eip-1898.md

* Update and rename eip-1898.md to eip-draft_USC.md

modify eip

* Update and rename eip-draft_USC.md to eip-draft_usc.md

* Update and rename eip-draft_usc.md to eip-1504.md

* Update eip-1504.md

* Update eip-1504.md
2019-07-11 08:50:15 +12:00
Loredana Cirstea e3beadb982 Add ERC - dType Storage Extension - Decentralized Type System for EVM (#2158)
* Add ERC - dType Storage Extension - Decentralized Type System for EVM

* Rename eip-dtype_storage_extension.md to eip-2157.md

* Fix spelling mistakes

* Add EIP number 2157 to document
2019-07-10 14:49:11 -06:00
Martin Holst Swende 9148783a41 Automatically merged updates to draft EIP(s) 1884 (#2180)
Hi, I'm a bot! This change was automatically merged because:

 - It only modifies existing Draft or Last Call EIP(s)
 - The PR was approved or written by at least one author of each modified EIP
 - The build is passing
2019-07-07 22:53:39 +12:00
Loredana Cirstea c9478b841f EIP-1900 Decentralized Type System for EVM (#1900) 2019-07-07 08:15:25 +02:00
Micah Zoltu 19a7fb8715 Automatically merged updates to draft EIP(s) 1102 (#2178)
Hi, I'm a bot! This change was automatically merged because:

 - It only modifies existing Draft or Last Call EIP(s)
 - The PR was approved or written by at least one author of each modified EIP
 - The build is passing
2019-07-07 02:56:14 +12:00
Antonio Salazar Cardozo 9ca26c943a Automatically merged updates to draft EIP(s) 1108 (#2177)
Hi, I'm a bot! This change was automatically merged because:

 - It only modifies existing Draft or Last Call EIP(s)
 - The PR was approved or written by at least one author of each modified EIP
 - The build is passing
2019-07-06 01:26:40 +12:00
Shane 13e00fbdba EIP-1901: Add OpenRPC Service Discovery To JSON-RPC Services (#1901)
* EIP-????: Add OpenRPC Service Discovery To JSON-RPC Services

* fix:

* fix(openrpc): add openrpc.json to eip assets

* fix(openrpc): reference eip asset

* Update EIPS/eip-1901.md - document link

* Delete openrpc.json

* Update eip-1901: move link to spec to top

* fix(1901):  preamble + author github usernames

* fix(1901): add copyright info

* fix(1901): add link to eth json rpc spec

* fix(1901): type and category in preamble + spelling

* fix(1901): motivation section and use vendored assets

* fix(1901): add link to multi-geth OpenRPC discovery

* fix(1901): change ordering + small fixes

* fix(1901): typo
2019-07-05 12:39:57 +01:00
Tom Brand 63a5b21c57 Automatically merged updates to draft EIP(s) 2028 (#2176)
Hi, I'm a bot! This change was automatically merged because:

 - It only modifies existing Draft or Last Call EIP(s)
 - The PR was approved or written by at least one author of each modified EIP
 - The build is passing
2019-07-05 22:32:35 +12:00
Martin Holst Swende c223630e53 Automatically merged updates to draft EIP(s) 1884 (#2175)
Hi, I'm a bot! This change was automatically merged because:

 - It only modifies existing Draft or Last Call EIP(s)
 - The PR was approved or written by at least one author of each modified EIP
 - The build is passing
2019-07-05 19:55:27 +12:00
Adrian Sutton 4247ec8f7e Automatically merged updates to draft EIP(s) 2159 (#2174)
Hi, I'm a bot! This change was automatically merged because:

 - It only modifies existing Draft or Last Call EIP(s)
 - The PR was approved or written by at least one author of each modified EIP
 - The build is passing
2019-07-05 17:40:07 +12:00
5chdn f9b28c15ee Automatically merged updates to draft EIP(s) 999 (#2170)
Hi, I'm a bot! This change was automatically merged because:

 - It only modifies existing Draft or Last Call EIP(s)
 - The PR was approved or written by at least one author of each modified EIP
 - The build is passing
2019-07-04 06:08:40 +12:00
Alex Beregszaszi c036d89deb Automatically merged updates to draft EIP(s) 1571 (#2168)
Hi, I'm a bot! This change was automatically merged because:

 - It only modifies existing Draft or Last Call EIP(s)
 - The PR was approved or written by at least one author of each modified EIP
 - The build is passing
2019-07-03 09:46:22 +12:00
James Sangalli 34362427b9 set EIP875 to last call and correct errors (#1549) 2019-07-03 08:37:56 +12:00
Talha Cross 39278f0210 eip-225: mark as final (#1954) 2019-07-02 19:00:55 +01:00
Paweł Bylica afdc22d975 EIP-1895: Improvements (#2153)
* EIP-1895: Better constants and address range description

Address @Arachnid's comments about presenting constants and how an address value is limited.

* EIP-1985: Fix a typo

* EIP-1985: Use "instructions" instead of "opcodes"
2019-07-02 17:44:23 +01:00
Lucas Cullen fa8855c9fe EIP-1753 - Define a smart contract interface for permits and licences (#1753)
* First draft

* Update eip-x.md

* Update eip-x.md

* Update eip-x.md

* Update eip-x.md

* Update eip-x.md

* Update eip-x.md

* Update eip-x.md

* Update eip-x.md

* Update authors

* Update eip-x.md

* Rename eip md

* Rollback

* Rename md

* Add copyright

* WIP: Re adding specificaiton

* Update example solidity

* Update eip-1753.md

* Update eip-1753.md

* Update eip-1753.md

* Update eip-1753.md

* Update eip-1753.md

* Update eip-1753.md

* Do not touch eip-X

* Fix typo
2019-07-02 13:09:40 +01:00