Skip to content

Deployment of contract #1

@suriya-primeminds

Description

@suriya-primeminds

When i try to deploy the contract using Ethereum Sepolia, I added the balance in my account using Sepolia Faucet. Im using Odoo V16. Find the issue details below.

RPC_ERROR
Odoo Server Error
Traceback (most recent call last):
File "D:\Workspace\odoo16\odoo\http.py", line 1584, in _serve_db
return service_model.retrying(self._serve_ir_http, self.env)
File "D:\Workspace\odoo16\odoo\service\model.py", line 134, in retrying
result = func()
File "D:\Workspace\odoo16\odoo\http.py", line 1613, in _serve_ir_http
response = self.dispatcher.dispatch(rule.endpoint, args)
File "D:\Workspace\odoo16\odoo\http.py", line 1810, in dispatch
result = self.request.registry['ir.http']._dispatch(endpoint)
File "d:\workspace\odoo16\addons\website\models\ir_http.py", line 235, in _dispatch
response = super()._dispatch(endpoint)
File "D:\Workspace\odoo16\odoo\addons\base\models\ir_http.py", line 149, in _dispatch
result = endpoint(**request.params)
File "D:\Workspace\odoo16\odoo\http.py", line 699, in route_wrapper
result = endpoint(self, *args, **params_ok)
File "d:\workspace\odoo16\addons\web\controllers\dataset.py", line 46, in call_button
action = self._call_kw(model, method, args, kwargs)
File "d:\workspace\odoo16\addons\web\controllers\dataset.py", line 33, in _call_kw
return call_kw(request.env[model], method, args, kwargs)
File "D:\Workspace\odoo16\odoo\api.py", line 461, in call_kw
result = _call_kw_multi(method, model, args, kwargs)
File "D:\Workspace\odoo16\odoo\api.py", line 448, in _call_kw_multi
result = method(recs, *args, **kwargs)
File "d:\workspace\odoo16\custom_addons\avax\wizard\avax_contract_deploy_wizard.py", line 26, in action_deploy
wizard.contract_id._action_deploy(
File "d:\workspace\odoo16\custom_addons\avax\models\avax_contract.py", line 209, in _action_deploy
tx_hash = w3.eth.send_raw_transaction(signed_tx.rawTransaction)
File "C:\Users\Suriya\AppData\Local\Programs\Python\Python38\lib\site-packages\web3\eth\eth.py", line 372, in send_raw_transaction
return self._send_raw_transaction(transaction)
File "C:\Users\Suriya\AppData\Local\Programs\Python\Python38\lib\site-packages\web3\module.py", line 68, in caller
result = w3.manager.request_blocking(
File "C:\Users\Suriya\AppData\Local\Programs\Python\Python38\lib\site-packages\web3\manager.py", line 232, in request_blocking
return self.formatted_response(
File "C:\Users\Suriya\AppData\Local\Programs\Python\Python38\lib\site-packages\web3\manager.py", line 205, in formatted_response
raise ValueError(response["error"])
ValueError: {'code': -32000, 'message': 'invalid sender'}

The above server error caused the following client error:
RPC_ERROR: Odoo Server Error
at makeErrorFromResponse (http://localhost:9600/web/assets/185-920a05b/web.assets_backend.min.js:967:163)
at XMLHttpRequest. (http://localhost:9600/web/assets/185-920a05b/web.assets_backend.min.js:975:13)

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