Skip to content

Commit ffd0f75

Browse files
committed
fix: oops
1 parent 96be1ff commit ffd0f75

1 file changed

Lines changed: 1 addition & 7 deletions

File tree

src/ape/managers/compilers.py

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -294,13 +294,7 @@ def enrich_error(self, err: ContractLogicError) -> ContractLogicError:
294294
return err
295295

296296
compiler = self.registered_compilers[ext]
297-
err = compiler.enrich_error(err)
298-
if f"{err}".startswith("0x"):
299-
# Still not enriched.
300-
for error in self.chain_manager.contracts:
301-
if contract_type and f"{err}" in contract_type.errors:
302-
breakpoint()
303-
x = 3
297+
return compiler.enrich_error(err)
304298

305299
# No further enrichment.
306300
return err

0 commit comments

Comments
 (0)