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

Fix typos #74

Merged
merged 7 commits into from
Nov 6, 2023
Merged
Show file tree
Hide file tree
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
4 changes: 2 additions & 2 deletions chainio/README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
## ChainIO

This module is used to facilitate reading/writing/subsribing to [eigenlayer core](./elcontracts/) contracts and [avs registry](./avsregistry/) contracts.
This module is used to facilitate reading/writing/subscribing to [eigenlayer core](./elcontracts/) contracts and [avs registry](./avsregistry/) contracts.

To make it easier to understand the different structs in this package, and their hierarchical relationship, we describe each of them below:
- geth's ethClient
Expand All @@ -17,4 +17,4 @@ To make it easier to understand the different structs in this package, and their
- hides even more complexity than elContractsClient
- These structs should be the only ones used by AVS developers, apart from interacting with an ethClient directly to make direct json rpc calls such as waiting for a transaction receipt.

A similar hierarchy applies for the avs registry contracts.
A similar hierarchy applies for the avs registry contracts.
4 changes: 2 additions & 2 deletions crypto/bls/data.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@ package bls
type OperatorId = [32]byte
type OperatorIndex uint

// Security and Quorum Paramaters
// Security and Quorum Parameters

// QuorumID is a unique identifier for a quorum; initially EigenDA wil support upt to 256 quorums
// QuorumID is a unique identifier for a quorum; initially EigenDA will support up to 256 quorums
type QuorumID uint8

// SecurityParam contains the quorum ID and the adversary threshold for the quorum;
Expand Down
4 changes: 2 additions & 2 deletions crypto/bls/state.go
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ type OperatorInfo struct {

// OperatorState contains information about the current state of operators which is stored in the blockchain state
type OperatorState struct {
// Operators is a map from quorum ID to a map from the operators in that quourm to their StoredOperatorInfo.
// Operators is a map from quorum ID to a map from the operators in that quorum to their StoredOperatorInfo.
// Membership
// in the map implies membership in the quorum.
Operators map[QuorumID]map[OperatorId]*OperatorInfo
Expand All @@ -36,7 +36,7 @@ type OperatorState struct {
// contracts. Note that
// this information does not depend on the quorum.
type IndexedOperatorInfo struct {
// PubKeyG1 and PubKeyG2 are the public keys of the operator, which are retreived from the EigenDAPubKeyCompendium
// PubKeyG1 and PubKeyG2 are the public keys of the operator, which are retrieved from the EigenDAPubKeyCompendium
// smart contract
PubkeyG1 *G1Point
PubkeyG2 *G2Point
Expand Down
2 changes: 1 addition & 1 deletion nodeapi/nodeapi.go
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ type ServiceStatus string
const (
ServiceStatusUp ServiceStatus = "Up"
ServiceStatusDown ServiceStatus = "Down"
ServiceStatusInitializing ServiceStatus = "Initialiazing"
ServiceStatusInitializing ServiceStatus = "Initializing"
)

type nodeService struct {
Expand Down
2 changes: 1 addition & 1 deletion services/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,4 @@ eigensdk services are high level APIs that provide backend like functionality fo
- this service is needed to be able to check that an eigenlayer operator was registered at a specific block and that the stake threshold had been met for an aggregate bls signature
- Signature aggregation service
- this service will provide endpoints to aggregate operator signatures for various avs tasks
- this service will aggregate signatures in the background and return an aggregated bls signature once its reached a threshold (this will require using the registry service to get operator stakes)
- this service will aggregate signatures in the background and return an aggregated bls signature once it reached a threshold (this will require using the registry service to get operator stakes)
2 changes: 1 addition & 1 deletion types/operator.go
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ const (

// Operator represents Eigenlayer's view of an operator
type Operator struct {
// Address addres of the operator
// Address address of the operator
Address string `yaml:"address" json:"address"`

// https://github.com/Layr-Labs/eigenlayer-contracts/blob/delegation-redesign/src/contracts/interfaces/IDelegationManager.sol#L18
Expand Down
Loading