Skip to content

Conversation

@tzakian
Copy link
Contributor

@tzakian tzakian commented Jan 27, 2026

Description

Removes TypeView and its usages.

The gas changes are because of the gas charger changes in dev_utils gas schedule. Note that there are no semantic changes to the real gas meter on the Sui side though.

Test plan

CI


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:
  • Indexing Framework:

@tzakian tzakian requested a review from cgswords January 27, 2026 20:23
@vercel
Copy link

vercel bot commented Jan 27, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

2 Skipped Deployments
Project Deployment Review Updated (UTC)
multisig-toolkit Ignored Ignored Jan 27, 2026 8:23pm
sui-kiosk Ignored Ignored Jan 27, 2026 8:23pm

Request Review

@tzakian tzakian temporarily deployed to sui-typescript-aws-kms-test-env January 27, 2026 20:23 — with GitHub Actions Inactive
Copy link
Contributor

@cgswords cgswords left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, but: are we ever going to regret removing this information from the gas?

) -> PartialVMResult<()> {
self.charge_instr_with_size(
Opcodes::CALL_GENERIC,
((ty_args.len() + args.len() + 1) as u64).into(),
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do we care about this cost change?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not really -- this is only used by the Move CLI outside of the Sui CLI.

I honestly think we should consider removing this entirely and just using the tiered_gas_schedule as that tracks most closely to the metering we do on the Sui side.

Copy link
Contributor

@cgswords cgswords left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, assuming we did not want this info anyway. @dariorussi might have opinions, too.

@dariorussi
Copy link
Contributor

LGTM, assuming we did not want this info anyway. @dariorussi might have opinions, too.

LGTM too, we can chat more but it seems reasonable?

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.

4 participants