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

PP-885/explore-solution-b2 #260

Merged
merged 14 commits into from
Mar 19, 2024
Merged
Show file tree
Hide file tree
Changes from 3 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .husky/pre-push
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/env sh
. "$(dirname -- "$0")/_/husky.sh"

npm run test
npm run test -- --network regtest
antomor marked this conversation as resolved.
Show resolved Hide resolved
8 changes: 5 additions & 3 deletions contracts/import.sol
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,15 @@ pragma solidity ^0.6.12;
import '@rsksmart/rif-relay-contracts/contracts/RelayHub.sol';
import '@rsksmart/rif-relay-contracts/contracts/smartwallet/SmartWallet.sol';
import '@rsksmart/rif-relay-contracts/contracts/smartwallet/CustomSmartWallet.sol';
import '@rsksmart/rif-relay-contracts/contracts/factory/SmartWalletFactory.sol';
import '@rsksmart/rif-relay-contracts/contracts/smartwallet/CustomSmartWallet.sol';
import '@rsksmart/rif-relay-contracts/contracts/smartwallet/BoltzSmartWallet.sol';
import '@rsksmart/rif-relay-contracts/contracts/factory/SmartWalletFactory.sol';
import '@rsksmart/rif-relay-contracts/contracts/factory/CustomSmartWalletFactory.sol';
import '@rsksmart/rif-relay-contracts/contracts/verifier/DeployVerifier.sol';
import '@rsksmart/rif-relay-contracts/contracts/factory/BoltzSmartWalletFactory.sol';
import '@rsksmart/rif-relay-contracts/contracts/verifier/CustomSmartWalletDeployVerifier.sol';
import '@rsksmart/rif-relay-contracts/contracts/verifier/DeployVerifier.sol';
import '@rsksmart/rif-relay-contracts/contracts/verifier/RelayVerifier.sol';
import '@rsksmart/rif-relay-contracts/contracts/verifier/BoltzRelayVerifier.sol';
import '@rsksmart/rif-relay-contracts/contracts/verifier/BoltzDeployVerifier.sol';
import '@rsksmart/rif-relay-contracts/contracts/Penalizer.sol';
import '@rsksmart/rif-relay-contracts/contracts/utils/UtilToken.sol';
import '@rsksmart/rif-relay-contracts/contracts/interfaces/IForwarder.sol';
Expand Down
19 changes: 19 additions & 0 deletions contracts/test/TestSwap.sol
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
// SPDX-License-Identifier: MIT
pragma solidity ^0.6.12;

contract TestSwap {

function claim(
bytes32 preimage,
uint amount,
address refundAddress,
uint timelock
) external {
(bool success, ) = payable(msg.sender).call{value: amount}("");
require(success, "Could not transfer Ether");
}

// solhint-disable-next-line no-empty-blocks
receive() external payable {}

}
2,813 changes: 1,529 additions & 1,284 deletions package-lock.json

Large diffs are not rendered by default.

7 changes: 4 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -88,9 +88,10 @@
"@metamask/eth-sig-util": "^5.0.2",
"@nomicfoundation/hardhat-toolbox": "^2.0.0",
"@nomiclabs/hardhat-ethers": "^2.2.1",
"@rsksmart/rif-relay-client": "github:rsksmart/rif-relay-client",
"@rsksmart/rif-relay-contracts": "github:rsksmart/rif-relay-contracts",
"@rsksmart/rif-relay-server": "github:rsksmart/rif-relay-server",
"@openzeppelin/contracts": "^3.4.0",
antomor marked this conversation as resolved.
Show resolved Hide resolved
"@rsksmart/rif-relay-client": "github:rsksmart/rif-relay-client#PP-885/explore-solution-b2",
"@rsksmart/rif-relay-contracts": "github:rsksmart/rif-relay-contracts#PP-885/explore-solution-b2",
"@rsksmart/rif-relay-server": "github:rsksmart/rif-relay-server#PP-885/explore-solution-b2",
antomor marked this conversation as resolved.
Show resolved Hide resolved
"@tsconfig/node16-strictest": "^1.0.4",
"@types/config": "^3.3.0",
"@types/node": "^18.11.18",
Expand Down
Loading
Loading