Skip to content

Commit

Permalink
[SDK] Fix: add gpt protocol to legacy tx chains (#6390)
Browse files Browse the repository at this point in the history
<!--

## title your PR with this format: "[SDK/Dashboard/Portal] Feature/Fix: Concise title for the changes"

If you did not copy the branch name from Linear, paste the issue tag here (format is TEAM-0000):

## Notes for the reviewer

Anything important to call out? Be sure to also clarify these in your comments.

## How to test

Unit tests, playground, etc.

-->

<!-- start pr-codex -->

---

## PR-Codex overview
This PR focuses on adding support for the GPT Protocol to chains that only support legacy transactions.

### Detailed summary
- Updated the `.changeset/every-bees-exist.md` file to document the addition of the GPT Protocol.
- Added `1511670449` as the fee data for `GPT Mainnet` in the `packages/thirdweb/src/gas/fee-data.ts` file.

> ✨ Ask PR-Codex anything about this PR by commenting with `/codex {your question}`

<!-- end pr-codex -->
  • Loading branch information
gregfromstl committed Mar 3, 2025
1 parent c3b90a6 commit 9799b0a
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .changeset/every-bees-exist.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"thirdweb": patch
---

Adds GPT Protocol to chains that only support legacy transactions
1 change: 1 addition & 0 deletions packages/thirdweb/src/gas/fee-data.ts
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@ const FORCE_GAS_PRICE_CHAIN_IDS = [
994873017, // Lumia Mainnet
19011, // Homeverse Mainnet
40875, // Homeverse Testnet
1511670449, // GPT Mainnet
];

/**
Expand Down

0 comments on commit 9799b0a

Please sign in to comment.