Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
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
257 changes: 30 additions & 227 deletions Cargo.lock

Large diffs are not rendered by default.

52 changes: 0 additions & 52 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 0 additions & 8 deletions tests/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -20,15 +20,7 @@ serde = { workspace = true }
serde_yaml = { workspace = true }
slog = { workspace = true }
tokio = { version = "1.49.0", features = ["rt", "macros", "process"] }
# Once graph upgrades to web3 0.19, we don't need this anymore. The version
# here needs to be kept in sync with the web3 version that the graph crate
# uses until then
secp256k1 = { version = "0.21", features = ["recovery"] }
tokio-util.workspace = true
web3 = { git = "https://github.com/graphprotocol/rust-web3", branch = "graph-patches-onto-0.18", features = [
"arbitrary_precision",
"test",
] }

[dev-dependencies]
anyhow = "1.0.100"
Expand Down
2 changes: 1 addition & 1 deletion tests/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ services:
anvil:
# Pinned to specific version since newer versions do not produce
# deterministic block hashes. Unpin once that's fixed upstream
image: ghcr.io/foundry-rs/foundry:v1.2.3
image: ghcr.io/foundry-rs/foundry:v1.4.0
ports:
- '3021:8545'
command: "'anvil --host 0.0.0.0 --gas-limit 100000000000 --base-fee 1 --block-time 2 --timestamp 1743944919 --mnemonic \"test test test test test test test test test test test junk\"'"
Expand Down
4 changes: 2 additions & 2 deletions tests/integration-tests/grafted/subgraph.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -26,5 +26,5 @@ dataSources:
features:
- grafting
graft:
base: QmTQbJ234d2Po7xKZS5wKPiYuMYsCAqqY4df5czESjEXn4
block: 2
base: '@base@'
block: 2
2 changes: 1 addition & 1 deletion tests/integration-tests/topic-filter/schema.graphql
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
type AnotherTriggerEntity @entity {
id: ID!
id: Int8!
a: BigInt
b: BigInt
c: BigInt
Expand Down
2 changes: 1 addition & 1 deletion tests/integration-tests/topic-filter/src/mapping.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import { AnotherTrigger } from "../generated/Contract/Contract";
import { AnotherTriggerEntity } from "../generated/schema";

export function handleAnotherTrigger(event: AnotherTrigger): void {
let entity = new AnotherTriggerEntity(event.transaction.hash.toHex());
let entity = new AnotherTriggerEntity("auto");
entity.a = event.params.a;
entity.b = event.params.b;
entity.c = event.params.c;
Expand Down
Loading