Unable to find GSNRecipient.sol file

Hello, where can I find @openzeppelin/contracts-ethereum-package/contracts/GSN/GSNRecipient.sol file package Github repo? I have seen looking for it for some time now.

1 Like

Hi @Sam-Devs. Just noticed your question, and I had the github repo open in my browser. Is this what you’re looking for?

https://github.com/OpenZeppelin/openzeppelin-contracts/blob/v3.4.0/contracts/GSN/GSNRecipient.sol

I had to select the dropdown list here, and go back a version for the GSN folder to appear, so I guess it is not in the latest repo

image

2 Likes

Hi @Sam-Devs,

Please note, GSNRecipient was removed in OpenZeppelin Contracts 4.0 Beta:

The OpenGSN team has been busy working on GSNv2, and GSNv1 was put in maintenance mode. Thus, we’ve removed our contracts for GSNv1 integration and begun adding support for GSNv2.
_From: https://forum.openzeppelin.com/t/openzeppelin-contracts-4-0-beta/5878_

See the issue: https://github.com/OpenZeppelin/openzeppelin-contracts/issues/2520