Open antazoey opened 2 years ago
Looking for adding more options for set_code() to our framework and so this request is to have a way to change the contract code using eth-tester.
set_code()
eth-tester
def set_code(self, address: AddressType, code: ContractCode) -> bool: vm = _get_vm_for_block_number(self.evm_backend.chain, "latest") vm.state.set_code(HexBytes(address), code) return True
What was wrong?
Looking for adding more options for
set_code()
to our framework and so this request is to have a way to change the contract code usingeth-tester
.How can it be fixed?