kleros/kleros-v2

View on GitHub
chore(deps): bump prettier from 2.8.8 to 3.2.5 #7329
dependabot[bot] authored d29139cd
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
12
Parser process id: 12
codeclimate-parser socket not present
waiting 1s...
W, [2024-11-08T11:49:30.986283 #1]  WARN -- : Skipping contracts/wagmi.config.mainnet.ts due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:49:30.986324 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:49:31.204127 #1]  WARN -- : Skipping contracts/scripts/wagmiHelpers.ts due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:49:31.204161 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:49:31.205336 #1]  WARN -- : Skipping contracts/scripts/console-init-chiado.ts due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:49:31.205362 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:49:31.210035 #1]  WARN -- : Skipping contracts/scripts/console-init-chiado-resolver.ts due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:49:31.210062 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:49:31.235079 #1]  WARN -- : Skipping contracts/scripts/console-init.ts due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:49:31.235112 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:49:31.548475 #1]  WARN -- : Skipping contracts/wagmi.config.devnet.ts due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:49:31.548512 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:49:31.831582 #1]  WARN -- : Skipping contracts/wagmi.config.testnet.ts due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:49:31.831627 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:49:31.863366 #1]  WARN -- : Skipping web/src/hooks/useParsedAmount.ts due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:49:31.863403 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:49:31.898243 #1]  WARN -- : Skipping web/src/hooks/queries/usePopulatedDisputeData.ts due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:49:31.898270 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:49:31.929011 #1]  WARN -- : Skipping web/src/hooks/queries/useEvidenceGroup.ts due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:49:31.929039 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:49:31.951594 #1]  WARN -- : Skipping web/src/hooks/useIsCrossChainDispute.ts due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:49:31.951622 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:49:31.970409 #1]  WARN -- : Skipping web/src/hooks/useSigningAccount.tsx due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:49:31.970437 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:49:32.085479 #1]  WARN -- : Skipping web/src/utils/uploadSettingsToSupabase.ts due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:49:32.085523 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:49:32.139747 #1]  WARN -- : Skipping web/src/utils/wrapWithToast.ts due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:49:32.139778 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:49:32.145204 #1]  WARN -- : Skipping web/src/utils/getDisputeRequestParamsFromTxn.ts due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:49:32.145230 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:49:32.182702 #1]  WARN -- : Skipping web/src/components/Verdict/index.tsx due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:49:32.182730 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:49:32.186223 #1]  WARN -- : Skipping web/src/components/Verdict/DisputeTimeline.tsx due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:49:32.186249 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:49:32.192696 #1]  WARN -- : Skipping web/src/components/Verdict/FinalDecision.tsx due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:49:32.192723 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:49:32.498555 #1]  WARN -- : Skipping web/src/components/ConnectWallet/AccountDisplay.tsx due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:49:32.498591 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:49:32.705740 #1]  WARN -- : Skipping web/src/components/DisputeCard/index.tsx due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:49:32.705792 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:49:32.899887 #1]  WARN -- : Skipping web/src/consts/eip712-messages.ts due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:49:32.899918 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:49:32.960931 #1]  WARN -- : Skipping web/src/pages/DisputeTemplateView/index.tsx due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:49:32.960966 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:49:32.962934 #1]  WARN -- : Skipping web/src/pages/DisputeTemplateView/FetchDisputeRequestInput.tsx due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:49:32.962962 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:49:32.993587 #1]  WARN -- : Skipping web/src/pages/Home/TopJurors/JurorCard/index.tsx due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:49:32.993615 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:49:33.273385 #1]  WARN -- : Skipping web/src/pages/Dashboard/Courts/index.tsx due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:49:33.273412 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:49:33.438317 #1]  WARN -- : Skipping web/src/pages/Cases/CaseDetails/Evidence/index.tsx due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:49:33.438346 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:49:33.456381 #1]  WARN -- : Skipping web/src/pages/Cases/CaseDetails/index.tsx due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:49:33.456409 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:49:33.458021 #1]  WARN -- : Skipping web/src/pages/Cases/CaseDetails/Voting/VotingHistory.tsx due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:49:33.458047 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:49:33.460349 #1]  WARN -- : Skipping web/src/pages/Cases/CaseDetails/Voting/Classic/Commit.tsx due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:49:33.460378 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:49:33.465483 #1]  WARN -- : Skipping web/src/pages/Cases/CaseDetails/Voting/Classic/OptionsContainer.tsx due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:49:33.465511 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:49:33.466753 #1]  WARN -- : Skipping web/src/pages/Cases/CaseDetails/Voting/Classic/index.tsx due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:49:33.466780 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:49:33.468491 #1]  WARN -- : Skipping web/src/pages/Cases/CaseDetails/Voting/Classic/Reveal.tsx due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:49:33.468517 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:49:33.469838 #1]  WARN -- : Skipping web/src/pages/Cases/CaseDetails/Voting/Classic/Vote.tsx due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:49:33.469864 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:49:33.471600 #1]  WARN -- : Skipping web/src/pages/Cases/CaseDetails/Voting/index.tsx due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:49:33.471626 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:49:33.515713 #1]  WARN -- : Skipping web/src/pages/Cases/CaseDetails/Overview/index.tsx due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:49:33.515743 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:49:33.639068 #1]  WARN -- : Skipping web/wagmi.config.ts due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:49:33.639114 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:49:33.657016 #1]  WARN -- : Skipping web/netlify/functions/update-settings.ts due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:49:33.657050 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:49:33.676242 #1]  WARN -- : Skipping kleros-sdk/src/dataMappings/retrieveRealityData.ts due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:49:33.676275 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:49:33.735825 #1]  WARN -- : Skipping kleros-sdk/src/dataMappings/disputeDetails.ts due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:49:33.735857 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:49:33.752382 #1]  WARN -- : Skipping kleros-sdk/src/dataMappings/decoder.ts due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:49:33.752419 #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:36.779861 #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:36.779916 #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:37.887577 #1]  WARN -- : Skipping contracts/wagmi.config.mainnet.ts due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:49:37.887621 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:49:38.152713 #1]  WARN -- : Skipping ./contracts/scripts/wagmiHelpers.ts due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:49:38.152828 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:49:38.175216 #1]  WARN -- : Skipping ./contracts/scripts/console-init-chiado.ts due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:49:38.175292 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:49:38.180977 #1]  WARN -- : Skipping ./contracts/scripts/console-init-chiado-resolver.ts due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:49:38.181021 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:49:38.210359 #1]  WARN -- : Skipping ./contracts/scripts/console-init.ts due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:49:38.210757 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:49:38.616324 #1]  WARN -- : Skipping contracts/wagmi.config.devnet.ts due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:49:38.616423 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:49:39.266377 #1]  WARN -- : Skipping contracts/wagmi.config.testnet.ts due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:49:39.266449 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:49:39.285487 #1]  WARN -- : Skipping ./web/src/hooks/useParsedAmount.ts due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:49:39.285703 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:49:39.376411 #1]  WARN -- : Skipping ./web/src/hooks/queries/usePopulatedDisputeData.ts due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:49:39.376629 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:49:39.411634 #1]  WARN -- : Skipping ./web/src/hooks/queries/useEvidenceGroup.ts due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:49:39.411881 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:49:39.439250 #1]  WARN -- : Skipping ./web/src/hooks/useIsCrossChainDispute.ts due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:49:39.439453 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:49:39.465077 #1]  WARN -- : Skipping ./web/src/hooks/useSigningAccount.tsx due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:49:39.465112 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:49:39.609117 #1]  WARN -- : Skipping ./web/src/utils/uploadSettingsToSupabase.ts due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:49:39.609333 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:49:39.669657 #1]  WARN -- : Skipping ./web/src/utils/wrapWithToast.ts due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:49:39.669768 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:49:39.679931 #1]  WARN -- : Skipping ./web/src/utils/getDisputeRequestParamsFromTxn.ts due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:49:39.680132 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:49:39.728134 #1]  WARN -- : Skipping ./web/src/components/Verdict/index.tsx due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:49:39.728435 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:49:39.732603 #1]  WARN -- : Skipping ./web/src/components/Verdict/DisputeTimeline.tsx due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:49:39.732817 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:49:39.739559 #1]  WARN -- : Skipping ./web/src/components/Verdict/FinalDecision.tsx due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:49:39.739783 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:49:40.151889 #1]  WARN -- : Skipping ./web/src/components/ConnectWallet/AccountDisplay.tsx due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:49:40.152159 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:49:40.476417 #1]  WARN -- : Skipping ./web/src/components/DisputeCard/index.tsx due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:49:40.476503 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:49:40.724352 #1]  WARN -- : Skipping ./web/src/consts/eip712-messages.ts due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:49:40.724613 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:49:40.803694 #1]  WARN -- : Skipping ./web/src/pages/DisputeTemplateView/index.tsx due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:49:40.804023 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:49:40.805833 #1]  WARN -- : Skipping ./web/src/pages/DisputeTemplateView/FetchDisputeRequestInput.tsx due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:49:40.805985 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:49:40.841635 #1]  WARN -- : Skipping ./web/src/pages/Home/TopJurors/JurorCard/index.tsx due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:49:40.841978 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:49:41.227424 #1]  WARN -- : Skipping ./web/src/pages/Dashboard/Courts/index.tsx due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:49:41.227930 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:49:41.432289 #1]  WARN -- : Skipping ./web/src/pages/Cases/CaseDetails/Evidence/index.tsx due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:49:41.432371 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:49:41.470464 #1]  WARN -- : Skipping ./web/src/pages/Cases/CaseDetails/index.tsx due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:49:41.470717 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:49:41.472269 #1]  WARN -- : Skipping ./web/src/pages/Cases/CaseDetails/Voting/VotingHistory.tsx due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:49:41.472296 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:49:41.473109 #1]  WARN -- : Skipping ./web/src/pages/Cases/CaseDetails/Voting/Classic/Commit.tsx due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:49:41.473135 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:49:41.477970 #1]  WARN -- : Skipping ./web/src/pages/Cases/CaseDetails/Voting/Classic/OptionsContainer.tsx due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:49:41.478002 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:49:41.480402 #1]  WARN -- : Skipping ./web/src/pages/Cases/CaseDetails/Voting/Classic/index.tsx due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:49:41.480436 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:49:41.481423 #1]  WARN -- : Skipping ./web/src/pages/Cases/CaseDetails/Voting/Classic/Reveal.tsx due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:49:41.481486 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:49:41.482426 #1]  WARN -- : Skipping ./web/src/pages/Cases/CaseDetails/Voting/Classic/Vote.tsx due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:49:41.482451 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:49:41.483586 #1]  WARN -- : Skipping ./web/src/pages/Cases/CaseDetails/Voting/index.tsx due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:49:41.483613 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:49:41.548356 #1]  WARN -- : Skipping ./web/src/pages/Cases/CaseDetails/Overview/index.tsx due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:49:41.548587 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:49:41.774241 #1]  WARN -- : Skipping web/wagmi.config.ts due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:49:41.774296 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:49:41.784634 #1]  WARN -- : Skipping ./web/netlify/functions/update-settings.ts due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:49:41.784724 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:49:41.811696 #1]  WARN -- : Skipping ./kleros-sdk/src/dataMappings/retrieveRealityData.ts due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:49:41.811764 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:49:41.961358 #1]  WARN -- : Skipping ./kleros-sdk/src/dataMappings/disputeDetails.ts due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:49:41.961594 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:49:41.974443 #1]  WARN -- : Skipping ./kleros-sdk/src/dataMappings/decoder.ts due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:49:41.974500 #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.