18 Commits

Author SHA1 Message Date
Philippe Castonguay
1690d6d26c
ERC-1271: fix example implementation (#3738) 2021-08-18 17:09:42 +00:00
Ivo Georgiev
cceb028d1a
EIP 1271: fix implementation example signature validation (#3692)
The industry standard is to encode signatures as `(bytes32 r, bytes32 s, uint8 v)` in 65 bytes, which is evident here: d3c5bdf4de/contracts/utils/cryptography/ECDSA.sol (L32)

But also in the implementation code which reads the first 32 bytes as r, then the next as s, and the last byte as v

However, it checks if the signature is 66 bytes long, rather than the 65 which it reads. As such I believe this is an error in the example.
2021-08-02 13:05:25 +00:00
Philippe Castonguay
d4abcace04
Update implementation error in ERC-1271 (#3669) 2021-07-19 13:35:21 +00:00
Philippe Castonguay
0caa338fe8
ERC-1271 : Set to Last Call (#3639)
* ERC-1271 : Set to Last Call

* Change section title to Reference Implementation

* Update EIPS/eip-1271.md

Co-authored-by: lightclient <14004106+lightclient@users.noreply.github.com>

Co-authored-by: lightclient <14004106+lightclient@users.noreply.github.com>
2021-07-09 15:04:21 +00:00
Philippe Castonguay
84361ff084
Set ERC-1271 to Review status (#3633) 2021-06-29 19:27:06 +00:00
Philippe Castonguay
c795f238af
EIP-1271 update solidity code (#3627) 2021-06-25 14:39:05 +00:00
Philippe Castonguay
db39778e79
EIP-1271; Add additional implementation example (#3626) 2021-06-25 14:33:06 +00:00
Philippe Castonguay
07224846e4
EIP-1271 content update, no specification change (#3625) 2021-06-25 14:23:48 +00:00
Philippe Castonguay
e2f485ed6f
Automatically merged updates to draft EIP(s) 1271 (#3192)
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
2021-01-06 18:27:12 +13:00
Micah Zoltu
15f61ed0fd
Adds rule to EIP-1 that references to other EIPs must use relative path format and the first reference must be linked. (#2947)
I have gone through and updated all existing EIPs to match this rule, including EIP-1.

In some cases, people were using markdown citations, I suspect because the long-form was a bit verbose to inline.  Since the relative path is quite short, I moved these to inline but I wouldn't be opposed to putting them back to citation format if that is desired by the authors.

In doing the migration/cleanup, I found some EIP references to EIPs that don't actually exist.  In these cases I tried to excise the reference from the EIP as best I could.

It is worth noting that the Readme actually already had this rule, it just wasn't expressed properly in EIP-1 and the "Citation Format" section of the readme I think caused people a bit of confusion (when citing externally, you should use the citation format).
2020-09-30 12:22:43 +08:00
Alex Beregszaszi
f8e7c028f5
Simplify the EIP template (#2939)
* Try to clarify the meaning of EIP fields

* Remove unhelpful extra comments in the template

* Change EIP-1491 from CRLF to LF

* Remove template comments from EIPs

* Fix heading: Abstarct -> Abstract

* Update EIP-2014

* Change author list of EIP-1
2020-09-08 17:32:52 +08:00
lightclient
3194278525
Switch validator to eipv (#2860)
* switch to eipv

* fix

* fix

* 1153 remove trailing whitespace

* remove file name checks

* 615 remo whitespace before comma

* 884 remove extra single-quotes

* 1337 remove whitespace before comma

* 1057 remove extra spaces after comma

* 2470 update created date to Y/M/D format

* 1078 update required eips to be in ascending order

* 2477 update required eips to be in ascending order

* 1271 remove extra whitespace

* 2767 required eipupdated to be in ascending order

* 2525 update created date to Y/M/D format

* 2458 remove trailing whitespace

* 1884 remove trailing whitespace

* 712 authors should be on a single line

* 601 remove extra whitespace

* 1485 remove unneeded parentheses

* 634 remove trailing whitespace

* 2657 update discussions-to to correct spelling

* 2009 remove trailing whitespace

* 998 required eips updated to be in ascending order

* 1186 remove trailing whitespace

* 1470 remove extra whitespace

* 1895 update created date to Y/M/D format

* 2747 remove extra whitespace

* 1613 remove leading whitespace

* 1571 can'have both handle and email in author field

* 1191 remove trailing whitespace

* 1973 remove trailing whitespace

* 196 don't wrap title field

* 1679 required eips must be in ascending order

* 1620 author can't have both handle and email

* 197 don't line wrap title field

* 2378 remove extra newline

* 1355 author can't have both handle and email

* 698 update created date to Y/M/D format

* 2193 required eips must be in ascending order

* 214 remove extra info after author email

* use v0.0.3 of eipv

* 1 remove malformed field

* bump eipv to v0.0.4

* cache eipv build

* 1485 remove extra author info

* 2771 removing extra whitespaces
2020-08-10 11:18:25 -05:00
Fabian Vogelsteller
92a81d542e
Automatically merged updates to draft EIP(s) 1271 (#2776)
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
2020-07-10 05:03:55 +12:00
Alex Beregszaszi
af982f1470 Run spelling checks on CI (#2040) 2019-05-19 08:54:10 +02:00
Philippe Castonguay
026675e59e Automatically merged updates to draft EIP(s) 1271
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
2018-12-03 22:21:20 +00:00
Leo Arias
9f9b88a7e2 Automatically merged updates to draft EIP(s) 1271
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
2018-10-03 06:10:20 +01:00
Philippe Castonguay
ccca01c77b Automatically merged updates to draft EIP(s) 1271
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
2018-09-20 23:02:23 +01:00
Philippe Castonguay
fda347d0f4 ERC-1271 : Standard Signature Validation Method for Contracts (#1258)
* initial commit

* Update table

* Update EIP name & number in table

* Change EIP name + discussion link

* Edit authors
2018-08-02 15:58:54 +01:00