Skip to content

chore: tests 2.16.3-canary-d3b9bd78 #730

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

Closed
wants to merge 1 commit into from
Closed
Show file tree
Hide file tree
Changes from all 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
6 changes: 3 additions & 3 deletions .github/workflows/ui_tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,8 @@ jobs:
skip-playwright-webserver: false
branch: main
command: playwright:test:wallet
uses: WalletConnect/web3modal/.github/workflows/ui_tests.yml@main
uses: reown-com/appkit/.github/workflows/ui_tests.yml@main
secrets:
NEXT_PUBLIC_PROJECT_ID: ${{ secrets.UI_TEST_PROJECT_ID }}
TESTS_NEXTAUTH_SECRET: ${{ secrets.TESTS_NEXTAUTH_SECRET }}
TESTS_MAILSEC_API_KEY: ${{ secrets.MAILSAC_API_KEY }}
RELEASE_TOKEN_V2: ${{ secrets.RELEASE_TOKEN_V2 }}
TFC_INFRA_TOKEN: ${{ secrets.TFC_INFRA_TOKEN }}
6 changes: 3 additions & 3 deletions advanced/dapps/react-dapp-v2/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,9 @@
"@polkadot/util-crypto": "^10.1.2",
"@solana/web3.js": "^1.36.0",
"@walletconnect/encoding": "^1.0.1",
"@walletconnect/sign-client": "2.16.1",
"@walletconnect/types": "2.16.1",
"@walletconnect/utils": "2.16.1",
"@walletconnect/sign-client": "2.16.3-canary-d3b9bd78",
"@walletconnect/types": "2.16.3-canary-d3b9bd78",
"@walletconnect/utils": "2.16.3-canary-d3b9bd78",
"@web3modal/standalone": "2.4.3",
"axios": "^1.0.0",
"blockies-ts": "^1.0.0",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -872,7 +872,7 @@ export function JsonRpcContextProvider({
})),
transaction: transaction
.serialize({ verifySignatures: false })
.toString('base64'),
.toString("base64"),
},
},
});
Expand Down
44 changes: 22 additions & 22 deletions advanced/dapps/react-dapp-v2/yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -3693,10 +3693,10 @@
"@typescript-eslint/types" "5.59.7"
eslint-visitor-keys "^3.3.0"

"@walletconnect/core@2.16.1":
version "2.16.1"
resolved "https://registry.yarnpkg.com/@walletconnect/core/-/core-2.16.1.tgz#019b181387792e0d284e75074b961b48193d9b6a"
integrity sha512-UlsnEMT5wwFvmxEjX8s4oju7R3zadxNbZgsFeHEsjh7uknY2zgmUe1Lfc5XU6zyPb1Jx7Nqpdx1KN485ee8ogw==
"@walletconnect/core@2.16.3-canary-d3b9bd78":
version "2.16.3-canary-d3b9bd78"
resolved "https://registry.yarnpkg.com/@walletconnect/core/-/core-2.16.3-canary-d3b9bd78.tgz#5e74d8741fe7e9cfbbb7a3e0711775492ceddcb9"
integrity sha512-1RICXJi62153iZCf0K3XFEKGsaPaicXfCdN/2p8dxjclnS1iKn7lqYtJ+ipFSQivw0sj6wwddAt2uJvky1s4MQ==
dependencies:
"@walletconnect/heartbeat" "1.2.2"
"@walletconnect/jsonrpc-provider" "1.0.14"
Expand All @@ -3709,8 +3709,8 @@
"@walletconnect/relay-auth" "1.0.4"
"@walletconnect/safe-json" "1.0.2"
"@walletconnect/time" "1.0.2"
"@walletconnect/types" "2.16.1"
"@walletconnect/utils" "2.16.1"
"@walletconnect/types" "2.16.3-canary-d3b9bd78"
"@walletconnect/utils" "2.16.3-canary-d3b9bd78"
events "3.3.0"
lodash.isequal "4.5.0"
uint8arrays "3.1.0"
Expand Down Expand Up @@ -3910,19 +3910,19 @@
dependencies:
tslib "1.14.1"

