func NewShardRelayer(shardID uint64, shardRPC pb.ShardRPCClient, mempool *mempool.ShardMempool, syncManager *p2p.RelayerSyncManager) *ShardRelayer {
	sr := &ShardRelayer{
		mempool:     mempool,
		shardID:     shardID,
		rpc:         shardRPC,
		syncManager: syncManager,
	}

	return sr
}
// NewShardRelayer creates a new shard relayer.
NewShardRelayer creates a new shard relayer.
// NewShardRelayer creates a new shard relayer .
func NewShardRelayer(shardID uint64, shardRPC pb.ShardRPCClient, mempool *mempool.ShardMempool, syncManager *p2p.RelayerSyncManager) *ShardRelayer {
	sr := &ShardRelayer{
		mempool:     mempool,
		shardID:     shardID,
		rpc:         shardRPC,
		syncManager: syncManager,
	}
	return sr
}
func NewShardRelayer ( shardID uint64 , shardRPC pb . ShardRPCClient , mempool * mempool . ShardMempool , syncManager * p2p . RelayerSyncManager ) * ShardRelayer { sr := & ShardRelayer { mempool : mempool , shardID : shardID , rpc : shardRPC , syncManager : syncManager , } return sr }
NewShardRelayer creates a new shard relayer.
NewShardRelayer creates a new shard relayer .