Lazy reaping types & updates (#1914)

* Lazy reaping types & updates

* system.account queries

* AccountInfo -> ContractAccountInfo tests
This commit is contained in:
Jaco Greeff
2020-02-21 12:37:17 +01:00
committed by GitHub
parent cb175b4bde
commit 85ec141b56
12 changed files with 76 additions and 25 deletions
+1 -1
View File
@@ -95,7 +95,7 @@ export function createImports (importDefinitions: Record<string, object>, { type
Object.keys(moduleDef.types).forEach((type): void => {
if (typeToModule[type]) {
throw new Error(`Duplicated type: ${type}. Modules: ${name}, ${typeToModule[type]}`);
throw new Error(`Duplicated type: ${type}, found in: ${name}, ${typeToModule[type]}`);
}
typeToModule[type] = name;