Skip to content

Commit

Permalink
remove polygon block headers
Browse files Browse the repository at this point in the history
  • Loading branch information
kingpinXD committed Sep 29, 2023
1 parent 7a05675 commit 22371e4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions zetaclient/evm_client.go
Original file line number Diff line number Diff line change
Expand Up @@ -848,7 +848,7 @@ func (ob *EVMChainClient) observeInTX() error {
}

if ob.chain.ChainId != common.MumbaiChain().ChainId {

Check failure on line 850 in zetaclient/evm_client.go

View workflow job for this annotation

GitHub Actions / lint

undefined: common.MumbaiChain (typecheck)

Check failure on line 850 in zetaclient/evm_client.go

View workflow job for this annotation

GitHub Actions / lint

undefined: common.MumbaiChain) (typecheck)
_, balloutIdentifier, err := ob.zetaClient.PostAddBlockHeader(
_, ballotIdentifier, err := ob.zetaClient.PostAddBlockHeader(
ob.chain.ChainId,
block.Hash().Bytes(),
block.Number().Int64(),
Expand All @@ -858,7 +858,7 @@ func (ob *EVMChainClient) observeInTX() error {
ob.logger.ExternalChainWatcher.Error().Err(err).Msgf("error posting block header: %d", bn)
continue
}
ob.logger.ExternalChainWatcher.Info().Msgf("successfully posted block-header: ChainID %d Hash %s , Height %s , Header %v , Ballot %s", ob.chain.ChainId, block.Hash().Hex(), block.Number().String(), common.NewEthereumHeader(headerRLP), balloutIdentifier)
ob.logger.ExternalChainWatcher.Info().Msgf("successfully posted block-header: ChainID %d Hash %s , Height %s , Header %v , Ballot %s", ob.chain.ChainId, block.Hash().Hex(), block.Number().String(), common.NewEthereumHeader(headerRLP), ballotIdentifier)
}
for _, tx := range block.Transactions() {
if tx.To() == nil {
Expand Down

0 comments on commit 22371e4

Please sign in to comment.