Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

GSN support #59

Merged
merged 10 commits into from
Aug 12, 2019
Merged

GSN support #59

merged 10 commits into from
Aug 12, 2019

Conversation

spalladino
Copy link
Contributor

@spalladino spalladino commented Aug 2, 2019

Fixes #56.

Adds GSN support from the vanilla repository.

@spalladino
Copy link
Contributor Author

Pending: update test.sh and use latest relayer binary

Add base Context contract

Add GSNContext and tests

Add RelayHub deployment to tests

Add RelayProvider integration, complete GSNContext tests

Switch dependency to openzeppelin-gsn-provider

Add default txfee to provider

Add basic signing recipient

Sign more values

Add comment clarifying RelayHub's msg.data

Make context constructors internal

Rename SigningRecipient to GSNRecipientSignedData

Add ERC20Charge recipients

Harcode RelayHub address into GSNContext

Fix Solidity linter errors

Run server from binary, use gsn-helpers to fund it

Migrate to published @openzeppelin/gsn-helpers

Silence false-positive compiler warning

Use GSN helper assertions

Rename meta-tx to gsn, take out of drafts

Merge ERC20 charge recipients into a single one

Rename GSNRecipients to Bouncers

Add GSNBouncerUtils to decouple the bouncers from GSNRecipient

Add _upgradeRelayHub

Store RelayHub address using unstructored storage

Add IRelayHub

Add _withdrawDeposits to GSNRecipient

Add relayHub version to recipient

Make _acceptRelayedCall and _declineRelayedCall easier to use

Rename GSNBouncerUtils to GSNBouncerBase, make it IRelayRecipient

Improve GSNBouncerBase, make pre and post sender-protected and optional

Fix GSNBouncerERC20Fee, add tests

Add missing GSNBouncerSignature test

Override transferFrom in __unstable__ERC20PrimaryAdmin

Rhub address slot reduced by 1

Rename relay hub changed event

Use released gsn-provider
contracts/mocks/GSNBouncerERC20FeeMock.sol Outdated Show resolved Hide resolved
contracts/mocks/GSNBouncerSignatureMock.sol Outdated Show resolved Hide resolved
contracts/mocks/GSNContextMock.sol Show resolved Hide resolved
contracts/mocks/GSNRecipientMock.sol Show resolved Hide resolved
@frangio frangio merged commit 9c4840a into master Aug 12, 2019
@frangio frangio deleted the gsn-beta branch August 12, 2019 18:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Merge the GSN Recipient base contracts from vanilla Contracts into the Ethereum Package
3 participants