Skip to content

feat(paymaster): auto-whitelist TaskManager edit selectors + ops/gov scripts#173

Merged
hudsonhrh merged 1 commit into
mainfrom
hudsonhrh/delegate-full-permissions-vote
Jun 3, 2026
Merged

feat(paymaster): auto-whitelist TaskManager edit selectors + ops/gov scripts#173
hudsonhrh merged 1 commit into
mainfrom
hudsonhrh/delegate-full-permissions-vote

Conversation

@hudsonhrh
Copy link
Copy Markdown
Member

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/UpgradeOrgDeployerEditTaskRules ships that as a cross-chain OrgDeployer v14 beacon upgrade (Arbitrum → Gnosis). The WhitelistTaskEditRules*ViaGovernance scripts 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

…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>
@hudsonhrh hudsonhrh merged commit d8de502 into main Jun 3, 2026
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.

1 participant