Conversation
adambalogh
previously approved these changes
Apr 21, 2026
Contributor
There was a problem hiding this comment.
Pull request overview
This PR updates the gateway’s x402/OG payment stack to a newer og-x402 prerelease, switches payment configuration from Base testnet to Base mainnet (network + token + default recipient), and updates the server route payment configuration accordingly.
Changes:
- Bump
og-x402[evm]from0.0.1.dev6to>=0.0.1.dev9and updateuv.lock(including newnest-asynciodependency). - Migrate constants from Base testnet to Base mainnet (network ID, OPG token address, default payment recipient).
- Update x402 route configs to use mainnet + new token address and enable the ERC20 approval gas sponsoring extension.
Reviewed changes
Copilot reviewed 4 out of 5 changed files in this pull request and generated 1 comment.
Show a summary per file
| File | Description |
|---|---|
uv.lock |
Locks new og-x402 version and adds nest-asyncio as a resolved dependency. |
pyproject.toml |
Loosens og-x402[evm] dependency to >=0.0.1.dev9. |
tee_gateway/definitions.py |
Updates network/token constants and default payment address to Base mainnet values. |
tee_gateway/__main__.py |
Registers x402 schemes for mainnet, updates route payment config, and adds gas sponsoring extension. |
tests/test_pricing.py |
Updates tests to reference the new mainnet OPG token constant. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
adambalogh
approved these changes
Apr 21, 2026
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.
No description provided.