Skip to content

multitest: Enforce validity checks for returned items #341

@ethanfrey

Description

@ethanfrey

wasmd enforced some constraints on the data we return. Let's assert them in multitest as well to help shake out bugs earlier. Some items:

  • Label in WasmMsg::Instantiate cannot be empty ("")
  • Returned attributes (also inside events) cannot have empty key or empty value
  • Returned attributes (also inside events) cannot start with _ (wasmd 0.18)
  • Returned events must have a type of length >= 2

Please add any more constraints here as you notice them in wasmd

Related to #348 (maybe both resolved in one PR?)

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions