Skip to content
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

feat(protocol): Add reward and fee fields to events #13808

Merged
merged 2 commits into from
May 24, 2023

Conversation

adaki2004
Copy link
Contributor

Linked to issue: #13807

Copy link
Contributor

@github-actions github-actions bot left a comment

Choose a reason for hiding this comment

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

Overall, the changes in this pull request look good. Here are some points to consider:

  • In TaikoEvents.sol, consider changing the name of the blockFee variable to something more descriptive.
  • In LibProposing.sol, consider adding comments to explain why blockFee is being set twice.
  • In LibVerifying.sol, consider adding a comment to explain why reward is set to 0 for the genesis block.
  • Consider adding comments to explain the purpose of each event in TaikoEvents.sol and LibVerifying.sol.
  • Consider using consistent naming conventions for variables and functions across all three files.

Copy link
Member

@davidtaikocha davidtaikocha left a comment

Choose a reason for hiding this comment

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

LGTM, and lets also merge these changes into alpha-3 branch after this one gets merged?

@adaki2004 adaki2004 requested a review from cyberhorsey May 24, 2023 19:35
@cyberhorsey cyberhorsey added this pull request to the merge queue May 24, 2023
Merged via the queue into main with commit 10be2fb May 24, 2023
@cyberhorsey cyberhorsey deleted the add_reward_and_fee_to_events branch May 24, 2023 19:36
@github-actions github-actions bot mentioned this pull request May 24, 2023
davidtaikocha pushed a commit that referenced this pull request May 26, 2023
davidtaikocha added a commit that referenced this pull request May 26, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants