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

feat: added verify uniqueID of certificate #542

Merged
merged 28 commits into from
Dec 12, 2022

Conversation

gyuguen
Copy link
Contributor

@gyuguen gyuguen commented Dec 8, 2022

Implement

  • Added unique_id field in UnsignedCertificate
  • Added verify uniqueID of certificate
  • Added test msg validation of deal

@gyuguen gyuguen self-assigned this Dec 8, 2022
@gyuguen gyuguen linked an issue Dec 8, 2022 that may be closed by this pull request
@gyuguen gyuguen marked this pull request as draft December 9, 2022 01:30
@gyuguen gyuguen marked this pull request as ready for review December 9, 2022 01:53
@@ -82,46 +82,6 @@ func (m *MsgSubmitConsent) GetSigners() []sdk.AccAddress {
return []sdk.AccAddress{oracleAddress}
}

func (m *Certificate) ValidateBasic() error {
Copy link
Contributor Author

Choose a reason for hiding this comment

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

I moved it to x/datadeal/types/certificate.go

Copy link

@inchori inchori left a comment

Choose a reason for hiding this comment

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

lgtm
I left a one question.

x/datadeal/types/message_deal_test.go Show resolved Hide resolved
Copy link
Contributor

@audtlr24 audtlr24 left a comment

Choose a reason for hiding this comment

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

good

Copy link
Contributor

@0xHansLee 0xHansLee left a comment

Choose a reason for hiding this comment

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

lgtm

Copy link
Contributor

@youngjoon-lee youngjoon-lee left a comment

Choose a reason for hiding this comment

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

alles gut

Base automatically changed from ft/513/apply_oracle_commission to main December 12, 2022 08:08
@gyuguen gyuguen merged commit 4d043b6 into main Dec 12, 2022
@gyuguen gyuguen deleted the ft/513/add_verify_unique_id_of_certificate branch December 12, 2022 08:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Implement SubmitConsent tx
5 participants