Closed itsnikhil closed 3 years ago
Will anyone acknowledge this?
@buckyroberts @angle943
I do recall @buckyroberts bringing up this issue when we were testing for this. I forget what the conclusion was, we were either going to:
@buckyroberts do you remember what we decided to do about this?
"since beta won't have this problem"
How beta fixes this issue? Is it because we would merge both bank and validator?
@itsnikhil yeah that's what I'm thinking
I strongly believe that this issue would still exists if not handled. Even with bank and validator merged, "node_fee" address and receiver's address can still clash and cause the issue
@itsnikhil i think he will address it, but just not for the alpha build
@angle943 any bug bounty for reporting the issue?
nope sorry :D even if there was a bug bounty, you are a core member, so you are ineligible for bounties haha. Your payment would be in the form of daily activity report:
"found a bug, talked with Justin about it, https://github.com/thenewboston-developers/Bank/issues/142 ~30 min or ~1 hour"
Bug Description In the one of the last commit
"fee": "BANK"
was introduced. This change was not properly tested and I believe there is an edge case when we try to "send coins" to "bank's earning account" this fee is missing because of which transactions are failing! (see below for request and response)Steps to Reproduce Steps to reproduce the behavior:
9a275161478536d0a5b88ff05d429b9a9e63d0032a46e7a6a8f088da89c69da5
Expected behavior
Request
Sending 500 coin from
ffded318529df37bacaccc0905ad72b59d168d6024a32278421402271c0d5aba
(testnet treasury) to29865762fae7d26e51f6465b3fea436d513478cfb8aa068e88a927e887cdc5fc
(testnet bank's earning account)Response
Status code: HTTP 400 If you see carefully, Bank fee is missing as bank's earning account is the same!
Actual behavior We should be able to send coins to Bank's earning account so that bank can purchase confirmation services.
Screenshots
OS and Browser
Account Number e9c5acac0806aca6ba2c0ade74d93ec4f9a89d8743fa477c52ce9b7817dcad95