From 423f9418de9b7124acf7a16ff4570cadcea3ff3d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Michal=20P=C5=99evr=C3=A1til?= Date: Thu, 12 Dec 2024 19:20:13 +0100 Subject: [PATCH] =?UTF-8?q?=F0=9F=8E=A8=20Replace=20obsolete=20`default=5F?= =?UTF-8?q?chain`=20in=20templates?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- wake/templates/scripts/deploy.py | 4 ++-- wake/templates/tests/test_default.py | 3 ++- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/wake/templates/scripts/deploy.py b/wake/templates/scripts/deploy.py index 5f9a25c8a..6ead707ed 100644 --- a/wake/templates/scripts/deploy.py +++ b/wake/templates/scripts/deploy.py @@ -3,6 +3,6 @@ NODE_URL = "ENTER_NODE_URL_HERE" -@default_chain.connect(NODE_URL) +@chain.connect(NODE_URL) def main(): - default_chain.set_default_accounts(Account.from_alias("deployment")) + chain.set_default_accounts(Account.from_alias("deployment")) diff --git a/wake/templates/tests/test_default.py b/wake/templates/tests/test_default.py index 13e2d40ca..b145a25ce 100644 --- a/wake/templates/tests/test_default.py +++ b/wake/templates/tests/test_default.py @@ -5,7 +5,8 @@ # if e.tx is not None: # print(e.tx.call_trace) -@default_chain.connect() + +@chain.connect() # @on_revert(revert_handler) def test_default(): pass