Skip to content

Commit

Permalink
Fixes.
Browse files Browse the repository at this point in the history
  • Loading branch information
DariuszDepta committed Oct 12, 2023
1 parent d8fe3f9 commit f79a694
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions x/wasm/keeper/addresses_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@ func TestBuildContractAddressClassic(t *testing.T) {
t.Cleanup(func() {
sdk.GetConfig().SetBech32PrefixForAccount(x, y)
})
// set custom Bech32 settings
sdk.GetConfig().SetBech32PrefixForAccount("purple", "purple")

// prepare test data
type Spec struct {
In struct {
Expand All @@ -39,7 +39,7 @@ func TestBuildContractAddressClassic(t *testing.T) {
gotAddr := BuildContractAddressClassic(spec.In.CodeId, spec.In.InstanceId)
// then
require.Equal(t, spec.Out.Address.String(), gotAddr.String())
//require.NoError(t, sdk.VerifyAddressFormat(gotAddr))
require.NoError(t, sdk.VerifyAddressFormat(gotAddr))
})
}
}
Expand Down

0 comments on commit f79a694

Please sign in to comment.