-
Notifications
You must be signed in to change notification settings - Fork 21
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(callback): cherrypick callback module #109
feat(callback): cherrypick callback module #109
Conversation
…ion of wasm contracts (dymensionxyz#99) Co-authored-by: rockstarRhino <“[email protected]”> Co-authored-by: Spoorthi <[email protected]>
k.IterateSudoErrorCallbacks(ctx, sudoErrorCallbackExec(ctx, k, wk)) | ||
// Prune any error callback subscripitons that have expired in the current block height | ||
if err := k.PruneSubscriptionsEndBlock(ctx); err != nil { | ||
panic(err) |
Check warning
Code scanning / CodeQL
Panic in BeginBock or EndBlock consensus methods Warning
k.IterateSudoErrorCallbacks(ctx, sudoErrorCallbackExec(ctx, k, wk)) | ||
// Prune any error callback subscripitons that have expired in the current block height | ||
if err := k.PruneSubscriptionsEndBlock(ctx); err != nil { | ||
panic(err) |
Check warning
Code scanning / CodeQL
Panic in BeginBock or EndBlock consensus methods Warning
} | ||
// Prune any errors(in state) that have expired in the current block height | ||
if err := k.PruneErrorsCurrentBlock(ctx); err != nil { | ||
panic(err) |
Check warning
Code scanning / CodeQL
Panic in BeginBock or EndBlock consensus methods Warning
} | ||
// Prune any errors(in state) that have expired in the current block height | ||
if err := k.PruneErrorsCurrentBlock(ctx); err != nil { | ||
panic(err) |
Check warning
Code scanning / CodeQL
Panic in BeginBock or EndBlock consensus methods Warning
|
||
// EndBlock returns the end blocker for the module. It returns no validator updates. | ||
func (a AppModule) EndBlock(ctx sdk.Context, _ abci.RequestEndBlock) []abci.ValidatorUpdate { | ||
return EndBlocker(ctx, a.keeper, a.wasmKeeper) |
Check warning
Code scanning / CodeQL
Panic in BeginBock or EndBlock consensus methods Warning
path flow from Begin/EndBlock to a panic call
a07e899
into
dymensionxyz:release/v1.0.x
…ion of wasm contracts (#99)
Description
Closes #XXX
All items are required. Please add a note to the item if the item is not applicable and
please add links to any relevant follow-up issues.
PR review checkboxes:
I have...
Unreleased
section inCHANGELOG.md
godoc
commentsSDK Checklist
map
time.Now()
sendCoin
and notSendCoins
Full security checklist here
----;
For Reviewer:
---;
After reviewer approval: