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
200 stars 86 forks source link

eth/client: raise an error if a contract interaction reverts #186

Closed q9f closed 1 year ago

q9f commented 1 year ago

fix #99

codecov-commenter commented 1 year ago

Codecov Report

Merging #186 (4d72281) into main (490f28d) will increase coverage by 0.00%. The diff coverage is 100.00%.

@@           Coverage Diff           @@
##             main     #186   +/-   ##
=======================================
  Coverage   99.76%   99.76%           
=======================================
  Files          70       70           
  Lines        4230     4241   +11     
=======================================
+ Hits         4220     4231   +11     
  Misses         10       10           
Impacted Files Coverage Δ
lib/eth/client.rb 100.00% <100.00%> (ø)
spec/eth/client_spec.rb 100.00% <100.00%> (ø)
spec/eth/solidity_spec.rb 100.00% <100.00%> (ø)

:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more