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

Manual default_account #215

Closed randoum closed 1 year ago

randoum commented 1 year ago

For remote connection, there is no Client.default_account that can be automatically set. However, we are able to define it manually through Client.default_account=. This removed the error message and allow calling Client.default_account after it was manually set

codecov-commenter commented 1 year ago

Codecov Report

Merging #215 (c1296a4) into main (a6fa05a) 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     #215      +/-   ##
==========================================
- Coverage   99.77%   99.51%   -0.26%     
==========================================
  Files          77       77              
  Lines        4374     4374              
==========================================
- Hits         4364     4353      -11     
- Misses         10       21      +11     
Impacted Files Coverage Δ
lib/eth/client.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