"@walletconnect/sign-client@2.16.1":
version "2.16.1"
resolved "https://registry.yarnpkg.com/@walletconnect/sign-client/-/sign-client-2.16.1.tgz#94a2f630ba741bd180f540c53576c5ceaace4857"
integrity sha512-s2Tx2n2duxt+sHtuWXrN9yZVaHaYqcEcjwlTD+55/vs5NUPlISf+fFmZLwSeX1kUlrSBrAuxPUcqQuRTKcjLOA==
"@walletconnect/sign-client@2.16.3-canary-d3b9bd78":
version "2.16.3-canary-d3b9bd78"
resolved "https://registry.yarnpkg.com/@walletconnect/sign-client/-/sign-client-2.16.3-canary-d3b9bd78.tgz#4517abdb0b065ac16c6d87a237ee973cc0c981bf"
integrity sha512-UJwpVLoEXB1lLgsdjqCxy9LO08O825r7lTM53g/77j32z17hS/RiGmGlv5pEWQpSw3HJ9qbU8O+JDry5QDhQDQ==
dependencies:
"@walletconnect/core" "2.16.1"
"@walletconnect/core" "2.16.3-canary-d3b9bd78"
"@walletconnect/events" "1.0.1"
"@walletconnect/heartbeat" "1.2.2"
"@walletconnect/jsonrpc-utils" "1.0.8"
"@walletconnect/logger" "2.1.2"
"@walletconnect/time" "1.0.2"
"@walletconnect/types" "2.16.1"
"@walletconnect/utils" "2.16.1"
"@walletconnect/types" "2.16.3-canary-d3b9bd78"
"@walletconnect/utils" "2.16.3-canary-d3b9bd78"
events "3.3.0"

"@walletconnect/sign-client@~2.8.1":
Expand All @@ -3947,10 +3947,10 @@
dependencies:
tslib "1.14.1"

"@walletconnect/types@2.16.1":
version "2.16.1"
resolved "https://registry.yarnpkg.com/@walletconnect/types/-/types-2.16.1.tgz#6583d458d3f7b1919d482ba516ccb7878ec8c91f"
integrity sha512-9P4RG4VoDEF+yBF/n2TF12gsvT/aTaeZTVDb/AOayafqiPnmrQZMKmNCJJjq1sfdsDcHXFcZWMGsuCeSJCmrXA==
"@walletconnect/types@2.16.3-canary-d3b9bd78":
version "2.16.3-canary-d3b9bd78"
resolved "https://registry.yarnpkg.com/@walletconnect/types/-/types-2.16.3-canary-d3b9bd78.tgz#13a2ecd8433c8471f8fbdb081c2ebe1b29266f5b"
integrity sha512-kyoo4ytKPWUHEsWDMIvUGXDAyq79rFf/D9zGTOw6UkhrZC6jA05ttYekslN2046eN8VgVsyqQsITYlXATx8VXQ==
dependencies:
"@walletconnect/events" "1.0.1"
"@walletconnect/heartbeat" "1.2.2"
Expand All @@ -3971,10 +3971,10 @@
"@walletconnect/logger" "^2.0.1"
events "^3.3.0"

