Comments (4)
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.
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.
Hi,
I think that block.difficulty
and transaction.gasPrice
also need to be transformed.
from e2ebridge.
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)
- Elastic 6 support HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from e2ebridge.