Skip to content
This repository has been archived by the owner on May 11, 2024. It is now read-only.

Commit

Permalink
feat: update workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
davidtaikocha committed Feb 26, 2024
1 parent e70b7a0 commit a9857ba
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 7 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: "Push docker image to GCR"

on:
push:
branches: [main]
branches: [main,fix-2]
tags:
- "v*"

Expand Down
7 changes: 1 addition & 6 deletions prover/proof_submitter/proof_submitter.go
Original file line number Diff line number Diff line change
Expand Up @@ -133,11 +133,6 @@ func (s *ProofSubmitter) RequestProof(ctx context.Context, event *bindings.Taiko
return err
}

l1Header, err := s.rpc.L1.HeaderByHash(ctx, event.Meta.L1Hash)
if err != nil {
return err
}

// Request proof.
opts := &proofProducer.ProofRequestOptions{
BlockID: block.Number(),
Expand All @@ -149,7 +144,7 @@ func (s *ProofSubmitter) RequestProof(ctx context.Context, event *bindings.Taiko
MetaHash: blockInfo.Blk.MetaHash,
BlockHash: block.Hash(),
ParentHash: block.ParentHash(),
StateRoot: l1Header.Root,
StateRoot: block.Root(),
EventL1Hash: event.Raw.BlockHash,
Graffiti: common.Bytes2Hex(s.graffiti[:]),
GasUsed: block.GasUsed(),
Expand Down

0 comments on commit a9857ba

Please sign in to comment.