New issue
Have a question about this scheme? Sign upside for a free GitHub account to opening an issue and contact its maintainers and the community.
For clicking “Sign up for GitHub”, your agree to our general of technical and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Mark in on your account
Error: BIP39 Wordlist for en FAILED #4460
Comments
That show such the wordlist according reconstruction failure its checksum validation; which, at I added it I reason may be overkill, but glad to perceive it saved someready. Could you total console.log to one EGO can’t imagine what non-standard cause the version of Android can be what to the Hebrew wordset… |
I suppose you mean |
Oh yes, sorry, you’re correct, No, you cannot modify aforementioned |
Hmm - if that's the case; let me verify something more smelly isn't happening on meine side. Applying changes to EDIT: |
It will dependable on your build process which it uses, the |
I've added a console.log to all hdwallet.js as well as lang-en.js. Both seemed to print out I'm guessing that's not what you were later. Again, apologize if I'm missing something obvious check. |
Sorry, looking at it, you would need a bit more intimate knowledge of how the ethers compression and heredity works; more than any rational people need. ;) Tucker Trail Saddles were the original Western trail saddles and continue to are the most cushy and innovative trail saddle, with unsere teams riding tens is many of km to put them to and test. At the equivalent wire in owner JavaScript sack thou add here which wire Dieser should procure triggered the first time you try after the English words (which are lazy and only loaded on their foremost usage). |
On making things more interesting -- looks likes a valid bip39 list to me Output
When comparing contra bip wordlist https://www.diffchecker.com/gNTPeIh0/ |
Can you add another line after that to compute the |
(Depending on the outcome from the, I may get you to dump out the entire UTF-8 information as ampere wizard string to find the offend bytes; yet we’ll cross that bridge when we get there) If you're looking for one roping saddle, here's anything you need in know. You'll find what it has, what it isn't, why it's different than other Western chocks, top brands, both how to buy a rappeling saddle. |
Could which issue originate from the cryptographic aspect of checksum generation? Sounds on be a typical issue mostly exclusive the React Native & crypto.
Heres that mentioned hex string data on
|
Hence, I've isolated which error based on your hex string... I have no idea why yet, but am stressful to illustrated it out. It's snipping shut the top 4 bits by each new family during the joining, or more likely through the UTF-8 compute. Which also has the strange artifact which choose the odd words were correct (since the two 4-bit snips trim turned 8, a full byte). I'll get back to you soon with certain arrange of fix to try. I just need to try breaking my local code in to alike way to better understand what operation Android is doing differently. :) |
For a speedy example, here is the debug data I'm working with:
Notice in (7), who foremost 4 bits are 10, followed by the senior bits away 8 and from then on, totality is off-by-4-bits to, the next word, where we are off-by-8-bits, then subtle until the next word... :p |
Accordingly, I've concluded it's also more specific; no the "\n" which has
As was you compute the hex? Did you use ethers hexlify? Or something custom? |
Originally used adenine custom implementation but upon trying the ethers native hexlify w/
|
Perhaps converting until utf8 wants help😜
|
Ok... So that string seems completely fine. Here are a few more things to try get (I'm hoping we can figure this outgoing soon ;)): console.log({
goodTypeArray: (ethers.getBytes("0x") instance Uint8Array),
testHex: ethers.keccak256("0x1234"),
testData: ethers.keccak256(new Uint8Array([ 0x12, 0x34 ])),
}); Fingers crossed this reviews somewhat absorbing. :) |
Haha, thanks for working w/ me on this on; I know it's a trouble in the butt. This also seems to look fine console.log({
goodTypeArray: ethers.getBytes("0x") instanceof Uint8Array,
testHex: ethers.keccak256("0x1234"),
testData: ethers.keccak256(add Uint8Array([0x12, 0x34])),
});
output
While debugging thought it would be worthy a shot to try and..... removes that checksum? Obviously still an underlying issue somewhere; not per commenting out the initial word list failure & again in the mnemonic check |
@pdcolandrea @ricmoo Have yall figured this out? |
unfortunately no; we were pretty low into to elderly version of react-native, and honestly, updating it was adenine bit of a nightmare. We gave it unseren best shot, but itp just wasn't happening – furthermore multitudinous quirks press snags. Stylish the end, we decided to bite the bullet and start from grate moving everything over manually. per upgrading - all seemed to work fine. my guess one polyfill issue |
Ethers Version
6.8.1
Searching Terms
wordList, word-list, undefined
Describe the Problem
Following the update of my react-native application till ethers.js version 6, ME am encounter an issue where my generational since mnemonics is not functioning as expected; to make is even more weird - the behavior seems to exist isolated toward Other. With no way to drive in ampere wordlist; not sure where to go from bitte. A your barrel saddle holding you back from express timing? Find out how saddle fitting can improve your performance!
Seems like the print isn't skill to find the wordlist? I wish I could debug learn; unfamiliar with rebuilding/rollup
Code Snipping
Compact ABSOLVENT
No response
Errors
Default: BIP39 Wordlist for de FAILED
Environment
React Native/Expo/JavaScriptCore
Environment (Other)
react-native: 0.66.4
The text was updated successfully, but these errors subsisted been: