Skip to content

Conversation

@arnaubennassar
Copy link
Collaborator

No description provided.

},
"SettlementBackend": {
"type": "string",
"description": "SettlementBackend configuration defines how a final ZKP should be settled. Directly to L1 or over the Beethoven service.",
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

WDYT?

Suggested change
"description": "SettlementBackend configuration defines how a final ZKP should be settled. Directly to L1 or over the Beethoven service.",
"description": "SettlementBackend configuration defines how a final ZKP should be settled. Directly to L1 or over the Agglayer service.",

// final gas: 1100
GasOffset uint64 `mapstructure:"GasOffset"`

// SettlementBackend configuration defines how a final ZKP should be settled. Directly to L1 or over the Beethoven service.
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
// SettlementBackend configuration defines how a final ZKP should be settled. Directly to L1 or over the Beethoven service.
// SettlementBackend configuration defines how a final ZKP should be settled. Directly to L1 or over the Agglayer service.

waitCtx, cancelFunc := context.WithDeadline(ctx, time.Now().Add(a.cfg.AggLayerTxTimeout.Duration))
defer cancelFunc()
if err := a.AggLayerClient.WaitTxToBeMined(txHash, waitCtx); err != nil {
log.Errorf("interop didn't mine the tx: %v", err)
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
log.Errorf("interop didn't mine the tx: %v", err)
log.Errorf("agglayer didn't mine the tx: %v", err)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants