Giter Club home page Giter Club logo

Comments (4)

UnSciPreneur avatar UnSciPreneur commented on August 19, 2024

You are probably right. I have checked that JavaScript can handle those integers (which it can) and I thought I had tested with Elastic. (Older versions of the tool simply divided by 10^6 to avoid this issue which was not nice either.
I will go and investigate.

from e2ebridge.

UnSciPreneur avatar UnSciPreneur commented on August 19, 2024

I have committed 628b98d7305d8d11aecd6075fbb58f8680bf58fb to circumvent this issue. This is not beautiful but as long as Elasticsearch does not support any larger integer formats...

from e2ebridge.

Raz0r avatar Raz0r commented on August 19, 2024

Hi,

I think that block.difficulty and transaction.gasPrice also need to be transformed.

from e2ebridge.

UnSciPreneur avatar UnSciPreneur commented on August 19, 2024

Hi,

I totally agree when it comes to block.difficulty. Commit e39b176e29c72beabc32291c17600faf7b16c7c7 already reflects that: We now divide both block.difficulty and block.totalDifficulty by 10^6.

We could also divide transaction.gasPrice by some factor. But given the fact that a naked value transaction costs 21'000 gas I do not expect anyone to issue an transaction with a gas price beyond 2^63 Wei: This would put the price of a value transaction north of 180'000 ETH... Or did I miss something here?

from e2ebridge.

Related Issues (2)

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.