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

docs: add chain link test cases update guide #992

Merged
merged 11 commits into from
May 5, 2023

Conversation

dadamu
Copy link
Contributor

@dadamu dadamu commented Aug 10, 2022

Description

This PR creates the guide on how to properly update multi-signature account chain link tests after the Proto version of profiles change.


Author Checklist

All items are required. Please add a note to the item if the item is not applicable and
please add links to any relevant follow up issues.

I have...

  • included the correct type prefix in the PR title
  • added ! to the type prefix if API or client breaking change
  • targeted the correct branch (see PR Targeting)
  • provided a link to the relevant issue or specification
  • followed the guidelines for building modules
  • included the necessary unit and integration tests
  • added a changelog entry to CHANGELOG.md
  • included comments for documenting Go code
  • updated the relevant documentation or specification
  • reviewed "Files changed" and left comments if necessary
  • confirmed all CI checks have passed

Reviewers Checklist

All items are required. Please add a note if the item is not applicable and please add
your handle next to the items reviewed if you only reviewed selected items.

I have...

  • confirmed the correct type prefix in the PR title
  • confirmed ! in the type prefix if API or client breaking change
  • confirmed all author checklist items have been addressed
  • reviewed state machine logic
  • reviewed API design and naming
  • reviewed documentation is accurate
  • reviewed tests and test coverage
  • manually tested (if applicable)

@dadamu dadamu requested review from leobragaz and RiccardoM August 10, 2022 06:23
}
```

#### 2. Execute the latest desmos cli with the command `desmos create-link-json` with `tx.json` to create chain link proof data `data.json`.
Copy link
Contributor Author

@dadamu dadamu Aug 10, 2022

Choose a reason for hiding this comment

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

I am thinking that building a testutil command for it would be helpful, say:

desmos testutil profiles show-chain-link-signature data.json

What do you think? @RiccardoM @bragaz

Copy link
Contributor

Choose a reason for hiding this comment

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

Do you mean a command to create both the data and the signature in one shot?

Copy link
Contributor Author

@dadamu dadamu Aug 17, 2022

Choose a reason for hiding this comment

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

Nope, I mean the command to show chain link signature in hex encode from proof data.json for updating chain link test case.

Copy link
Contributor

Choose a reason for hiding this comment

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

Oh gotcha! Yeah I think it can be useful. @RiccardoM thoughts?

@github-actions github-actions bot added the kind/build Related to the build of the project label Aug 10, 2022
}
```

#### 2. Execute the latest desmos cli with the command `desmos create-link-json` with `tx.json` to create chain link proof data `data.json`.
Copy link
Contributor

Choose a reason for hiding this comment

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

Do you mean a command to create both the data and the signature in one shot?

dadamu and others added 6 commits August 17, 2022 23:27
Co-authored-by: Leonardo Bragagnolo <leo.braga95@gmail.com>
Co-authored-by: Leonardo Bragagnolo <leo.braga95@gmail.com>
…om:desmos-labs/desmos into paul/add-chain-link-test-upgradation-guide
@github-actions github-actions bot removed the kind/build Related to the build of the project label Sep 1, 2022
@RiccardoM RiccardoM changed the title docs: added chain link test cases upgradation guide docs: added chain link test cases update guide Sep 2, 2022
@RiccardoM RiccardoM changed the title docs: added chain link test cases update guide docs: add chain link test cases update guide Sep 2, 2022
@RiccardoM RiccardoM requested a review from a team as a code owner November 29, 2022 23:07
@RiccardoM RiccardoM merged commit 8bf1d89 into master May 5, 2023
@RiccardoM RiccardoM deleted the paul/add-chain-link-test-upgradation-guide branch May 5, 2023 20:08
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.

3 participants