Skip to content

Commit

Permalink
Fix Bug in OSP Adding Unnecessary Machine Start Index (#704)
Browse files Browse the repository at this point in the history
  • Loading branch information
rauljordan authored Nov 25, 2024
1 parent 9d2c8c6 commit 0efd78d
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 3 deletions.
2 changes: 1 addition & 1 deletion challenge-manager/edge-tracker/tracker.go
Original file line number Diff line number Diff line change
Expand Up @@ -278,7 +278,7 @@ func (et *Tracker) Act(ctx context.Context) error {
return et.fsm.Do(edgeAwaitChallengeCompletion{})
}
if err := et.submitOneStepProof(ctx); err != nil {
log.Trace("Could not submit one step proof", append(fields, "err", err)...)
log.Error("Could not submit one step proof", append(fields, "err", err)...)
et.fsm.MarkError(err)
return et.fsm.Do(edgeBackToStart{})
}
Expand Down
1 change: 0 additions & 1 deletion layer2-state-provider/history_commitment_provider.go
Original file line number Diff line number Diff line change
Expand Up @@ -508,7 +508,6 @@ func (p *HistoryCommitmentProvider) OneStepProofData(
if err != nil {
return nil, nil, nil, err
}
machineIndex += OpcodeIndex(upToHeight)

osp, err := p.proofCollector.CollectProof(ctx, assertionMetadata, startHeights[0], machineIndex)
if err != nil {
Expand Down
1 change: 0 additions & 1 deletion testing/setup/rollup_stack.go
Original file line number Diff line number Diff line change
Expand Up @@ -643,7 +643,6 @@ func deployBridgeCreator(
if err != nil {
return common.Address{}, err
}
fmt.Println("Got template")
}

datahashesReader, err := retry.UntilSucceeds(ctx, func() (common.Address, error) {
Expand Down

0 comments on commit 0efd78d

Please sign in to comment.