Hey @abcoathup
Is there a working example of using truffle tests to test a GSN recipient contract. I am currently trying to modify my tests, but cant figure out a way to update web3 to use GSN web3 provider.
Thanks again!
Hey @abcoathup
Is there a working example of using truffle tests to test a GSN recipient contract. I am currently trying to modify my tests, but cant figure out a way to update web3 to use GSN web3 provider.
Thanks again!
Hi @meh_blah,
I recommend having a look at the OpenZeppelin Contracts tests themselves on how to do this. For example GSNRecipientERC20Fee.test.js
:
Thanks, @abcoathup! That was exactly what I was looking for.
A post was split to a new topic: How I can use GSN test with TypeChain