-
Notifications
You must be signed in to change notification settings - Fork 52
Problem: params not cached in object store #454
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
Conversation
k.WithChainID(ctx) | ||
|
||
// cache params object | ||
_ = k.GetParams(ctx) |
Check warning
Code scanning / CodeQL
Panic in BeginBock or EndBlock consensus methods
store := k.storeService.OpenKVStore(ctx) | ||
bz, err := store.Get(types.KeyPrefixParams) | ||
if err != nil { | ||
panic(err) |
Check warning
Code scanning / CodeQL
Panic in BeginBock or EndBlock consensus methods
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## develop #454 +/- ##
===========================================
+ Coverage 62.79% 62.92% +0.13%
===========================================
Files 127 127
Lines 12038 12067 +29
===========================================
+ Hits 7559 7593 +34
+ Misses 3936 3933 -3
+ Partials 543 541 -2
|
Solution: - save the cost of repeated encoding/decoding during the block execution - also migrate existing transient stores to object stores Update CHANGELOG.md Signed-off-by: yihuang <[email protected]> Update x/feemarket/types/keys.go Signed-off-by: yihuang <[email protected]> renmae fix test
Solution:
Closes: #XXX
Description
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)