Giter VIP home page Giter VIP logo

Comments (7)

unclezoro avatar unclezoro commented on June 9, 2024

What's the version are you using of web3.js? Upgrade to latest version may works.
As I have tried, it works on latest version:
image

from bsc.

fonov avatar fonov commented on June 9, 2024

i use latest version

"web3": "1.3.0",
    "web3-core": "1.3.0",
    "web3-core-helpers": "1.3.0",
    "web3-eth": "1.3.0",
    "web3-eth-contract": "1.3.0",
    "web3-utils": "1.3.0",

And i still get a error

Screenshot 2020-11-24 at 11 30 09

from bsc.

fonov avatar fonov commented on June 9, 2024

but i found a how fixed issue and already created pull request in web3 repo https://github.com/ethereum/web3.js/pull/3789/files

from bsc.

v0ld-dev avatar v0ld-dev commented on June 9, 2024

Hello everyone ! I have too this problem ! Try to combine versions of web3js, not helped.

from bsc.

unclezoro avatar unclezoro commented on June 9, 2024

It is the problem that BSC have system tx like this one: https://bscscan.com/tx/0xc35fed5ba462e2ec9c1131ea80ba30a5b82312ca37c6c75d3b990bc4a86eae96
The gas limit of system tx is 9,223,372,036,854,775,807, which beyond what the BN lib of node js can handle.

from bsc.

fonov avatar fonov commented on June 9, 2024

Why it close? Problem still exist

from bsc.

BuyOwnEx avatar BuyOwnEx commented on June 9, 2024

For those who cannot decode transaction with Web3

Use web3 with version >= 1.9.0

And use optional hexFormat param to getTransaction and getBlock that accepts the value 'hex'

Example:

let transactions = await web3.eth.getBlock(block_number, true, 'hex')

from bsc.

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.