Skip to content

Add EIP-8272 complexity assessment - #133

Open
marioevz wants to merge 1 commit into
mainfrom
eip-8272-assessment
Open

marioevz wants to merge 1 commit into
mainfrom
eip-8272-assessment

Conversation

@marioevz

Copy link
Copy Markdown
Collaborator

Initial draft of the EIP-8272 complexity assessment, scored against the revision 2 checklist. For #72.

@LouisTsai-Csie LouisTsai-Csie left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hello Mario, I was reviewing this EIP today, leaving some comments

| **New EVM gas refund** | | |
| **Patterns affecting pre-existing tests** | | |
| **New invariant on pre-existing tests** | | |
| **Transition-tool interface changes** | | |

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do we need to add recent_root_references in the transition tool interface?

| **New fork activation mechanism** | 1 | EIP states that an irregular state transition is required, but this is complex and potentially it is not necessary: We probably can simply deploy using the well known system contract deployment methods used for previous forks. Worth pushing back on the deployment method as it is probably an outdated specification requirement. |
| **Performance risks** | 1 | Requires testing worst-case block filled with transactions consuming block limit using `MAX_RECENT_ROOT_REFERENCES`. |
| **Security risks** | 0 | |
| **Unspecified behavior requiring cross-client consensus** | 0 | No major underspecification identified. |

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Some idea:

  • opcode 0xB5 currently conflicts with EIP-8141 SIGDATACOPY (easy)
  • displayed FrameTx payload has not been synchronized with EIP-8141's current nested fees field (easy)
  • RECENT_ROOT_CODE is not finalized (medium)

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 this pull request may close these issues.

2 participants