Skip to content

Commit 33180d7

Browse files
committed
fix: update abi and log errors
1 parent ff0cab2 commit 33180d7

File tree

4 files changed

+11
-44
lines changed

4 files changed

+11
-44
lines changed

src/assets/LightGTCRFactory.json

Lines changed: 7 additions & 41 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,7 @@
11
[
22
{
33
"inputs": [
4-
{
5-
"internalType": "address",
6-
"name": "_GTCR",
7-
"type": "address"
8-
}
4+
{ "internalType": "address", "name": "_GTCR", "type": "address" }
95
],
106
"payable": false,
117
"stateMutability": "nonpayable",
@@ -28,13 +24,7 @@
2824
"constant": true,
2925
"inputs": [],
3026
"name": "GTCR",
31-
"outputs": [
32-
{
33-
"internalType": "address",
34-
"name": "",
35-
"type": "address"
36-
}
37-
],
27+
"outputs": [{ "internalType": "address", "name": "", "type": "address" }],
3828
"payable": false,
3929
"stateMutability": "view",
4030
"type": "function"
@@ -43,13 +33,7 @@
4333
"constant": true,
4434
"inputs": [],
4535
"name": "count",
46-
"outputs": [
47-
{
48-
"internalType": "uint256",
49-
"name": "",
50-
"type": "uint256"
51-
}
52-
],
36+
"outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }],
5337
"payable": false,
5438
"stateMutability": "view",
5539
"type": "function"
@@ -67,11 +51,7 @@
6751
"name": "_arbitratorExtraData",
6852
"type": "bytes"
6953
},
70-
{
71-
"internalType": "address",
72-
"name": "_connectedTCR",
73-
"type": "address"
74-
},
54+
{ "internalType": "address", "name": "_connectedTCR", "type": "address" },
7555
{
7656
"internalType": "string",
7757
"name": "_registrationMetaEvidence",
@@ -82,11 +62,7 @@
8262
"name": "_clearingMetaEvidence",
8363
"type": "string"
8464
},
85-
{
86-
"internalType": "address",
87-
"name": "_governor",
88-
"type": "address"
89-
},
65+
{ "internalType": "address", "name": "_governor", "type": "address" },
9066
{
9167
"internalType": "uint256[4]",
9268
"name": "_baseDeposits",
@@ -102,11 +78,7 @@
10278
"name": "_stakeMultipliers",
10379
"type": "uint256[3]"
10480
},
105-
{
106-
"internalType": "address",
107-
"name": "_relayContract",
108-
"type": "address"
109-
}
81+
{ "internalType": "address", "name": "_relayContract", "type": "address" }
11082
],
11183
"name": "deploy",
11284
"outputs": [],
@@ -116,13 +88,7 @@
11688
},
11789
{
11890
"constant": true,
119-
"inputs": [
120-
{
121-
"internalType": "uint256",
122-
"name": "",
123-
"type": "uint256"
124-
}
125-
],
91+
"inputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }],
12692
"name": "instances",
12793
"outputs": [
12894
{

src/assets/LightGeneralizedTCR.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -918,6 +918,7 @@
918918
],
919919
"name": "requestsDisputeData",
920920
"outputs": [
921+
{ "internalType": "uint256", "name": "disputeID", "type": "uint256" },
921922
{
922923
"internalType": "enum LightGeneralizedTCR.DisputeStatus",
923924
"name": "status",
@@ -928,8 +929,7 @@
928929
"name": "ruling",
929930
"type": "uint8"
930931
},
931-
{ "internalType": "uint224", "name": "disputeID", "type": "uint224" },
932-
{ "internalType": "uint16", "name": "roundCount", "type": "uint16" }
932+
{ "internalType": "uint240", "name": "roundCount", "type": "uint240" }
933933
],
934934
"payable": false,
935935
"stateMutability": "view",

src/light-gtcr-execution.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -75,6 +75,7 @@ async function run(signer: ethers.Wallet) {
7575
console.error(
7676
`Failed to execute request for light curate item ${request.item.itemID}`
7777
);
78+
console.error(error);
7879
}
7980
}
8081
}

src/light-gtcr-withdrawal.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ async function run(batchWithdraw: ethers.Contract, signer: ethers.Wallet) {
5858
console.error(
5959
`Failed to withdraw rewards for light curate TCR request. Parameters: address: ${address}, contributor: ${contributor}, itemID: ${itemID}`
6060
);
61-
console.warn(error);
61+
console.error(error);
6262
}
6363
}
6464
}

0 commit comments

Comments
 (0)