From d69f8f737917152e45f2f5401269c060d72a170b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?L=C3=A9o=20Vincent?= <28714795+leovct@users.noreply.github.com> Date: Thu, 25 Apr 2024 15:32:51 +0200 Subject: [PATCH] feat: make l1 funding amount configurable (#85) --- params.yml | 1 + templates/contract-deploy/run-contract-setup.sh | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/params.yml b/params.yml index f7fd56467..cff5dba66 100644 --- a/params.yml +++ b/params.yml @@ -145,6 +145,7 @@ args: ## L1 configuration. l1_chain_id: 271828 l1_preallocated_mnemonic: code code code code code code code code code code code quality + l1_funding_amount: 100ether l1_rpc_url: http://el-1-geth-lighthouse:8545 l1_ws_url: ws://el-1-geth-lighthouse:8546 # https://github.com/kurtosis-tech/ethereum-package/tree/main?tab=readme-ov-file#configuration diff --git a/templates/contract-deploy/run-contract-setup.sh b/templates/contract-deploy/run-contract-setup.sh index 7480c89d7..3538939a5 100755 --- a/templates/contract-deploy/run-contract-setup.sh +++ b/templates/contract-deploy/run-contract-setup.sh @@ -28,7 +28,7 @@ fund_account_on_l1() { cast send \ --rpc-url "{{.l1_rpc_url}}" \ --mnemonic "{{.l1_preallocated_mnemonic}}" \ - --value "100ether" \ + --value "{{.l1_funding_amount}}" \ "$address" }