kleros/kleros-v2

View on GitHub
feat(subgraph): add dummy subgraphs #7325
alcercu authored b039a178
complete00:00:38
1
git clone
2
codeclimate validate-config
View output
codeclimate validate-config
WARNING: 'engines' has been deprecated, please use 'plugins' instead
WARNING: 'exclude_paths' has been deprecated, please use 'exclude_patterns' instead
3
codeclimate prepare
View output
codeclimate prepare
4
builder pull-engines
View output
determining required images
5
structure
View output
13
Parser process id: 13
codeclimate-parser socket not present
waiting 1s...
W, [2024-11-08T11:49:29.685761 #1]  WARN -- : Skipping contracts/wagmi.config.mainnet.ts due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:49:29.685799 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:49:29.917687 #1]  WARN -- : Skipping contracts/scripts/wagmiHelpers.ts due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:49:29.917742 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:49:29.919334 #1]  WARN -- : Skipping contracts/scripts/console-init-chiado.ts due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:49:29.919368 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:49:29.925056 #1]  WARN -- : Skipping contracts/scripts/console-init-chiado-resolver.ts due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:49:29.925097 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:49:29.963579 #1]  WARN -- : Skipping contracts/scripts/console-init.ts due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:49:29.963614 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:49:30.273333 #1]  WARN -- : Skipping contracts/wagmi.config.devnet.ts due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:49:30.273370 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:49:30.562955 #1]  WARN -- : Skipping contracts/wagmi.config.testnet.ts due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:49:30.562998 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:49:30.599464 #1]  WARN -- : Skipping web/src/hooks/useParsedAmount.ts due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:49:30.599499 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:49:30.646696 #1]  WARN -- : Skipping web/src/hooks/queries/usePopulatedDisputeData.ts due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:49:30.647588 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:49:30.681195 #1]  WARN -- : Skipping web/src/hooks/queries/useEvidenceGroup.ts due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:49:30.681230 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:49:30.710159 #1]  WARN -- : Skipping web/src/hooks/useIsCrossChainDispute.ts due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:49:30.710194 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:49:30.732733 #1]  WARN -- : Skipping web/src/hooks/useSigningAccount.tsx due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:49:30.732773 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:49:30.874143 #1]  WARN -- : Skipping web/src/utils/uploadSettingsToSupabase.ts due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:49:30.874178 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:49:30.932406 #1]  WARN -- : Skipping web/src/utils/wrapWithToast.ts due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:49:30.932442 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:49:30.938240 #1]  WARN -- : Skipping web/src/utils/getDisputeRequestParamsFromTxn.ts due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:49:30.938270 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:49:30.981535 #1]  WARN -- : Skipping web/src/components/Verdict/index.tsx due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:49:30.981571 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:49:30.984721 #1]  WARN -- : Skipping web/src/components/Verdict/DisputeTimeline.tsx due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:49:30.984755 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:49:30.988256 #1]  WARN -- : Skipping web/src/components/Verdict/FinalDecision.tsx due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:49:30.988290 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:49:31.289356 #1]  WARN -- : Skipping web/src/components/ConnectWallet/AccountDisplay.tsx due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:49:31.289387 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:49:31.477159 #1]  WARN -- : Skipping web/src/components/DisputeCard/index.tsx due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:49:31.477188 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:49:31.658748 #1]  WARN -- : Skipping web/src/consts/eip712-messages.ts due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:49:31.658786 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:49:31.716778 #1]  WARN -- : Skipping web/src/pages/DisputeTemplateView/index.tsx due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:49:31.716807 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:49:31.719110 #1]  WARN -- : Skipping web/src/pages/DisputeTemplateView/FetchDisputeRequestInput.tsx due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:49:31.719137 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:49:31.756404 #1]  WARN -- : Skipping web/src/pages/Home/TopJurors/JurorCard/index.tsx due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:49:31.756443 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:49:32.072649 #1]  WARN -- : Skipping web/src/pages/Dashboard/Courts/index.tsx due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:49:32.072677 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:49:32.242045 #1]  WARN -- : Skipping web/src/pages/Cases/CaseDetails/Evidence/index.tsx due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:49:32.242081 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:49:32.264706 #1]  WARN -- : Skipping web/src/pages/Cases/CaseDetails/index.tsx due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:49:32.264739 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:49:32.267033 #1]  WARN -- : Skipping web/src/pages/Cases/CaseDetails/Voting/VotingHistory.tsx due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:49:32.267065 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:49:32.268934 #1]  WARN -- : Skipping web/src/pages/Cases/CaseDetails/Voting/Classic/Commit.tsx due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:49:32.268964 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:49:32.276674 #1]  WARN -- : Skipping web/src/pages/Cases/CaseDetails/Voting/Classic/OptionsContainer.tsx due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:49:32.276704 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:49:32.278793 #1]  WARN -- : Skipping web/src/pages/Cases/CaseDetails/Voting/Classic/index.tsx due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:49:32.278823 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:49:32.280400 #1]  WARN -- : Skipping web/src/pages/Cases/CaseDetails/Voting/Classic/Reveal.tsx due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:49:32.280428 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:49:32.282741 #1]  WARN -- : Skipping web/src/pages/Cases/CaseDetails/Voting/Classic/Vote.tsx due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:49:32.282771 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:49:32.284777 #1]  WARN -- : Skipping web/src/pages/Cases/CaseDetails/Voting/index.tsx due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:49:32.284806 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:49:32.323364 #1]  WARN -- : Skipping web/src/pages/Cases/CaseDetails/Overview/index.tsx due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:49:32.323390 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:49:32.435191 #1]  WARN -- : Skipping web/wagmi.config.ts due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:49:32.435225 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:49:32.451706 #1]  WARN -- : Skipping web/netlify/functions/update-settings.ts due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:49:32.451740 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:49:32.462663 #1]  WARN -- : Skipping kleros-sdk/src/dataMappings/retrieveRealityData.ts due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:49:32.462692 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:49:32.520365 #1]  WARN -- : Skipping kleros-sdk/src/dataMappings/disputeDetails.ts due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:49:32.520404 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:49:32.531569 #1]  WARN -- : Skipping kleros-sdk/src/dataMappings/decoder.ts due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:49:32.531601 #1]  WARN -- : Response status: 422
6
duplication
View output
12
Parser process id: 12
codeclimate-parser socket not present
waiting 1s...
I, [2024-11-08T11:49:35.452828 #1]  INFO -- : Skipping file ./bot-pinner/src/tooling.py due to exception (CC::Engine::Analyzers::ParserError): `python2 /usr/src/app/lib/cc/engine/analyzers/python/parser.py` exited with code 1:
Traceback (most recent call last):
  File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 51, in <module>
    print(json.dumps(to_json(ast.parse(source))))
  File "/usr/local/python2/lib/python2.7/ast.py", line 37, in parse
    return compile(source, filename, mode, PyCF_ONLY_AST)
  File "<unknown>", line 9
    r = requests.post(f"{IPFS}/version")
                                      ^
SyntaxError: invalid syntax


I, [2024-11-08T11:49:35.453013 #1]  INFO -- : Skipping file ./bot-pinner/src/add_hashes.py due to exception (CC::Engine::Analyzers::ParserError): `python2 /usr/src/app/lib/cc/engine/analyzers/python/parser.py` exited with code 1:
Traceback (most recent call last):
  File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 51, in <module>
    print(json.dumps(to_json(ast.parse(source))))
  File "/usr/local/python2/lib/python2.7/ast.py", line 37, in parse
    return compile(source, filename, mode, PyCF_ONLY_AST)
  File "<unknown>", line 47
    logger.info(f"Cycle starting from block #{block_number}. WANTED HASHES: {len(hashes_wanted)}")
                                                                                                ^
SyntaxError: invalid syntax


W, [2024-11-08T11:49:36.615019 #1]  WARN -- : Skipping contracts/wagmi.config.mainnet.ts due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:49:36.615246 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:49:36.902225 #1]  WARN -- : Skipping ./contracts/scripts/wagmiHelpers.ts due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:49:36.902353 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:49:36.918168 #1]  WARN -- : Skipping ./contracts/scripts/console-init-chiado.ts due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:49:36.918381 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:49:36.922196 #1]  WARN -- : Skipping ./contracts/scripts/console-init-chiado-resolver.ts due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:49:36.922280 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:49:36.954205 #1]  WARN -- : Skipping ./contracts/scripts/console-init.ts due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:49:36.954284 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:49:37.426315 #1]  WARN -- : Skipping contracts/wagmi.config.devnet.ts due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:49:37.426695 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:49:38.111977 #1]  WARN -- : Skipping contracts/wagmi.config.testnet.ts due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:49:38.112047 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:49:38.128080 #1]  WARN -- : Skipping ./web/src/hooks/useParsedAmount.ts due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:49:38.128327 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:49:38.217678 #1]  WARN -- : Skipping ./web/src/hooks/queries/usePopulatedDisputeData.ts due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:49:38.217884 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:49:38.250346 #1]  WARN -- : Skipping ./web/src/hooks/queries/useEvidenceGroup.ts due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:49:38.250376 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:49:38.279844 #1]  WARN -- : Skipping ./web/src/hooks/useIsCrossChainDispute.ts due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:49:38.279917 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:49:38.307240 #1]  WARN -- : Skipping ./web/src/hooks/useSigningAccount.tsx due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:49:38.307272 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:49:38.462248 #1]  WARN -- : Skipping ./web/src/utils/uploadSettingsToSupabase.ts due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:49:38.462334 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:49:38.527713 #1]  WARN -- : Skipping ./web/src/utils/wrapWithToast.ts due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:49:38.527795 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:49:38.537265 #1]  WARN -- : Skipping ./web/src/utils/getDisputeRequestParamsFromTxn.ts due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:49:38.537468 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:49:38.574492 #1]  WARN -- : Skipping ./web/src/components/Verdict/index.tsx due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:49:38.574731 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:49:38.578015 #1]  WARN -- : Skipping ./web/src/components/Verdict/DisputeTimeline.tsx due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:49:38.578042 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:49:38.581807 #1]  WARN -- : Skipping ./web/src/components/Verdict/FinalDecision.tsx due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:49:38.581841 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:49:39.015403 #1]  WARN -- : Skipping ./web/src/components/ConnectWallet/AccountDisplay.tsx due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:49:39.015682 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:49:39.315117 #1]  WARN -- : Skipping ./web/src/components/DisputeCard/index.tsx due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:49:39.315326 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:49:39.605256 #1]  WARN -- : Skipping ./web/src/consts/eip712-messages.ts due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:49:39.605292 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:49:39.675349 #1]  WARN -- : Skipping ./web/src/pages/DisputeTemplateView/index.tsx due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:49:39.675445 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:49:39.683699 #1]  WARN -- : Skipping ./web/src/pages/DisputeTemplateView/FetchDisputeRequestInput.tsx due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:49:39.683725 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:49:39.712405 #1]  WARN -- : Skipping ./web/src/pages/Home/TopJurors/JurorCard/index.tsx due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:49:39.712474 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:49:40.109186 #1]  WARN -- : Skipping ./web/src/pages/Dashboard/Courts/index.tsx due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:49:40.109404 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:49:40.309600 #1]  WARN -- : Skipping ./web/src/pages/Cases/CaseDetails/Evidence/index.tsx due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:49:40.309699 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:49:40.347690 #1]  WARN -- : Skipping ./web/src/pages/Cases/CaseDetails/index.tsx due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:49:40.347935 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:49:40.349467 #1]  WARN -- : Skipping ./web/src/pages/Cases/CaseDetails/Voting/VotingHistory.tsx due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:49:40.349492 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:49:40.350153 #1]  WARN -- : Skipping ./web/src/pages/Cases/CaseDetails/Voting/Classic/Commit.tsx due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:49:40.350177 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:49:40.355794 #1]  WARN -- : Skipping ./web/src/pages/Cases/CaseDetails/Voting/Classic/OptionsContainer.tsx due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:49:40.355820 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:49:40.357051 #1]  WARN -- : Skipping ./web/src/pages/Cases/CaseDetails/Voting/Classic/index.tsx due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:49:40.357076 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:49:40.358600 #1]  WARN -- : Skipping ./web/src/pages/Cases/CaseDetails/Voting/Classic/Reveal.tsx due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:49:40.358909 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:49:40.358978 #1]  WARN -- : Skipping ./web/src/pages/Cases/CaseDetails/Voting/Classic/Vote.tsx due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:49:40.359103 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:49:40.362103 #1]  WARN -- : Skipping ./web/src/pages/Cases/CaseDetails/Voting/index.tsx due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:49:40.362136 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:49:40.401405 #1]  WARN -- : Skipping ./web/src/pages/Cases/CaseDetails/Overview/index.tsx due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:49:40.409974 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:49:40.622811 #1]  WARN -- : Skipping web/wagmi.config.ts due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:49:40.622852 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:49:40.629932 #1]  WARN -- : Skipping ./web/netlify/functions/update-settings.ts due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:49:40.630007 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:49:40.653092 #1]  WARN -- : Skipping ./kleros-sdk/src/dataMappings/retrieveRealityData.ts due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:49:40.653163 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:49:40.743884 #1]  WARN -- : Skipping ./kleros-sdk/src/dataMappings/disputeDetails.ts due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:49:40.744115 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:49:40.759413 #1]  WARN -- : Skipping ./kleros-sdk/src/dataMappings/decoder.ts due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:49:40.759653 #1]  WARN -- : Response status: 422
7
tslint
tslint engine documentation
View output
Could not find implementations for the following rules specified in the configuration:
    angular-whitespace
    banana-in-box
    templates-no-negated-async
    directive-selector
    component-selector
    use-input-property-decorator
    use-output-property-decorator
    use-host-property-decorator
    use-view-encapsulation
    no-attribute-parameter-decorator
    no-input-rename
    no-output-rename
    no-output-on-prefix
    no-forward-ref
    use-life-cycle-interface
    contextual-life-cycle
    trackBy-function
    use-pipe-transform-interface
    pipe-naming
    component-class-suffix
    directive-class-suffix
    no-case-with-or
Try upgrading TSLint and/or ensuring that you have all necessary custom rules installed.
If TSLint was recently upgraded, you may have old rules configured which need to be cleaned up.