Skip to content

Bump Polygon bus gas limit#572

Open
clauBv23 wants to merge 1 commit into
mainfrom
oapp-1840-polygon-bus-gas-limit
Open

Bump Polygon bus gas limit#572
clauBv23 wants to merge 1 commit into
mainfrom
oapp-1840-polygon-bus-gas-limit

Conversation

@clauBv23

Copy link
Copy Markdown
Contributor

Summary:

  • Bump Polygon TokenMessaging bus gas limit to 65k
  • Regenerate token messaging config snapshot and hash
  • Add a patch changeset for stg-definitions-v2

Tests:

  • prettier --check .changeset/polygon-bus-gas-limit.md packages/stg-definitions-v2/src/constant.ts packages/stg-evm-v2/devtools/config/mainnet/01/json/token-messaging.config.json packages/stg-evm-v2/devtools/config/mainnet/01/hashes/hashes.json
  • Validated all 55 Polygon-destination BUS enforced options are 65000
  • Validated token-messaging config hash matches generated JSON

@changeset-bot

changeset-bot Bot commented Jun 25, 2026

Copy link
Copy Markdown

🦋 Changeset detected

Latest commit: 66e5e7e

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
@stargatefinance/stg-definitions-v2 Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Pull request overview

This PR updates the Polygon TokenMessaging “bus” enforced gas limit to 65,000 across the mainnet config snapshot and aligns the generated hash and definitions package constants accordingly.

Changes:

  • Updated Polygon-destination TokenMessaging enforced option gas for msgType: 2 to "65000" in the generated mainnet config JSON.
  • Regenerated the corresponding hashes.json entry for token-messaging.config.ts.
  • Added busGasLimit: 65000n for Polygon in stg-definitions-v2 and included a patch changeset.

Reviewed changes

Copilot reviewed 4 out of 4 changed files in this pull request and generated no comments.

File Description
packages/stg-evm-v2/devtools/config/mainnet/01/json/token-messaging.config.json Updates enforced options gas for msgType: 2 to 65k in the generated mainnet snapshot.
packages/stg-evm-v2/devtools/config/mainnet/01/hashes/hashes.json Updates the stored SHA-256 hash for the regenerated token-messaging config.
packages/stg-definitions-v2/src/constant.ts Sets Polygon busGasLimit to 65000n in the network config constants.
.changeset/polygon-bus-gas-limit.md Adds a patch changeset for @stargatefinance/stg-definitions-v2.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

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.

2 participants