Skip to content

Commit 5923fdf

Browse files
authored
Merge pull request #524 from lidofinance/master
Update feat/next-vote with master
2 parents 886e705 + ccdc2a8 commit 5923fdf

File tree

4 files changed

+14
-9
lines changed

4 files changed

+14
-9
lines changed

.github/workflows/core_tests.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ jobs:
3636
- name: Run init script
3737
run: docker exec -e CORE_BRANCH tests-runner bash -c 'make init'
3838
env:
39-
CORE_BRANCH: develop
39+
CORE_BRANCH: master
4040

4141
- name: Run node
4242
run: docker exec -e ETH_RPC_URL --detach tests-runner bash -c 'NODE_PORT=8546 make node'

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ endif
1919
# Must be different from 8545 because core tests by default run its own fork on 8545
2020
CORE_TESTS_TARGET_RPC_URL ?= http://127.0.0.1:8547
2121
CORE_DIR ?= lido-core
22-
CORE_BRANCH ?= develop
22+
CORE_BRANCH ?= master
2323
NODE_PORT ?= 8545
2424
SECONDARY_NETWORK ?= mfh-2
2525

network-config.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ live:
99
name: Mainnet (Custom RPC)
1010
provider: custom
1111
- chainid: 17000
12-
explorer: https://api-holesky.etherscan.io/api
12+
explorer: https://api.etherscan.io/v2/api?chainid=17000
1313
host: https://holesky.infura.io/v3/$WEB3_INFURA_PROJECT_ID
1414
id: holesky
1515
# multicall2 is missing on Holesky. New backward-compatible multicall contract.
@@ -18,7 +18,7 @@ live:
1818
name: Holesky (Infura)
1919
provider: infura
2020
- chainid: 560048
21-
explorer: https://api-hoodi.etherscan.io/api
21+
explorer: https://api.etherscan.io/v2/api?chainid=560048
2222
host: $HOODI_RPC_URL
2323
id: hoodi
2424
name: Hoodi
@@ -125,7 +125,7 @@ development:
125125
host: http://127.0.0.1
126126
id: local-fork
127127
name: Ganache-CLI (Local Fork)
128-
explorer: https://api.etherscan.io/api
128+
explorer: https://api.etherscan.io/v2/api?chainid=1
129129
timeout: 360
130130
# https://github.com/mds1/multicall#multicall2-contract-addresses
131131
multicall2: "0x5BA1e12693Dc8F9c48aAD8770482f4739bEeD696"
@@ -140,7 +140,7 @@ development:
140140
port: 8545
141141
host: http://127.0.0.1
142142
id: hoodi-fork
143-
explorer: https://api-hoodi.etherscan.io/api
143+
explorer: https://api.etherscan.io/v2/api?chainid=560048
144144
name: Ganache-CLI (Hoodi Fork)
145145
timeout: 360
146146
multicall2: "0xcA11bde05977b3631167028862bE2a173976CA11"

tests/regression/test_permissions.py

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -643,9 +643,14 @@ def fetch_events_in_batches(start_block, end_block, provider=local_rpc_provider,
643643
with tqdm(total=total_batches, desc="Fetching Events") as pbar:
644644
for batch_start in range(start_block, end_block, step):
645645
batch_end = min(batch_start + step - 1, end_block)
646-
batch_events = provider.eth.filter(
647-
{"address": contracts.acl.address, "fromBlock": batch_start, "toBlock": batch_end, "topics": [event_signature_hash]}
648-
).get_all_entries()
646+
647+
batch_events = provider.eth.get_logs({
648+
"address": contracts.acl.address,
649+
"fromBlock": batch_start,
650+
"toBlock": batch_end,
651+
"topics": [event_signature_hash],
652+
})
653+
649654
events.extend(batch_events)
650655
pbar.update(1)
651656
return events

0 commit comments

Comments
 (0)