You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Traceback (most recent call last):
File "/Users/xiaoweiwang/Documents/python/bl-batch-operations/scripts/contract_module/deploy_contract.py", line 85, in <module>
dc.deploy_contract('a5c5bb8d49d75b71247900e28cfe628396ab')
File "/Users/xiaoweiwang/Documents/python/bl-batch-operations/scripts/contract_module/deploy_contract.py", line 72, in deploy_contract
tx_hash = self.w3.eth.send_raw_transaction(signed_txn.rawTransaction)
File "/Users/xiaoweiwang/.local/share/virtualenvs/bl-batch-operations-5D3lKCYn/lib/python3.9/site-packages/web3/eth.py", line 831, in send_raw_transaction
return self._send_raw_transaction(transaction)
File "/Users/xiaoweiwang/.local/share/virtualenvs/bl-batch-operations-5D3lKCYn/lib/python3.9/site-packages/web3/module.py", line 57, in caller
result = w3.manager.request_blocking(method_str,
File "/Users/xiaoweiwang/.local/share/virtualenvs/bl-batch-operations-5D3lKCYn/lib/python3.9/site-packages/web3/manager.py", line 198, in request_blocking
return self.formatted_response(response,
File "/Users/xiaoweiwang/.local/share/virtualenvs/bl-batch-operations-5D3lKCYn/lib/python3.9/site-packages/web3/manager.py", line 171, in formatted_response
raise ValueError(response["error"])
ValueError: {'code': 3, 'message': 'Failed to serialize transaction: toAddressIsNull'}
ValueError: {'code': 3, 'message': 'Failed to serialize transaction: toAddressIsNull'}
This is coming from your node, not the library. I assume you want to deploy the contract so you likely need to specify the zero address ("0x0000000000000000000000000000000000000000") in the "to" field of your transaction with the current setup.
For usage questions, please refer to the documentation or ask in the Discord server.
What was wrong?
Please include any of the following that are applicable:
era testnet 'https://testnet.era.zksync.dev'
how to fix it please
The text was updated successfully, but these errors were encountered: