Two prominent senators announced a proposed compromise on the thorny issue of gun background checks, urging mandatory checks for gun-show and Internet sales while exempting certain private transactions — ahead of a key test vote Thursday.

The proposal Wednesday from Sen. Joe Manchin, D-W.Va., and Sen. Pat Toomey, R-Pa., who had been meeting for days on the issue, was pitched as a bipartisan compromise and one aimed at easing opposition to firearms legislation as it heads to the Senate floor.

“This amendment is a genuine compromise,” Toomey said.

“This is common sense. This is gun sense,” Manchin added.

The proposal, which would be voted on as an amendment, would expand background checks for sales at gun shows and online but exempt some other transactions like personal sales among hunters and family members.