pyth-network / pyth-network/pyth-crosschain

High Gas Cost with `OP_PARSE_PRICE_FEED_UPDATES` on Ton Blockchain

Open
#2,176 1 comment 0 reactions 0 assignees View on GitHub

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

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.