Skip to content

Commit

Permalink
Merge pull request #171 from lidofinance/feat/reveret-v5
Browse files Browse the repository at this point in the history
Revert "Merge pull request #164 from lidofinance/feat/depositor-rework"
  • Loading branch information
F4ever authored Sep 8, 2023
2 parents 31512d7 + 0e52d3f commit 9ef0c94
Show file tree
Hide file tree
Showing 87 changed files with 1,993 additions and 6,773 deletions.
33 changes: 0 additions & 33 deletions .env.example

This file was deleted.

20 changes: 2 additions & 18 deletions .github/workflows/tests_and_checks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,25 +26,9 @@ jobs:
run: |
poetry install
- name: Unit Tests with pytest
- name: Test with pytest
run: |
poetry run pytest tests -m unit
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
- run: npm install --save-dev hardhat

- name: Run hardhat
run: |
npx hardhat node --fork ${{ secrets.WEB3_RPC_ENDPOINT }} &
- name: Integration Tests with pytest
run: |
poetry run pytest tests -m integration
env:
WEB3_RPC_ENDPOINTS: http://127.0.0.1:8545
DEPOSIT_CONTRACT: "0xff50ed3d0ec03aC01D4C79aAd74928BFF48a7b2b"
LIDO_LOCATOR: "0x1eDf09b5023DC86737b59dE68a8130De878984f5"
poetry run pytest tests
security:
uses: lidofinance/linters/.github/workflows/security.yml@master
Expand Down
2 changes: 0 additions & 2 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -137,5 +137,3 @@ debug.log

#cache
deposit_contract_cache/

node_modules/
197 changes: 64 additions & 133 deletions README.md

Large diffs are not rendered by default.

24 changes: 10 additions & 14 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,15 +8,12 @@ services:
ports:
- 127.0.0.1:9000:9000
environment:
- WEB3_RPC_ENDPOINTS=${WEB3_RPC_ENDPOINTS}
- NETWORK=${NETWORK}
- WALLET_PRIVATE_KEY=${WALLET_PRIVATE_KEY}
- CREATE_TRANSACTIONS=${CREATE_TRANSACTIONS}
- TRANSPORTS=${TRANSPORTS}
- RABBIT_MQ_URL=${RABBIT_MQ_URL}
- RABBIT_MQ_USERNAME=${RABBIT_MQ_USERNAME}
- RABBIT_MQ_PASSWORD=${RABBIT_MQ_PASSWORD}
- FLASHBOTS_RPC=${FLASHBOTS_RPC}
- FLASHBOT_SIGNATURE=${FLASHBOT_SIGNATURE}
- KAFKA_BROKER_ADDRESS_1=${KAFKA_BROKER_ADDRESS_1}
- KAFKA_USERNAME=${KAFKA_USERNAME}
- KAFKA_PASSWORD=${KAFKA_PASSWORD}
- KAFKA_TOPIC=${KAFKA_TOPIC}
command: src/depositor.py

lido-pause-bot:
Expand All @@ -27,11 +24,10 @@ services:
ports:
- 127.0.0.1:9001:9000
environment:
- WEB3_RPC_ENDPOINTS=${WEB3_RPC_ENDPOINTS}
- NETWORK=${NETWORK}
- WALLET_PRIVATE_KEY=${WALLET_PRIVATE_KEY}
- CREATE_TRANSACTIONS=${CREATE_TRANSACTIONS}
- TRANSPORTS=${TRANSPORTS}
- RABBIT_MQ_URL=${RABBIT_MQ_URL}
- RABBIT_MQ_USERNAME=${RABBIT_MQ_USERNAME}
- RABBIT_MQ_PASSWORD=${RABBIT_MQ_PASSWORD}
- KAFKA_BROKER_ADDRESS_1=${KAFKA_BROKER_ADDRESS_1}
- KAFKA_USERNAME=${KAFKA_USERNAME}
- KAFKA_PASSWORD=${KAFKA_PASSWORD}
- KAFKA_TOPIC=${KAFKA_TOPIC}
command: src/pauser.py
15 changes: 0 additions & 15 deletions hardhat.config.js

This file was deleted.

Loading

0 comments on commit 9ef0c94

Please sign in to comment.