Skip to content

[SDK] Enhance transaction handling with wait options#3744

Merged
flopez7 merged 4 commits intodevelopfrom
feat/sdk/timeout
Jan 23, 2026
Merged

[SDK] Enhance transaction handling with wait options#3744
flopez7 merged 4 commits intodevelopfrom
feat/sdk/timeout

Conversation

@flopez7
Copy link
Contributor

@flopez7 flopez7 commented Jan 21, 2026

Issue tracking

#3716

Context behind the change

  • Updated EscrowClient, KVStoreClient and StakingClient to utilize TransactionOverrides for transaction options, allowing for customizable wait parameters (confirmations and timeout).
  • Refactored methods to ensure proper handling of transaction confirmations and timeouts during contract interactions.
  • Added tests to verify that wait options are correctly passed to transaction wait.

How has this been tested?

Created some transactions manually with different configurations to make it fail.
Ran unit tests.

Release plan

Deploy new SDK version.

Potential risks; What to monitor; Rollback plan

Python SDK has been significantly changed to introduce confirmation logic. If we don't specify confirmations, it should work as usual.

… Staking clients

- Updated KVStoreClient and StakingClient to utilize TransactionOverrides for transaction options, allowing for customizable wait parameters (confirmations and timeout).
- Refactored methods to ensure proper handling of transaction confirmations and timeouts during contract interactions.
- Added tests to verify that wait options are correctly passed to transaction wait calls in both clients.
@flopez7 flopez7 requested a review from portuu3 January 21, 2026 08:16
@flopez7 flopez7 self-assigned this Jan 21, 2026
@vercel
Copy link

vercel bot commented Jan 21, 2026

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

Project Deployment Review Updated (UTC)
human-app Ready Ready Preview, Comment Jan 23, 2026 9:11am
human-dashboard-frontend Ready Ready Preview, Comment Jan 23, 2026 9:11am
staking-dashboard Ready Ready Preview, Comment Jan 23, 2026 9:11am
2 Skipped Deployments
Project Deployment Review Updated (UTC)
faucet-frontend Ignored Ignored Preview Jan 23, 2026 9:11am
faucet-server Ignored Ignored Preview Jan 23, 2026 9:11am

Request Review

portuu3
portuu3 previously approved these changes Jan 22, 2026
@portuu3 portuu3 requested a review from dnechay January 22, 2026 14:38
dnechay
dnechay previously approved these changes Jan 22, 2026
Copy link
Collaborator

@dnechay dnechay left a comment

Choose a reason for hiding this comment

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

Nice

@dnechay
Copy link
Collaborator

dnechay commented Jan 23, 2026

@flopez7 might make sense to use these new timeout options in JL & RepO as part of this PR

@flopez7
Copy link
Contributor Author

flopez7 commented Jan 23, 2026

I'd do it in a new PR @dnechay

@flopez7 flopez7 merged commit 39e76d1 into develop Jan 23, 2026
20 checks passed
@flopez7 flopez7 mentioned this pull request Jan 23, 2026
30 tasks
@dnechay dnechay deleted the feat/sdk/timeout branch January 23, 2026 14:32
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.

3 participants