-
Notifications
You must be signed in to change notification settings - Fork 43
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
Sign-in with updated ledger app is broken #719
Comments
Rather than modifying existing code for Ledger integration, the new implementation should modify |
Found a build-time compatibility issue while implementing WalletConnect integration:
error in ./node_modules/@wagmi/core/dist/esm/actions/sendTransaction.js
Module parse failed: Unexpected token (8:47)
You may need an appropriate loader to handle this file type, currently no loaders are configured to process this file. See https://webpack.js.org/concepts#loaders
| const { account, chainId, connector, ...rest } = parameters;
| let client;
> if (typeof account === 'object' && account?.type === 'local')
| client = config.getClient({ chainId });
| else
@ ./node_modules/@wagmi/core/dist/esm/exports/index.js 61:0-65 61:0-65
@ ./src/scripts/walletconnect-utils/index.js
@ ./node_modules/cache-loader/dist/cjs.js??ref--13-0!./node_modules/babel-loader/lib!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/common/TmSessionWalletConnect.vue?vue&type=script&lang=js&
@ ./src/components/common/TmSessionWalletConnect.vue?vue&type=script&lang=js&
@ ./src/components/common/TmSessionWalletConnect.vue
@ ./src/routes.js
@ ./src/router.js
@ ./src/initializeApp.js
@ ./src/main.ts
@ multi (webpack)-dev-server/client?http://192.168.1.6:9080&sockPath=/sockjs-node (webpack)/hot/dev-server.js ./src/main.ts
error in ./node_modules/@wagmi/core/dist/esm/actions/deployContract.js
Module parse failed: Unexpected token (8:47)
You may need an appropriate loader to handle this file type, currently no loaders are configured to process this file. See https://webpack.js.org/concepts#loaders
| const { account, chainId, connector, ...rest } = parameters;
| let client;
> if (typeof account === 'object' && account?.type === 'local')
| client = config.getClient({ chainId });
| else
@ ./node_modules/@wagmi/core/dist/esm/exports/index.js 7:0-63 7:0-63
@ ./src/scripts/walletconnect-utils/index.js
@ ./node_modules/cache-loader/dist/cjs.js??ref--13-0!./node_modules/babel-loader/lib!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/common/TmSessionWalletConnect.vue?vue&type=script&lang=js&
@ ./src/components/common/TmSessionWalletConnect.vue?vue&type=script&lang=js&
@ ./src/components/common/TmSessionWalletConnect.vue
@ ./src/routes.js
@ ./src/router.js
@ ./src/initializeApp.js
@ ./src/main.ts
@ multi (webpack)-dev-server/client?http://192.168.1.6:9080&sockPath=/sockjs-node (webpack)/hot/dev-server.js ./src/main.ts
error in ./node_modules/viem/node_modules/@noble/curves/abstract/weierstrass.js
Module parse failed: Unexpected token (921:61)
You may need an appropriate loader to handle this file type, currently no loaders are configured to process this file. See https://webpack.js.org/concepts#loaders
| const u1 = modN(h * is); // u1 = hs^-1 mod n
| const u2 = modN(r * is); // u2 = rs^-1 mod n
> const R = Point.BASE.multiplyAndAddUnsafe(P, u1, u2)?.toAffine(); // R = u1⋅G + u2⋅P
| if (!R)
| return false;
@ ./node_modules/viem/node_modules/@noble/curves/secp256k1.js 8:25-61
@ ./node_modules/viem/_esm/utils/signature/recoverPublicKey.js
@ ./node_modules/viem/_esm/utils/index.js
@ ./node_modules/viem/_esm/actions/public/verifyMessage.js
@ ./node_modules/viem/_esm/actions/index.js
@ ./node_modules/@wagmi/core/dist/esm/actions/call.js
@ ./node_modules/@wagmi/core/dist/esm/exports/index.js
@ ./src/scripts/walletconnect-utils/index.js
@ ./node_modules/cache-loader/dist/cjs.js??ref--13-0!./node_modules/babel-loader/lib!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/common/TmSessionWalletConnect.vue?vue&type=script&lang=js&
@ ./src/components/common/TmSessionWalletConnect.vue?vue&type=script&lang=js&
@ ./src/components/common/TmSessionWalletConnect.vue
@ ./src/routes.js
@ ./src/router.js
@ ./src/initializeApp.js
@ ./src/main.ts
@ multi (webpack)-dev-server/client?http://192.168.1.6:9080&sockPath=/sockjs-node (webpack)/hot/dev-server.js ./src/main.ts |
I've tested the changes pushed to Test 1: Core Dependencies UpdateChanges Implemented:
module.exports = {
presets: [
[
"@vue/cli-plugin-babel/preset",
{
useBuiltIns: "usage",
corejs: "3.37.0",
targets: {
node: "18.19.0",
browsers: [
"last 2 Chrome versions",
"last 2 Firefox versions",
"last 2 Safari versions",
"last 2 Edge versions"
]
}
}
]
],
plugins: [["@babel/transform-runtime"]]
} Required Dependency Updates:
Error Encountered:
Test 2: Package Resolutions ImplementationChanges Implemented: "resolutions": {
"braces": ">=2.3.1",
"simsala/axios": "^0.24.0",
"glob": "^10.3.10",
"@ecies/ciphers": "^0.2.2"
} Command Run: yarn install --ignore-engines Error Encountered:
Available Options for Resolution
|
Problem Description
After updating to the new Ledger app (generated from https://github.com/LedgerHQ/app-ethereum/ with the harmony chainid), the project's functionality for signing broken. We disabled the ledger sign-in feature for now.
Desired Behavior
The project should allow users to sign in using the ledger nano hardware using the updated Ethereum Ledger app fork.
The text was updated successfully, but these errors were encountered: