Lara-staking / liquid-staking

MIT License
0 stars 0 forks source link

[Testing]: Testing Round Epic #21

Open guibvieira opened 10 months ago

guibvieira commented 10 months ago

We are going to simulate the protocol on a PR net in an attempt to find bugs and to collect data to help define the ranking system calculated by the indexer.

Steps for data analysis:

Main objective:

#####################################################################

Genesis of Testing Scenario: Launch PR net, mint Tara to 10 wallets, from 10 wallets fund validators

Process to update ranking method mid-test scenario:

Finalize Testing Scenario:

Smart Contract stuff:

Security:

VargaElod23 commented 8 months ago

How to get the yields for intervals:

  1. Port-forward any of the rpc nodes:
    kubectl -n platform-qa port-forward po/pr-2609-taraxa-node-0  8080:8080
  2. Specify the from & to blocks in the query + substitute the address to the validator you want to get the yield for
    curl -X GET http://localhost:8080/address/0xfe3d5e3b9c2080bf338638fd831a35a4b4344a2c/yieldForInterval?fromBlock=1&toBlock=5000