Skip to content

Releases: streamingfast/substreams-ethereum

v0.9.5

11 Oct 13:04
Compare
Choose a tag to compare
  • Generate ABI from bytes with method from_bytes of Abigen
    Example usage:
Abigen::from_bytes("Contract", content_bytes))?
            .generate()?
            .write_to_file("src/abi/contract.rs")?;

v0.9.4

31 Jul 14:47
Compare
Choose a tag to compare
  • Fixed ABI code generator generating invalid code encode code when a function has a parameter of type tuple.

v0.9.3

24 Jul 21:19
Compare
Choose a tag to compare
  • Added timestamp on Block type, returns a reference to the header's timestamp.

  • Re-generated Protobuf Block type using latest firehose-ethereum source, this brings in some missing BalanceChange#Reason enum values.

v0.9.2

05 Jul 00:08
Compare
Choose a tag to compare
  • Added parent on CallView to retrieve the parent call of the current Call pointed to by CallView

  • Added logs_with_calls on TransactionTrace which iterates over the logs of the transaction (excluding those from call that were reverted) and yields each log as a tuple (&Log, CallView).

v0.9.1

21 Mar 16:24
Compare
Choose a tag to compare

0.9.1

  • Fixed encoding of function when dealing with a bool referenced as a sub type (like in a function that accepts bool[]).

  • Added support for tuple in event in ABI generated code (thanks @incrypto32).

  • Fixed wrong handling of FixedArray when the array element's type is dynamic itself in ABI generated code.

Commits

v0.9.0...v0.9.1

v0.9.0

19 Jan 19:43
Compare
Choose a tag to compare

Changelog

  • Re-exporting block_view from substreams-ethereum-core
  • Fixed bug in abi generation where uint was not properly handled

Upgrade Procedure

If you are generating ABI code and use this release, add to your [dependencies] in your Cargo.toml:

[dependencies]
...
num-bigint = "0.4.3"
...

Commits

  • 4dbbf38 Add changelog entry
  • 8a87e61 Added changelog notice
  • 20dcc62 Merge pull request #12 from fubhy/re-export-block-view
  • 19f5361 Preparing release of v0.9.0
  • 925c490 Re-export block view module
  • 9dbe05d abigen: fix encode of Uint

v0.8.0

28 Nov 19:31
Compare
Choose a tag to compare

Changelog

  • Bump substreams crate
  • Changing into() call when converting to BigInt in abi to call the proper signed or unsiged encoding
  • Adding into() method from BigInt to use unsigned_bytes_be

Commits

  • b69dc5a Preparing release of 0.8.0
  • f6a695a changing into() call on chained into_uint() and into_int() to use the proper signed or unsigned bytes and fixing tests

v0.7.0

28 Nov 19:31
Compare
Choose a tag to compare

Changelog

  • Bump substreams crate

Commits

v0.6.2

21 Oct 20:01
Compare
Choose a tag to compare

Changelog

  • Replacing EthBigInt and ethabi::Uint to only use substreams-rs scalar BigInt struct.

Commits

  • 18cd6d7 Preparing next version
  • 9a3ccb9 Preparing release of v0.6.2
  • 9826661 moving release instructions to RELEASE.md file
  • 6c5f7ee replacing ethbigint with substreams scalar bigint and fixing tests
  • da47959 update substreams crate dependency
  • 0ce9ecf wip bye bye eth big int

v0.6.1

19 Oct 17:21
Compare
Choose a tag to compare

Changelog

  • Made Windows target(s) able to run tests when depending on substreams-ethereum crate.

  • Adding allow attribute(s) to remove warnings for code generated by ABI generator (should be good now).

Commits

  • a416f4a Fixed default compilation target to be wasm32-unknown-unknown and fix it
  • 5f638d8 Made Windows target(s) able to run tests when depending on substreams-ethereum crate.
  • 6dd75a3 Preparing release of 0.6.1
  • d1f9bbf Updated a bit release instructions