Skip to content

Commit

Permalink
🎨 Replace obsolete default_chain in templates
Browse files Browse the repository at this point in the history
  • Loading branch information
michprev committed Dec 12, 2024
1 parent bb7737b commit 423f941
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
4 changes: 2 additions & 2 deletions wake/templates/scripts/deploy.py
Original file line number Diff line number Diff line change
Expand Up @@ -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"))
3 changes: 2 additions & 1 deletion wake/templates/tests/test_default.py
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 423f941

Please sign in to comment.