Skip to content

Commit

Permalink
Add console logs to attempt to fix issue.
Browse files Browse the repository at this point in the history
  • Loading branch information
jessgusclark committed Sep 15, 2023
1 parent 726d87d commit 4cb6c03
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 15 deletions.
5 changes: 3 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
"@react-navigation/stack": "^6.0.9",
"@reduxjs/toolkit": "^1.9.0",
"@rsksmart/rif-id-mnemonic": "^0.1.1",
"@rsksmart/rif-relay-light-sdk": "1.0.5-beta.1",
"@rsksmart/rif-relay-light-sdk": "1.0.6",
"@rsksmart/rif-wallet-abi-enhancer": "^1.0.5",
"@rsksmart/rif-wallet-adapters": "^1.0.0",
"@rsksmart/rif-wallet-bitcoin": "^1.2.0",
Expand Down Expand Up @@ -141,7 +141,8 @@
"wait-for-expect": "^3.0.2"
},
"resolutions": {
"@types/react": "^17"
"@types/react": "^17",
"@rsksmart/rif-relay-light-sdk": "1.0.6"
},
"jest": {
"preset": "react-native",
Expand Down
4 changes: 4 additions & 0 deletions src/screens/settings/RelayDeployScreen.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,10 @@ export const RelayDeployScreen = ({
}),
)

console.log('hello world!', result)

result.wait().then((receipt: TransactionReceipt) => {
console.log('wait and the receipt:', receipt)
if (receipt.status) {
dispatch(
setWalletIsDeployed({
Expand All @@ -74,6 +77,7 @@ export const RelayDeployScreen = ({
}),
)
} else {
console.log('error here ;-)')
updateErrorState(t('wallet_deploy_error'))
}
dispatch(
Expand Down
17 changes: 4 additions & 13 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -2023,19 +2023,10 @@
lodash "^4.17.15"
randombytes "^2.1.0"

"@rsksmart/rif-relay-light-sdk@*":
version "1.0.3"
resolved "https://npm.pkg.github.com/download/@rsksmart/rif-relay-light-sdk/1.0.3/2dfc039b136c83259f5337886df2187e424b7e09#2dfc039b136c83259f5337886df2187e424b7e09"
integrity sha512-qUxgnN0h1hS6k2qqtSjJMU6oZo5AiLDFDe4mw/E+nNKeWqs7bWCCHou72XBqRKrFDTG/ZuGeVZeu1s5sM7ibhg==
dependencies:
"@ethersproject/abstract-provider" "^5.7.0"
axios "^1.2.3"
ethers "^5.7.2"

"@rsksmart/[email protected]":
version "1.0.5-beta.1"
resolved "https://npm.pkg.github.com/download/@rsksmart/rif-relay-light-sdk/1.0.5-beta.1/96f346ffa2978e3e0881856223d7c109361f8cd3#96f346ffa2978e3e0881856223d7c109361f8cd3"
integrity sha512-UeXM1V8f/KY3JrN2+zaUDDSCgzxDj3D1WAvgj5V4KeBkz1+SMTkLmgVmaFZyR4QLLIGJLVhg5hF5HOrl+UPTug==
"@rsksmart/rif-relay-light-sdk@*", "@rsksmart/[email protected]":
version "1.0.6"
resolved "https://npm.pkg.github.com/download/@rsksmart/rif-relay-light-sdk/1.0.6/3f1304c5d90f55a8c752fa5750667baa921b116f#3f1304c5d90f55a8c752fa5750667baa921b116f"
integrity sha512-2YP8UIOIOTXlhWftyrlhcBx3qZeqnagmjcJk2uxCIlBnJZ9aVyu4Ix0/uP/sUAzJ3YPpQeT1X8vlbTh1cHe01w==
dependencies:
"@ethersproject/abstract-provider" "^5.7.0"
axios "^1.2.3"
Expand Down

0 comments on commit 4cb6c03

Please sign in to comment.