Skip to content

Commit 5c1969a

Browse files
committed
Update factory to call the updated Autonity.getConfig function
1 parent a6f3cbc commit 5c1969a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

autonity/factory.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -239,7 +239,7 @@ def _config(w3: Web3) -> autonity.Config:
239239
f"version {w3.client_version}"
240240
)
241241

242-
config = autonity.Autonity(w3, AUTONITY_CONTRACT_ADDRESS).config()
242+
config = autonity.Autonity(w3, AUTONITY_CONTRACT_ADDRESS).get_config()
243243
if config.contract_version != AUTONITY_CONTRACT_VERSION:
244244
raise RuntimeError(
245245
f"Contract version mismatch: autonity.py {__version__} supports "

0 commit comments

Comments
 (0)