"@walletconnect/utils@2.16.1":
version "2.16.1"
resolved "https://registry.yarnpkg.com/@walletconnect/utils/-/utils-2.16.1.tgz#2099cc2bd16b0edc32022f64aa2c2c323b45d1d4"
integrity sha512-aoQirVoDoiiEtYeYDtNtQxFzwO/oCrz9zqeEEXYJaAwXlGVTS34KFe7W3/Rxd/pldTYKFOZsku2EzpISfH8Wsw==
"@walletconnect/utils@2.16.3-canary-d3b9bd78":
version "2.16.3-canary-d3b9bd78"
resolved "https://registry.yarnpkg.com/@walletconnect/utils/-/utils-2.16.3-canary-d3b9bd78.tgz#95a6c22882fba9ca809eeb5841d790e9b59cf29b"
integrity sha512-UdStldcG7WSiqbBoZY67iguX4xdkyVB43FDrKhEwFUng3WWyKLpo6MvMqcLFHD72IU5eBi4XkFKCxzrasTcdJw==
dependencies:
"@stablelib/chacha20poly1305" "1.0.1"
"@stablelib/hkdf" "1.0.1"
Expand All @@ -3985,7 +3985,7 @@
"@walletconnect/relay-auth" "1.0.4"
"@walletconnect/safe-json" "1.0.2"
"@walletconnect/time" "1.0.2"
"@walletconnect/types" "2.16.1"
"@walletconnect/types" "2.16.3-canary-d3b9bd78"
"@walletconnect/window-getters" "1.0.1"
"@walletconnect/window-metadata" "1.0.1"
detect-browser "5.3.0"
Expand Down
2 changes: 1 addition & 1 deletion advanced/wallets/react-wallet-v2/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
"@taquito/signer": "^15.1.0",
"@taquito/taquito": "^15.1.0",
"@types/semver": "^7.5.8",
"@walletconnect/web3wallet": "1.15.1",
"@walletconnect/web3wallet": "1.15.3-canary-d3b9bd78",
"@zerodev/ecdsa-validator": "5.3.0",
"@zerodev/presets": "5.3.0",
"@zerodev/sdk": "5.3.1",
Expand Down
13 changes: 6 additions & 7 deletions advanced/wallets/react-wallet-v2/src/utils/MultibridgeUtil.ts
Original file line number Diff line number Diff line change
Expand Up @@ -245,8 +245,10 @@ async function getBridgeStatus(params: BridgeStatusParams): Promise<any> {
return json
}


