Skip to content

peppersec/web3_toHex_bug

This branch is 1 commit ahead of master.

Folders and files

NameName
Last commit message
Last commit date

Latest commit

f84954b · Jan 24, 2023

History

3 Commits
Sep 11, 2019
Sep 11, 2019
Sep 11, 2019
Sep 11, 2019
Sep 11, 2019
Sep 11, 2019
Sep 11, 2019
Sep 11, 2019
Sep 11, 2019
Sep 11, 2019
Sep 11, 2019
Sep 11, 2019
Jan 24, 2023

Repository files navigation

Web3 toHex bug

Steps to reproduce

  1. yarn
  2. yarn generate
  3. cd dist
  4. python -m SimpleHTTPServer 8088
  5. open up js console in localhost:8088 and notice that there are incorrect toHex results
n1 7120861356467848435263064379192047478074060781135320967663101236819528304084
toX 0x2266626534336333366138306533366437633763353834643466386633373539666235316630643636303635643861323237623638386431323438386335643422

if you do yarn dev -o you will see that toHex is working as expected

n1 7120861356467848435263064379192047478074060781135320967663101236819528304084
toX 0xfbe43c36a80e36d7c7c584d4f8f3759fb51f0d66065d8a227b688d12488c5d4

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published