From c7f0bb04cd60585d3a2f6199937bdbb1f961cdad Mon Sep 17 00:00:00 2001 From: cairo <101215230+cairoeth@users.noreply.github.com> Date: Sat, 16 Mar 2024 16:13:13 -0500 Subject: [PATCH] =?UTF-8?q?=F0=9F=90=9B=20starknet=20fixed=20seed?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- paradigmctf.py/ctf_launchers/launcher.py | 2 -- paradigmctf.py/ctf_server/types/__init__.py | 1 + 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/paradigmctf.py/ctf_launchers/launcher.py b/paradigmctf.py/ctf_launchers/launcher.py index 0264299..dbe26f8 100644 --- a/paradigmctf.py/ctf_launchers/launcher.py +++ b/paradigmctf.py/ctf_launchers/launcher.py @@ -127,8 +127,6 @@ def launch_instance(self) -> int: credentials = [["0x64b48806902a367c8598f4f95c305e8c1a1acba5f082d294a43793113115691", "0x71d7bb07b9a64f6f78ac4c816aff4da9"], ["0x78662e7352d062084b0010068b99288486c2d8b914f6e2a55ce945f8792c8b1", "0xe1406455b7d66b1690803be066cbe5e"]] - # credentials = self.get_credentials(web3.provider.endpoint_uri) - challenge_addr = self.deploy_cairo(user_data, credentials) priv_key = credentials[1][1] elif self.type == "nitro": diff --git a/paradigmctf.py/ctf_server/types/__init__.py b/paradigmctf.py/ctf_server/types/__init__.py index 9662118..12fa73c 100644 --- a/paradigmctf.py/ctf_server/types/__init__.py +++ b/paradigmctf.py/ctf_server/types/__init__.py @@ -70,6 +70,7 @@ def format_starknet_args(args: LaunchAnvilInstanceArgs, anvil_id: str, port: int cmd_args += ["--host", "0.0.0.0"] cmd_args += ["--port", str(port)] cmd_args += ["--accounts", "2"] + cmd_args += ["--seed", "0"] return cmd_args