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

[enhancement] staking tx shard agnostic #3017

Closed
mindstyle85 opened this issue May 14, 2020 · 2 comments
Closed

[enhancement] staking tx shard agnostic #3017

mindstyle85 opened this issue May 14, 2020 · 2 comments
Assignees
Labels
enhancement New feature or request

Comments

@mindstyle85
Copy link

Describe the bug

To make hmy shard-agnostic, if the staking tx is received by a node on a non-beacon chain shard (currently shard #1, #2 or #3), it should broadcast this transaction to shard 0. This prevents awkward situations, such as the validator not being able to use his own node to send staking transactions.

@JackyWYX
Copy link
Contributor

JackyWYX commented May 16, 2020

This feature has already been deal with in hmycli (go-sdk).

When handling staking transactions, if queried node is not running a beacon shard, the cli will ask the shard structure and send the transaction message to the beacon shard.

@mindstyle85
Copy link
Author

ok, closing

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants