Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

simulate actions of vote.py in review_votes.py #1531

Merged
merged 9 commits into from
Dec 5, 2024
Merged

Conversation

jalbrekt85
Copy link
Collaborator

#1517 - review_vote.py now simulates actions of vote.py, mainly parsing the vote csv and generating the EIP712 payload/message hash

@jalbrekt85 jalbrekt85 changed the title Update review votes simulate actions of vote.py in review_votes.py Nov 28, 2024
Copy link
Collaborator

@gosuto-inzasheru gosuto-inzasheru left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm, but maybe wait until there is a payload that we can run on this branch to test it properly?

@gosuto-inzasheru
Copy link
Collaborator

can you add workflow_dispatch to .github/workflows/review_aura_gauge_votes.yaml?

Copy link
Contributor

github-actions bot commented Dec 3, 2024

vLAURA Votes Review

CSV file: MaxiOps/vlaura_voting/2024/W50/input/BD Vote Template - November 21 2024 (1) - BD Vote Template - November 21 2024 (1).csv

Allocation Check

  • Total allocation: 100.00%
  • Passes 100% check: ✅

Snapshot Votes Check

  • All gauge addresses have corresponding snapshot choices: ✅

Vote Preparation

Successfully simulated vote preparation ✅
Message hash: 0xf121cdfafee8d5c4aa30009fdead675d7325015a136d2c1916ac95614dac46e7

Vote Summary

Chain Label Gauge Address Allocation %
Mainnet sDAI/4Pool 0xf6a7ad46b00300344c7d4739c0518db70e722dc4 10.00%
Mainnet GHO/USDC/USDT 0xf720e9137baa9c7612e6ca59149a5057ab320cfa 12.50%
Arbitrum sFRAX/4Pool 0x62a82fe26e21a8807599374cac8024fae342ef83 5.00%
Arbitrum aUSDC/USDC 0x75ba7f8733c154302cbe2e19fe3ec417e0679833 2.00%
Optimsim ECLP-waUSDC-waUSDT 0x1a8F7747cA103d229d7bDFF5f89c176b95Faf301 2.00%
Arbitrum aUSDC/aUSDT 0xbb034e493ebf45f874e038ae76576df9cc1137e5 5.50%
Mainnet 50wstETH/ACX 0xf7b0751fea697cf1a541a5f57d11058a8fb794ee 5.95%
Mainnet wstETH-wETH-BPT 0x5c0f23a5c1be65fa710d385814a7fd1bda480b1c 6.93%
Mainnet B-rETH-Stable 0x79ef6103a513951a3b25743db509e267685726b7 4.54%
Mainnet weETH/rETH 0xC859BF9d7B8C557bBd229565124c2C09269F3aEF 3.85%
Mainnet ezETH-wETH 0xa8b309a75f0d64ed632d45a003c68a30e59a1d8b 8.04%
Mainnet STG/USDC 0x15C84754c7445D0DF6c613f1490cA07654347c1B 5.69%
Mainnet tETH/wstETH 0xf697535848B535900c76f70F1e36EC3985D27862 5.00%
Mainnet cbETH/wstETH 0x655A2B240151b4fAb06dfb2B6329eF72647F89dd 5.00%
Mainnet sdeUSD/deUSD 0xA00DB7d9c465e95e4AA814A9340B9A161364470a 5.00%
Arbitrum GHO / USDL 0x2e8A05f0216c6cC43BC123EE7dEf58901d3844D2 4.00%
Base cbETH/wstETH 0xBDc908e5dF4A95909DD8cbdD5E88C4078a85f7fC 5.00%
Base wETH/USDC 0xE01347229d681C69f459176A042268Cf981DFaa4 4.00%

✅ All checks passed!

@jalbrekt85
Copy link
Collaborator Author

can you add workflow_dispatch to .github/workflows/review_aura_gauge_votes.yaml?

good idea, added in ba1ba1b

@jalbrekt85
Copy link
Collaborator Author

jalbrekt85 commented Dec 3, 2024

vLAURA Votes Review

CSV file: MaxiOps/vlaura_voting/2024/W50/input/BD Vote Template - November 21 2024 (1) - BD Vote Template - November 21 2024 (1).csv
...

@gosuto-inzasheru temporarily added votes from last round to this branch to test ^^^

also updated to use the new max_omni label

Copy link
Collaborator

@gosuto-inzasheru gosuto-inzasheru left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

great! test run in pr gives a lot more confidence. lfg!

@Xeonus
Copy link
Collaborator

Xeonus commented Dec 4, 2024

Very nice indeed! Great work @jalbrekt85 !

@jalbrekt85 jalbrekt85 merged commit 84223b3 into main Dec 5, 2024
3 checks passed
@jalbrekt85 jalbrekt85 deleted the update-review-votes branch December 5, 2024 05:31
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.

review_aura_gauge_votes workflow should ensure vote.py will not fail
3 participants