Nitro Prover v0.2.0
Features
1. Native Stake Withdrawals
a. Request Stake Withdrawal
Enables operator to request stake withdrawal. It generates a withdrawal id
which can release amount after couple of minutes
./start.sh request-stake-withdrawal
b. Read Active Withdrawal Requests
Displays the list of active withdrawal request
./start.sh read-pending-withdrawals
c. Process Withdrawals
Processes any active withdrawal request of the operator
./start.sh process-pending-withdrawals
2. Operator Commission
Enables operator to set the commission for every proof request. It can range from 0% to 100% of the PROOF_GENERATION_COST
.
./start.sh set-commission
3. Set Operator Meta Data (Optional)
Set Operator Metadata on the contract. Though optional, it is useful for other entities, especially vault operators, to identify themselves in kalypso ecosystem.
Edit the field of ./generatormeta.json
and run
./start.sh set-operator-meta
4. Prometheus Client
You can now monitor your prover via prom-client. Prom-client here returns you data points like, numbers of requests assigned, proofs completed, time spent of proving etc.
By default prom-client metrics are available on http://localhost:9999/metrics
. However, if you chose to run it on a different port you can override it using PROMETHEUS_PORT
env variable
PROMETHEUS_PORT=1234 ./start.sh run-prover`
Improvements
1. Reward Info
Check accumulated rewards
./start.sh check-reward
2. Check Staking Info
Displays total stake in native staking module
and symbiotic staking module
. It also displays the number of tokens required in each module for a job to be successfully assigned.
./start.sh read-stake
Fixes
1. Incorrect Error Logs
Incorrect Error logs were displayed where inputs and proofs were getting re-verified with IVS. The logging has been now changed to warning.
Rebuild
./bootstrap.sh clean
cargo update
./bootstrap.sh --gpu
(or)
./bootstrap.sh --cpu
Full Changelog: https://github.com/marlinprotocol/kalypso-oyster-attestation-verifier-risczero/commits/v0.2.0