File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -175,8 +175,8 @@ func WithAcceptedAccountTypesOnContractInstantiation(accts ...sdk.AccountI) Opti
175
175
})
176
176
}
177
177
178
- // WitGovSubMsgAuthZPropagated overwrites the default gov authorization policy for sub-messages
179
- func WitGovSubMsgAuthZPropagated (entries ... types.AuthorizationPolicyAction ) Option {
178
+ // WithGovSubMsgAuthZPropagated overwrites the default gov authorization policy for sub-messages
179
+ func WithGovSubMsgAuthZPropagated (entries ... types.AuthorizationPolicyAction ) Option {
180
180
x := make (map [types.AuthorizationPolicyAction ]struct {}, len (entries ))
181
181
for _ , e := range entries {
182
182
x [e ] = struct {}{}
Original file line number Diff line number Diff line change @@ -139,7 +139,7 @@ func TestConstructorOptions(t *testing.T) {
139
139
},
140
140
},
141
141
"gov propagation" : {
142
- srcOpt : WitGovSubMsgAuthZPropagated (types .AuthZActionInstantiate , types .AuthZActionMigrateContract ),
142
+ srcOpt : WithGovSubMsgAuthZPropagated (types .AuthZActionInstantiate , types .AuthZActionMigrateContract ),
143
143
verify : func (t * testing.T , k Keeper ) {
144
144
exp := map [types.AuthorizationPolicyAction ]struct {}{
145
145
types .AuthZActionInstantiate : {},
You can’t perform that action at this time.
0 commit comments