sui icon indicating copy to clipboard operation
sui copied to clipboard

[wip] expose rgp into Move native context

Open dariorussi opened this issue 7 months ago • 1 comments

Description

Reference gas price is now exposed to Move though through a non public native function. 3 functions are exposed non publicly and we should decide what to do: rgp(), gas_price() and gas_budget(). There is a question about the replace and replace_with_rgp native functions in Move. Talking with the team it may be possible to simplify that story a bit. I'll be playing with it.

We can go with something like this and exposing the public functions later or make a final decision on what the public surface of those functions should be and push once everything is in place

Test plan

Testing comes when we expose the function publicly in Move


Release notes

Check each box that your changes affect. If none of the boxes relate to your changes, release notes aren't required.

For each box you select, include information after the relevant heading that describes the impact of your changes that a user might notice and any actions they must take to implement updates.

  • [ ] Protocol:
  • [ ] Nodes (Validators and Full nodes):
  • [ ] gRPC:
  • [ ] JSON-RPC:
  • [ ] GraphQL:
  • [ ] CLI:
  • [ ] Rust SDK:

dariorussi avatar Jun 08 '25 04:06 dariorussi

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
sui-docs ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jul 4, 2025 6:24pm
2 Skipped Deployments
Name Status Preview Comments Updated (UTC)
multisig-toolkit ⬜️ Ignored (Inspect) Visit Preview Jul 4, 2025 6:24pm
sui-kiosk ⬜️ Ignored (Inspect) Visit Preview Jul 4, 2025 6:24pm

vercel[bot] avatar Jun 08 '25 04:06 vercel[bot]

👀

MaxResnick avatar Jul 23 '25 20:07 MaxResnick