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

chainconfig_client-go: Grammar #1674

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions chainconfig/chainconfig_client.go
Original file line number Diff line number Diff line change
Expand Up @@ -23,12 +23,12 @@ type (
)

const (
// FeaturePending status indicates a feature hasn't been enabled by majority of validators yet.
// FeaturePending status indicates that a feature hasn't been enabled by the majority of validators yet.
FeaturePending = cctypes.Feature_PENDING
// FeatureWaiting status indicates a feature has been enabled by majority of validators, but
// FeatureWaiting status indicates a feature that has been enabled by the majority of validators, but
// hasn't been activated yet because not enough blocks confirmations have occurred yet.
FeatureWaiting = cctypes.Feature_WAITING
// FeatureEnabled status indicates a feature has been enabled by majority of validators, and
// FeatureEnabled status indicates a feature that has been enabled by the majority of validators, and
// has been activated on the chain.
FeatureEnabled = cctypes.Feature_ENABLED
// FeatureDisabled is not currently used.
Expand All @@ -44,7 +44,7 @@ type ChainConfigClient struct {
signer auth.Signer
}

// NewChainConfigClient returns ChainConfigClient instance
// NewChainConfigClient returns a ChainConfigClient instance
func NewChainConfigClient(
loomClient *client.DAppChainRPCClient,
caller goloom.Address,
Expand Down Expand Up @@ -140,7 +140,7 @@ func (cc *ChainConfigClient) GetValidatorInfo() (*GetValidatorInfoResponse, erro
cc.caller,
&resp,
); err != nil {
cc.logger.Error("Failed to Get Validator information in ChainConfig contract", "err", err)
cc.logger.Error("Failed to get validator information in ChainConfig contract", "err", err)
return nil, err
}
return &resp, nil
Expand Down