Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Testnet-2 Release and Redeployment #1279

Closed
wants to merge 211 commits into from
Closed

Testnet-2 Release and Redeployment #1279

wants to merge 211 commits into from

Conversation

jaybuidl
Copy link
Member

@jaybuidl jaybuidl commented Oct 16, 2023

Testnet-2 Milestone



PR-Codex overview

Detailed summary

  • Deleted several files and folders related to contracts, SVGs, and components.
  • Added a new function uncommify to commify.ts.
  • Added a new context OverlayScrollContext in OverlayScrollContext.tsx.
  • Updated the version of @commitlint/cli in package.json.
  • Updated the styling in several components.
  • Added new functions isLastRound and uncommify in isLastRound.ts and commify.ts respectively.
  • Updated the contract interface in IDisputeTemplateRegistry.sol.
  • Updated the styling in Chart.tsx, StageExplainer.tsx, VerdictBanner.tsx, and Product.tsx.
  • Updated the configuration files pm2.config.disputor-bot.testnet.js, compose.yml, and .env.local.public.
  • Added a new query hook useCourtDetails in useCourtDetails.ts.
  • Added a new EIP712 message in eip712-messages.ts.
  • Updated the styling in index.tsx and Courts/index.tsx.

The following files were skipped due to too many changes: web/src/pages/Courts/index.tsx, contracts/src/arbitration/interfaces/IDisputeKit.sol, web/src/components/CasesDisplay/StatsAndFilters.tsx, web/src/pages/Dashboard/Courts/index.tsx, web/src/pages/Cases/CaseDetails/Appeal/Classic/Options/index.tsx, web/src/assets/svgs/icons/vea.svg, .github/workflows/deploy-subgraph.yml, web/src/consts/index.ts, web/scripts/generateSupabaseTypes.sh, web/src/utils/uri.ts, web/src/utils/index.ts, web/src/assets/svgs/icons/user.svg, web/src/hooks/queries/useCounter.ts, web/src/pages/Cases/CaseDetails/Appeal/Classic/Fund.tsx, contracts/deploy/00-ethereum-pnk.ts, contracts/deploy/fix1148.ts, contracts/src/arbitration/interfaces/ISortitionModule.sol, web/src/hooks/queries/useCourtTree.ts, web/src/layout/Footer/index.tsx, web/src/consts/socialmedia.tsx, web/src/pages/Courts/CourtDetails/StakePanel/index.tsx, contracts/scripts/generateDeploymentsMarkdown.sh, web/src/pages/Dashboard/JurorInfo/Coherency.tsx, web/src/components/Verdict/FinalDecision.tsx, web/src/styles/global-style.ts, contracts/deploy/00-home-chain-pnk-faucet.ts, contracts/deploy/utils/index.ts, web/src/hooks/useLockOverlayScroll.ts, contracts/src/libraries/Constants.sol, .github/workflows/sentry-release.yml, web/src/pages/Cases/CaseDetails/index.tsx, web/src/context/IsListProvider.tsx, .github/workflows/deploy-bots.yml, web/src/utils/uploadSettingsToSupabase.ts, .github/workflows/scorecards.yml, contracts/deploy/04-klerosliquid-to-v2-gnosis.ts, contracts/deploy/04-foreign-arbitrable.ts, contracts/src/proxy/mock/by-rewrite/UpgradedByRewrite.sol, web/src/pages/Dashboard/Courts/CourtCard.tsx, subgraph/src/datapoint.ts, web/src/utils/format.ts, web/src/components/Popup/index.tsx, web/src/pages/Courts/CourtDetails/index.tsx, .github/workflows/contracts-testing.yml, web/src/assets/svgs/icons/list.svg, web/src/components/StyledSkeleton.tsx, web/src/pages/Dashboard/JurorInfo/index.tsx, contracts/src/proxy/mock/by-rewrite/UpgradedByRewriteV2.sol, web/src/components/CasesDisplay/index.tsx, contracts/scripts/verifyProxies.sh, web/src/pages/Cases/CaseDetails/Appeal/Classic/Options/StageTwo.tsx, web/src/pages/Cases/CaseDetails/Evidence/index.tsx, web/src/components/CasesDisplay/Stats.tsx, web/src/pages/Home/HeroImage.tsx, web/src/layout/Header/navbar/Menu/Settings/Notifications/index.tsx, web/src/styles/themes.ts, subgraph/package.json, web/src/components/NumberInputField.tsx, web/src/pages/Courts/TopSearch.tsx, web/src/components/StatDisplay.tsx, subgraph/src/entities/Dispute.ts, web/src/pages/Home/index.tsx, contracts/deploy/02-home-gateway-to-ethereum.ts, contracts/package.json, web/src/components/LatestCases.tsx, contracts/deploy/02-home-gateway-to-gnosis.ts, web/src/app.tsx, web/src/components/Field.tsx, subgraph/schema.graphql, contracts/src/proxy/mock/by-inheritance/UpgradedByInheritance.sol, web/src/layout/index.tsx, contracts/src/arbitration/PolicyRegistry.sol, web/src/pages/Cases/index.tsx, web/src/pages/Cases/CaseDetails/Tabs.tsx, .github/workflows/codeql.yml, contracts/deploy/upgrade-sortition-module.ts, contracts/deploy/00-home-chain-arbitrable.ts, subgraph/src/entities/Round.ts, web/src/layout/Header/navbar/Menu/Settings/Notifications/FormContactDetails/FormContact.tsx, contracts/deploy/utils/deployUpgradable.ts, contracts/src/proxy/mock/UUPSUpgradeableMocks.sol, web/src/layout/Header/MobileHeader.tsx, web/src/pages/Cases/CaseDetails/Appeal/Classic/Options/StageOne.tsx, web/src/pages/Home/Community/index.tsx, web/src/hooks/queries/useUser.ts, web/src/layout/Header/index.tsx, web/src/components/CasesDisplay/CasesListHeader.tsx, web/src/components/ConnectWallet/AccountDisplay.tsx, contracts/deploy/00-rng.ts, web/src/assets/svgs/icons/grid.svg, web/src/layout/Header/navbar/Explore.tsx, web/src/components/DisputeCard/PeriodBanner.tsx, contracts/deploy/upgrade-kleros-core.ts, web/src/pages/Dashboard/JurorInfo/JurorRewards.tsx, web/src/layout/Header/navbar/Menu/Help.tsx, subgraph/scripts/update.sh, contracts/src/rng/RandomizerRNG.sol, web/src/layout/Header/navbar/Menu/index.tsx, web/src/pages/Cases/CaseDetails/Voting/index.tsx, contracts/src/arbitration/DisputeTemplateRegistry.sol, web/src/components/EvidenceCard.tsx, web/src/layout/Header/navbar/Menu/Settings/index.tsx, web/src/pages/Home/CourtOverview/Stats.tsx, web/src/pages/Cases/CaseDetails/Timeline.tsx, subgraph/subgraph.yaml, web/package.json, web/src/components/CasesDisplay/Search.tsx, web/src/pages/Courts/CourtDetails/Stats.tsx, web/src/pages/Dashboard/index.tsx, web/src/pages/Courts/CourtDetails/StakePanel/InputDisplay.tsx, web/src/layout/Header/navbar/Menu/Settings/Notifications/FormContactDetails/index.tsx, web/src/layout/Header/navbar/DappList.tsx, web/src/components/CasesDisplay/CasesGrid.tsx, web/src/components/DisputeCard/DisputeInfo.tsx, web/src/pages/Cases/CasesFetcher.tsx, web/src/layout/Header/DesktopHeader.tsx, web/src/hooks/queries/useCasesQuery.ts, web/src/components/CasesDisplay/Filters.tsx, contracts/src/gateway/ForeignGateway.sol, web/src/assets/svgs/icons/round.svg, contracts/test/integration/index.ts, contracts/src/proxy/UUPSProxy.sol, web/src/layout/Header/navbar/index.tsx, contracts/deploy/01-foreign-gateway-on-ethereum.ts, web/netlify/functions/update-settings.ts, contracts/test/arbitration/index.ts, contracts/deploy/01-foreign-gateway-on-gnosis.ts, contracts/deploy/03-vea-mock.ts, contracts/README.md, web/src/types/supabase-notification.ts, web/src/pages/Cases/CaseDetails/Overview.tsx, web/src/components/DisputeCard/index.tsx, subgraph/src/KlerosCore.ts, web/src/types/supabase-datalake.ts, contracts/deploy/00-home-chain-arbitration.ts, contracts/src/gateway/HomeGateway.sol, contracts/scripts/keeperBot.ts, contracts/scripts/disputeCreatorBot.ts, contracts/src/proxy/UUPSProxiable.sol, contracts/src/arbitration/dispute-kits/DisputeKitClassic.sol, contracts/src/arbitration/SortitionModule.sol, contracts/src/arbitration/dispute-kits/DisputeKitSybilResistant.sol, contracts/src/proxy/Initializable.sol, contracts/test/proxy/index.ts, contracts/deployments/arbitrumGoerliDevnet/BlockHashRNG.json, contracts/deployments/arbitrumGoerliDevnet/PolicyRegistry_Proxy.json, contracts/deployments/arbitrumGoerliDevnet/DisputeTemplateRegistry_Proxy.json, contracts/deployments/arbitrumGoerliDevnet/RandomizerRNG_Proxy.json, contracts/deployments/arbitrumGoerliDevnet/DisputeKitClassic_Proxy.json, contracts/deployments/chiadoDevnet/ForeignGatewayOnGnosis_Proxy.json, contracts/deployments/arbitrumGoerliDevnet/SortitionModule_Proxy.json, contracts/test/arbitration/draw.ts, contracts/deployments/arbitrumGoerliDevnet/KlerosCore_Proxy.json, contracts/src/arbitration/KlerosCore.sol, contracts/deployments/arbitrumGoerliDevnet/PolicyRegistry.json, contracts/deployments/arbitrumGoerliDevnet/RandomizerRNG.json, contracts/deployments/arbitrumGoerliDevnet/DisputeTemplateRegistry.json, contracts/deployments/arbitrumGoerliDevnet/DisputeTemplateRegistry_Implementation.json, contracts/deployments/arbitrumGoerliDevnet/PolicyRegistry_Implementation.json, contracts/deployments/arbitrumGoerliDevnet/RandomizerRNG_Implementation.json, yarn.lock, web/src/assets/svgs/hero/hero-darkmode-mobile.svg, web/src/assets/svgs/hero/hero-lightmode-mobile.svg, contracts/deployments/chiadoDevnet/ForeignGatewayOnGnosis.json, contracts/deployments/arbitrumGoerliDevnet/DisputeResolver.json, contracts/deployments/chiadoDevnet/ForeignGatewayOnGnosis_Implementation.json, contracts/deployments/arbitrumGoerliDevnet/ArbitrableExample.json, web/src/assets/svgs/hero/hero-lightmode-desktop.svg, contracts/deployments/arbitrumGoerliDevnet/SortitionModule.json, contracts/deployments/arbitrumGoerliDevnet/SortitionModule_Implementation.json, contracts/deployments/arbitrumGoerliDevnet/DisputeKitClassic.json, contracts/deployments/arbitrumGoerliDevnet/DisputeKitClassic_Implementation.json, contracts/deployments/arbitrumGoerliDevnet/KlerosCore.json, contracts/deployments/arbitrumGoerliDevnet/KlerosCore_Implementation.json, web/src/assets/svgs/hero/hero-darkmode-desktop.svg

