Skip to content

Commit

Permalink
feat(relayer): regen bindings, make changes for stateVars, add isMess…
Browse files Browse the repository at this point in the history
…ageReceived (#16664)
  • Loading branch information
cyberhorsey authored Apr 6, 2024
1 parent f92cf45 commit 66a35e2
Show file tree
Hide file tree
Showing 25 changed files with 1,939 additions and 1,482 deletions.
297 changes: 169 additions & 128 deletions packages/blobstorage/TaikoL1.json

Large diffs are not rendered by default.

527 changes: 287 additions & 240 deletions packages/blobstorage/bindings/taikol1/TaikoL1.go

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions packages/blobstorage/indexer/indexer.go
Original file line number Diff line number Diff line change
Expand Up @@ -117,12 +117,12 @@ func (i *Indexer) setInitialIndexingBlock(
}

// and then start from the genesis height.
stateVars, err := i.taikoL1.GetStateVariables(nil)
slotA, _, err := i.taikoL1.GetStateVariables(nil)
if err != nil {
return err
}

i.latestIndexedBlockNumber = stateVars.A.GenesisHeight - 1
i.latestIndexedBlockNumber = slotA.GenesisHeight - 1

return nil
}
Expand Down
Loading

0 comments on commit 66a35e2

Please sign in to comment.