mirror of https://github.com/certusone/wasmd.git
Merge pull request #219 from CosmWasm/better-msg-json
Store Message ignores missing permission field from JSON Encoding
This commit is contained in:
commit
d0645f3608
|
@ -16,7 +16,7 @@ type MsgStoreCode struct {
|
|||
// Builder is a valid docker image name with tag, optional
|
||||
Builder string `json:"builder" yaml:"builder"`
|
||||
// InstantiatePermission to apply on contract creation, optional
|
||||
InstantiatePermission *AccessConfig `json:"instantiate_permission" yaml:"instantiate_permission"`
|
||||
InstantiatePermission *AccessConfig `json:"instantiate_permission,omitempty" yaml:"instantiate_permission"`
|
||||
}
|
||||
|
||||
func (msg MsgStoreCode) Route() string {
|
||||
|
|
Loading…
Reference in New Issue