Skip to content

Commit

Permalink
remove panics
Browse files Browse the repository at this point in the history
  • Loading branch information
ws4charlie committed Jul 17, 2024
1 parent 97fd399 commit b203fd4
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 5 deletions.
2 changes: 1 addition & 1 deletion pkg/contract/solana/types.go
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ type PdaInfo struct {
Authority [32]byte

// ChainId is the chain ID for the gateway program
// TODO: this field exists in latest version of gateway program, but not in the current e2e test program
// Note: this field exists in latest version of gateway program, but not in the current e2e test program
// ChainId uint64
}

Expand Down
6 changes: 2 additions & 4 deletions zetaclient/chains/solana/observer/outbound.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,7 @@ import (

// GetTxID returns a unique id for Solana outbound
func (ob *Observer) GetTxID(_ uint64) string {
//TODO implement me
panic("implement me")
return ""
}

// IsOutboundProcessed checks outbound status and returns (isIncluded, isConfirmed, error)
Expand All @@ -20,6 +19,5 @@ func (ob *Observer) IsOutboundProcessed(
_ *types.CrossChainTx,
_ zerolog.Logger,
) (bool, bool, error) {
//TODO implement me
panic("implement me")
return false, false, nil
}

0 comments on commit b203fd4

Please sign in to comment.