casper-network / condor-info

Casper 2.0 technical outreach
Apache License 2.0
3 stars 2 forks source link

[Condor-Release]: Balance holds for multiple transactions in one single block #52

Closed davidatwhiletrue closed 1 month ago

davidatwhiletrue commented 2 months ago

Category

Possible Bug

Your email address

-

Project Name(Optional)

MAKE

Casper Network

Devnet

Priority

Medium

Node Functionality

JSON RPC

Description

Hi Casper team. I have a question about balance holds. I'm doing the following test:

  1. Send 1 transaction to install a CEP-18 contract. The execution result shows a 1000 CSPR cost are held
  2. Send 3 transactions to transfer CEP-18 tokens to another account. The execution result shows a 500 CSPR cost on each transaction. The 3 transactions are processed in the same block.
  3. Send 2 native transfers. The execution result shows a 10000 motes cost on each transaction. Both transactions are processed in the same block.

When I look at the response from query_balance_details there are only 3 holds for 1000 CSPR, 500 CSPR and 10000 motes. I expected to see 6 holds; or 3 with accumulated holds for each block.

Logs:

Date Issue Began(optional)

11/07/2024

Attachments (optional)

No response

Jiuhong-casperlabs commented 2 months ago

chainspec_devnet.txt chainspec on devnet