Block validation: Block validation failed for `my-block`

Since Gutenberg is currently in development mode, Things will break and there won’t be standard set of rules and guidelines NOT until it merges into Core. I have faced the same problem, Changing a thing here and there breaks the current block and it’s frustrating as hell.

Until then devs like us have to put up with nuisance like these. If you need more example of how the Core blocks do it here’s one – WordPress Core Block