From fccf9836971afe9bc16a2f239937fb2a0bf67ba3 Mon Sep 17 00:00:00 2001 From: helloibis <108302637+helloibis@users.noreply.github.com> Date: Wed, 2 Nov 2022 16:02:44 -0500 Subject: [PATCH] fix: pcmap type declaration (#50) --- ethpm_types/contract_type.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ethpm_types/contract_type.py b/ethpm_types/contract_type.py index c27f636..457678a 100644 --- a/ethpm_types/contract_type.py +++ b/ethpm_types/contract_type.py @@ -343,7 +343,7 @@ class ContractType(BaseModel): **NOTE**: This is not part of the canonical EIP-2678 spec. """ - pcmap: Optional[Dict[str, PCMapItem]] = None + pcmap: Optional[PCMap] = None """ The program counter map representing which lines in the source code account for which instructions in the bytecode.