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

Add support for sudo #115

Closed
wants to merge 1 commit into from
Closed

Add support for sudo #115

wants to merge 1 commit into from

Conversation

dvc94ch
Copy link
Contributor

@dvc94ch dvc94ch commented May 26, 2020

@Dengjianping Do you want to finish it? Test is still failing because ensure_signed doesn't accept transactions with root origin. Closes #112

@Dengjianping
Copy link

Dengjianping commented Jun 1, 2020

Sorry for trying this so late.

I ran your sudo example as well as my own, I got error like this:

Rpc(Request(Error { code: ServerError(1010), message: "Invalid Transaction", data: Some(String("BadProof")) }))

It looks there's problem on the signer.

Update: I tried another test case test_tx_transfer_balance, got the same error. It's kind of weird.
rev: e7457b1eb9980596301fe1afd36478a6725157ef, 2020/5/07

@dvc94ch
Copy link
Contributor Author

dvc94ch commented Jun 3, 2020

Have you tried purge-chain --dev?

@Dengjianping
Copy link

Yes, I purged the whole chain. By the way, current rev I'm using is kind of old, does older rev cause this problem? I see that subsxt is using rc2.

@dvc94ch
Copy link
Contributor Author

dvc94ch commented Jun 9, 2020

@Dengjianping yes, that could definitely cause weird issues. I'm closing this PR for now.

@dvc94ch dvc94ch closed this Jun 9, 2020
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.

module_with_calls is not public caused I failed to compose two calls
2 participants