feat(paymaster): auto-whitelist TaskManager edit selectors + ops/gov scripts#173
Merged
Merged
Conversation
…scripts
Core change:
- OrgDeployer: add updateTask (0x48db6f65) + updateTaskMetadata (0x26fa4e70) to
the deploy-time paymaster auto-whitelist so new orgs sponsor task edits; bump
the rule count 41 -> 43. DeployerTest covers the auto-whitelist + selector
accuracy (all paymaster deploy tests green).
Scripts (sim-first per CLAUDE.md; each fork-simulated to PASS):
- upgrades/UpgradeOrgDeployerEditTaskRules: cross-chain OrgDeployer v14 beacon
upgrade (Arbitrum -> Gnosis) that ships the auto-whitelist change.
- fixes/WhitelistTaskEditRules{DecentralPark,Test6Kubi,Poa}ViaGovernance:
retroactive edit-task paymaster whitelist for the live orgs via governance
(Test6/KUBI/Poa variants also cast the creator's vote in-script).
- fixes/GrantDelegateFullPermsViaGovernance: Delegate hat -> full TaskManager
perm mask (0xFF) + organizer.
- fixes/GrantNeighborClaimViaGovernance: Neighbor hat -> CLAIM.
- fixes/AddEducationHubDecentralPark: deploy + wire + register an EducationHub
for Decentral Park.
- fixes/VoteDecentralParkProposal: subgraph-free helper to vote on a proposal.
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Adds
updateTask(0x48db6f65) +updateTaskMetadata(0x26fa4e70) to OrgDeployer's deploy-time paymaster auto-whitelist (rule count 41→43) so newly deployed orgs sponsor task edits, with DeployerTest coverage for the auto-whitelist and selector accuracy.script/upgrades/UpgradeOrgDeployerEditTaskRulesships that as a cross-chain OrgDeployer v14 beacon upgrade (Arbitrum → Gnosis). TheWhitelistTaskEditRules*ViaGovernancescripts retroactively whitelist those two edit selectors for the existing live orgs — Decentral Park, Test6, KUBI (Gnosis) and Poa (Arbitrum) — with the Test6/KUBI/Poa variants also casting the creator's vote in-script. The remaining Decentral Park governance scripts grant the Delegate hat the full TaskManager mask (0xFF) + organizer, grant the Neighbor hat CLAIM, deploy+wire+register an EducationHub, and add a subgraph-free vote helper. Every mutating script was fork-simulated to PASS per CLAUDE.md, and all paymaster deploy + selector-accuracy tests are green.🤖 Generated with Claude Code