diff --git a/src/data.jl b/src/data.jl index f12d606..0e1f728 100644 --- a/src/data.jl +++ b/src/data.jl @@ -21,7 +21,9 @@ You can find TheGraphData.jl at https://github.com/semiotic-ai/TheGraphData.jl function squery(config::AbstractDict) v = "subgraphDeployments" a = Dict{String,Any}( - "where" => Dict{String,Any}("network_in" => config["syncing_networks"]) + "where" => Dict{String,Any}( + "manifest_" => Dict{String,Any}("network_in" => config["syncing_networks"]) + ), ) f = ["ipfsHash", "signalledTokens", "stakedTokens", "deniedAt"] return v, a, f diff --git a/test/data.jl b/test/data.jl index 2758f91..e2a1694 100644 --- a/test/data.jl +++ b/test/data.jl @@ -7,8 +7,8 @@ v, a, f = AllocationOpt.squery(config) @test v == "subgraphDeployments" @test f == ["ipfsHash", "signalledTokens", "stakedTokens", "deniedAt"] - @test a == Dict{String,Union{Dict{String,Vector{String}},String}}( - "where" => Dict("network_in" => ["mainnet"]) + @test a == Dict{String,Union{Dict{String,Dict{String,Vector{String}}},String}}( + "where" => Dict("manifest_" => Dict("network_in" => ["mainnet"])) ) end