Comments (6)
Do you mean should return nil response and nil error?
from ethrpc.
I believe it should be nil block response because schema of method (*Block, error)
, so it was expected to have nil block, if daemon returned "null" on block request.
from ethrpc.
@onrik Do you plan to change behaviour, or should I do that in my fork, and send pull request?
from ethrpc.
I'll test and fix.
from ethrpc.
Unmarshal not return error, because response is not nil, but string "null", example https://play.golang.org/p/vetW80_Ud9i
from ethrpc.
Fixed.
from ethrpc.
Related Issues (20)
- How to decode input data in transaction HOT 2
- Add time out for http client HOT 2
- Handling locked accounts HOT 2
- how to call contract HOT 1
- How to use the "eth_sendRawTransaction" method? HOT 2
- How to use ABI.josn file to call a deployed contract ?
- TransactionReceipt.Status throws with Parity HOT 2
- Add an interface for `EthRPC` methods HOT 1
- getbalabce The value returned is not correct HOT 3
- EthGetBlockByHash The value returned is not correct HOT 2
- Support IPC HOT 3
- I would like you to write a simple documentation showing how to use it.. HOT 3
- On Active Release of TCP Connections
- EthGetBlockByNumber has first parameter of type INT HOT 2
- export client field for EthRPC HOT 2
- when i using npx hardhat node whatever rpc request i send it returns invalid request
- Can you give me EthCall example HOT 3
- TransactionReceipt Status bool HOT 1
- Error -32000 (authentication needed: password or unlock) 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 ethrpc.