✨ Ask PR-Codex anything about this PR by commenting with /codex {your question}

alcercu and others added 30 commits August 18, 2023 16:10
jaybuidl and others added 23 commits October 9, 2023 22:46
Bumps [viem](https://github.com/wagmi-dev/viem) from 1.1.1 to 1.16.1.
- [Release notes](https://github.com/wagmi-dev/viem/releases)
- [Commits](https://github.com/wagmi-dev/viem/compare/[email protected]@1.16.1)

---
updated-dependencies:
- dependency-name: viem
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
…-1.16.1

chore(deps): bump viem from 1.1.1 to 1.16.1
chore(deps): update actions/setup-node digest to 2a017f3
…gest

chore(deps): update actions/setup-python digest to 5f2af21
@netlify
Copy link

netlify bot commented Oct 16, 2023

Deploy Preview for kleros-v2 ready!

Name Link
🔨 Latest commit cd06014
🔍 Latest deploy log https://app.netlify.com/sites/kleros-v2/deploys/652fda4125ef2e0008606848
😎 Deploy Preview https://deploy-preview-1279--kleros-v2.netlify.app/
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

@jaybuidl jaybuidl changed the title Testnet Release and Redeployment Testnet-2 Release and Redeployment Oct 16, 2023
@sonarcloud
Copy link

sonarcloud bot commented Oct 18, 2023

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
0.1% 0.1% Duplication

@jaybuidl jaybuidl closed this Oct 18, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants