Execute self-nomination transactions on a new thread#98
Execute self-nomination transactions on a new thread#98majecty merged 3 commits intoCodeChain-io:masterfrom MSNTCS:master
Conversation
|
Please fix your commit message. "Currently, we have a tool written in TypeScript to |
|
Your code creates a thread, not a process. Please change your commit message and PR description. |
Sure, I will wait for your review and then apply changes. |
|
@MSNTCS Please do not include issue number in the commit message. |
Thanks, I will take care of it. |
|
It looks good to me. I'll merge this PR after CI completes the tests. |
majecty
left a comment
There was a problem hiding this comment.
It looks good to me. I'll merge this PR after CI completes the tests.
|
@MSNTCS The tests you added failed. Are they working on your local machine? |
|
@MSNTCS Please update "foundry/config/presets/config.prod.toml" also. |
Currently, we have a tool written in TypeScript to run auto-self-nominate. In this new patch, codechain is able to run auto-self-nominate in a different thread. In order to test the functionality of auto-self-nominate, a new `selfnomination` test is added in `e2e.dynval/2/selfnomination.test.ts`.
Implementing the auto self-nomination thread led to some clippy problems which we had to change some part of `consensus/stake`.
Currently, we have a tool written in TypeScript to run auto-self-nominate.
In this new patch, codechain is able to run auto-self-nominate in a different
thread. it fixes #57.