diff --git a/Makefile b/Makefile index c9314b1d..9f3d6019 100644 --- a/Makefile +++ b/Makefile @@ -63,14 +63,11 @@ __CLI__: ## cli-setup-operator: export OPERATOR_BLS_KEY_PASSWORD=$(OPERATOR_BLS_KEY_PASS) cli-setup-operator: export OPERATOR_ECDSA_KEY_PASSWORD=$(OPERATOR_ECDSA_KEY_PASS) -cli-setup-operator: send-fund cli-register-operator-with-eigenlayer cli-deposit-into-mocktoken-strategy cli-register-operator-with-avs ## registers operator with eigenlayer and avs +cli-setup-operator: send-fund cli-register-operator-with-eigenlayer cli-register-operator-with-avs ## registers operator with eigenlayer and avs cli-register-operator-with-eigenlayer: ## registers operator with delegationManager go run cli/main.go --config config-files/operator.anvil.yaml register-operator-with-eigenlayer -cli-deposit-into-mocktoken-strategy: ## - ./scripts/deposit-into-mocktoken-strategy.sh - cli-register-operator-with-avs: ## go run cli/main.go --config config-files/operator.anvil.yaml register-operator-with-avs diff --git a/contracts/generate-go-bindings.sh b/contracts/generate-go-bindings.sh index 473786ff..c768ddd6 100755 --- a/contracts/generate-go-bindings.sh +++ b/contracts/generate-go-bindings.sh @@ -19,6 +19,7 @@ function create_binding { rm -rf tmp } +(cd ./evm && npm ci) rm -rf bindings/* forge build --root ./evm diff --git a/scripts/deposit-into-mocktoken-strategy.sh b/scripts/deposit-into-mocktoken-strategy.sh deleted file mode 100755 index c3724f6d..00000000 --- a/scripts/deposit-into-mocktoken-strategy.sh +++ /dev/null @@ -1,17 +0,0 @@ -#!/bin/bash - -RPC_URL=http://localhost:8545 -PRIVATE_KEY=0xac0974bec39a17e36ba4a6b4d238ff944bacb478cbed5efcae784d7bf4f2ff80 - -# cd to the directory of this script so that this can be run from anywhere -parent_path=$( - cd "$(dirname "${BASH_SOURCE[0]}")" - pwd -P -) -cd $parent_path/.. - -CHAINID=31337 -DEPLOYMENT_OUTPUT_FILE=./contracts/evm/script/output/${CHAINID}/sffl_avs_deployment_output.json -STRATEGY_ADDRESS=$(jq -r '.addresses.erc20MockStrategy' $DEPLOYMENT_OUTPUT_FILE) - -go run cli/main.go --config config-files/operator.anvil.yaml deposit-into-strategy --strategy-addr ${STRATEGY_ADDRESS} --amount 100 diff --git a/tests/anvil/deploy-rollup-avs-save-anvil-state.sh b/tests/anvil/deploy-rollup-avs-save-anvil-state.sh deleted file mode 100755 index e2dac8df..00000000 --- a/tests/anvil/deploy-rollup-avs-save-anvil-state.sh +++ /dev/null @@ -1,16 +0,0 @@ -#!/bin/bash - -RPC_URL=http://localhost:8545 -PRIVATE_KEY=0x2a871d0798f97d79848a013d4936a73bf4cc922c825d33c1cf7073dff6d409c6 - -# cd to the directory of this script so that this can be run from anywhere -parent_path=$( cd "$(dirname "${BASH_SOURCE[0]}")" ; pwd -P ) -cd "$parent_path" - -# start an anvil instance in the background that has eigenlayer contracts deployed -anvil --dump-state data/rollup-avs-deployed-anvil-state.json & -cd ../../contracts/evm -forge script script/deploy/devnet/SFFLDeployerRollup.s.sol --rpc-url $RPC_URL --private-key $PRIVATE_KEY --broadcast -v - -# kill anvil to save its state -pkill anvil diff --git a/tests/anvil/operator-registration.sh b/tests/anvil/operator-registration.sh deleted file mode 100644 index 9b313fd1..00000000 --- a/tests/anvil/operator-registration.sh +++ /dev/null @@ -1,3 +0,0 @@ -#!/bin/bash - -cd ../../ && make cli-setup-operator \ No newline at end of file