Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improve TON Staker #14

Merged
merged 1 commit into from
Jan 15, 2025
Merged

Improve TON Staker #14

merged 1 commit into from
Jan 15, 2025

Conversation

welldan97
Copy link
Collaborator

@welldan97 welldan97 commented Jan 14, 2025

  1. Retry if RPC request hits rate limit

  2. Track both external and internal txs via getTxStatus:

When we send messages via SDK, we get their message hash. Then this reaches the wallet contract and it creates TX with outgoing messages. TX has both incoming and outgoing messages and has its own hash.

getTxStatus was tracking only TX hash, and broadcast was returning message hash. So with getTxStatus it was not possible to track broadcasted messages. This PR fixes it

1. Retry if signing request hits rate limit
2. Track both external and internal messages via getTxStatus
@mkaczanowski mkaczanowski merged commit ad330dc into main Jan 15, 2025
1 check passed
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.

2 participants