Skip to content

Commit 61a5c5a

Browse files
committed
wip: check CI abi
1 parent 9a1e872 commit 61a5c5a

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

.github/actions/brownie_fork_tests/action.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -76,3 +76,4 @@ runs:
7676
env:
7777
ETHERSCAN_TOKEN: ${{ inputs.etherscan }}
7878
ETH_RPC_URL: ${{ inputs.rpc_url }}
79+
PARSE_EVENTS_FROM_LOCAL_ABI: 1

tests/conftest.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -216,12 +216,17 @@ def autodeploy_contract(accounts):
216216

217217
@pytest.fixture(scope="session", autouse=True)
218218
def parse_events_from_local_abi():
219+
print("os.getenv(ENV_PARSE_EVENTS_FROM_LOCAL_ABI):", os.getenv(ENV_PARSE_EVENTS_FROM_LOCAL_ABI))
220+
print("os.getenv(ENV_OMNIBUS_BYPASS_EVENTS_DECODING):", os.getenv(ENV_OMNIBUS_BYPASS_EVENTS_DECODING))
221+
219222
if os.getenv(ENV_OMNIBUS_BYPASS_EVENTS_DECODING):
220223
return
221224

222225
if not os.getenv(ENV_PARSE_EVENTS_FROM_LOCAL_ABI):
223226
return
224227

228+
print("parse_events_from_local_abi...")
229+
225230
# Used if env variable PARSE_EVENTS_FROM_LOCAL_ABI is set
226231
# Needed to enable events checking if ABI from Etherscan not available for any reason
227232
contract_address_mapping = {

0 commit comments

Comments
 (0)