web3dart icon indicating copy to clipboard operation
web3dart copied to clipboard

BlockInformation Type Port from Web3.js

Open TheGreatAxios opened this issue 3 years ago • 2 comments

  • Ported the BlockInformation from Web3.js
  • Some of the types are strings, but can be manipulated to BigInt or Uint8List potentially
  • Have not made methods for some of those potentials yet
  • Have not implemented tests yet

TheGreatAxios avatar Dec 26 '21 17:12 TheGreatAxios

@simolus3 Commit #71c888a..... I just pushed up has the fields for block info set as final and the removal of that print in the client.

Let me know if you see anything else!

TheGreatAxios avatar Dec 28 '21 14:12 TheGreatAxios

Codecov Report

Merging #232 (71c888a) into master (7d345b8) will decrease coverage by 2.39%. The diff coverage is 32.39%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #232      +/-   ##
==========================================
- Coverage   71.42%   69.03%   -2.40%     
==========================================
  Files          53       55       +2     
  Lines        2184     2238      +54     
==========================================
- Hits         1560     1545      -15     
- Misses        624      693      +69     
Impacted Files Coverage Δ
lib/src/core/block_information.dart 0.00% <0.00%> (ø)
lib/src/core/client.dart 11.56% <0.00%> (-6.81%) :arrow_down:
lib/src/core/transaction_information.dart 47.56% <52.27%> (-0.55%) :arrow_down:
lib/src/contracts/generated_contract.dart 0.00% <0.00%> (-42.86%) :arrow_down:
test/infura_integration_test.dart 53.33% <0.00%> (-40.01%) :arrow_down:
lib/src/generated/erc20.g.dart 0.00% <0.00%> (-15.52%) :arrow_down:
lib/src/contracts/deployed_contract.dart 0.00% <0.00%> (-10.00%) :arrow_down:
lib/src/contracts/abi/abi.dart 88.88% <0.00%> (-5.56%) :arrow_down:
lib/src/credentials/address.dart 74.35% <0.00%> (-5.13%) :arrow_down:
... and 2 more

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update 7d345b8...71c888a. Read the comment docs.

codecov-commenter avatar Dec 28 '21 18:12 codecov-commenter