diff --git a/.gitignore b/.gitignore index 74bddbffd..fc3965bad 100644 --- a/.gitignore +++ b/.gitignore @@ -151,3 +151,6 @@ Pipfile* MaxiOps/merkl/cache* MaxiOps/merkl/airdrops/**-dry.json temp/ + +# Auto-generated report files +*.report.txt diff --git a/config/partner_fee_share.json b/config/partner_fee_share.json index 39d8a9c43..710bc9cb3 100644 --- a/config/partner_fee_share.json +++ b/config/partner_fee_share.json @@ -29,7 +29,7 @@ { "name": "EZKL", "multisig_address": "0xB7aadD330A64088A85e500874DCDcFB7F253fEB4", - "active": true, + "active": false, "pool_types": ["EZKL"], "fee_allocations": { "core_with_gauge": { diff --git a/tools/python/aura_snapshot_voting/review_votes.py b/tools/python/aura_snapshot_voting/review_votes.py index 4097c1cb0..4162366be 100644 --- a/tools/python/aura_snapshot_voting/review_votes.py +++ b/tools/python/aura_snapshot_voting/review_votes.py @@ -60,6 +60,17 @@ def review_votes(week_string): f"\n### Vote Preparation\n❌ Error simulating vote preparation: {str(e)}" ) vote_check = False + prop = None + + round_live_check = prop is not None and prop["state"] == "active" + if prop: + round_live_detail = ( + f"Proposal: {prop['title']}\n" + f"- State: `{prop['state']}`\n" + f"- Snapshot round is live: {'✅' if round_live_check else '❌'}" + ) + else: + round_live_detail = "Could not fetch proposal from Snapshot" vote_df = vote_df.dropna(subset=["Gauge Address", "Label", "Allocation %"]) @@ -103,11 +114,14 @@ def review_votes(week_string): {vote_prep} +### Snapshot Round Check +- {round_live_detail} + ### Vote Summary {vote_df[["Chain", "Label", "Gauge Address", "Allocation %"]].to_markdown(index=False)} -{"### ✅ All checks passed!" if (allocation_check and snapshot_label_check and vote_check and duplicate_check) else "### ❌ Some checks failed - please review the issues above"} +{"### ✅ All checks passed!" if (allocation_check and snapshot_label_check and vote_check and duplicate_check and round_live_check) else "### ❌ Some checks failed - please review the issues above"} """ with open("review_output.md", "w") as f: