OpenZeppelin / openzeppelin-test-environment

[Not actively maintained] One-line setup for blazing-fast smart contracts tests
https://docs.openzeppelin.com/test-environment
MIT License
90 stars 39 forks source link

GSNv2 Support #139

Closed naszam closed 3 years ago

naszam commented 3 years ago

Hi,

I would like to know if support for GSNv2 will be included in the OpenZeppelin Test Environment Roadmap.

Currently, the only way to test Paymaster and Meta Transactions can be done via Truffle Tests following GSNv2 Integration Tutorial.

Would be great if GSNv2 will be supported in the future by OpenZeppelin Test Environment.

I've posted a related issue on OpenZeppelin Forum.

Thanks!

abcoathup commented 3 years ago

Hi @naszam! Thanks for the suggestion, it is really appreciated.

The project owner will review your suggestion as soon as they can.

Please wait until we have discussed this idea before writing any code or submitting a Pull Request, so we can go through the design beforehand. We don’t want you to waste your time!

frangio commented 3 years ago

Hi @naszam! We don't have any plans for shipping built-in support for GSNv2. I don't think you should have any issues with it, though! Note that Test Environment doesn't have built-in support for GSNv1 either, but it's possible to use it with the setupProvider configuration as shown in the Getting Started guide. I believe that this along with the GSNv2 documentation you linked should be enough to get started.

I'm going to close this issue for now since I don't think any kind of built-in support will be needed. Thank you for the suggestion!