Skip to content

Commit

Permalink
Add comment
Browse files Browse the repository at this point in the history
Co-authored-by: Simon Warta <[email protected]>
  • Loading branch information
chipshort and webmaster128 authored Jul 4, 2024
1 parent 93c3bff commit 6d6303f
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions x/wasm/keeper/keeper.go
Original file line number Diff line number Diff line change
Expand Up @@ -559,6 +559,8 @@ func (k Keeper) migrate(
))

var data []byte

// if migrate entry point was called
if response != nil {
sdkCtx = types.WithSubMsgAuthzPolicy(sdkCtx, authZ.SubMessageAuthorizationPolicy(types.AuthZActionMigrateContract))
data, err = k.handleContractResponse(
Expand Down

0 comments on commit 6d6303f

Please sign in to comment.