Skip to content

Commit

Permalink
test fix
Browse files Browse the repository at this point in the history
  • Loading branch information
F4ever committed Aug 24, 2023
1 parent 4d69820 commit 3cc8ddd
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -47,12 +47,12 @@ This deposit is executed using the depositBufferedEther function within the "Dep
| CREATE_TRANSACTIONS | false | If true then tx will be send to blockchain |
| LIDO_LOCATOR | 0xC1d0b3DE6792Bf6b4b37EccdcC24e45978Cfd2Eb | Lido Locator address. Mainnet by default. Other networks could be found [here](https://docs.lido.fi/deployed-contracts/) |
| DEPOSIT_CONTRACT | 0x00000000219ab540356cBB839Cbe05303d7705Fa | Ethereum deposit contract address |
| -------------------------------------- | -------------------------------------- | ----------------------------------------- |
| -------------------------------------- | -------------------------------------- | ----------------------------------------- |
| TRANSPORTS | - | Transports used in bot. One of/or both: rabbit/kafka |
| RABBIT_MQ_URL | - | RabbitMQ url |
| RABBIT_MQ_USERNAME | - | RabbitMQ username for virtualhost |
| RABBIT_MQ_PASSWORD | - | RabbitMQ password for virtualhost |
| -------------------------------------- | --- _kafka is not used at the moment_ --- | ----------------------------------------- |
| -------------------------------------- | --- _kafka is not used at the moment_ --- | ----------------------------------------- |
| KAFKA_BROKER_ADDRESS_1 | - | Kafka servers url and port |
| KAFKA_USERNAME | - | Kafka username |
| KAFKA_PASSWORD | - | Kafka password |
Expand Down
2 changes: 1 addition & 1 deletion tests/bots/test_depositor.py
Original file line number Diff line number Diff line change
Expand Up @@ -187,7 +187,7 @@ def test_prepare_signs_for_deposit(deposit_message, depositor_bot):
},
}

expected = [('0xc2235eb6983f80d19158f807d5d90d93abec52034ea7184bbf164ba211f00116', '0x75354ffc9fb6e7a4b4c01c622661a1d0382ace8c4ff8024626e39ac1a6a613d0'), ('0xc2235eb6983f80d19158f807d5d90d93abec52034ea7184bbf164ba211f00116', '0x75354ffc9fb6e7a4b4c01c622661a1d0382ace8c4ff8024626e39ac1a6a613d0')]
expected = (('0xc2235eb6983f80d19158f807d5d90d93abec52034ea7184bbf164ba211f00116', '0x75354ffc9fb6e7a4b4c01c622661a1d0382ace8c4ff8024626e39ac1a6a613d0'), ('0xc2235eb6983f80d19158f807d5d90d93abec52034ea7184bbf164ba211f00116', '0x75354ffc9fb6e7a4b4c01c622661a1d0382ace8c4ff8024626e39ac1a6a613d0'))

signs = depositor_bot._prepare_signs_for_deposit([second_council, deposit_message])
assert signs == expected
Expand Down
2 changes: 1 addition & 1 deletion tests/bots/test_pauser.py
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ def pause_message():
@pytest.fixture
def add_account_to_guardian(web3_lido_integration, set_integration_account):
web3_lido_integration.provider.make_request('hardhat_impersonateAccount', [DSM_OWNER])
quorum_size = web3_lido_integration.lido.get_guardian_quorum()
quorum_size = web3_lido_integration.lido.deposit_security_module.get_guardian_quorum()

try:
# If guardian removal failed
Expand Down

0 comments on commit 3cc8ddd

Please sign in to comment.