platform icon indicating copy to clipboard operation
platform copied to clipboard

Contested resource prefunding voting balance is not added up to transaction fee

Open pshenmic opened this issue 1 year ago • 1 comments

Expected Behavior

When people vote for a contested resources they lock some credits in, but it is not added up to the transaction gas fee in the Tenderdash protocol. That makes it unable to see overall fee used in the transaction.

Current Behavior

Transaction fee in the Tenderdash RPC TX query returns only fee burnt during the transaction itself and does not include prefunding voting balance

Expected Behavior

Current Behavior

Possible Solution

Steps to Reproduce (for bugs)

  1. Create a DPNS name
  2. Get a transaction hash of domain document
  3. Query a transaction from Tenderdash RPC, and check gas_used field

Example: https://platform-explorer.com/transaction/5DD4C6D80FB74C7E33F7119D5C412695AF79368ECF15228EAE67CDAF5B3D7732

pshenmic avatar Oct 13 '24 06:10 pshenmic

@QuantumExplorer please address

shumkov avatar Oct 17 '24 10:10 shumkov