Skip to content

Contract Spec tab to show parameter name instead of indices#1945

Open
jeesunikim wants to merge 2 commits intomainfrom
issue-1921
Open

Contract Spec tab to show parameter name instead of indices#1945
jeesunikim wants to merge 2 commits intomainfrom
issue-1921

Conversation

@jeesunikim
Copy link
Contributor

No description provided.

Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

Updates contract interface formatting so the Contract Spec “interface” view can display function parameter names (instead of numeric indices), and refreshes network limit window values.

Changes:

  • Update formatFnInputs to handle inputs when provided as an array of {name, type} objects.
  • Update live_soroban_state_size_window values for mainnet/testnet/futurenet network limits.

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 1 comment.

File Description
src/helpers/formatContractInterface.ts Formats function inputs using parameter names when inputs is an array.
src/constants/networkLimits.ts Updates the live Soroban state size window samples used in rent/fee calculations.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@stellar-jenkins
Copy link

Copy link
Contributor

Copilot AI commented Mar 10, 2026

@jeesunikim I've opened a new pull request, #1946, to work on those changes. Once the pull request is ready, I'll request review from you.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Backlog (Not Ready)

Development

Successfully merging this pull request may close these issues.

5 participants