Comments (5)
Yes, this is one of the last ones missing. @s1na not sure, did you once say that you already did some work on that?
from ethereumjs-block.
Agreed. Well, when we first started "The Great Migration" (:smile:) I spent an hour or so on migrating this library, but stopped soon because it depended on other libraries and they didn't have typedefs yet. So no, I don't have anything useful, we'll have to start from scratch.
from ethereumjs-block.
I'm working on this migration. It's a little more complicated than I expected, but not terrible.
One thing that I'm wondering is if we should migrate and keep these files:
- https://github.com/ethereumjs/ethereumjs-block/blob/2c3908e5bbb6c9c94aeb5547a779295433f42545/from-rpc.js
- https://github.com/ethereumjs/ethereumjs-block/blob/2c3908e5bbb6c9c94aeb5547a779295433f42545/header-from-rpc.js
They seem super out of place to me. None of the other main libraries has anything to do with the RPC format.
from ethereumjs-block.
My guess is that those functions are in use by MetaMask. Let's migrate them along but create an issue to discuss their deprecation.
from ethereumjs-block.
Makes sense, I'll do that.
from ethereumjs-block.
Related Issues (18)
- License: is it MPL or GPL? HOT 1
- feature request - construct block from parameters HOT 30
- remove dependency on genesis blob HOT 1
- A question about validate difficulty HOT 4
- Browserify fails when ethereumjs-block is a dependency of a dependency HOT 8
- TypeScript support HOT 3
- Backport block validation based on hardfork HOT 3
- testBlockchainTotalDifficulty fails in ethereumjs-vm using version 2.0.0 of block HOT 1
- [Constantinople] EIP 1234 Difficulty bomb delay and block reward adjustment
- Remove ethereumjs-testing dependency HOT 1
- Should use 6.x of ethereumjs-util HOT 1
- Invalid Signature when validating pre-homestead blocks HOT 1
- Browser tests are usually hitting Travis log size limit HOT 2
- [EIP 2384]: Implement difficulty bomb delay HOT 1
- Migrate ethereumjs-block from Travis to Github Actions
- Type interface for Block HOT 2
- Uninitialized dif variable cases in canonicalDifficulty() HOT 3
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 ethereumjs-block.