-
Notifications
You must be signed in to change notification settings - Fork 13
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
Processes pay for executions #1699
Conversation
d44eab6
to
6fed7ec
Compare
6fed7ec
to
fa20478
Compare
fa20478
to
752c23b
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
looking good 👍
Can you add a test that triggers a process without balance?
Let's merge it when we are sure that we can credit a process as well.
This is blocking, even this PR is working, it needs to be merged only when the client is updated otherwise all processes will be broken. |
TODO:
|
"github.com/tendermint/tendermint/crypto" | ||
) | ||
|
||
func testOrchestratorProcessBalanceWithdraw(executionStream pb.Execution_StreamClient, instanceHash hash.Hash) func(t *testing.T) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This test is not a withdraw test it more that the process actually paid correctly for the execution
dependant on #1688
close #1698