-
Notifications
You must be signed in to change notification settings - Fork 7
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
Fix/UI noble hashes #23
base: main
Are you sure you want to change the base?
Conversation
3ea7159
to
ce101b9
Compare
export default defineConfig({ | ||
plugins: [react()], | ||
resolve: { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this is so the uI can resolve the noble hashes deps that the workspace defines
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't understand. I can't find any occurrences of @noble/hashes
in the ui directory.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
its a sub-dependency from @cosmjs/proto-signing
🫠
✘ [ERROR] Could not resolve "@noble/hashes/sha3"
../node_modules/@cosmjs/proto-signing/node_modules/@cosmjs/crypto/build/keccak.js:4:23:
4 │ const sha3_1 = require("@noble/hashes/sha3");
╵ ~~~~~~~~~~~~~~~~~~~~
The module "./sha3.js" was not found on the file system:
../node_modules/@noble/hashes/package.json:116:17:
116 │ "require": "./sha3.js"
╵ ~~~~~~~~~~~
First encountered here
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't see how ui depends on @noble/hashes
make copy-bn-js | ||
# make copy-bn-js |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
why keep the commented-out code?
ADDR=agoric1mqvg26gpv6xzch2v0wpv569md3c2z4cdxq9clz | ||
ADDR=agoric1jwuskhnxkjw50vnx3ak8qwmvy8f43sfdxnd438 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
is this change relevant?
@@ -18,7 +18,8 @@ | |||
"deploy": "make dev-working", | |||
"test": "ava", | |||
"lint": "tsc && eslint '**/*.js'", | |||
"lint:fix": "eslint --fix '**/*.js'" | |||
"lint:fix": "eslint --fix '**/*.js'", | |||
"e2e": "make e2e" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this looks like a build
commit, not a fix
export default defineConfig({ | ||
plugins: [react()], | ||
resolve: { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't understand. I can't find any occurrences of @noble/hashes
in the ui directory.
Fixes noble hashes issue with ui.
Errors observed here:
#18 (comment)