Skip to content

Commit

Permalink
chore: comments
Browse files Browse the repository at this point in the history
  • Loading branch information
bryanchriswhite committed Jan 29, 2025
1 parent 7c42e21 commit 1add213
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions testutil/testmigration/fixtures.go
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,10 @@ import (
migrationtypes "github.com/pokt-network/poktroll/x/migration/types"
)

// TODO_IN_THIS_COMMIT: godoc...
// NewMorseStateExportAndAccountStateBytes returns a serialized `MorseStateExport`
// and its corresponding `MorseAccountState`, populated dynamically with randomized
// account addresses, and monotonically increasing balances/stakes. For each account,
// one application and supplier are also added to the states.
// TODO_CONSIDERATION: Test/benchmark execution speed can be optimized by refactoring this to a pre-generate fixture.
func NewMorseStateExportAndAccountStateBytes(
t gocuke.TestingT,
Expand All @@ -33,7 +36,10 @@ func NewMorseStateExportAndAccountStateBytes(
return morseStateExportBz, morseAccountStateBz
}

// TODO_IN_THIS_COMMIT: godoc...
// NewMorseStateExportAndAccountState returns a `MorseStateExport` and its
// corresponding `MorseAccountState`, populated dynamically with randomized
// account addresses, and monotonically increasing balances/stakes. For each account,
// one application and supplier are also added to the states.
func NewMorseStateExportAndAccountState(
t gocuke.TestingT, numAccounts int,
) (export *migrationtypes.MorseStateExport, state *migrationtypes.MorseAccountState) {
Expand Down

0 comments on commit 1add213

Please sign in to comment.