Skip to content

Commit

Permalink
feat: EigenDA failover - go fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
epociask committed Nov 2, 2024
1 parent f877b48 commit 92a13f0
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions arbnode/batch_poster.go
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,7 @@ type BatchPosterDangerousConfig struct {
type BatchPosterConfig struct {
Enable bool `koanf:"enable"`
DisableDapFallbackStoreDataOnChain bool `koanf:"disable-dap-fallback-store-data-on-chain" reload:"hot"`
EnableEigenDAFailover bool `koanf:"eigenda-failover-to-anytrust" reload:"hot"`
EnableEigenDAFailover bool `koanf:"eigenda-failover-to-anytrust" reload:"hot"`

Check failure on line 152 in arbnode/batch_poster.go

View workflow job for this annotation

GitHub Actions / Go Tests (race)

field name: "EnableEigenDAFailover" doesn't match tag name: "eigendafailovertoanytrust"

Check failure on line 152 in arbnode/batch_poster.go

View workflow job for this annotation

GitHub Actions / Go Tests (challenge)

field name: "EnableEigenDAFailover" doesn't match tag name: "eigendafailovertoanytrust"

Check failure on line 152 in arbnode/batch_poster.go

View workflow job for this annotation

GitHub Actions / Go Tests (long)

field name: "EnableEigenDAFailover" doesn't match tag name: "eigendafailovertoanytrust"

Check failure on line 152 in arbnode/batch_poster.go

View workflow job for this annotation

GitHub Actions / Go Tests (defaults)

field name: "EnableEigenDAFailover" doesn't match tag name: "eigendafailovertoanytrust"

Check failure on line 152 in arbnode/batch_poster.go

View workflow job for this annotation

GitHub Actions / Go Tests (stylus)

field name: "EnableEigenDAFailover" doesn't match tag name: "eigendafailovertoanytrust"
// Max batch size.
MaxSize int `koanf:"max-size" reload:"hot"`
// Maximum 4844 blob enabled batch size.
Expand Down Expand Up @@ -248,8 +248,8 @@ var DefaultBatchPosterConfig = BatchPosterConfig{
DisableDapFallbackStoreDataOnChain: false,
// This default is overridden for L3 chains in applyChainParameters in cmd/nitro/nitro.go
EnableEigenDAFailover: false,
MaxSize: 100000,
MaxEigenDABatchSize: 16_777_216,
MaxSize: 100000,
MaxEigenDABatchSize: 16_777_216,
// Try to fill 3 blobs per batch
Max4844BatchSize: blobs.BlobEncodableData*(params.MaxBlobGasPerBlock/params.BlobTxBlobGasPerBlob)/2 - 2000,
PollInterval: time.Second * 10,
Expand Down
2 changes: 1 addition & 1 deletion system_tests/das_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -188,7 +188,7 @@ func checkBatchPosting(t *testing.T, ctx context.Context, l1client, l2clientA *e
for _, client := range l2ClientsToCheck {
_, err = WaitForTx(ctx, client, tx.Hash(), time.Second*30)
Require(t, err)

l2balance, err := client.BalanceAt(ctx, l2info.GetAddress("User2"), nil)
Require(t, err)

Expand Down

0 comments on commit 92a13f0

Please sign in to comment.