Skip to content

Commit

Permalink
fix proto lint err
Browse files Browse the repository at this point in the history
  • Loading branch information
trestinlsd committed Oct 11, 2024
1 parent 4e24e16 commit 80a0f26
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -35,4 +35,4 @@ EXPOSE 26656 26657 1317 9090 8545 8546
# Every 30s, allow 3 retries before failing, timeout after 30s.
HEALTHCHECK --interval=30s --timeout=30s --retries=3 CMD curl -f http://localhost:26657/health || exit 1

CMD ["exocored"]
CMD ["exocored"]
6 changes: 3 additions & 3 deletions proto/exocore/avs/v1/genesis.proto
Original file line number Diff line number Diff line change
Expand Up @@ -37,22 +37,22 @@ message GenesisState {

}


// TaskID is helper structure to store the task id information for the genesis state.
message TaskID {
// task_addr is the address of task as a hex string
string task_addr = 1;
// id of task.
uint64 task_id = 3;
}

// ChallengeInfo is helper structure to store the task challenge information for the genesis state.
message ChallengeInfo {
// key is used for storing the ChallengeInfos,
// which is a combination of the operator address ,task address and task id.
string key = 1;
// challenge_addr is the address of the challenger
string challenge_addr = 2;
}

// ChainIDInfo is helper structure to store the dogfood ChainID information for the genesis state.
message ChainIDInfo {
// avs_address is the address of avs as a hex string.
string avs_address = 1;
Expand Down
8 changes: 4 additions & 4 deletions proto/exocore/feedistribution/v1/genesis.proto
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ message GenesisState {

}


// ValidatorAccumulatedCommissions is helper structure to store the validator accumulated commissions for the genesis state.
message ValidatorAccumulatedCommissions {
// val_addr is the address of validator
string val_addr = 1;
Expand All @@ -44,7 +44,7 @@ message ValidatorAccumulatedCommissions {
// for a validator kept as a running counter, can be withdrawn at any time.
ValidatorAccumulatedCommission commission = 2;
}

// ValidatorCurrentRewardsList is helper structure to store the validator current rewards for the genesis state.
message ValidatorCurrentRewardsList {
// val_addr is the address of validator
string val_addr = 1;
Expand All @@ -54,7 +54,7 @@ message ValidatorCurrentRewardsList {
// each block as long as the validator's tokens remain constant.
ValidatorCurrentRewards current_rewards = 2;
}

// TaskID is helper structure to store the validator outstanding rewards for the genesis state.
message ValidatorOutstandingRewardsList {
// val_addr is the address of validator
string val_addr = 1;
Expand All @@ -63,7 +63,7 @@ message ValidatorOutstandingRewardsList {
// for a validator inexpensive to track, allows simple sanity checks.
ValidatorOutstandingRewards outstanding_rewards = 2;
}

// StakerOutstandingRewardsList is helper structure to store the staker outstanding rewards for the genesis state.
message StakerOutstandingRewardsList {
// val_addr is the address of validator
string val_addr = 1;
Expand Down

0 comments on commit 80a0f26

Please sign in to comment.