GSN renaming (#1963)

* Merge GSNBouncerBase into GSNRecipient

* Remove emtpy implementations for _pre and _post

* Rename bouncers to recipients

* Rename bouncers documentation to strategies

* Rewrite guides and docstrings to use the strategy naming scheme

* Address review comments

* Apply suggestions from code review

Co-Authored-By: Francisco Giordano <frangio.1@gmail.com>

* change wording of docs
This commit is contained in:
Nicolás Venturo
2019-10-25 13:36:56 -03:00
committed by GitHub
parent 9e19d90cd9
commit aae95db4e0
13 changed files with 195 additions and 183 deletions

View File

@ -17,11 +17,11 @@ contract GSNRecipientMock is ContextMock, GSNRecipient {
return (0, "");
}
function preRelayedCall(bytes calldata) external returns (bytes32) {
function _preRelayedCall(bytes memory) internal returns (bytes32) {
// solhint-disable-previous-line no-empty-blocks
}
function postRelayedCall(bytes calldata, bool, uint256, bytes32) external {
function _postRelayedCall(bytes memory, bool, uint256, bytes32) internal {
// solhint-disable-previous-line no-empty-blocks
}