Skip to content

Conversation

@fred-venus
Copy link
Contributor

@fred-venus fred-venus commented Sep 30, 2025

Description

This is the script for updating prime score as required after executing https://github.com/VenusProtocol/vips/pull/617/files

I've split it into 2 steps:

  1. get all prime users
  2. call updateScores for all those users
    • deploy/024-prime-update-scores.ts

Steps

  1. npx hardhat deploy --tags fetch-prime-users --network bscmainnet > output.log
  2. npx hardhat deploy --tags prime-update-scores --network bscmainnet

@fred-venus fred-venus force-pushed the tmp/prime-score-updates branch from 2d383e1 to 3795f14 Compare September 30, 2025 10:25
@fred-venus fred-venus force-pushed the tmp/prime-score-updates branch from 3795f14 to 9a28b52 Compare September 30, 2025 10:26
@vapor-v
Copy link

vapor-v commented Oct 1, 2025

like #421 -- this will not be merged, just demonstrating the script to execute after the VIP is executed

@vapor-v
Copy link

vapor-v commented Oct 1, 2025

can probably skip the review for this as we can check pendingScoreUpdates==0 after vip executed to ensure all prime user's score updated

ref: prime

@chechu chechu changed the title script: added scripts for prime score update [VPD-151]: added scripts for prime score update Oct 1, 2025
@fred-venus fred-venus force-pushed the tmp/prime-score-updates branch from 8fd815a to 60c2105 Compare October 1, 2025 13:45
@vapor-v
Copy link

vapor-v commented Oct 6, 2025

closing this PR as executed on both mainnet / testnet

@vapor-v vapor-v closed this Oct 6, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants