Skip to content

Commit

Permalink
test: change minimal proxy test to pass CI
Browse files Browse the repository at this point in the history
  • Loading branch information
0xthedance committed Dec 9, 2024
1 parent 6740ace commit 1e0715a
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tests/functional/geth/test_proxy.py
Original file line number Diff line number Diff line change
Expand Up @@ -62,13 +62,13 @@ def test_uups_proxy(get_contract_type, geth_contract, owner, ethereum):
def test_minimal_proxy(get_contract_type, geth_contract, owner, ethereum):

_type = get_contract_type("MinimalProxyFactory")
contract = ContractContainer(_type)
contract = ContractContainer(_type)

target = geth_contract.address
# deloy CreateMinimalProxy.vy -> factory
# deploy MinimalProxyFactory.vy
factory = owner.deploy(contract)
vyper_proxy = factory.deploy(target, sender=owner)
proxy_address = to_checksum_address("0x" + (vyper_proxy.logs[0]["data"].hex())[26:])
proxy_address = to_checksum_address("0x" + (vyper_proxy.logs[0]["data"].hex())[-40:])
actual = ethereum.get_proxy_info(proxy_address)

assert actual is not None
Expand Down

0 comments on commit 1e0715a

Please sign in to comment.