We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5f0b5ef commit 0cf7c01Copy full SHA for 0cf7c01
x/wasm/types/types.go
@@ -20,12 +20,13 @@ const (
20
defaultSmartQueryGasLimit uint64 = 3_000_000
21
defaultContractDebugMode = false
22
23
- // ContractAddrLen defines a valid address length for contracts
24
- ContractAddrLen = 32
25
// SDKAddrLen defines a valid address length that was used in sdk address generation
26
SDKAddrLen = 20
27
)
28
+// ContractAddrLen defines a valid address length for contracts
+var ContractAddrLen = 32
29
+
30
func (m Model) ValidateBasic() error {
31
if len(m.Key) == 0 {
32
return errorsmod.Wrap(ErrEmpty, "key")
0 commit comments