-
Notifications
You must be signed in to change notification settings - Fork 17
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* test: integration tests * test: estimation smart wallets * refactor(NoClient): method name * build: rskj update * test: hardhat test network
- Loading branch information
1 parent
a776f89
commit cd52801
Showing
12 changed files
with
1,849 additions
and
1,357 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
31 changes: 31 additions & 0 deletions
31
contracts/test/TestBoltzDeployVerifierEverythingAccepted.sol
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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"); | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.