mds1 / evm-diff

Diff EVM-compatible chains in a friendly format
https://evmdiff.com
MIT License
272 stars 27 forks source link

feat(data): EIPs #37

Closed mds1 closed 2 months ago

mds1 commented 11 months ago

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:

leovct commented 6 months ago

Working on this issue atm

leovct commented 6 months ago

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

mds1 commented 2 months ago

Closing this issue as part of the move to automated data collection in https://github.com/mds1/evm-diff/pull/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