Giter VIP home page Giter VIP logo

Comments (5)

holgerd77 avatar holgerd77 commented on May 28, 2024

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.

s1na avatar s1na commented on May 28, 2024

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.

alcuadrado avatar alcuadrado commented on May 28, 2024

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:

  1. https://github.com/ethereumjs/ethereumjs-block/blob/2c3908e5bbb6c9c94aeb5547a779295433f42545/from-rpc.js
  2. 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.

s1na avatar s1na commented on May 28, 2024

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.

alcuadrado avatar alcuadrado commented on May 28, 2024

Makes sense, I'll do that.

from ethereumjs-block.

Related Issues (18)

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.