Giter VIP home page Giter VIP logo

Comments (2)

addywaddy avatar addywaddy commented on August 24, 2024

Some more investigation:

ethereumjs_transaction_body = '0xf866808609184e72a000836691b794f17f52151ebef6c7334fad080c5704d77216b73211801ca04a4afcb65a1e36abd51a85993ea3b66e2fa36e99f0cc8a4efa85fce6052f54eea03010669e73885783cfd2c9e9a22701c9846a20485d3b323ffb1207f2a6ca981c'
ruby_eth_transaction_body = '0xf866808609184e72a000836691b794f17f52151ebef6c7334fad080c5704d77216b732118045a065ead0ae9a171a06cd0c44220bada58de3b1a44e540239f56153022a3e0eaa71a0471a0eab4a6e3975a258896b0db10e536e1624bc3570add37c94ec4772ed7354'

Eth::Tx.decode(ethereumjs_transaction_body).from =>
'0x821aEa9a577a9b44299B9c15c88cf3087F3b5544'

Eth::Tx.decode(ruby_eth_transaction_body).from =>
nil

# Setting the chain id to Ganache's doesn't help either

Eth.configure {|config| config.chain_id = 5777}
Eth::Tx.decode(ruby_eth_transaction_body).from =>
nil

from ruby-eth.

addywaddy avatar addywaddy commented on August 24, 2024

My bad. The problem was solved in 18643bc. I just needed to update to the latest version (4.1.0) and it works. Sorry for the false alarm!

from ruby-eth.

Related Issues (20)

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.