Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
63 commits
Select commit Hold shift + click to select a range
1b14208
chain/ethereum: Update Firehose Ethereum protobuf to latest version
incrypto32 Oct 1, 2025
21445c0
chain/ethereum: set --experimental_allow_proto3_optional flag for ton…
incrypto32 Oct 1, 2025
95679be
migrate from `ethabi` to `alloy`
isum Feb 14, 2025
50b5000
Add alloy_rpc_types crate
incrypto32 Jun 18, 2025
c24ff78
chain/ethereum: Add alloy provider to ethereum adapter
incrypto32 Jun 18, 2025
4ec6403
chain/ethereum: Fix retval import causing rustfmt issues
incrypto32 Jun 18, 2025
57977ad
chain/ethereum: migrate get_balance call to use alloy
incrypto32 Jun 18, 2025
7f250a4
chain/ethereum: migrate get_code call to use alloy
incrypto32 Jun 18, 2025
f62d9a1
chain/ethereum: remove unused block_hash_by_block_number method
incrypto32 Jun 18, 2025
e5bd794
chain/ethereum: migrate chain_id call to use alloy
incrypto32 Jun 18, 2025
d96af07
chain/ethereum: migrate net_version call to use alloy
incrypto32 Jun 18, 2025
9a4e5e4
chain/ethereum: migrate next_existing_ptr_to_number call to use alloy
incrypto32 Jun 18, 2025
0fbf7e0
chain/ethereum: migrate load_block_ptrs_by_numbers_rpc call to use alloy
incrypto32 Jun 18, 2025
57bc54d
chain/ethereum: migrate load_block_ptrs_rpc call to use alloy
incrypto32 Jun 18, 2025
c4c3ef5
graph, chain, runtime: re export alloy from graph crate and use it
incrypto32 Jun 18, 2025
7627ba9
chain/ethereum: migrate genesis block fetching call to use alloy in n…
incrypto32 Jun 18, 2025
f14685d
chain/ethereum: migrate latest_block_header call to use alloy
incrypto32 Jun 18, 2025
5a27699
chain/ethereum: rename latest_block_header to latest_block_ptr
incrypto32 Jun 18, 2025
ff133ff
chain/ethereum: remove unused latest_block adapter method
incrypto32 Jun 18, 2025
831cd4e
chain/ethereum: Refactor eth_call method in ethereum adapter
incrypto32 Jun 19, 2025
12c3289
chain/ethereum: Move eth_call helper functions to separate module
incrypto32 Jun 19, 2025
dafc42a
chain/ethereum: Migrate eth_call to use alloy
incrypto32 Jun 19, 2025
6d23b44
graph, chain/ethereum: migrate ContractCall to use alloy address
incrypto32 Jun 19, 2025
0051fed
graph: Add util functions for alloy web3 conversions
incrypto32 Jun 24, 2025
aa04a80
checkpoint
incrypto32 Jun 24, 2025
3c5ea37
graph: add alloy_transaction_receipt_to_web3_transaction_receipt to c…
incrypto32 Jun 24, 2025
555c26f
receipts checkpoint
incrypto32 Jun 24, 2025
4565847
chain/ethereum: Migrate load_blocks_rpc from futures01 to futures03
incrypto32 Jun 24, 2025
775ee2a
chain/ethereum: Refactor calls_in_block_range to eliminate Unpin erro…
incrypto32 Jun 24, 2025
8187108
more conversions
incrypto32 Jun 25, 2025
58827f7
chain/ethereum: migrate traces to use alloy
incrypto32 Jun 25, 2025
5344694
more conversions
incrypto32 Jun 25, 2025
e271a96
chain/ethereum: migrate block methods to alloy part 1
incrypto32 Jun 25, 2025
77f09a3
chain/ethereum: migrate block methods to alloy part 2
incrypto32 Jun 25, 2025
935d342
chain/ethereum: wrapper for Block
incrypto32 Jun 26, 2025
5162d6e
chain/ethereum: wrap web3 block
incrypto32 Jun 26, 2025
7e429ac
use alloy block
incrypto32 Jun 26, 2025
8e9591d
Migrate transaction receipt to alloy
incrypto32 Jun 26, 2025
72bf098
minor refactor
incrypto32 Jun 26, 2025
b44014f
checkpoint
incrypto32 Jun 26, 2025
fa5b8ea
migrate web3 primitives to alloy_primitives
incrypto32 Jun 29, 2025
d67d98e
minor refactoring
incrypto32 Jun 29, 2025
f571ab4
Fix more todo's, migratye firehose type conversions to alloy instead …
incrypto32 Jul 2, 2025
003882e
Remove unneccessary conversion functions
incrypto32 Jul 2, 2025
d69e222
update failing tests
incrypto32 Jul 2, 2025
ca394b0
Fix unit tests
incrypto32 Jul 8, 2025
332f58e
chain/ethereum: use dummy signature with zero values
incrypto32 Jul 9, 2025
a3b5e3b
chain/ethereum: Implement support for ws and ipc
incrypto32 Jul 21, 2025
a4004a3
chain/ethereum: Implment rpc metrics collection with alloy
incrypto32 Jul 21, 2025
61900a3
graph: Remove conversions module
incrypto32 Jul 21, 2025
9898a03
graph, chain, runtime: Remove all references to rust-web3 crate
incrypto32 Jul 21, 2025
e30d81c
chain/ethereum: Refactor adapter.rs
incrypto32 Jul 24, 2025
0411dd9
graph, chain: code cleanup and refactor
incrypto32 Jul 29, 2025
506d471
chain/ethereum: use effective gas price instead of gas_price
incrypto32 Jul 31, 2025
13fb573
chain/ethereum: Fix TODOs in codec.rs
incrypto32 Aug 5, 2025
ae8295e
chain/ethereum: Populate new Firehose protobuf fields in codec
incrypto32 Oct 1, 2025
7344266
graph, chain/ethereum: Use AnyRpcBlock instead of Ethereum Specific B…
incrypto32 Oct 1, 2025
53755a6
graph, chain/ethereum: Use AnyNetwork with concrete AlloyProvider type
incrypto32 Oct 2, 2025
66908fc
chain/ethereum: Handle unknown transaction types and fix EIP-7702 aut…
incrypto32 Oct 2, 2025
449f66a
chain/ethereum: Add tests for unknown transaction type
incrypto32 Oct 2, 2025
d211801
chain/ethereum: Remove commented-out code from abi.rs
incrypto32 Oct 2, 2025
e150b02
cleanup typos, commented out code and minor refactoring
incrypto32 Oct 3, 2025
c61c36a
runtime: Fix FixedBytes conversion to respect size parameter
incrypto32 Oct 4, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3,669 changes: 2,764 additions & 905 deletions Cargo.lock

