Skip to content

Cap gasless tx size at 16 KiB and raise gasless_max_tps to 300#26156

Draft
alex-mysten wants to merge 1 commit intomainfrom
steka-inc-gasless-tps
Draft

Cap gasless tx size at 16 KiB and raise gasless_max_tps to 300#26156
alex-mysten wants to merge 1 commit intomainfrom
steka-inc-gasless-tps

Conversation

@alex-mysten
Copy link
Copy Markdown
Contributor

@alex-mysten alex-mysten commented Apr 8, 2026

Summary

Two changes in protocol version 122 to enable a safe gasless launch at higher TPS:

  1. New protocol config gasless_max_tx_size_bytes = 16384 (all chains). Enforced in SenderSignedData::validity_check alongside the general max_tx_size_bytes. Bounds worst-case persistent storage per admitted gasless transaction at ~16 KiB (vs. the ~128 KiB ceiling of the general cap).
  2. gasless_max_tps raised from 50 to 300 on Testnet/Devnet. Still unset on Mainnet (gasless remains gated off there).

Test plan

  • sui-protocol-config snapshot tests pass
  • sui-open-rpc spec snapshot regenerated
  • sui-types lib tests pass
  • cargo xclippy -D warnings clean
  • Gasless e2e tests (sui-e2e-tests::gasless_tests) — covered by CI

@alex-mysten alex-mysten temporarily deployed to sui-typescript-aws-kms-test-env April 8, 2026 13:02 — with GitHub Actions Inactive
@vercel
Copy link
Copy Markdown

vercel bot commented Apr 8, 2026

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

Project Deployment Actions Updated (UTC)
sui-docs Ready Ready Preview, Comment Apr 20, 2026 0:59am
2 Skipped Deployments
Project Deployment Actions Updated (UTC)
multisig-toolkit Ignored Ignored Preview Apr 20, 2026 0:59am
sui-kiosk Ignored Ignored Preview Apr 20, 2026 0:59am

Request Review

@alex-mysten alex-mysten force-pushed the steka-inc-gasless-tps branch from eb68e7d to 60f5e43 Compare April 14, 2026 12:45
@alex-mysten alex-mysten temporarily deployed to sui-typescript-aws-kms-test-env April 14, 2026 12:45 — with GitHub Actions Inactive
@alex-mysten alex-mysten changed the title Increase gasless max TPS to 200 Cap gasless tx size at 16 KiB and raise gasless_max_tps to 100 Apr 14, 2026
@alex-mysten alex-mysten force-pushed the steka-inc-gasless-tps branch from 60f5e43 to b448ebd Compare April 20, 2026 12:54
@alex-mysten alex-mysten temporarily deployed to sui-typescript-aws-kms-test-env April 20, 2026 12:54 — with GitHub Actions Inactive
@alex-mysten alex-mysten changed the title Cap gasless tx size at 16 KiB and raise gasless_max_tps to 100 Cap gasless tx size at 16 KiB and raise gasless_max_tps to 300 Apr 20, 2026
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