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

Verify total balance delta across a block matches expectations #170

Merged
merged 15 commits into from
Jan 23, 2022

Conversation

PlasmaPower
Copy link
Collaborator

@PlasmaPower PlasmaPower commented Jan 21, 2022

Uses OffchainLabs/go-ethereum#44 to make sure that we don't accidentally create or destroy ether.

Note that this currently doesn't capture retryable callvalue deletion, though that isn't implemented at the time of writing either. This also currently doesn't pass tests because before #136 retryables incorrectly mint and burn ether. Update: with the "finalize retryable" PR merged there's only one small fix needed, which is in this one.

@codecov
Copy link

codecov bot commented Jan 22, 2022

Codecov Report

Merging #170 (ee8f0c0) into master (1d9dc88) will increase coverage by 53.39%.
The diff coverage is 61.76%.

❗ Current head ee8f0c0 differs from pull request most recent head 8b75a7c. Consider uploading reports for the commit 8b75a7c to get more accurate results

@@             Coverage Diff             @@
##           master     #170       +/-   ##
===========================================
+ Coverage        0   53.39%   +53.39%     
===========================================
  Files           0       76       +76     
  Lines           0     9020     +9020     
===========================================
+ Hits            0     4816     +4816     
- Misses          0     3436     +3436     
- Partials        0      768      +768     

@PlasmaPower PlasmaPower added the geth Involves changes to Go-Ethereum label Jan 22, 2022
arbos/block_processor.go Outdated Show resolved Hide resolved
Copy link
Contributor

@hkalodner hkalodner left a comment

Choose a reason for hiding this comment

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

LGTM

@PlasmaPower PlasmaPower merged commit be770bd into master Jan 23, 2022
@PlasmaPower PlasmaPower deleted the track-balance-delta branch January 23, 2022 02:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
geth Involves changes to Go-Ethereum
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants