Skip to content

Commit

Permalink
chore: fix some function names in comment (#1817)
Browse files Browse the repository at this point in the history
Signed-off-by: wanxiangchwng <[email protected]>
  • Loading branch information
wanxiangchwng authored Nov 26, 2024
1 parent bb043da commit c9bc9e5
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion chain/dependencies.go
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ type MetadataManager interface {
}

type BalanceHandler interface {
// StateKeys is a full enumeration of all database keys that could be touched during fee payment
// SponsorStateKeys is a full enumeration of all database keys that could be touched during fee payment
// by [addr]. This is used to prefetch state and will be used to parallelize execution (making
// an execution tree is trivial).
//
Expand Down
2 changes: 1 addition & 1 deletion throughput/spam.go
Original file line number Diff line number Diff line change
Expand Up @@ -274,7 +274,7 @@ func (s *Spammer) logZipf(zipfSeed *rand.Rand) {
utils.Outf("{{blue}}unique participants expected every 60s:{{/}} %d\n", unique.Len())
}

// createIssuer creates an [numClients] transaction issuers for each URI in [uris]
// createIssuers creates an [numClients] transaction issuers for each URI in [uris]
func (s *Spammer) createIssuers(parser chain.Parser) ([]*issuer, error) {
issuers := []*issuer{}

Expand Down
2 changes: 1 addition & 1 deletion x/contracts/simulator/ffi/ffi.go
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,7 @@ func newCallContractResponse(result []byte, fuel uint64, err error) C.CallContra
}
}

// getBalance returns the balance of [account].
// GetBalance returns the balance of [account].
// Panics if there is an error.
//
//export GetBalance
Expand Down

0 comments on commit c9bc9e5

Please sign in to comment.