From 556af0931fc09060c9460cf7164ecc652a3132e2 Mon Sep 17 00:00:00 2001 From: thedavidmeister Date: Sun, 7 Jan 2024 22:56:43 +0400 Subject: [PATCH] debug deploy --- flake.nix | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/flake.nix b/flake.nix index 17e79965b..7966ed9e5 100644 --- a/flake.nix +++ b/flake.nix @@ -14,10 +14,13 @@ in rec { packages = rec { deploy-single-contract = contract: '' - forge script script/Deploy${contract}.sol:Deploy${contract} --legacy --verify --broadcast --rpc-url "''${CI_DEPLOY_RPC_URL}" --etherscan-api-key "''${EXPLORER_VERIFICATION_KEY}" \ - --sig='run(bytes)' \ - "$( ${(build-meta-cmd contract)} -E hex )" \ - ; + forge script script/Deploy${contract}.sol:Deploy${contract} \ + --legacy \ + --verify \ + --broadcast \ + --rpc-url "''${CI_DEPLOY_RPC_URL}" \ + --etherscan-api-key "''${EXPLORER_VERIFICATION_KEY}" \ + ; ''; deploy-contracts = rainix.mkTask.${system} { name = "deploy-contracts"; body = (''