Skip to content

Commit

Permalink
refactor: pr comments
Browse files Browse the repository at this point in the history
  • Loading branch information
franciscotobar committed Jul 9, 2024
1 parent 4b2c69d commit 3ac21f9
Show file tree
Hide file tree
Showing 6 changed files with 708 additions and 1,092 deletions.
31 changes: 31 additions & 0 deletions contracts/test/TestBoltzDeployVerifierEverythingAccepted.sol
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
// SPDX-License-Identifier:MIT
pragma solidity ^0.6.12;
pragma experimental ABIEncoderV2;

import "@rsksmart/rif-relay-contracts/contracts/interfaces/IDeployVerifier.sol";
import "@rsksmart/rif-relay-contracts/contracts/TokenHandler.sol";
import "@rsksmart/rif-relay-contracts/contracts/DestinationContractHandler.sol";

contract TestBoltzDeployVerifierEverythingAccepted is IDeployVerifier, TokenHandler, DestinationContractHandler {

function versionVerifier() external view override virtual returns (string memory){
return "2.0.1+enveloping.test-pea.iverifier";
}

event SampleRecipientPreCall();
event SampleRecipientPostCall(bool success);

function verifyRelayedCall(
/* solhint-disable-next-line no-unused-vars */
EnvelopingTypes.DeployRequest calldata relayRequest,
bytes calldata signature
)
external
override
virtual
returns (bytes memory) {
(signature, relayRequest);
emit SampleRecipientPreCall();
return ("no revert here");
}
}
Loading

0 comments on commit 3ac21f9

Please sign in to comment.