kleros/kleros-v2

View on GitHub
feat: added MerkleRedeem contract migrated to Solidity v0.8 #7334
jaybuidl authored ec4c0afd
complete00:00:32
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:33.216723 #1]  WARN -- : Skipping contracts/scripts/console-init-chiado.ts due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:49:33.216757 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:49:33.224118 #1]  WARN -- : Skipping contracts/scripts/console-init-chiado-resolver.ts due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:49:33.224151 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:49:33.253195 #1]  WARN -- : Skipping contracts/scripts/console-init.ts due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:49:33.253234 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:49:33.803052 #1]  WARN -- : Skipping web/src/hooks/useParsedAmount.ts due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:49:33.803083 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:49:33.860739 #1]  WARN -- : Skipping web/src/hooks/queries/useEvidenceGroup.ts due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:49:33.860769 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:49:33.868967 #1]  WARN -- : Skipping web/src/hooks/queries/useDisputeTemplate.ts due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:49:33.869004 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:49:33.886152 #1]  WARN -- : Skipping web/src/hooks/useIsCrossChainDispute.ts due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:49:33.886180 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:49:33.995505 #1]  WARN -- : Skipping web/src/utils/uploadSettingsToSupabase.ts due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:49:33.995542 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:49:34.039833 #1]  WARN -- : Skipping web/src/utils/wrapWithToast.ts due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:49:34.039882 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:49:34.087178 #1]  WARN -- : Skipping web/src/components/Verdict/index.tsx due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:49:34.087206 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:49:34.090909 #1]  WARN -- : Skipping web/src/components/Verdict/DisputeTimeline.tsx due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:49:34.090946 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:49:34.094523 #1]  WARN -- : Skipping web/src/components/Verdict/FinalDecision.tsx due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:49:34.094548 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:49:34.353774 #1]  WARN -- : Skipping web/src/components/ConnectWallet/AccountDisplay.tsx due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:49:34.353803 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:49:34.472998 #1]  WARN -- : Skipping web/src/components/DisputeCard/index.tsx due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:49:34.473029 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:49:34.644718 #1]  WARN -- : Skipping web/src/consts/eip712-messages.ts due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:49:34.644759 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:49:34.722303 #1]  WARN -- : Skipping web/src/pages/Home/TopJurors/JurorCard/index.tsx due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:49:34.722331 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:49:34.880913 #1]  WARN -- : Skipping web/src/pages/Dashboard/Courts/index.tsx due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:49:34.880950 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:49:35.076495 #1]  WARN -- : Skipping web/src/pages/Cases/CaseDetails/Evidence/index.tsx due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:49:35.076527 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:49:35.094191 #1]  WARN -- : Skipping web/src/pages/Cases/CaseDetails/index.tsx due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:49:35.094220 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:49:35.096614 #1]  WARN -- : Skipping web/src/pages/Cases/CaseDetails/Voting/VotingHistory.tsx due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:49:35.096640 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:49:35.098510 #1]  WARN -- : Skipping web/src/pages/Cases/CaseDetails/Voting/index.tsx due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:49:35.098543 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:49:35.100436 #1]  WARN -- : Skipping web/src/pages/Cases/CaseDetails/Voting/Classic.tsx due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:49:35.100469 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:49:35.115004 #1]  WARN -- : Skipping web/src/pages/Cases/CaseDetails/Overview.tsx due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:49:35.115038 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:49:35.228478 #1]  WARN -- : Skipping web/wagmi.config.ts due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:49:35.228518 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:49:35.244266 #1]  WARN -- : Skipping web/netlify/functions/update-settings.ts due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:49:35.244296 #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:38.261543 #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:38.262181 #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:39.684135 #1]  WARN -- : Skipping ./contracts/scripts/console-init-chiado.ts due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:49:39.684214 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:49:39.707845 #1]  WARN -- : Skipping ./contracts/scripts/console-init-chiado-resolver.ts due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:49:39.707953 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:49:39.738813 #1]  WARN -- : Skipping ./contracts/scripts/console-init.ts due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:49:39.738891 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:49:40.610947 #1]  WARN -- : Skipping ./web/src/hooks/useParsedAmount.ts due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:49:40.611102 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:49:40.700830 #1]  WARN -- : Skipping ./web/src/hooks/queries/useEvidenceGroup.ts due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:49:40.700878 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:49:40.711372 #1]  WARN -- : Skipping ./web/src/hooks/queries/useDisputeTemplate.ts due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:49:40.711569 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:49:40.727542 #1]  WARN -- : Skipping ./web/src/hooks/useIsCrossChainDispute.ts due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:49:40.727632 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:49:40.873051 #1]  WARN -- : Skipping ./web/src/utils/uploadSettingsToSupabase.ts due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:49:40.873121 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:49:40.923390 #1]  WARN -- : Skipping ./web/src/utils/wrapWithToast.ts due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:49:40.923426 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:49:40.979188 #1]  WARN -- : Skipping ./web/src/components/Verdict/index.tsx due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:49:40.979409 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:49:40.983352 #1]  WARN -- : Skipping ./web/src/components/Verdict/DisputeTimeline.tsx due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:49:40.983380 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:49:40.986860 #1]  WARN -- : Skipping ./web/src/components/Verdict/FinalDecision.tsx due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:49:40.986894 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:49:41.338872 #1]  WARN -- : Skipping ./web/src/components/ConnectWallet/AccountDisplay.tsx due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:49:41.338918 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:49:41.470143 #1]  WARN -- : Skipping ./web/src/components/DisputeCard/index.tsx due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:49:41.470257 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:49:41.708539 #1]  WARN -- : Skipping ./web/src/consts/eip712-messages.ts due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:49:41.708737 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:49:41.792454 #1]  WARN -- : Skipping ./web/src/pages/Home/TopJurors/JurorCard/index.tsx due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:49:41.792531 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:49:41.987289 #1]  WARN -- : Skipping ./web/src/pages/Dashboard/Courts/index.tsx due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:49:41.987366 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:49:42.246648 #1]  WARN -- : Skipping ./web/src/pages/Cases/CaseDetails/Evidence/index.tsx due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:49:42.246776 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:49:42.272817 #1]  WARN -- : Skipping ./web/src/pages/Cases/CaseDetails/index.tsx due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:49:42.272898 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:49:42.286922 #1]  WARN -- : Skipping ./web/src/pages/Cases/CaseDetails/Voting/VotingHistory.tsx due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:49:42.286994 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:49:42.288954 #1]  WARN -- : Skipping ./web/src/pages/Cases/CaseDetails/Voting/index.tsx due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:49:42.288981 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:49:42.290134 #1]  WARN -- : Skipping ./web/src/pages/Cases/CaseDetails/Voting/Classic.tsx due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:49:42.290159 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:49:42.295957 #1]  WARN -- : Skipping ./web/src/pages/Cases/CaseDetails/Overview.tsx due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:49:42.303976 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:49:42.510473 #1]  WARN -- : Skipping web/wagmi.config.ts due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:49:42.510518 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:49:42.521314 #1]  WARN -- : Skipping ./web/netlify/functions/update-settings.ts due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:49:42.521385 #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.