-
Notifications
You must be signed in to change notification settings - Fork 43
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
Problem: parallel transaction execution is not supported #414
Conversation
rpc/stream/rpc.go
Outdated
@@ -92,7 +92,7 @@ | |||
return nil, err | |||
} | |||
|
|||
go s.start(&s.wg, chHeaders, chTx, chLogs) | |||
go s.start(&s.wg, chBlocks, chTx, chLogs) |
Check notice
Code scanning / CodeQL
Spawning a Go routine Note
x/evm/module.go
Outdated
func (am AppModule) BeginBlock(ctx sdk.Context, req abci.RequestBeginBlock) { | ||
am.keeper.BeginBlock(ctx, req) | ||
func (am AppModule) BeginBlock(ctx context.Context) error { | ||
return am.keeper.BeginBlock(sdk.UnwrapSDKContext(ctx)) |
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
x/feemarket/module.go
Outdated
func (am AppModule) BeginBlock(ctx sdk.Context, req abci.RequestBeginBlock) { | ||
am.keeper.BeginBlock(ctx, req) | ||
func (am AppModule) BeginBlock(ctx context.Context) error { | ||
return am.keeper.BeginBlock(sdk.UnwrapSDKContext(ctx)) |
Check warning
Code scanning / CodeQL
Panic in BeginBock or EndBlock consensus methods Warning
for _, key := range app.keys { | ||
keys = append(keys, key) | ||
} |
Check warning
Code scanning / CodeQL
Iteration over map Warning
for _, key := range app.tkeys { | ||
keys = append(keys, key) | ||
} |
Check warning
Code scanning / CodeQL
Iteration over map Warning
af6bc09
to
c618235
Compare
9b11664
to
2e734ed
Compare
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## develop #414 +/- ##
===========================================
+ Coverage 62.94% 63.39% +0.44%
===========================================
Files 127 127
Lines 12062 9599 -2463
===========================================
- Hits 7593 6085 -1508
+ Misses 3930 2977 -953
+ Partials 539 537 -2
|
put to draft for now until we get the sdk ready. |
2850251
to
4ae414b
Compare
for _, key := range app.memKeys { | ||
keys = append(keys, key) | ||
} |
Check warning
Code scanning / CodeQL
Iteration over map Warning
for _, key := range app.okeys { | ||
keys = append(keys, key) | ||
} |
Check warning
Code scanning / CodeQL
Iteration over map Warning
- integrate go-block-stm as tx executor - small optimiations fix
Signed-off-by: yihuang <[email protected]>
Signed-off-by: yihuang <[email protected]>
Closes: #432
Description
Integrate go-block-stm to do parallel tx execution.
For contributor use:
docs/
) or specification (x/<module>/spec/
)godoc
comments.Unreleased
section inCHANGELOG.md
Files changed
in the Github PR explorerFor admin use:
WIP
,R4R
,docs
, etc)