Explicit tie of metadata to registry (not implicit) (#2621)

* Explicit tie of metadata to registry (not implicit)

* Update type generation

* Test updates

* Revert non-problematic

* Cleanup mocks

* Updata metadata tests

* CHANGELOG

* linting
This commit is contained in:
Jaco Greeff
2020-09-17 23:15:09 +02:00
committed by GitHub
parent cdd6544e20
commit b56c1a8282
26 changed files with 84 additions and 50 deletions
@@ -40,8 +40,6 @@ export default class MetadataVersioned extends Struct {
magicNumber: MagicNumber,
metadata: 'MetadataAll'
}, value as Map<unknown, unknown>);
registry.setMetadata(this);
}
private _assertVersion (version: number): boolean {