Skip to content
This repository has been archived by the owner on Dec 15, 2023. It is now read-only.

Commit

Permalink
Fixed according to PR review
Browse files Browse the repository at this point in the history
  • Loading branch information
Diogo Ribeiro committed Feb 25, 2022
1 parent fdc7831 commit 6b5fe61
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
3 changes: 2 additions & 1 deletion test/test_postman.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,11 +21,12 @@
CONTRACT_PATH = f"{ARTIFACTS_PATH}/l1l2.cairo/l1l2.json"
ABI_PATH = f"{ARTIFACTS_PATH}/l1l2.cairo/l1l2_abi.json"

ETH_CONTRACTS_PATH = "starknet-hardhat-example/artifacts/contracts"
ETH_CONTRACTS_PATH = "../starknet-hardhat-example/artifacts/contracts"
STARKNET_MESSAGING_PATH = f"{ETH_CONTRACTS_PATH}/MockStarknetMessaging.sol/MockStarknetMessaging.json"
L1L2_EXAMPLE_PATH = f"{ETH_CONTRACTS_PATH}/L1L2.sol/L1L2Example.json"

def pytest_configure():
"""Set globals"""
pytest.L1L2_EXAMPLE_CONTRACT = None
pytest.STARKNET_MESSAGING_CONTRACT = None
pytest.L2_CONTRACT_ADDRESS = None
Expand Down
2 changes: 0 additions & 2 deletions test/web3_util.py
Original file line number Diff line number Diff line change
@@ -1,9 +1,7 @@
"""Util functions for invoking and calling Web3 contracts"""

from solcx import compile_source
from web3 import Web3


def web3_deploy(web3: Web3, contract, *inputs):
"""Deploys a Solidity contract"""
abi=contract['abi']
Expand Down

0 comments on commit 6b5fe61

Please sign in to comment.