Skip to content

'method handler crashed' in deploy.py #24

@nk307

Description

@nk307

Hello there,
When I tried running ./run.sh for my vagrant based quorum setup, I see the error as follows:
contract_CompileDeploySave(contract_source_file=FILE_CONTRACT_SOURCE) File "./deploy.py", line 120, in contract_CompileDeploySave contractAddress = deployContract(contract_interface) File "./deploy.py", line 70, in deployContract tx_hash = w3.toHex( myContract.constructor().transact() ) File "/home/kor11137702/testbed/chainhammer/chainhammer/env/lib/python3.6/site-packages/web3/utils/decorators.py", line 14, in _wrapper return self.method(obj, *args, **kwargs) File "/home/kor11137702/testbed/chainhammer/chainhammer/env/lib/python3.6/site-packages/web3/contract.py", line 842, in transact return self.web3.eth.sendTransaction(transact_transaction) File "/home/kor11137702/testbed/chainhammer/chainhammer/env/lib/python3.6/site-packages/web3/eth.py", line 262, in sendTransaction get_buffered_gas_estimate(self.web3, transaction), File "/home/kor11137702/testbed/chainhammer/chainhammer/env/lib/python3.6/site-packages/web3/utils/transactions.py", line 84, in get_buffered_gas_estimate gas_estimate = web3.eth.estimateGas(gas_estimate_transaction) File "/home/kor11137702/testbed/chainhammer/chainhammer/env/lib/python3.6/site-packages/web3/eth.py", line 303, in estimateGas [transaction], File "/home/kor11137702/testbed/chainhammer/chainhammer/env/lib/python3.6/site-packages/web3/manager.py", line 110, in request_blocking raise ValueError(response["error"]) ValueError: {'code': -32000, 'message': 'method handler crashed'}

The log file using tail -f logs/deploy.py.log:

tail: logs/deploy.py.log: file truncated versions: web3 4.3.0, py-solc: 2.1.0, solc 0.4.25+commit.59dbf8f1.Linux.gpp, testrpc 1.3.4, python 3.6.9 (default, Oct 8 2020, 12:12:24) [GCC 8.4.0] web3 connection established, blockNumber = 556, node version string = Geth/v1.9.7-stable-9339be03(quorum-v2.6.0)/linux-amd64/go1.13.10 first account of node is 0xed9d02e382b34818e88B88a309c7fe71E65f419d, balance is 1000000000 Ether WARN: raft consensus did report timestamps in nanoseconds. Is that still the case? nodeName: Quorum, nodeType: Geth, nodeVersion: v1.9.7-stable-9339be03(quorum-v2.6.0), consensus: raft, network: 10, chainName: ???, chainId: -1 unlocked: True unlock: True
Is there something I am missing?
I have modified the RPC address as discussed in the previous #23.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions