Skip to content

Commit

Permalink
Merge branch 'tests' into etherscan
Browse files Browse the repository at this point in the history
  • Loading branch information
DanielSchiavini committed Nov 13, 2024
2 parents a83112e + dcfbab2 commit f9c911e
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
3 changes: 2 additions & 1 deletion tests/integration/fork/test_abi_contract.py
Original file line number Diff line number Diff line change
Expand Up @@ -185,7 +185,8 @@ def test_call_trace_abi_and_vyper(crvusd):
@external
def foo(x: IERC20):
extcall x.transfer(self, 100)
"""
""",
name="VyperContract",
)
boa.env.set_balance(boa.env.eoa, 1000)
with boa.reverts():
Expand Down
2 changes: 1 addition & 1 deletion tests/integration/network/anvil/test_network_env.py
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ def test_deployment_db_overriden_contract_name():
contract_name = "test_deployment"

# contract is written to deployments db
contract = boa.loads(code, arg, contract_name=contract_name)
contract = boa.loads(code, arg, name=contract_name)

# test get_deployments()
deployment = next(db.get_deployments())
Expand Down
2 changes: 1 addition & 1 deletion tests/integration/network/sepolia/test_sepolia_env.py
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ def test_deployment_db():
contract_name = "test_deployment"

# contract is written to deployments db
contract = boa.loads(code, arg, contract_name=contract_name)
contract = boa.loads(code, arg, name=contract_name)

# test get_deployments()
deployment = next(db.get_deployments())
Expand Down

0 comments on commit f9c911e

Please sign in to comment.