Skip to content

Commit 2e748fb

Browse files
authored
Merge pull request #2197 from zeevick10/main
fix typo in subtype string and update Contributor Covenant link
2 parents 62b70d5 + 01568f0 commit 2e748fb

File tree

4 files changed

+5
-5
lines changed

4 files changed

+5
-5
lines changed

CODE_OF_CONDUCT.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ Project maintainers who do not follow or enforce the Code of Conduct in good fai
4040

4141
## Attribution
4242

43-
This Code of Conduct is adapted from the [Contributor Covenant][homepage], version 1.4, available at [http://contributor-covenant.org/version/1/4][version]
43+
This Code of Conduct is adapted from the [Contributor Covenant][homepage], version 1.4, available at [Contributor Covenant 1.4][version]
4444

4545
[homepage]: http://contributor-covenant.org
4646
[version]: http://contributor-covenant.org/version/1/4/

x/wasm/keeper/authz_policy_test.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ func TestDefaultAuthzPolicyCanCreateCode(t *testing.T) {
4040
contractInstConf: types.AllowEverybody,
4141
exp: false,
4242
},
43-
"contract config - subtype": {
43+
"contract config - subtype": {
4444
chainConfigs: types.NewChainAccessConfigs(types.AllowEverybody, types.AllowEverybody),
4545
contractInstConf: types.AccessTypeAnyOfAddresses.With(myActorAddress),
4646
exp: true,
@@ -213,7 +213,7 @@ func TestGovAuthzPolicyCanCreateCode(t *testing.T) {
213213
chainConfigs: types.NewChainAccessConfigs(types.AccessTypeAnyOfAddresses.With(otherAddress), types.AllowEverybody),
214214
contractInstConf: types.AllowEverybody,
215215
},
216-
"contract config - subtype": {
216+
"contract config - subtype": {
217217
chainConfigs: types.NewChainAccessConfigs(types.AllowEverybody, types.AllowEverybody),
218218
contractInstConf: types.AccessTypeAnyOfAddresses.With(myActorAddress),
219219
},

x/wasm/keeper/contract_keeper.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ type decoratedKeeper interface {
3232
execute(ctx context.Context, contractAddress, caller sdk.AccAddress, msg []byte, coins sdk.Coins) ([]byte, error)
3333
Sudo(ctx context.Context, contractAddress sdk.AccAddress, msg []byte) ([]byte, error)
3434
setContractInfoExtension(ctx context.Context, contract sdk.AccAddress, extra types.ContractInfoExtension) error
35-
setAccessConfig(ctx context.Context, codeID uint64, caller sdk.AccAddress, newConfig types.AccessConfig, autz types.AuthorizationPolicy) error
35+
setAccessConfig(ctx context.Context, codeID uint64, caller sdk.AccAddress, newConfig types.AccessConfig, authz types.AuthorizationPolicy) error
3636
ClassicAddressGenerator() AddressGenerator
3737
}
3838

x/wasm/keeper/handler_plugin_encoders_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -924,7 +924,7 @@ func TestConvertWasmCoinToSdkCoin(t *testing.T) {
924924
},
925925
expErr: true,
926926
},
927-
"invalid demum char": {
927+
"invalid denom char": {
928928
src: wasmvmtypes.Coin{
929929
Denom: "&fff",
930930
Amount: "1",

0 commit comments

Comments
 (0)