-
Notifications
You must be signed in to change notification settings - Fork 88
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* add CI integration test * add insecure * remove less and add ci * sudo and file * sudo and file * refactor and pipe * key file loc * split tasks * folder * check status * eigensdk update * eigensdk revert
- Loading branch information
1 parent
288455a
commit 31e3020
Showing
8 changed files
with
127 additions
and
60 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,59 @@ | ||
name: integration-test | ||
|
||
on: | ||
push: | ||
branches: | ||
- master | ||
pull_request: | ||
|
||
jobs: | ||
Test: | ||
name: Integration Test | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/setup-go@v4 | ||
with: | ||
go-version: '1.21' | ||
- name: Install Foundry | ||
uses: foundry-rs/foundry-toolchain@v1 | ||
with: | ||
version: nightly | ||
- name: Checkout incredible squaring | ||
uses: actions/checkout@v4 | ||
with: | ||
repository: layr-labs/incredible-squaring-avs | ||
token: ${{ github.token }} | ||
ref: master | ||
- name: Run anvil chain | ||
run: | | ||
nohup make start-anvil-chain-with-el-and-avs-deployed > nohup.out 2>&1 & | ||
sleep 5 | ||
- name: Install EigenLayer CLI | ||
uses: actions/checkout@v4 | ||
with: | ||
path: eigenlayer-cli | ||
- name: Install less | ||
run: | | ||
sudo apt update | ||
sudo apt-get install less | ||
- name: Install EigenLayer CLI | ||
run: | | ||
cd eigenlayer-cli | ||
make build | ||
./bin/eigenlayer --version | ||
- name: Import Operator Keys and send funds | ||
run: | | ||
cd eigenlayer-cli | ||
echo "" | ./bin/eigenlayer operator keys import --key-type ecdsa --insecure opr0 ea25637d76e7ddae9dab9bfac7467d76a1e3bf2d67941b267edc60f2b80d9413 | cat | ||
cast send 0xcaB1b44dd1f1C265405878Ac1179cd94D0dBA634 --value 10ether --private-key 0x2a871d0798f97d79848a013d4936a73bf4cc922c825d33c1cf7073dff6d409c6 | ||
- name: Register Operator | ||
run: | | ||
cd eigenlayer-cli | ||
echo "" | ./bin/eigenlayer operator register operator-ci.yaml | ||
- name: Check operator status | ||
run: | | ||
cd eigenlayer-cli | ||
./bin/eigenlayer operator status operator-ci.yaml |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
operator: | ||
address: 0xcaB1b44dd1f1C265405878Ac1179cd94D0dBA634 | ||
earnings_receiver_address: 0xcaB1b44dd1f1C265405878Ac1179cd94D0dBA634 | ||
delegation_approver_address: "0x0000000000000000000000000000000000000000" | ||
staker_opt_out_window_blocks: 0 | ||
metadata_url: https://madhur-test-public.s3.us-east-2.amazonaws.com/metadata.json | ||
el_delegation_manager_address: 0xCf7Ed3AccA5a467e9e704C703E8D87F634fB0Fc9 | ||
eth_rpc_url: http://localhost:8545 | ||
private_key_store_path: /home/runner/.eigenlayer/operator_keys/opr0.ecdsa.key.json | ||
signer_type: local_keystore | ||
chain_id: 31337 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters