Skip to content
Branch: master
Find file History
Agusx1211 and Arachnid Fix Wrong Input Length - ERC165 Example (#1640)
* Wrong input size - noThrowCall ERC165

Input should be 36 bytes (4 signature bytes + 32 bytes parameter)

Solidity 5 validates the length of msg.data, reverting on the 32 bytes input, all contracts using the broken 'doesContractImplementInterface' will not be able to read an ERC165 implementation targetting Solidity 5.

A legacy-compatible strategy should be defined to make all the "ERC165 readers" sending a 32 bytes sized data compatible with ERC165 contracts compiled targeting this new version of the compiler.

A possible solution could be to add a keyword on Solidity to disable the validation of the calldata length.

* Add version history section to EIP165

* EIP 1640 -> PR 1640
Latest commit 7c10d58 May 21, 2019
Permalink
Type Name Latest commit message Commit time
..
Failed to load latest commit information.
eip-1.md Mention that the header is also called "front matter" in EIP1 (#2037) May 21, 2019
eip-100.md Add pages for each EIP type, improve listing tables with links Mar 21, 2018
eip-101.md EIP 101 is draft, not active Mar 23, 2018
eip-1010.md EIP 1010: Uniformity Between Two Addresses (#1010) Apr 19, 2018
eip-1011.md Run spelling checks on CI (#2040) May 19, 2019
eip-1013.md Ensure hardfork metas depend on eachother (#1795) Mar 8, 2019
eip-1014.md Fix typo (#1770) Mar 2, 2019
eip-1015.md Run spelling checks on CI (#2040) May 19, 2019
eip-1046.md ERC20 metadata extension (#1046) May 6, 2018
eip-1047.md Token metadata json schema (#1047) May 6, 2018
eip-1051.md Arithmetic overflow detection for the EVM (#1051) May 2, 2018
eip-1052.md Mark Constantinople and all its references Final (#1787) Feb 28, 2019
eip-1057.md Run spelling checks on CI (#2040) May 19, 2019
eip-1062.md Formalize IPFS hash into ENS(Ethereum Name Service) resolver (#1062) May 7, 2018
eip-1066.md Run spelling checks on CI (#2040) May 19, 2019
eip-107.md Run spelling checks on CI (#2040) May 19, 2019
eip-1077.md Run spelling checks on CI (#2040) May 19, 2019
eip-1078.md Run spelling checks on CI (#2040) May 19, 2019
eip-1080.md Run spelling checks on CI (#2040) May 19, 2019
eip-1081.md Run spelling checks on CI (#2040) May 19, 2019
eip-1087.md Automatically merged updates to draft EIP(s) 1087 Aug 17, 2018
eip-1102.md Automatically merged updates to draft EIP(s) 1102 Nov 8, 2018
eip-1108.md Run spelling checks on CI (#2040) May 19, 2019
eip-1109.md Run spelling checks on CI (#2040) May 19, 2019
eip-1123.md Run spelling checks on CI (#2040) May 19, 2019
eip-1129.md First version of EIP-SDA. (#1129) Jun 18, 2018
eip-1132.md Update EIP1132.md - changes in event names Sep 10, 2018
eip-1153.md Transient storage opcodes (#1153) Jun 18, 2018
eip-1154.md Run spelling checks on CI (#2040) May 19, 2019
eip-1155.md Run spelling checks on CI (#2040) May 19, 2019
eip-1167.md Run spelling checks on CI (#2040) May 19, 2019
eip-1175.md change directory (#1183) Jun 25, 2018
eip-1178.md added sample implementation and updated functionality (#1216) Jul 17, 2018
eip-1185.md DNS resolver profile for ENS (#1185) Oct 19, 2018
eip-1186.md Run spelling checks on CI (#2040) May 19, 2019
eip-1191.md Automatically merged updates to draft EIP(s) 1191 Mar 22, 2019
eip-1193.md Run spelling checks on CI (#2040) May 19, 2019
eip-1202.md Run spelling checks on CI (#2040) May 19, 2019
eip-1203.md EIP 1203 (#1204) Jul 17, 2018
eip-1207.md Add EIP-1207 DAuth Access Delegation Standard (#1208) Jul 17, 2018
eip-1227.md EIP-1227: Defuse Difficulty Bomb and Reset Block Reward (#1235) Jul 19, 2018
eip-1234.md Mark Constantinople and all its references Final (#1787) Feb 28, 2019
eip-1240.md Automatically merged updates to draft EIP(s) 1240 Oct 14, 2018
eip-1261.md Run spelling checks on CI (#2040) May 19, 2019
eip-1271.md Run spelling checks on CI (#2040) May 19, 2019
eip-1276.md EIP-1276: Eliminate Difficulty Bomb and Adjust Block Reward on Consta… Jul 31, 2018
eip-1283.md Run spelling checks on CI (#2040) May 19, 2019
eip-1285.md Automatically merged updates to draft EIP(s) 1285 Aug 17, 2018
eip-1295.md Automatically merged updates to draft EIP(s) 1295 Aug 29, 2018
eip-1319.md Minor updates to EIP-1319 (#1966) Apr 24, 2019
eip-1328.md Automatically merged updates to draft EIP(s) 1328 Feb 27, 2019
eip-1344.md Automatically merged updates to draft EIP(s) 1344 (#2004) May 9, 2019
eip-1352.md Add @axic username to my EIPs Sep 20, 2018
eip-1355.md EIP-1355: Fix authors list Feb 6, 2019
eip-137.md Update HTTP->HTTPS when both URLs work (#1714) Mar 9, 2019
eip-1380.md Run spelling checks on CI (#2040) May 19, 2019
eip-1386.md add eip 1386, 1387 & 1388 (#1414) Oct 17, 2018
eip-1387.md add eip 1386, 1387 & 1388 (#1414) Oct 17, 2018
eip-1388.md Run spelling checks on CI (#2040) May 19, 2019
eip-140.md Add @axic username to my EIPs Sep 20, 2018
eip-141.md Add @axic username to my EIPs Sep 20, 2018
eip-1417.md Run spelling checks on CI (#2040) May 19, 2019
eip-1418.md EIP-1418 Blockchain Storage Rent Payment (#1752) Mar 13, 2019
eip-1438.md dApp Components (avatar) & Universal Wallet (#1438) Oct 15, 2018
eip-1444.md Update HTTP->HTTPS when both URLs work (#1714) Mar 9, 2019
eip-145.md Run spelling checks on CI (#2040) May 19, 2019
eip-1450.md Run spelling checks on CI (#2040) May 19, 2019
eip-1459.md EIP-1459: Node Discovery via DNS (#1459) Sep 29, 2018
eip-1462.md Run spelling checks on CI (#2040) May 19, 2019
eip-1470.md Run spelling checks on CI (#2040) May 19, 2019
eip-1474.md EIP: Remote procedure call specification (#1474) Mar 7, 2019
eip-1482.md Define a maximum block timestamp drift (#1482) Oct 15, 2018
eip-1484.md Run spelling checks on CI (#2040) May 19, 2019
eip-1485.md Run spelling checks on CI (#2040) May 19, 2019
eip-1491.md Run spelling checks on CI (#2040) May 19, 2019
eip-150.md EIP-150: Add information about previous gas costs Jun 7, 2018
eip-1523.md EIP 1523: Standard for storing insurance policies as extension of ERC… May 20, 2019
eip-1538.md Automatically merged updates to draft EIP(s) 1538 Mar 28, 2019
eip-155.md Strip the list of chain ID's (#1835) Mar 8, 2019
eip-1559.md Fix authors and type-fields in eip-1559.md (#1974) Apr 29, 2019
eip-1571.md Run spelling checks on CI (#2040) May 19, 2019
eip-1577.md Update eip-1577.md Apr 12, 2019
eip-158.md Add checking for errors in frontmatter Mar 23, 2018
eip-1581.md Automatically merged updates to draft EIP(s) 1581 Jan 30, 2019
eip-1588.md Automatically merged updates to draft EIP(s) 1588 Jan 20, 2019
eip-1592.md Automatically merged updates to draft EIP(s) 1592 Nov 19, 2018
eip-160.md Add pages for each EIP type, improve listing tables with links Mar 21, 2018
eip-161.md Add pages for each EIP type, improve listing tables with links Mar 21, 2018
eip-1613.md Run spelling checks on CI (#2040) May 19, 2019
eip-1616.md Run spelling checks on CI (#2040) May 19, 2019
eip-162.md Run spelling checks on CI (#2040) May 19, 2019
eip-1620.md Add EIP-1620 (#1722) Mar 10, 2019
eip-165.md Fix Wrong Input Length - ERC165 Example (#1640) May 22, 2019
eip-1679.md Automatically merged updates to draft EIP(s) 1679 (#1990) May 19, 2019
eip-1681.md Run spelling checks on CI (#2040) May 19, 2019
eip-170.md Add pages for each EIP type, improve listing tables with links Mar 21, 2018
eip-1702.md Run spelling checks on CI (#2040) May 19, 2019
eip-1706.md Automatically merged updates to draft EIP(s) 1706 Mar 24, 2019
eip-1710.md EIP-1710: URL Format for Web3 Browsers (#1710) May 19, 2019
eip-1716.md Add ethereum.org blog post about petersburg (#1794) Mar 8, 2019
eip-173.md Automatically merged updates to draft EIP(s) 173 Jun 9, 2018
eip-1761.md Automatically merged updates to draft EIP(s) 1761 Mar 29, 2019
eip-1767.md Automatically merged updates to draft EIP(s) 1767 Mar 7, 2019
eip-1775.md Run spelling checks on CI (#2040) May 19, 2019
eip-1803.md Automatically merged updates to draft EIP(s) 1679, 1803 Apr 30, 2019
eip-181.md Update EIP181 with new functions and new resolver implementation (#638) Oct 15, 2018
eip-1812.md Ethereum Verifiable Claims (#1812) Mar 10, 2019
eip-1820.md fix github pull request links (#2000) May 9, 2019
eip-1822.md Automatically merged updates to draft EIP(s) 1822 Mar 8, 2019
eip-1829.md Fixed typos and grammar (#1847) May 8, 2019
eip-1844.md Fix discussions-to URL Mar 15, 2019
eip-1872.md EIP-1872: Ethereum Network Upgrade Windows (#1872) Apr 3, 2019
eip-1884.md Automatically merged updates to draft EIP(s) 1884 Apr 29, 2019
eip-1890.md EIP-1890: Commitment to Sustainable Ecosystem Funding (#1890) Apr 10, 2019
eip-1895.md Run spelling checks on CI (#2040) May 19, 2019
eip-1898.md Automatically merged updates to draft EIP(s) 1898 Apr 22, 2019
eip-190.md Update HTTP->HTTPS when both URLs work (#1714) Mar 9, 2019
eip-191.md Update Solidity syntax in EIP-191 specs (#1547) Mar 8, 2019
eip-1922.md Run spelling checks on CI (#2040) May 19, 2019
eip-1923.md First Draft for EIP-1923 (#1925) Apr 11, 2019
eip-1930.md Run spelling checks on CI (#2040) May 19, 2019
eip-196.md Add pages for each EIP type, improve listing tables with links Mar 21, 2018
eip-1962.md EC arithmetics and pairings with runtime definitions (#1962) May 20, 2019
eip-1965.md Automatically merged updates to draft EIP(s) 1679, 1965 (#2047) May 19, 2019
eip-197.md Merge pull request #913 from pirapira/fix-field Mar 21, 2018
eip-1973.md Run spelling checks on CI (#2040) May 19, 2019
eip-198.md eip-198: replace "zeroes" with "zero bytes". Sep 4, 2018
eip-2.md Add pages for each EIP type, improve listing tables with links Mar 21, 2018
eip-20-token-standard.md Use new preferred citation format Dec 20, 2018
eip-20.md Fix language for transfer function (#1744) Mar 8, 2019
eip-2015.md EIP-2015: Wallet Update Chain Method (#2015) May 14, 2019
eip-2028.md Automatically merged updates to draft EIP(s) 2028 (#2052) May 20, 2019
eip-205.md Rename ENS ABI to eip-205 (#1406) Sep 13, 2018
eip-210.md Run spelling checks on CI (#2040) May 19, 2019
eip-211.md Fix depends field on eip-211 Mar 23, 2018
eip-214.md Add pages for each EIP type, improve listing tables with links Mar 21, 2018
eip-225.md Automatically merged updates to draft EIP(s) 225 Mar 18, 2019
eip-233.md Automatically merged updates to draft EIP(s) 1679, 233 Apr 23, 2019
eip-234.md Automatically merged updates to draft EIP(s) 234 Jul 28, 2018
eip-3.md Run spelling checks on CI (#2040) May 19, 2019
eip-4.md Remove obsolete layer field (#1978) Apr 30, 2019
eip-5.md Run spelling checks on CI (#2040) May 19, 2019
eip-55.md Adding co-author to EIP-55 (#951) Mar 8, 2019
eip-6.md Remove obsolete layer field (#1978) Apr 30, 2019
eip-600.md Rename eip-600.md to EIPS/eip-600.md (#1854) Mar 20, 2019
eip-601.md Ethereum hierarchy for deterministic wallets (#601) Mar 18, 2019
eip-606.md Ensure hardfork metas depend on eachother (#1795) Mar 8, 2019
eip-607.md Ensure hardfork metas depend on eachother (#1795) Mar 8, 2019
eip-608.md Ensure hardfork metas depend on eachother (#1795) Mar 8, 2019
eip-609.md Ensure hardfork metas depend on eachother (#1795) Mar 8, 2019
eip-615.md Run spelling checks on CI (#2040) May 19, 2019
eip-616.md Update HTTP->HTTPS when both URLs work (#1714) Mar 9, 2019
eip-627.md Run spelling checks on CI (#2040) May 19, 2019
eip-634.md Added initial draft for an EIP regarding ENS text records. (#634) Nov 21, 2018
eip-649.md eip-649: update to correct header format (#1233) Jul 19, 2018
eip-658.md Remove reference to EIP98 from EIP658 Mar 23, 2018
eip-663.md Automatically merged updates to draft EIP(s) 663 (#2056) May 21, 2019
eip-665.md Update HTTP->HTTPS when both URLs work (#1714) Mar 9, 2019
eip-681.md Fix syntax in #681 by referencing #831 (#1095) Oct 15, 2018
eip-689.md Update eip-689.md Jun 7, 2018
eip-695.md Fix links to authors in eip-695.md (#991) Apr 10, 2018
eip-698.md Add opcode 0x46 blockreward (#700) Mar 8, 2019
eip-7.md Add pages for each EIP type, improve listing tables with links Mar 21, 2018
eip-706.md Run spelling checks on CI (#2040) May 19, 2019
eip-712.md Run spelling checks on CI (#2040) May 19, 2019
eip-721.md Update HTTP->HTTPS when both URLs work (#1714) Mar 9, 2019
eip-725.md Run spelling checks on CI (#2040) May 19, 2019
eip-758.md Run spelling checks on CI (#2040) May 19, 2019
eip-777.md ERC777: Move to final (#1999) May 7, 2019
eip-778.md EIP-778: address review feedback (#1906) Apr 3, 2019
eip-779.md Ensure hardfork metas depend on eachother (#1795) Mar 8, 2019
eip-8.md Update HTTP->HTTPS when both URLs work (#1714) Mar 9, 2019
eip-801.md Add pages for each EIP type, improve listing tables with links Mar 21, 2018
eip-820.md ERC1820: Move to final, mark 820 as superseded (#1919) Apr 6, 2019
eip-823.md Run spelling checks on CI (#2040) May 19, 2019
eip-831.md Automatically merged updates to draft EIP(s) 831 Nov 11, 2018
eip-858.md add difficulty bomb delay to eip 858 (#1346) Aug 28, 2018
eip-86.md Add EIP validation check, and fix issues identified by it. (#954) Mar 27, 2018
eip-867.md Update eip-867.md (#1024) Apr 22, 2018
eip-868.md EIP-868: add discussions-to link Sep 20, 2018
eip-875.md added eip875 (#1415) Oct 15, 2018
eip-884.md Update HTTP->HTTPS when both URLs work (#1714) Mar 9, 2019
eip-897.md fix github pull request links (#2000) May 9, 2019
eip-900.md Add another reference implementation for ERC-900 (#1212) Oct 15, 2018
eip-902.md Automatically merged updates to draft EIP(s) 902 Mar 1, 2019
eip-908.md Update HTTP->HTTPS when both URLs work (#1714) Mar 9, 2019
eip-918.md Run spelling checks on CI (#2040) May 19, 2019
eip-926.md Fix headers of EIP926/927 (#1801) Mar 2, 2019
eip-927.md Fix headers of EIP926/927 (#1801) Mar 2, 2019
eip-969.md Update HTTP->HTTPS when both URLs work (#1714) Mar 9, 2019
eip-998.md Run spelling checks on CI (#2040) May 19, 2019
eip-999.md Restore Contract Code at 0x863DF6BFa4469f3ead0bE8f9F2AAE51c91A907b4 (#… Apr 16, 2018
You can’t perform that action at this time.