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

Remove super mode from service #118

Merged
merged 9 commits into from
Feb 5, 2021

Conversation

secret2830
Copy link
Contributor

@secret2830 secret2830 commented Feb 5, 2021

Remove super mode from service:

  • Proto
  • Core
  • Client
  • Spec
  • Service interfaces in Oracle and Random

@chengwenxi chengwenxi added enhancement New feature or request modules/service Changes, features and bugs related to the service module. bug Something isn't working labels Feb 5, 2021
binding, _ := k.GetServiceBinding(ctx, serviceName, provider)
serviceFee = k.GetPrice(ctx, consumer, binding)
}
binding, _ := k.GetServiceBinding(ctx, serviceName, provider)
Copy link
Contributor

Choose a reason for hiding this comment

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

why ignore err ?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

This is an internal method as described in its comment.

@@ -1122,7 +1115,7 @@ func (k Keeper) CheckAuthority(
return sdkerrors.Wrap(types.ErrUnknownRequestContext, requestContextID.String())
}

if !consumer.Equals(consumer) {
Copy link
Contributor

Choose a reason for hiding this comment

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

good catch!

@chengwenxi chengwenxi merged commit efd11ac into master Feb 5, 2021
@chengwenxi chengwenxi deleted the secret/remove-supermode-from-service branch February 5, 2021 07:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working enhancement New feature or request modules/service Changes, features and bugs related to the service module.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants