Skip to content

[ETCM-79] checkpointing QA JRC #737

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

Merged
merged 1 commit into from
Oct 21, 2020
Merged

[ETCM-79] checkpointing QA JRC #737

merged 1 commit into from
Oct 21, 2020

Conversation

rtkaczyk
Copy link
Contributor

Description

Checkpointing helpers for QA

Proposed Solution

Add to new JRC methods:

  • `qa_getFederationMembersInfo
  • qa_generateCheckpoint

Testing

Unit tests + manual testing with Insomnia performed

@rtkaczyk rtkaczyk requested review from ntallar and pslaski October 14, 2020 20:48
Copy link
Contributor

@pslaski pslaski left a comment

Choose a reason for hiding this comment

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

only one minor comment

val keys = privateKeys.map { key =>
crypto.keyPairFromPrvKey(key.toArray)
}
val signatures = keys.map(ECDSASignature.sign(blockHash.toArray, _, None))
Copy link
Contributor

Choose a reason for hiding this comment

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

Could you add TODO about #738 to remember to add sorting here too?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Copy link

@ntallar ntallar left a comment

Choose a reason for hiding this comment

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

Only minor comments!

@lemastero
Copy link
Contributor

After margin [ETCM-141] scalafmt . This PR can be updated by git merge etcm-79-checkpointing-qa-fmt2
Bonus: resolve conflicts :)

Changes:
+604 −97
+573 -49

@rtkaczyk rtkaczyk force-pushed the etcm-79-checkpointing-qa branch 2 times, most recently from 1e2a14d to 3ab9b0d Compare October 20, 2020 12:43
Copy link

@ntallar ntallar left a comment

Choose a reason for hiding this comment

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

LGTM!

 .\\            //.
. \ \          / /.
.\  ,\     /` /,.-
 -.   \  /'/ /  .
 ` -   `-'  \  -
   '.       /.\`
      -    .-
      :`//.'
      .`.'
      .' BP 

@rtkaczyk rtkaczyk force-pushed the etcm-79-checkpointing-qa branch from 3ab9b0d to 49b8a81 Compare October 20, 2020 17:31
@rtkaczyk rtkaczyk force-pushed the etcm-79-checkpointing-qa branch from 49b8a81 to e3839b1 Compare October 21, 2020 09:24
@pslaski pslaski merged commit 9dd8362 into develop Oct 21, 2020
@pslaski pslaski deleted the etcm-79-checkpointing-qa branch October 21, 2020 10:45
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.

4 participants