-
Notifications
You must be signed in to change notification settings - Fork 91
Open
Description
Issue
Run the babyrev challenge, nc babyrev 31337 31338, then connecting to it with nc localhost 31337 will encounter the following error:
Traceback (most recent call last):
File "/home/ctf/chal.py", line 5, in <module>
eth_sandbox.new_launch_instance_action(deploy_value=Web3.toWei(50, 'ether')),
TypeError: new_launch_instance_action() got an unexpected keyword argument
Cause
I believe the commit 46974f8 updated the infra to build images with the code from https://github.com/paradigmxyz/paradigm-ctf-infrastructure, but the eth_sandbox package there is not compatible with 2021 CTF.
chal.py in babyrev:
paradigm-ctf-2021/babyrev/public/deploy/chal.py
Lines 4 to 7 in eedc32d
| eth_sandbox.run_launcher([ | |
| eth_sandbox.new_launch_instance_action(deploy_value=Web3.toWei(50, 'ether')), | |
| eth_sandbox.new_get_flag_action() | |
| ]) |
Signature of eth_sandbox.new_launch_instance_action in paradigm-ctf-infrastructure
def new_launch_instance_action(
do_deploy: Callable[[Web3, str], str],
):
0xrubes
Metadata
Metadata
Assignees
Labels
No labels