Releases: streamingfast/substreams-ethereum
v0.9.5
- Generate ABI from bytes with method
from_bytes
ofAbigen
Example usage:
Abigen::from_bytes("Contract", content_bytes))?
.generate()?
.write_to_file("src/abi/contract.rs")?;
v0.9.4
v0.9.3
v0.9.2
-
Added
parent
onCallView
to retrieve the parent call of the currentCall
pointed to byCallView
-
Added
logs_with_calls
onTransactionTrace
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
0.9.1
-
Fixed encoding of function when dealing with a
bool
referenced as a sub type (like in a function that acceptsbool[]
). -
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
Changelog
- Re-exporting
block_view
fromsubstreams-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
v0.8.0
Changelog
- Bump
substreams
crate - Changing
into()
call when converting toBigInt
in abi to call the propersigned
orunsiged
encoding - Adding
into()
method fromBigInt
to useunsigned_bytes_be
Commits
v0.7.0
v0.6.2
Changelog
- Replacing
EthBigInt
andethabi::Uint
to only usesubstreams-rs
scalarBigInt
struct.
Commits
v0.6.1
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).