Large diffs are not rendered by default.

3 changes: 3 additions & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,8 @@ repository = "https://github.com/graphprotocol/graph-node"
license = "MIT OR Apache-2.0"

[workspace.dependencies]
alloy = { version = "1.0.33", features = ["dyn-abi", "json-abi", "full", "arbitrary", "json-rpc"] }
alloy-rpc-types = "1.0.33"
anyhow = "1.0"
async-graphql = { version = "7.0.17", features = ["chrono"] }
async-graphql-axum = "7.0.17"
Expand Down Expand Up @@ -93,6 +95,7 @@ thiserror = "2.0.16"
tokio = { version = "1.45.1", features = ["full"] }
tonic = { version = "0.12.3", features = ["tls-roots", "gzip"] }
tonic-build = { version = "0.12.3", features = ["prost"] }
tower = { version = "0.5.1", features = ["full"] }
tower-http = { version = "0.6.6", features = ["cors"] }
wasmparser = "0.118.1"
wasmtime = "33.0.2"
Expand Down
1 change: 1 addition & 0 deletions chain/ethereum/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ tiny-keccak = "1.5.0"
hex = "0.4.3"
semver = "1.0.27"
thiserror = { workspace = true }
tower = { workspace = true }

itertools = "0.14.0"

Expand Down
1 change: 1 addition & 0 deletions chain/ethereum/build.rs
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ fn main() {

tonic_build::configure()
.out_dir("src/protobuf")
.protoc_arg("--experimental_allow_proto3_optional")
.compile_protos(&["proto/ethereum.proto"], &["proto"])
.expect("Failed to compile Firehose Ethereum proto(s)");
}
701 changes: 633 additions & 68 deletions chain/ethereum/proto/ethereum.proto

Large diffs are not rendered by default.

Loading
Loading