-
Notifications
You must be signed in to change notification settings - Fork 827
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
geth upgrade test #2074
base: main
Are you sure you want to change the base?
geth upgrade test #2074
Conversation
d9d69ca
to
730cccd
Compare
4c73b71
to
4c29f95
Compare
return s.k.GetBalance(s.ctx, seiAddr) | ||
res, overflow := uint256.FromBig(s.k.GetBalance(s.ctx, seiAddr)) | ||
if overflow { | ||
panic("balance overflow") |
Check warning
Code scanning / CodeQL
Panic in BeginBock or EndBlock consensus methods Warning
4c29f95
to
9b4e161
Compare
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #2074 +/- ##
==========================================
- Coverage 61.67% 61.11% -0.57%
==========================================
Files 272 275 +3
Lines 25246 25575 +329
==========================================
+ Hits 15571 15630 +59
- Misses 8530 8791 +261
- Partials 1145 1154 +9
🚀 New features to boost your workflow:
|
e47a311
to
b34986e
Compare
c52b783
to
e5e3cbc
Compare
_, err = statedb.Finalize() | ||
if err != nil { | ||
panic(err) | ||
} | ||
} | ||
} | ||
if am.keeper.EthBlockTestConfig.Enabled { | ||
parentHash := common.BytesToHash(ctx.BlockHeader().LastBlockId.Hash) | ||
blockCtx, err := am.keeper.GetVMBlockContext(ctx, core.GasPool(math.MaxUint64)) |
Check warning
Code scanning / CodeQL
Panic in BeginBock or EndBlock consensus methods Warning
parentHash := common.BytesToHash(ctx.BlockHeader().LastBlockId.Hash) | ||
blockCtx, err := am.keeper.GetVMBlockContext(ctx, core.GasPool(math.MaxUint64)) | ||
if err != nil { | ||
panic(err) |
Check warning
Code scanning / CodeQL
Panic in BeginBock or EndBlock consensus methods Warning
statedb := state.NewDBImpl(ctx, am.keeper, false) | ||
vmenv := vm.NewEVM(*blockCtx, statedb, types.DefaultChainConfig().EthereumConfig(am.keeper.ChainID(ctx)), vm.Config{}, am.keeper.CustomPrecompiles()) | ||
core.ProcessParentBlockHash(parentHash, vmenv) | ||
_, err = statedb.Finalize() |
Check warning
Code scanning / CodeQL
Panic in BeginBock or EndBlock consensus methods Warning
path flow from Begin/EndBlock to a panic call
path flow from Begin/EndBlock to a panic call
path flow from Begin/EndBlock to a panic call
path flow from Begin/EndBlock to a panic call
core.ProcessParentBlockHash(parentHash, vmenv) | ||
_, err = statedb.Finalize() | ||
if err != nil { | ||
panic(err) |
Check warning
Code scanning / CodeQL
Panic in BeginBock or EndBlock consensus methods Warning
5a6f46a
to
17e5859
Compare
0e37bdc
to
83ebdf3
Compare
83ebdf3
to
47468ef
Compare
Describe your changes and provide context
wip
Testing performed to validate your change
wip