q9f / eth.rb

a straightforward library to build, sign, and broadcast ethereum transactions anywhere you can run ruby.
https://q9f.github.io/eth.rb
Apache License 2.0
204 stars 88 forks source link

Fix Eth::Abi::DecodingError in call method #105

Closed kurotaky closed 2 years ago

kurotaky commented 2 years ago

resolves https://github.com/q9f/eth.rb/issues/104 If raw result in call() is 0x, nil is returned.

codecov-commenter commented 2 years ago

Codecov Report

Merging #105 (c32d3a2) into main (5eee050) will increase coverage by 0.00%. The diff coverage is 100.00%.

@@           Coverage Diff           @@
##             main     #105   +/-   ##
=======================================
  Coverage   99.73%   99.73%           
=======================================
  Files          67       67           
  Lines        3812     3819    +7     
=======================================
+ Hits         3802     3809    +7     
  Misses         10       10           
Impacted Files Coverage Δ
lib/eth/client.rb 100.00% <100.00%> (ø)
spec/eth/client_spec.rb 100.00% <100.00%> (ø)

:mega: Codecov can now indicate which changes are the most critical in Pull Requests. Learn more