Skip to content

Commit

Permalink
add SkipVerifyL1InfoRoot as true when debug trace needs to provide th…
Browse files Browse the repository at this point in the history
…e l1 info tree data (#3321)
  • Loading branch information
tclemos authored Feb 20, 2024
1 parent 5abad0d commit e767b9e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions state/trace.go
Original file line number Diff line number Diff line change
Expand Up @@ -254,6 +254,7 @@ func (s *State) DebugTransaction(ctx context.Context, transactionHash common.Has
// In case we have any l1InfoTreeData, add them to the request
if len(l1InfoTreeData) > 0 {
processBatchRequestV2.L1InfoTreeData = map[uint32]*executor.L1DataV2{}
processBatchRequestV2.SkipVerifyL1InfoRoot = cTrue
for k, v := range l1InfoTreeData {
processBatchRequestV2.L1InfoTreeData[k] = &executor.L1DataV2{
GlobalExitRoot: v.GlobalExitRoot.Bytes(),
Expand Down

0 comments on commit e767b9e

Please sign in to comment.