diff --git a/schema.graphql b/schema.graphql index 5946cdf..59728b6 100644 --- a/schema.graphql +++ b/schema.graphql @@ -100,7 +100,7 @@ type Upgrade @entity { # End – default data block impl: Bytes - version: String + version: String! type: String } diff --git a/src/ERC1155Mappings/factoryMappings.ts b/src/ERC1155Mappings/factoryMappings.ts index 02b04ce..ef87cd4 100644 --- a/src/ERC1155Mappings/factoryMappings.ts +++ b/src/ERC1155Mappings/factoryMappings.ts @@ -113,7 +113,7 @@ export function handle1155FactoryUpgraded(event: Upgraded): void { upgrade.block = event.block.number; upgrade.timestamp = event.block.timestamp; upgrade.impl = event.params.implementation; - upgrade.version = creator.contractVersion() + upgrade.version = creator.contractVersion(); upgrade.address = event.address; upgrade.type = "1155Factory";