Skip to content

Commit

Permalink
chore: fix some struct names in comment
Browse files Browse the repository at this point in the history
Signed-off-by: chuangjinglu <chuangjinglu@outlook.com>
  • Loading branch information
chuangjinglu committed Jan 24, 2025
1 parent 041ff96 commit bfd6e7d
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion chainio/clients/wallet/fireblocks_wallet.go
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ type fireblocksWallet struct {
logger logging.Logger
chainID *big.Int

// nonceToTx keeps track of the transaction ID for each nonce
// nonceToTxID keeps track of the transaction ID for each nonce
// this is used to retrieve the transaction hash for a given nonce
// when a replacement transaction is submitted.
nonceToTxID map[uint64]TxID
Expand Down
2 changes: 1 addition & 1 deletion services/avsregistry/avsregistry.go
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ import (
// operator state
// at certain blocks, including operatorIds, pubkeys, and staking status in each quorum.
type AvsRegistryService interface {
// GetOperatorsAvsState returns the state of an avs wrt to a list of quorums at a certain block.
// GetOperatorsAvsStateAtBlock returns the state of an avs wrt to a list of quorums at a certain block.
// The state includes the operatorId, pubkey, and staking amount in each quorum.
GetOperatorsAvsStateAtBlock(
ctx context.Context,
Expand Down
2 changes: 1 addition & 1 deletion services/operatorsinfo/operatorsinfo_subgraph.go
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ type (
SocketUpdates []SocketUpdates `graphql:"socketUpdates(first: 1, orderBy: blockNumber, orderDirection: desc)"`
}
IndexedOperatorInfo struct {
// PubKeyG1 and PubKeyG2 are the public keys of the operator, which are retrieved from the
// PubkeyG1 and PubkeyG2 are the public keys of the operator, which are retrieved from the
// EigenDAPubKeyCompendium smart contract
PubkeyG1 *G1Point
PubkeyG2 *G2Point
Expand Down

0 comments on commit bfd6e7d

Please sign in to comment.