-
Notifications
You must be signed in to change notification settings - Fork 207
Closed
Labels
bugSomething isn't workingSomething isn't working
Description
Description
[账户余额扣去转账消耗的quato后,余额大于转账金额转账失败]
Steps to Reproduce
- 转账失败:
创建账户A,账户B;
admin 给账户A 转账30000 * 10^6 ;
账户A 给账户B 转账 1000,消耗"cumulativeQuotaUsed": "0x5208" 值为: 21000 * 10^6,
失败"errorMessage": "Cost of transaction exceeds sender balance.";
转账后,账户A 余额 9000 * 10^6 ;
- 转账成功:
创建账户A,账户B;
admin给账户A转账 30001 * 10^6;
账户A 给账户B 转账 1000,消耗"cumulativeQuotaUsed": "0x5208" 值为: 21000 * 10^6;
账户A 余额:0x218805858 值为9000999000;
经计算: 账户A 转账后余额 + 账户A转账给账户B 消耗的quota + 账户A 转账给账户B的金额 = 账户A 转账前余额
9000999000 + 21000000000 + 1000 = 30001000000
Expected behavior: [步骤一中账户A余额大于1000 期望转账成功]
Actual behavior: [步骤一转账扣去quota后余额仍大于转账金额,转账失败]
Reproduce how often: [every]
Versions
[v0.25]
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working