Comments (7)
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:
from bsc.
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
from bsc.
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.
Hello everyone ! I have too this problem ! Try to combine versions of web3js, not helped.
from bsc.
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.
Why it close? Problem still exist
from bsc.
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)
- Is v1.4.6 mainnet ready? HOT 6
- Sync change of behavior HOT 11
- [BUG] Unexpected error when getting snapshot after prune HOT 10
- Infinite loading on bsc testnet faucet HOT 3
- RPC API: not dump the full blob content for 2 blob related RPC API
- Custom prefix for env vars HOT 4
- encountering an OOM problem HOT 4
- Faucet infinite loop ( don't send tbnb) HOT 2
- the number of the "pending" is too low HOT 1
- bsc tx revert, error the invalid opcode mcopy HOT 2
- Sync failed HOT 9
- BNB praivt
- BNB
- UT "TestSnapSyncWithBlobs" random fail
- BNB workflow
- BNB fu
- Request a BUG refund HOT 4
- eth_call simulate transection seems to late one block in pending
- Connect HOT 1
- trnascation not complete 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 bsc.