Skip to content
This repository has been archived by the owner on Jul 5, 2024. It is now read-only.

Add test for the codehash of the coinbase account. #1511

Merged
merged 2 commits into from
Sep 19, 2023
Merged

Conversation

z2trillion
Copy link
Collaborator

@z2trillion z2trillion commented Jul 3, 2023

Description

Previously we did not set the code hash for coinbase accounts in the EndTxGadget. This was fixed in 242d38b. This PR adds a regression test.

Type of change

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • This change requires a documentation update

@github-actions github-actions bot added crate-bus-mapping Issues related to the bus-mapping workspace member crate-zkevm-circuits Issues related to the zkevm-circuits workspace member labels Jul 3, 2023
@z2trillion z2trillion requested review from lispc and han0110 July 3, 2023 15:39
@z2trillion z2trillion force-pushed the fix/empty_coinbase branch from 750747c to 4698ee7 Compare July 4, 2023 01:05
@z2trillion z2trillion marked this pull request as draft July 4, 2023 01:06
@ChihChengLiang
Copy link
Collaborator

ChihChengLiang commented Sep 13, 2023

Hi @z2trillion, what's the status of this PR? Any help needed to unblock it?

@github-actions github-actions bot removed the crate-bus-mapping Issues related to the bus-mapping workspace member label Sep 13, 2023
@z2trillion z2trillion changed the title Set codehash for coinbase if needed Add test for the codehash of the coinbase account. Sep 13, 2023
@z2trillion
Copy link
Collaborator Author

Sorry, I forgot about this.

The originally failing test now doesn't fail because of 242d38b, so now this PR consists of the regression test only. Feel free to close if it that's no longer needed.

@z2trillion z2trillion marked this pull request as ready for review September 13, 2023 20:09
Copy link
Collaborator

@ChihChengLiang ChihChengLiang left a comment

Choose a reason for hiding this comment

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

LGTM. Thanks for adding the regression test.

@lispc lispc enabled auto-merge September 14, 2023 13:04
Copy link
Collaborator

@han0110 han0110 left a comment

Choose a reason for hiding this comment

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

LGTM

@lispc lispc added this pull request to the merge queue Sep 19, 2023
Merged via the queue into main with commit 2ba35d5 Sep 19, 2023
24 checks passed
@lispc lispc deleted the fix/empty_coinbase branch September 19, 2023 14:45
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
crate-zkevm-circuits Issues related to the zkevm-circuits workspace member
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

4 participants