Skip to content
Open
Show file tree
Hide file tree
Changes from 5 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: 4 additions & 0 deletions common/config/doc_generator/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ import (
"github.com/Layr-Labs/eigenda/common/enforce"
"github.com/Layr-Labs/eigenda/disperser/controller"
"github.com/Layr-Labs/eigenda/ejector"
"github.com/Layr-Labs/eigenda/relay"
"github.com/Layr-Labs/eigenda/test/v2/load"
)

Expand All @@ -20,4 +21,7 @@ func main() {

err = config.DocumentConfig(controller.DefaultControllerConfig, configDocsDir, true)
enforce.NilError(err, "failed to generate docs for the disperser controller config")

err = config.DocumentConfig(relay.DefaultRelayConfig, configDocsDir, true)
enforce.NilError(err, "failed to generate docs for the relay config")
}
8 changes: 4 additions & 4 deletions docs/config/Controller.md

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

82 changes: 82 additions & 0 deletions docs/config/Relay.md

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion inabox/tests/setup_disperser_harness.go
Original file line number Diff line number Diff line change
Expand Up @@ -514,7 +514,7 @@ func startRelayWithListener(
ics := thegraph.MakeIndexedChainState(thegraph.Config{}, cs, logger)

// Create relay test configuration
relayConfig := relay.NewTestConfig(relayIndex)
relayConfig := relay.NewTestRelayConfig(relayIndex)

// Create server
server, err := relay.NewServer(
Expand Down
4 changes: 4 additions & 0 deletions relay/cmd/flags/flags.go
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,10 @@ import (
"github.com/urfave/cli"
)

// These flags are used by the legacy config. They are retained for backwards compatibility with the blobapi.
// Once the blobapi config is updated to the documented/verifiable config framework, these can be removed.
// TODO(iquidus): remove these flags once blobapi is updated to use the documented config framework.

const (
FlagPrefix = "relay"
envVarPrefix = "RELAY"
Expand Down
Loading
Loading