The Giants have traded righty Chris Heston to the Mariners, FOX Sports’ Jon Morosi tweets. The Giants will receive a player to be named in return, according to FanRag’s Jon Heyman (on Twitter). Morosi had previously tweeted that the two teams were discussing a deal involving Heston.

The Giants were hoping to trade Heston by tonight, Alex Pavlovic of the Mercury News wrote (Twitter links). They had planned to designate Heston for assignment to open a roster spot for incoming closer Mark Melancon when Melancon’s deal became official later today. By trading Heston, they will at least receive a prospect in return. ESPN’s Jerry Crasnick tweeted earlier today that the Giants were shopping Heston.

The 28-year-old Heston had an effective season in the Giants rotation in 2015, posting a 3.95 ERA, 7.1 K/9, 3.2 BB/9 and a robust 53.0 GB% over 177 2/3 innings. He began the 2016 season in the bullpen, however, and was eventually optioned to Triple-A Sacramento, where he posted a somewhat disappointing 4.54 ERA, 5.9 K/9 and 3.5 BB/9 over 81 1/3 innings while also dealing with an oblique injury. He has less than two years of service time and has an option remaining, so he figures to provide the Mariners with a controllable starter.