Skip to content

Conversation

@masterjedy
Copy link
Contributor

@masterjedy masterjedy commented Nov 10, 2025

Summary

Rationale

Enhance processing fees using raw_reserve()

The original version of the contract seems to leak small amount of value each transaction. This probably happens because tvm's fee computation is not accurate or send message itself takes some value or other inobvious costs.
raw_reserve allows to better control the contract balance.

How has this been tested?

  • Current tests cover my changes
  • Added new tests
  • Manually tested the code

Signed-off-by: master_jedy <[email protected]>
@vercel
Copy link

vercel bot commented Nov 10, 2025

@masterjedy is attempting to deploy a commit to the Pyth Network Team on Vercel.

A member of the Team first needs to authorize it.

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.

1 participant