GithubHelp home page GithubHelp logo

web3_tohex_bug's Introduction

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

web3_tohex_bug's People

Contributors

pertsev avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.