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

Manually overwrite solc path #212

Closed randoum closed 1 year ago

randoum commented 1 year ago

Allow to manually set the solc path : Eth::Solidity.new('/blah/solc')

This does not change the default behavior to get the solc bin from the paths

codecov-commenter commented 1 year ago

Codecov Report

Merging #212 (d999d3d) into main (59bacd6) will decrease coverage by 0.26%. The diff coverage is 100.00%.

:mega: This organization is not using Codecov’s GitHub App Integration. We recommend you install it so Codecov can continue to function properly for your repositories. Learn more

@@            Coverage Diff             @@
##             main     #212      +/-   ##
==========================================
- Coverage   99.77%   99.51%   -0.26%     
==========================================
  Files          77       77              
  Lines        4373     4373              
==========================================
- Hits         4363     4352      -11     
- Misses         10       21      +11     
Impacted Files Coverage Δ
lib/eth/solidity.rb 100.00% <100.00%> (ø)
spec/eth/ens/resolver_spec.rb 83.78% <0.00%> (-16.22%) :arrow_down:
lib/eth/ens/resolver.rb 85.29% <0.00%> (-14.71%) :arrow_down:

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