Skip to content

Releases: lmittmann/w3

v0.6.0

15 Mar 19:18
Compare
Choose a tag to compare

Changes

  • upgraded to Go1.18
  • core: added generic CallFactoryReturns and CallFactoryReturnsRAW interface
  • module/eth: reduced number of exported types by applying CallFactoryReturns and CallFactoryReturnsRAW to hide factory implementations
  • module/eth: added Overrides to Call and CallFunc

v0.5.1

23 Feb 10:30
Compare
Choose a tag to compare

Changes

  • fixed array lexing/parsing in e.g. w3.NewFunc

v0.5.0

18 Feb 16:32
Compare
Choose a tag to compare

Changes

  • added ability to return raw RPC types for
    • eth.BlockByHash(...).ReturnsRAW(...)
    • eth.HeaderByHash(...).ReturnsRAW(...)
    • eth.BlockByNumber(...).ReturnsRAW(...)
    • eth.HeaderByNumber(...).ReturnsRAW(...)
    • eth.TransactionByHash(...).ReturnsRAW(...)
    • eth.TransactionReceipt(...).ReturnsRAW(...)
  • added W3 Gopher

v0.4.1

07 Feb 13:44
Compare
Choose a tag to compare

Changes

  • send non-batch request if len(requests) == 1 in Client.CallCtx(requests)

v0.4.0

06 Feb 17:19
Compare
Choose a tag to compare

Changes:

  • Package rpctest is now public
  • Doc & Readme improvements

v0.3.2

05 Feb 19:20
Compare
Choose a tag to compare

Fix: don't panic on empty RPC response

v0.3.1

04 Feb 15:26
Compare
Choose a tag to compare

Fix: allow nil as block number to fetch "latest" block in eth.BlockByNumber(...)

v0.3.0

01 Feb 16:25
Compare
Choose a tag to compare

Added Event for Smart Contract log event decoding.

v0.2.0

31 Jan 23:14
Compare
Choose a tag to compare

Added support for more eth RPC methods:

  • eth_getBlockByHash
  • eth_getBlockByNumber
  • eth_getLogs
  • eth_getTransactionByHash
  • eth_getTransactionReceipt
  • eth_sendRawTransaction

v0.1.1

23 Jan 22:18
Compare
Choose a tag to compare
make `NewFunc` return struct instead of interface.

- new w3.Func implements core.Func
- w3.Func exports fields "Signature", "Selector", "Args", and "Returns"