Skip to content
Open
Show file tree
Hide file tree
Changes from 1 commit
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
2 changes: 1 addition & 1 deletion src/light-gtcr-execution.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ async function run(signer: ethers.Wallet) {
const subgraphQuery = {
query: `
{
lrequests(where: { resolved: false, disputed: false }, first: 1000) {
lrequests: LRequest(where: { resolved: {_eq: false}, disputed: {_eq: false} }, limit: 1000) {
submissionTime
item {
itemID
Expand Down
2 changes: 1 addition & 1 deletion src/light-gtcr-withdrawal.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ async function run(batchWithdraw: ethers.Contract, signer: ethers.Wallet) {
const subgraphQuery = {
query: `
{
lcontributions(where: { withdrawable: true }) {
lcontributions: LContribution(where: { withdrawable: {_eq :true} }) {
id
contributor
}
Expand Down