From 6d71f6464809b2244b860f0929deede953f1afcd Mon Sep 17 00:00:00 2001 From: PatrickAlphaC <54278053+PatrickAlphaC@users.noreply.github.com> Date: Thu, 12 Sep 2024 18:38:50 -0400 Subject: [PATCH] fix: test_abi formatting --- boa/contracts/abi/abi_contract.py | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/boa/contracts/abi/abi_contract.py b/boa/contracts/abi/abi_contract.py index e32c0357..1b6531a1 100644 --- a/boa/contracts/abi/abi_contract.py +++ b/boa/contracts/abi/abi_contract.py @@ -365,13 +365,18 @@ def functions(self): def from_abi_dict(cls, abi, name="", filename=None): return cls(name, abi, filename) - def at(self, address: Address | str, suppress_warning: bool= False) -> ABIContract: + def at(self, address: Address | str, suppress_warning: bool = False) -> ABIContract: """ Create an ABI contract object for a deployed contract at `address`. """ address = Address(address) contract = ABIContract( - self._name, self._abi, self.functions, address, self.filename, suppress_warning=suppress_warning + self._name, + self._abi, + self.functions, + address, + self.filename, + suppress_warning=suppress_warning ) contract.env.register_contract(address, contract)