VIPs icon indicating copy to clipboard operation
VIPs copied to clipboard

VET Balance Mismatch on Explorer.

Open shaswatsaloni opened this issue 10 months ago • 15 comments

Hi All,

I am having a mismatch while calculating the balance for a particular address (0x9a1e4bf6c41f50c399a128ab588fe4e4883bd872) from explorer (https://explore.vechain.org/accounts/0x9a1e4bf6c41f50c399a128ab588fe4e4883bd872/txs) .

I have added the Ins and subtract the Outs, but seems like not coming what is mentioned on explorer (https://explore.vechain.org/accounts/0x9a1e4bf6c41f50c399a128ab588fe4e4883bd872/) . Can anyone help me with this?

Thanks, Saloni.

shaswatsaloni avatar Apr 09 '24 09:04 shaswatsaloni

Hi, @shaswatsaloni. Thanks for your report. The address 0x9a1e4bf6c41f50c399a128ab588fe4e4883bd872 was the address of an authority node, and its balance was initially set as 25m, which is not shown in transfer logs.

qianbin avatar Apr 09 '24 11:04 qianbin

Hi @qianbin , Thanks for quick response. I have around 42 addresses for which I have the same case. Can you share me the list of addresses which are an address of an authority node. I am attaching the csv files for the list of addresses for which we have negative balance.

Thanks, Saloni.

shaswatsaloni avatar Apr 10 '24 04:04 shaswatsaloni

https://github.com/vechain/thor/blob/master/genesis/mainnet.go#L64-L96

Filled with 21,046,908,616.5 VET each

and

https://github.com/vechain/thor/blob/master/genesis/mainnet.go#L64-L96

The second one in the line filled with 25,000,000 VET each

libotony avatar Apr 10 '24 08:04 libotony

Hi, Can we get the genesis.json for Vet. So that from next time we will not get these negative balances?

Thanks, Saloni.

shaswatsaloni avatar Apr 10 '24 09:04 shaswatsaloni

Hi, Can we get the genesis.json for Vet. So that from next time we will not get these negative balances?

Thanks, Saloni.

We don't have genesis JSON, only the go file.

libotony avatar Apr 10 '24 09:04 libotony

Okay, can you share that?

shaswatsaloni avatar Apr 10 '24 11:04 shaswatsaloni

https://github.com/vechain/thor/blob/master/genesis/mainnet.go#L64-L96

Filled with 21,046,908,616.5 VET each

and

https://github.com/vechain/thor/blob/master/genesis/mainnet.go#L64-L96

The second one in the line filled with 25,000,000 VET each

@shaswatsaloni Here

libotony avatar Apr 10 '24 14:04 libotony

Hi @libotony , thanks for this info, but here in these lines, we have only few addresses mentioned but I have around 42 of them. So, can you have a look once and confirm?

I am sharing the list of addresses and balances with you. Vet_Negative.xlsx

Thanks, Saloni.

shaswatsaloni avatar Apr 12 '24 10:04 shaswatsaloni

@shaswatsaloni have you checked the bottom of the file?

https://github.com/vechain/thor/blob/master/genesis/mainnet.go#L160-L263

ifavo avatar Apr 12 '24 10:04 ifavo

Okay, @ifavo, checked. I will verify if these are all the addresses that we have negative balance with.

Thanks for the help.

shaswatsaloni avatar Apr 17 '24 08:04 shaswatsaloni

Hi @ifavo, we have a full node running for Vechain, is the authority node concept was there earlier? Or is it newly introduced?

I have few queries.

  1. Do we need to setup the authority node to get these genesis data or is there any other way by which we can integrate it?
  2. How can we get the amount that is associated with the authority node address at genesis?
  3. Is the authority node address keeps growing in numbers as the node size increases or is it decided at the initial stage?

Thanks, Saloni

shaswatsaloni avatar Apr 19 '24 09:04 shaswatsaloni

Hey, following up here?

shaswatsaloni avatar Apr 24 '24 05:04 shaswatsaloni

Hi @ifavo, we have a full node running for Vechain, is the authority node concept was there earlier? Or is it newly introduced?

I have few queries.

  1. Do we need to setup the authority node to get these genesis data or is there any other way by which we can integrate it?
  2. How can we get the amount that is associated with the authority node address at genesis?
  3. Is the authority node address keeps growing in numbers as the node size increases or is it decided at the initial stage?

Thanks, Saloni

Genesis info is public, you can access it via the link posted above. I think for your use case, the only thing you need to consider is pre-allocated funds in the genesis. I will again, post the links for the pre-allocated accounts.

https://github.com/vechain/thor/blob/master/genesis/mainnet.go#L64-L96

Filled with 21,046,908,616.5 VET each

and

https://github.com/vechain/thor/blob/master/genesis/mainnet.go#L160-L263

The second address in the line filled with 25,000,000 VET each

libotony avatar Apr 25 '24 11:04 libotony

Thanks, @libotony , but can you help me with the 3rd question?

shaswatsaloni avatar Apr 25 '24 11:04 shaswatsaloni

Thanks, @libotony , but can you help me with the 3rd question?

The pre-allocated account balance only happens one time when the network is launched.

libotony avatar Jul 26 '24 03:07 libotony