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

close verifyTask when there is no valid peer and add UT tests #14

Merged
merged 1 commit into from
May 4, 2022

Conversation

cryyl
Copy link

@cryyl cryyl commented Apr 29, 2022

Description

close verifyTask when there is no valid peer and add UT tests

Rationale

tell us why we need these changes...

Example

add an example CLI or API response...

Changes

Notable changes:

  • add each change in a bullet point here
  • ...

resp := verifier.GetRootByDiffHash(req.blockNumber, req.blockHash, req.diffHash)
if failed != nil && req.blockNumber == failed.blockNumber {
resp.Status = failed.status
} else {
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

we can remove this else condition to keep the original status that response from the verifier.

@realuncle realuncle merged commit 2dbc8c5 into separate-node May 4, 2022
calmbeing pushed a commit that referenced this pull request May 20, 2022
* feat: integration for BEP-127

* fix: euler config order

* fix: init code

* feat: integration for BEP-131

* fix: update RialtoGenesisHash

* feat: upgrade euler height

* feat: upgrade euler height and Validator contract byte code

* feat: modify railto genesis hash

* feat: modify railto genesis hash

* TODO: add comment to make sure upgrade height is not an integer multiple of 200(epoch number)

* force check that Euler height cannot be a multiple of 200

* fix String() function of ChainConfig

* add simple aggragate votes

* fix missing parent assign issue

Co-authored-by: zjubfd <296179868@qq.com>
Co-authored-by: soliditygo <soliditygo@outlook.com>
Co-authored-by: dean65 <dean950605@gmail.com>
Co-authored-by: Gothery <90246878+gothery001@users.noreply.github.com>
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.

6 participants