Skip to content

refactor(evm): governance proposal submission logic#1338

Open
blockchainguyy wants to merge 9 commits into
mainfrom
refactor/governance-prop-submit-logic
Open

refactor(evm): governance proposal submission logic#1338
blockchainguyy wants to merge 9 commits into
mainfrom
refactor/governance-prop-submit-logic

Conversation

@blockchainguyy

@blockchainguyy blockchainguyy commented Jan 20, 2026

Copy link
Copy Markdown
Contributor

why

how


Note

Consolidates governance scheduling/cancellation and direct EOA execution into a single path and updates CLIs/docs.

  • Introduces executeDirectlyOrSubmitProposal in utils.js to either execute on-chain or build/submit governance proposals; refactors gateway.js, its.js, and ownership.js to use it (e.g., transferGovernance, transferOperatorship, multicall for trusted chains, setPauseStatus, migrateInterchainToken, ownership actions)
  • Adds --proposal-type <create|cancel> and clarifies governance flags/messages in cli-utils.ts; improves generate-only help text and activationTime description
  • Extracts submitGovernanceProposals and processGovernanceProposals in governance.js; adjusts prompts, removes unused helpers, and streamlines main flows
  • Removes per-script proposal aggregation/submission code; main() now defers to shared processors
  • Updates docs (contract-ownership.md, governance-workflows.md) with cancel workflows, new flags, and file-output guidance

Written by Cursor Bugbot for commit 750055c. This will update automatically on new commits. Configure here.

@blockchainguyy blockchainguyy requested a review from a team as a code owner January 20, 2026 12:18
cursor[bot]

This comment was marked as outdated.

cursor[bot]

This comment was marked as outdated.

cursor[bot]

This comment was marked as outdated.

@cursor cursor Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Cursor Bugbot has reviewed your changes and found 2 potential issues.

Bugbot Autofix is OFF. To automatically fix reported issues with Cloud Agents, enable Autofix in the Cursor dashboard.

Comment thread evm/utils.js Outdated
Comment thread evm/utils.js
Comment thread evm/utils.js Outdated
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