Closed noandrea closed 1 year ago
This PR is meant to address the issues identified by the OAK audit
please have a look specifically to the abci_test.go to see if tests for supply can be improved.
abci_test.go
beside the tests you can launch the chain and run the following commands to verify the suppluy:
verify total supply
elestod query bank total --height 2
verify community tax amount
elestod query distribution community-pool --height 2
beware that the community tax amount is set on the 00_start_chain.sh script.
00_start_chain.sh
you can check the values looking at the distribuiton excel https://docs.google.com/spreadsheets/d/1sXwR-cYHS98in1aMzBabF7FNjqikbA3btnPMlFqgQ50/edit#gid=0
a weird behavior is that at block 1 the community tax amount is not correct, but it falls back to the expectations from block 2
This PR is meant to address the issues identified by the OAK audit
please have a look specifically to the
abci_test.go
to see if tests for supply can be improved.beside the tests you can launch the chain and run the following commands to verify the suppluy:
verify total supply
verify community tax amount
beware that the community tax amount is set on the
00_start_chain.sh
script.you can check the values looking at the distribuiton excel https://docs.google.com/spreadsheets/d/1sXwR-cYHS98in1aMzBabF7FNjqikbA3btnPMlFqgQ50/edit#gid=0