async function getBridgingTransactions(bridgingParams: BridgingParams, walletAddress: string): Promise<any>{
async function getBridgingTransactions(
bridgingParams: BridgingParams,
walletAddress: string
): Promise<any> {
const transactions = []
const originalAmount = bridgingParams.amount
bridgingParams.amount = Math.round(originalAmount * AMOUNT_MULTIPLIER)
Expand Down Expand Up @@ -325,7 +327,6 @@ async function getBridgingTransactions(bridgingParams: BridgingParams, walletAdd
return transactions
}


export async function bridgeFunds(
bridgingParams: BridgingParams,
wallet: EIP155Lib | SmartAccountLib
Expand All @@ -338,12 +339,11 @@ export async function bridgeFunds(
const walletAddress = wallet.getAddress()
console.log('Getting bridging transactions')
const transactions = await getBridgingTransactions(bridgingParams, walletAddress)
console.log('Bridging transactions', transactions);
console.log('Bridging transactions', transactions)
for (const transaction of transactions) {
const hash = await sourceChainConnectedWallet.sendTransaction(transaction)
const receipt = typeof hash === 'string' ? hash : hash?.hash
console.log('Transaction broadcasted', {receipt});

console.log('Transaction broadcasted', { receipt })
}
let interations = 0
while (interations < 20) {
Expand All @@ -361,4 +361,3 @@ export async function bridgeFunds(
interations++
}
}

60 changes: 30 additions & 30 deletions advanced/wallets/react-wallet-v2/yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -2660,10 +2660,10 @@
events "^3.3.0"
isomorphic-unfetch "^3.1.0"

"@walletconnect/core@2.16.1":
version "2.16.1"
resolved "https://registry.yarnpkg.com/@walletconnect/core/-/core-2.16.1.tgz#019b181387792e0d284e75074b961b48193d9b6a"
integrity sha512-UlsnEMT5wwFvmxEjX8s4oju7R3zadxNbZgsFeHEsjh7uknY2zgmUe1Lfc5XU6zyPb1Jx7Nqpdx1KN485ee8ogw==
"@walletconnect/core@2.16.3-canary-d3b9bd78":
version "2.16.3-canary-d3b9bd78"
resolved "https://registry.yarnpkg.com/@walletconnect/core/-/core-2.16.3-canary-d3b9bd78.tgz#5e74d8741fe7e9cfbbb7a3e0711775492ceddcb9"
integrity sha512-1RICXJi62153iZCf0K3XFEKGsaPaicXfCdN/2p8dxjclnS1iKn7lqYtJ+ipFSQivw0sj6wwddAt2uJvky1s4MQ==
dependencies:
"@walletconnect/heartbeat" "1.2.2"
"@walletconnect/jsonrpc-provider" "1.0.14"
Expand All @@ -2676,8 +2676,8 @@
"@walletconnect/relay-auth" "1.0.4"
"@walletconnect/safe-json" "1.0.2"
"@walletconnect/time" "1.0.2"
"@walletconnect/types" "2.16.1"
"@walletconnect/utils" "2.16.1"
"@walletconnect/types" "2.16.3-canary-d3b9bd78"
"@walletconnect/utils" "2.16.3-canary-d3b9bd78"
events "3.3.0"
lodash.isequal "4.5.0"
uint8arrays "3.1.0"
Expand Down Expand Up @@ -2849,19 +2849,19 @@
dependencies:
tslib "1.14.1"

"@walletconnect/sign-client@2.16.1":
version "2.16.1"
resolved "https://registry.yarnpkg.com/@walletconnect/sign-client/-/sign-client-2.16.1.tgz#94a2f630ba741bd180f540c53576c5ceaace4857"
integrity sha512-s2Tx2n2duxt+sHtuWXrN9yZVaHaYqcEcjwlTD+55/vs5NUPlISf+fFmZLwSeX1kUlrSBrAuxPUcqQuRTKcjLOA==
"@walletconnect/sign-client@2.16.3-canary-d3b9bd78":
version "2.16.3-canary-d3b9bd78"
resolved "https://registry.yarnpkg.com/@walletconnect/sign-client/-/sign-client-2.16.3-canary-d3b9bd78.tgz#4517abdb0b065ac16c6d87a237ee973cc0c981bf"
integrity sha512-UJwpVLoEXB1lLgsdjqCxy9LO08O825r7lTM53g/77j32z17hS/RiGmGlv5pEWQpSw3HJ9qbU8O+JDry5QDhQDQ==
dependencies:
"@walletconnect/core" "2.16.1"
"@walletconnect/core" "2.16.3-canary-d3b9bd78"
"@walletconnect/events" "1.0.1"
"@walletconnect/heartbeat" "1.2.2"
"@walletconnect/jsonrpc-utils" "1.0.8"
"@walletconnect/logger" "2.1.2"
"@walletconnect/time" "1.0.2"
"@walletconnect/types" "2.16.1"
"@walletconnect/utils" "2.16.1"
"@walletconnect/types" "2.16.3-canary-d3b9bd78"
"@walletconnect/utils" "2.16.3-canary-d3b9bd78"
events "3.3.0"

"@walletconnect/time@1.0.2", "@walletconnect/time@^1.0.2":
Expand All @@ -2883,10 +2883,10 @@
"@walletconnect/logger" "^2.0.1"
events "^3.3.0"

"@walletconnect/types@2.16.1":
version "2.16.1"
resolved "https://registry.yarnpkg.com/@walletconnect/types/-/types-2.16.1.tgz#6583d458d3f7b1919d482ba516ccb7878ec8c91f"
integrity sha512-9P4RG4VoDEF+yBF/n2TF12gsvT/aTaeZTVDb/AOayafqiPnmrQZMKmNCJJjq1sfdsDcHXFcZWMGsuCeSJCmrXA==
"@walletconnect/types@2.16.3-canary-d3b9bd78":
version "2.16.3-canary-d3b9bd78"
resolved "https://registry.yarnpkg.com/@walletconnect/types/-/types-2.16.3-canary-d3b9bd78.tgz#13a2ecd8433c8471f8fbdb081c2ebe1b29266f5b"
integrity sha512-kyoo4ytKPWUHEsWDMIvUGXDAyq79rFf/D9zGTOw6UkhrZC6jA05ttYekslN2046eN8VgVsyqQsITYlXATx8VXQ==
dependencies:
"@walletconnect/events" "1.0.1"
"@walletconnect/heartbeat" "1.2.2"
Expand Down Expand Up @@ -2915,10 +2915,10 @@
query-string "7.1.3"
uint8arrays "^3.1.0"

"@walletconnect/utils@2.16.1":
version "2.16.1"
resolved "https://registry.yarnpkg.com/@walletconnect/utils/-/utils-2.16.1.tgz#2099cc2bd16b0edc32022f64aa2c2c323b45d1d4"
integrity sha512-aoQirVoDoiiEtYeYDtNtQxFzwO/oCrz9zqeEEXYJaAwXlGVTS34KFe7W3/Rxd/pldTYKFOZsku2EzpISfH8Wsw==
"@walletconnect/utils@2.16.3-canary-d3b9bd78":
version "2.16.3-canary-d3b9bd78"
resolved "https://registry.yarnpkg.com/@walletconnect/utils/-/utils-2.16.3-canary-d3b9bd78.tgz#95a6c22882fba9ca809eeb5841d790e9b59cf29b"
integrity sha512-UdStldcG7WSiqbBoZY67iguX4xdkyVB43FDrKhEwFUng3WWyKLpo6MvMqcLFHD72IU5eBi4XkFKCxzrasTcdJw==
dependencies:
"@stablelib/chacha20poly1305" "1.0.1"
"@stablelib/hkdf" "1.0.1"
Expand All @@ -2929,27 +2929,27 @@
"@walletconnect/relay-auth" "1.0.4"
"@walletconnect/safe-json" "1.0.2"
"@walletconnect/time" "1.0.2"
"@walletconnect/types" "2.16.1"
"@walletconnect/types" "2.16.3-canary-d3b9bd78"
"@walletconnect/window-getters" "1.0.1"
"@walletconnect/window-metadata" "1.0.1"
detect-browser "5.3.0"
elliptic "^6.5.7"
query-string "7.1.3"
uint8arrays "3.1.0"

"@walletconnect/web3wallet@1.15.1":
version "1.15.1"
resolved "https://registry.yarnpkg.com/@walletconnect/web3wallet/-/web3wallet-1.15.1.tgz#47d041c07e2b12824ade85e53ed50c89536ef37b"
integrity sha512-EgtdZUgtf0diU98x8Q8tiZslE0Z5comnxv3SqmAIgkdhpXDxaM/goo7BC1yC+Wey/IHOOVYg2SW+La2Txk+6hQ==
"@walletconnect/web3wallet@1.15.3-canary-d3b9bd78":
version "1.15.3-canary-d3b9bd78"
resolved "https://registry.yarnpkg.com/@walletconnect/web3wallet/-/web3wallet-1.15.3-canary-d3b9bd78.tgz#590bdeecce34b2a6c51debc31597976b8544779d"
integrity sha512-394s99dfNKwsbv1atSF+wh3FdWtEpEDo5FtGsIe8i3akIt8IE/GTX2S0x40eWiUzRXzDP3bWZ97TNdnLdOmSUQ==
dependencies:
"@walletconnect/auth-client" "2.1.2"
"@walletconnect/core" "2.16.1"
"@walletconnect/core" "2.16.3-canary-d3b9bd78"
"@walletconnect/jsonrpc-provider" "1.0.14"
"@walletconnect/jsonrpc-utils" "1.0.8"
"@walletconnect/logger" "2.1.2"
"@walletconnect/sign-client" "2.16.1"
"@walletconnect/types" "2.16.1"
"@walletconnect/utils" "2.16.1"
"@walletconnect/sign-client" "2.16.3-canary-d3b9bd78"
"@walletconnect/types" "2.16.3-canary-d3b9bd78"
"@walletconnect/utils" "2.16.3-canary-d3b9bd78"

"@walletconnect/window-getters@1.0.1", "@walletconnect/window-getters@^1.0.1":
version "1.0.1"
Expand Down
Loading