Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

evm: fix due to extra output introduced by EVMContract.compile() #2420

Merged
merged 1 commit into from
Sep 6, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions test/functional/feature_evm_proxy.py
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ def should_deploy_implementation_smart_contract(self) -> web3Contract:
)
node.generate(1)

implementation_abi, bytecode = EVMContract.from_file(
implementation_abi, bytecode, _ = EVMContract.from_file(
"SimpleProxy.sol", "SimpleImplementation"
).compile()
compiled = node.w3.eth.contract(abi=implementation_abi, bytecode=bytecode)
Expand All @@ -104,7 +104,7 @@ def should_deploy_proxy_smart_contract(
self, implementation_contract: web3Contract
) -> web3Contract:
node = self.nodes[0]
abi, bytecode = EVMContract.from_file(
abi, bytecode, _ = EVMContract.from_file(
"SimpleProxy.sol", "SimpleERC1967Proxy"
).compile()
compiled = node.w3.eth.contract(abi=abi, bytecode=bytecode)
Expand Down Expand Up @@ -218,7 +218,7 @@ def fail_send_eth_when_delegatecall_to_non_payable_function(

def should_deploy_new_implementation_smart_contract(self) -> web3Contract:
node = self.nodes[0]
new_implementation_abi, bytecode = EVMContract.from_file(
new_implementation_abi, bytecode, _ = EVMContract.from_file(
"SimpleProxy.sol", "NewSimpleImplementation"
).compile()
compiled = node.w3.eth.contract(abi=new_implementation_abi, bytecode=bytecode)
Expand Down
Loading