pyth-network / pyth-network/pyth-crosschain
High Gas Cost with `OP_PARSE_PRICE_FEED_UPDATES` on Ton Blockchain
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 247
- Forks
- 348
- Avg merge
- 2d 1h
- Merged PRs (30d)
- 27
Description
Description
On the Ton blockchain, each message using the OP_PARSE_PRICE_FEED_UPDATES operation incurs a gas cost of approximately 0.11 Ton (~$0.7 per message) just to verify the payload from PYTH. This cost seems quite high, especially when handling multiple messages.
Question
- Is there a way to optimize or reduce the gas cost for this operation?
- Are there recommended practices or configurations to achieve better efficiency in this scenario?
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by tracing the OP_PARSE_PRICE_FEED_UPDATES operation on the TON blockchain and reviewing how the reported approximately 0.11 Ton gas cost was measured. Check whether the payload verification path exposes configuration or usage guidance; done means a validated cost reduction or a documented explanation of recommended practices.
Written by the indexing model from the issue text.
Assessment
- Domain
- blockchain, performance
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100