Skip to content

feat(data): EIPs #37

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
mds1 opened this issue Aug 10, 2023 · 3 comments · Fixed by #50
Closed

feat(data): EIPs #37

mds1 opened this issue Aug 10, 2023 · 3 comments · Fixed by #50
Assignees

Comments

@mds1
Copy link
Owner

mds1 commented Aug 10, 2023

This issue is eligible for a bounty paid out in ETH on OP Mainnet. Read CONTRIBUTING.md to learn how to qualify.

This should contain all live EIPs for a given chan. Initial suggested types, subject to change as needed, and fields can be made optional as needed:

type EIPParameter = {
  name: string;
  value: string | number | bigint | boolean
}

type EIP = {
  number: number;
  title: string;
  link: string;
  // The status should always be `Final` for now.
  status: 'Draft' | 'Review' | 'Last Call' | 'Final' | 'Stagnant' | 'Withdrawn' | 'Living';
  activeHardforks: MainnetHardfork[]; // Would need other enums for other chains, this enum is for mainnet only.
  deprecated: boolean;
  // Some EIPs have parameters, such as EIP-1559, but these parameters may not be the same on all
  // chains. This field is intended to list the names and values of any parameters that exist.
  parameters?: EIPParameter[];
};

Notes:

  • All implemented mainnet EIPs can be found here. Trail of Bits' Building Secure Smart Contracts has a Forks <> EIPs section which may be helpful too. (They have this for Celo, Tron, and BSC also, but some/all of this might be out of date)
  • There are getHardforksFrom and getHardforksTo methods for helping generate the activeHardforks range
  • Other EIPs may be final and not yet active, since they'll be in a future hard fork. These can be ignored for now.
@leovct
Copy link
Contributor

leovct commented Jan 9, 2024

Working on this issue atm

@leovct
Copy link
Contributor

leovct commented Jan 24, 2024

@mds1 We might need to re-open this issue since optimism and arbitrum EIPs have not been added yet.

@mds1
Copy link
Owner Author

mds1 commented May 20, 2024

Closing this issue as part of the move to automated data collection in #62. Some EIP specific data may be re-added when it can be detected automatically, but a new, better scoped issue will be created for that

@mds1 mds1 closed this as not planned Won't fix, can't repro, duplicate, stale May 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants