Skip to content

Commit f1aa5ac

Browse files
committed
chore: revert changes
1 parent bd864ed commit f1aa5ac

File tree

5 files changed

+5
-19
lines changed

5 files changed

+5
-19
lines changed

tests/acceptance/test_withdrawals_negative.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
from brownie.exceptions import VirtualMachineError
21
from brownie.network.account import Account
32
import pytest
43
from brownie import Contract, interface, reverts, Wei, chain # type: ignore

tests/internal/test_ipfs.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,7 @@ def test_fetch_cid_status_from_ipfs():
113113
status = fetch_cid_status_from_ipfs("bafkreigvk6oenx6mp4mca4at4znujzgljywcfghuvrcxxkhye5b7ghutbm")
114114
assert status == 200
115115
status = fetch_cid_status_from_ipfs("bafkreigdsodbw6dlajnk7xyudw52cutzioovt7r7mrdf3t3cx7xfzz3eou")
116-
assert status == 404 or status == 504 # depends on service
116+
assert status == 404 or status == 504 # depends on service
117117

118118

119119
def test_upload_vote_ipfs_description():

tests/regression/test_staking_router_stake_distribution.py

Lines changed: 1 addition & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,5 @@
11
from typing import Dict
22

3-
from brownie import web3
4-
from web3 import Web3
5-
63
from utils.config import contracts
74
from utils.test.csm_helpers import csm_add_node_operator, get_ea_member, fill_csm_operators_with_keys
85
from utils.test.deposits_helpers import fill_deposit_buffer
@@ -236,20 +233,10 @@ def test_target_share_distribution(stranger):
236233
# fill the deposit buffer
237234
fill_deposit_buffer(keys_to_allocate_double)
238235

239-
web3.manager.request_blocking(
240-
"hardhat_setBalance", # type: ignore
241-
[
242-
contracts.deposit_security_module.address,
243-
Web3.to_hex(90_000_000_000),
244-
],
245-
)
246-
247236
# perform deposits to the modules
248237
for module in modules.values():
249238
if module.allocated_keys > 0:
250-
contracts.lido.deposit(
251-
module.allocated_keys, module.id, "0x", {"from": contracts.deposit_security_module, "gas_price": 4}
252-
)
239+
contracts.lido.deposit(module.allocated_keys, module.id, "0x", {"from": contracts.deposit_security_module})
253240

254241
# check that the new active keys in the modules match the expected values
255242
module_digests_after_deposit = contracts.staking_router.getAllStakingModuleDigests()

utils/test/deposits_helpers.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ def fill_deposit_buffer(deposits_count):
2121
eth_to_submit = eth_to_deposit + eth_debt + WEI_TOLERANCE
2222

2323
eth_whale = accounts.at(staking_router.DEPOSIT_CONTRACT(), force=True)
24-
lido.submit(ZERO_ADDRESS, {"from": eth_whale, "value": eth_to_submit, "gas_price": 4})
24+
lido.submit(ZERO_ADDRESS, {"from": eth_whale, "value": eth_to_submit})
2525

2626
assert lido.getDepositableEther() >= eth_to_deposit
2727

utils/test/easy_track_helpers.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ def _encode_calldata(signature, values):
1717
def create_and_enact_motion(easy_track, trusted_caller, factory, calldata, stranger):
1818
motions_before = easy_track.getMotions()
1919

20-
tx = easy_track.createMotion(factory, calldata, {"from": trusted_caller, "gas_price": 4})
20+
tx = easy_track.createMotion(factory, calldata, {"from": trusted_caller})
2121

2222
motions = easy_track.getMotions()
2323
assert len(motions) == len(motions_before) + 1
@@ -29,7 +29,7 @@ def create_and_enact_motion(easy_track, trusted_caller, factory, calldata, stran
2929
easy_track.enactMotion(
3030
motion_id,
3131
tx.events["MotionCreated"]["_evmScriptCallData"],
32-
{"from": stranger, "gas_price": 4},
32+
{"from": stranger},
3333
)
3434

3535

0 commit comments

Comments
 (0)