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

TxState Query and X-Shard msg query #1028

Open
qiluge opened this issue Jul 15, 2019 · 3 comments
Open

TxState Query and X-Shard msg query #1028

qiluge opened this issue Jul 15, 2019 · 3 comments

Comments

@qiluge
Copy link
Contributor

qiluge commented Jul 15, 2019

Describe the solution you would like

In the sharding enviroment, each tx has a txState stored at state store. The txState contains many usful info of corresponding tx, such as tx x-shard msg, tx locked contract and keys. But there are no approch to display this info to developer. So, there need some method to get txState info. And, this will be convenience to debug some x-shard contract invoke. The method should be RPC, REST, WS, and Ontology-CLI will be much better.

@xiemylogos
Copy link
Contributor

xiemylogos commented Jul 15, 2019

use same method,can get other shard chainconfig from shard parent ledger.

@qiluge
Copy link
Contributor Author

qiluge commented Jul 15, 2019

X-shard msg is not only exist in tx state, but also exist in state store.

@xiemylogos
Copy link
Contributor

get other shard chainconfig from shard parent ledger #1037

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

No branches or pull requests

2 participants