json rpc – Practical take a look at error when modifying RPC response: “RPC key returned that was not in doc”

0
2


I modified an RPC name response for a PR, however some practical exams are failing. The error I am getting is:

  File "/residence/sliv3r/Documentos/Projectes/BitcoinCore/bitcoin/construct/take a look at/practical/feature_fee_estimation.py", line 203, in initial_split
    self.confutxo = self.pockets.send_self_transfer_multi(
  File "/residence/sliv3r/Documentos/Projectes/BitcoinCore/bitcoin/take a look at/practical/test_framework/pockets.py", line 295, in send_self_transfer_multi
    self.sendrawtransaction(from_node=from_node, tx_hex=tx["hex"])
  File "/residence/sliv3r/Documentos/Projectes/BitcoinCore/bitcoin/take a look at/practical/test_framework/pockets.py", line 397, in sendrawtransaction
    self.scan_tx(from_node.decoderawtransaction(tx_hex))
  File "/residence/sliv3r/Documentos/Projectes/BitcoinCore/bitcoin/take a look at/practical/test_framework/protection.py", line 50, in __call__
    return_val = self.auth_service_proxy_instance.__call__(*args, **kwargs)
  File "/residence/sliv3r/Documentos/Projectes/BitcoinCore/bitcoin/take a look at/practical/test_framework/authproxy.py", line 146, in __call__
    elevate JSONRPCException(response['error'], standing)
test_framework.authproxy.JSONRPCException: Inner bug detected: RPC name "decoderawtransaction" returned incorrect kind:
{
    "vin": {
        "0": {
            "witScript": "key returned that was not in doc"
        },
        "1": {
            "witScript": "key returned that was not in doc"
        }
    }
}

I’m unable to search out the place the anticipated solutions for RPC are outlined. The place can I discover this “doc”?

LEAVE A REPLY

Please enter your comment!
Please enter your name here