-
Notifications
You must be signed in to change notification settings - Fork 48
Release #2012
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
+80,106
−6,270
Merged
Release #2012
Changes from all commits
Commits
Show all changes
204 commits
Select commit
Hold shift + click to select a range
2bffa61
chore: shutter script experiment
jaybuidl 3570b46
feat(shutter): added decryption logic
jaybuidl ddae29a
fix: better error handling
jaybuidl 04e3f5c
feat: naive shutterized dispute kit and auto-voting bot
jaybuidl be6e1ce
feat: commitment hashing and verification onchain
jaybuidl 020dbab
chore: cleanup
jaybuidl 30804a8
feat: support for multiple voteIDs at once, fixed salt handling by bot
jaybuidl 1a9b72d
chore: cleanup before integration into a fully fletched dispute kit
jaybuidl b580556
feat: fully fletched DisputeKitShutter
jaybuidl 8819241
chore: removed redundant node-fetch
jaybuidl cd016b3
chore: cleanup
jaybuidl 8e46e05
feat: fully fletched DisputeKitShutter
jaybuidl 98ec3ba
chore: deployment of DisputeKitShutter in devnet
jaybuidl 74d1506
fix: missing parameter, upgraded DisputeKitShutter
jaybuidl b40abc2
chore: upgraded DisputeKitClassic
jaybuidl cb7997f
fix: external call to castCommit() changes msg.sender, fixed by extra…
jaybuidl ee2ceb6
chore: enable shutter DK on the devnet general court
jaybuidl 317aed6
feat: support for shutter disputekit in devnet
kemuru 05dcdb0
fix: create new classic dispute entity correctly with correct round i…
kemuru 44ea55e
fix: correct round check
kemuru a995e1e
chore: subgraph update scripts now relies on a template and removes d…
jaybuidl ca14ada
Merge branch 'dev' into feat/shutter-dispute-kit
jaybuidl f3f235c
Merge branch 'feat/shutter-dispute-kit' into feat(subgraph)/support-f…
kemuru 4b85135
Merge branch 'dev' into feat/shutter-dispute-kit
jaybuidl edc4a7d
Merge branch 'dev' into feat/shutter-dispute-kit
jaybuidl 78b2951
chore: fix to support deployment to Alchemy
jaybuidl 6b32fc3
chore: lock file
jaybuidl 74625e1
Merge pull request #1966 from kleros/feat(subgraph)/support-for-multi…
jaybuidl 0dad7c4
Merge branch 'dev' into feat/shutter-dispute-kit
kemuru 5ac64f5
feat: shutter support in dispute commiting
kemuru 6cd4369
Merge branch 'dev' into feat/shutter-dispute-kit
kemuru 724a949
Merge branch 'feat/shutter-dispute-kit' into feat(web)/shutter-fronte…
kemuru 8a5b2f4
feat: shutter appeal support
kemuru 14994db
fix: bug fix in subgraph
kemuru 142273c
Merge pull request #1995 from kleros/fix(subgraph)/localrounds-fix
kemuru 6b240a6
Merge branch 'feat/shutter-dispute-kit' into feat(web)/shutter-fronte…
kemuru 5989928
chore: subgraphs version bump
jaybuidl 1ff55f8
docs: natspec for KlerosCore view functions
jaybuidl 036e897
chore: style and button changes
kemuru f20c9d4
chore: remove unused code
kemuru 54d83a7
fix: avoid unnecessary calls draw() when no juror is available, requi…
jaybuidl 9e8aa9e
fix: reinitializer and version for KlerosCore
jaybuidl 7a5466b
chore: retrigger deploy preview
kemuru 1ca9066
Merge pull request #2001 from kleros/chore(web)/style-and-button-changes
alcercu df98319
Merge branch 'dev' into feat/shutter-dispute-kit
kemuru 05711fe
Merge branch 'feat/shutter-dispute-kit' into feat(web)/shutter-fronte…
kemuru 729777d
feat: postinstall script, use correct commit function
kemuru 8bf3772
fix: vote hashing during commitment must follow DisputeKitShutter.has…
jaybuidl 8c74d4a
feat: decryption delay is the remaining of the commit period
kemuru 29ef9a1
Fix: Update isCurrentRound for previous round on appeal
google-labs-jules[bot] b1d3fa9
chore: shutter event tweak, extra dispute kit views
jaybuidl 47049eb
Merge branch 'feat/shutter-dispute-kit' into feat(web)/shutter-fronte…
jaybuidl 3925b6f
Fix: Update isCurrentRound for previous round on appeal
google-labs-jules[bot] bae8db4
chore: remove postinstall script, tell vite where to find it
kemuru aa01874
feat: keeper bot for shutter auto-reveal (wip)
jaybuidl e983fdd
Merge branch 'feat/shutter-dispute-kit' into feat(web)/shutter-fronte…
kemuru 2e5d2a7
feat: support for revealing shutter commit from the frontend
kemuru ad47783
chore: timeline clarify remaining time
kemuru bf7a3c0
chore: remove console logs, few code smells
kemuru 349783f
Merge pull request #2009 from kleros/chore/timeline-clarify-remaining…
alcercu f370669
fix(subgraph): handle-batched-disputes-request-events
tractorss 3f532d2
Merge pull request #2010 from kleros/fix/subgraph-batch-dispute-handling
jaybuidl 20ee602
fix: bug in color loading text in file viewer
kemuru 282b91d
Merge pull request #2011 from kleros/fix(web)/color-text-loading-bug-…
alcercu 411b384
Merge branch 'dev' into fix/update-iscurrentround
jaybuidl 367549c
chore: subgraph version bump
jaybuidl 30382a0
Merge pull request #2007 from kleros/fix/update-iscurrentround
jaybuidl bafbd14
Merge branch 'dev' into feat/shutter-dispute-kit
jaybuidl c8bf188
Merge branch 'feat/shutter-dispute-kit' into feat(web)/shutter-fronte…
kemuru e5cf1df
Merge pull request #2002 from kleros/fix/keeper-bot-useless-draws
jaybuidl e7a0759
fix: allow return in case evidence was opened in new tab
kemuru dde0dc7
fix: few more links handling
kemuru 4e95c72
Merge pull request #2013 from kleros/fix/file-viewer-return-button-link
alcercu 2b51d5e
chore: find-initializer-versions utility
jaybuidl e52d59b
Merge branch 'dev' into feat/shutter-dispute-kit
jaybuidl 99f9852
feat: shutter auto-reveal logic integrated into the main bot, improve…
jaybuidl 4adedb5
chore: find-initializer-versions utility
jaybuidl 04605db
chore: extra 5 min decryptiondelay
kemuru b3817bd
fix: trycatch in case voting fails
kemuru f816ca3
Merge branch 'feat/shutter-dispute-kit' into feat(web)/shutter-fronte…
kemuru fe7eb85
Merge branch 'dev' into feat/shutter-dispute-kit
kemuru 4e2dea9
Merge branch 'feat/shutter-dispute-kit' into feat(web)/shutter-fronte…
kemuru 469039a
Merge pull request #1994 from kleros/feat(web)/shutter-frontend-rende…
alcercu 7bbe6df
chore: upgrade-all support for Shutter DK
jaybuidl 1fd3526
chore: shutter env variables
kemuru c3f6611
feat: keeper bot passes the period to Voting before auto-revealing
jaybuidl 959b765
chore: keeper bot logging
jaybuidl d43e68e
Merge branch 'chore/shutter-env-variables' into feat/shutter-dispute-kit
jaybuidl dd9f9c3
fix(kleros-app): add-state-for-confirm-email
jaybuidl bfd18da
chore(kleros-app): release @kleros/kleros-app@2.1.1
jaybuidl 47aaca4
feat: new overview design
kemuru 78508f5
feat: add card labels to the overview
kemuru f5f2530
chore: tweak
kemuru 929955c
fix: add where to the key
kemuru 0b75799
Merge pull request #2022 from kleros/feat/new-overview-design
alcercu 411560e
Merge branch 'dev' into fix/profile-page-not-loading
kemuru 2925a4e
feat(kleros-sdk): predefined-lambdas-for-mustache
tractorss 33a47a9
chore: address-rabbit-feedback
tractorss 10294ce
feat: ens in evidence
kemuru 7449259
fix: bug in profile loading fix, dispute stats fix too
kemuru a35ceb0
chore: commify juror rewards
kemuru b38c702
Merge pull request #2023 from kleros/fix/profile-page-not-loading
alcercu 70b21f9
Merge branch 'dev' into feat/ens-in-evidence
alcercu 2542150
Merge pull request #2027 from kleros/feat/ens-in-evidence
alcercu a3742fa
Merge branch 'hotfix-deployment-artifacts' into dev
jaybuidl 2a1edb7
deprecated var
jaybuidl 70e4b7c
update reality DisputeMappings.json
jaybuidl 5ac93ef
fix(DisputeKit): check that dispute belongs to DK
unknownunknown1 85f01b6
fix: changed mapping to a boolean, reset dispute.jumped
jaybuidl e99f3e6
Merge pull request #2039 from kleros/fix/dk-vote-bug
jaybuidl a3b8470
fix(SortitionModule): fix staking logic and remove instant staking
unknownunknown1 585ef60
fix(KC): update the state after transfer
unknownunknown1 f30d327
chore: removed the handlers for the instant staking events
jaybuidl c193e48
fix: removed the unused _alreadyTransferred parameter
jaybuidl 8c5b67d
refactor: renamed SM.setStake() into SM.validateStake(), SM.updateSta…
jaybuidl e8c529e
fix: natspec
jaybuidl 6c31770
fix: university contracts aligned with the base ones
jaybuidl d50b8a4
fix: removal of the unused instant staking events
jaybuidl 2e71da9
feat: emit event LeftoverPNK when PNK becomes available for withdrawa…
jaybuidl 62fd505
fix: invisible disputekitm dropdown if no court selected
kemuru 4449e04
Merge pull request #2040 from kleros/fix/invisible-disputekit-dropdow…
jaybuidl 55e762c
chore: add-shutter-api-token
tractorss 16af2f7
chore: remove-bearer-token
tractorss aadc2d4
fix(KC): staking test update
unknownunknown1 29ab108
docs: custom natspec cleanup
jaybuidl 277992c
feat: dynamic popup text if shutter dispute kit
kemuru d9c7ec6
fix: subgraph abi migrations update
jaybuidl f999611
feat: support for Shutter API token at the bot level
jaybuidl 01dca90
fix: rabbit review
jaybuidl 02def13
Merge branch 'dev' into feat/shutter-dispute-kit
jaybuidl 2174fc2
refactor: env var rename SHUTTER_API_TOKEN to SHUTTER_API_KEY
jaybuidl d6b7495
Merge branch 'dev' into fix/staking-fix
jaybuidl 392e1c0
Merge pull request #2004 from kleros/fix/staking-fix
jaybuidl 3e8a2f8
Merge pull request #2024 from kleros/feat/predefined-lambdas-for-must…
jaybuidl e4a2562
test: support shutter DK initialization
jaybuidl f1320fb
Merge branch 'dev' into feat/shutter-dispute-kit
jaybuidl 321a9a5
test: revert message fix
jaybuidl f39e4ee
Merge pull request #1965 from kleros/feat/shutter-dispute-kit
jaybuidl 2b11e6d
Merge pull request #2019 from kleros/fix/kleros-app-confirm-email-state
jaybuidl 2116239
docs: custom natspec cleanup
jaybuidl 9d19c70
feat: gated dispute kit with dynamic token gate, shutter gated dk, te…
jaybuidl 3bca47c
test: dispute kit gated
jaybuidl 358a621
Merge pull request #2045 from kleros/feat/universal-gated-dk
jaybuidl 6e535cc
chore: contract dependencies update, bumped node to v20, solidity to …
jaybuidl b8a2a15
chore: devnet contracts redeploy, tooling migration to etherscan v2 API
jaybuidl 5ef5f23
chore: artifacts refresh, contract getters to include the new dispute…
jaybuidl b5c639c
fix: implementation version
jaybuidl 1b9cc64
chore: devnet subgraphs redeployed to Alchemy
jaybuidl 222b832
chore: published @kleros/kleros-v2-contracts@0.10.0
jaybuidl 60a0a75
chore: rolling back shutter-sdk to v0.0.1 due to BLST issue in browser
jaybuidl e2e6412
Merge pull request #2046 from kleros/chore/devnet-redeploy-jul2025
jaybuidl dace35e
fix: blst error shutter v0.0.2
kemuru 2b67654
chore: bumped shutter sdk in contracts/
jaybuidl 88f0a3e
Merge pull request #2049 from kleros/fix/blst-error-shutter-v0.0.2
jaybuidl 032f38c
fix(subgraph): total-leaderboard-jurors-count
tractorss f36904e
chore: core subgraph redeploy on Alchemy
jaybuidl f4ed9a0
Merge pull request #2048 from kleros/fix/leaderboard-juror-count
jaybuidl 1ff6beb
feat: recognise the new dispute kits, matching by address, resolver UX
jaybuidl f5c1d67
feat: gated dispute kit extra data input, extra data encoding refactor
jaybuidl bc76907
chore: dispute-kit-gated-subgraph-support
tractorss 8818c80
fix(web): dispute-kit-input-persistence
tractorss 4d0c513
feat(web): fetch-dispute-kit-data-in-duplication
tractorss 38030e1
Merge branch 'web/dk-support-improvement' into chore/token-gated-disp…
tractorss 008bd22
fix(subgraph): update-dispute-kit-extraction
tractorss fe7419c
feat(web): support-vote-commit-fund-calls-for-gated-dispute-kit
tractorss 7912160
Merge branch 'web/dk-support-improvement' into chore/token-gated-disp…
tractorss 434e608
Merge pull request #2051 from kleros/chore/token-gated-dispute-kit-su…
tractorss 168740b
chore: bumped core subgraph version
jaybuidl 6eb5bc6
chore: more aggressive draw iterations to account for ineligible jurors
jaybuidl fa2520c
fix: cosmetic and rabbit review
jaybuidl c6562bb
fix(web): update-fund-hook
tractorss c6b51c1
fix(web): jurors-count-input-crash
tractorss ce63962
fix(web): fix-shutter-commit-call
tractorss b5fff19
fix(web): reveal-shutter-gated
tractorss 2166ee0
test: contracts getter tests with new dispute kits
jaybuidl 026fe83
feat(bot): keeper bot support gated and gated shutter dk
jaybuidl bff4f10
Merge pull request #2050 from kleros/web/dk-support-improvement
jaybuidl 6a3ed6c
chore: testnet upgrade and new dks deployment
jaybuidl c1ebbb1
chore: exported artifacts
jaybuidl 041f3d9
Merge pull request #2058 from kleros/chore/testnet-upgrade-jul2025
jaybuidl 97ba58a
feat: keeper bot automation of withdrawLeftoverPNK()
jaybuidl 88f9469
chore: contracts changelog
jaybuidl c9bb926
chore: contracts changelog fix
jaybuidl e9ed4ba
chore: contracts changelog author removed
jaybuidl 259ecd5
fix(DK): no empty addresses after draw
unknownunknown1 66c5e8f
feat(arbitration): implement SafeSend library for secure ETH transfers
thasmi21 1644927
test: fixed missing constructor param wNative
jaybuidl c5a894a
fix: removed SafeSend from ruler and university, natspec tweaks, Safe…
jaybuidl f080264
chore: minor tweak
jaybuidl 05c3f28
Merge pull request #2060 from kleros/fix/draw-empty-address-bug
jaybuidl 6786c29
Merge pull request #2041 from kleros/fix/ETH-transfer
jaybuidl 701c14e
chore: changelog
jaybuidl ce82e0b
chore: upgrade scripts preparation
jaybuidl 4a84534
fix: neo core contract is 144-bytes too large, extracted repeated cod…
jaybuidl b9e847d
chore: upgrade of the Devnet and Testnet contracts
jaybuidl ea9dcc9
chore: beta upgrade
jaybuidl f93ba63
chore: neo subgraph deployment
jaybuidl 3e0b74c
chore: export deployment artifacts, added getters for new DKs in test…
jaybuidl 3c429b1
chore: changelog
jaybuidl 85ba557
chore: publish @kleros/kleros-v2-contracts@0.11.0
jaybuidl 737d719
fix: test coverage script
jaybuidl 8dc21bc
Merge pull request #2061 from kleros/chore/devnet-upgrade-20250801
jaybuidl db8a4ba
chore: remove hallmark due to GHSA-8g77-54rh-46hx
jaybuidl c8185bd
fix(web): wagmi config for new Neo dispute kits
jaybuidl File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -11,3 +11,8 @@ contracts/tenderly.yaml | |
|
||
*/.DS_Store | ||
*/*.log | ||
|
||
.env* | ||
.flaskenv* | ||
!.env.project | ||
!.env.vault |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -202,3 +202,8 @@ subgraph/*/contracts/* | |
|
||
# Local Netlify folder | ||
.netlify | ||
|
||
.env* | ||
.flaskenv* | ||
!.env.project | ||
!.env.vault |
This file was deleted.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,114 @@ | ||
# Changelog | ||
|
||
All notable changes to this package will be documented in this file. | ||
|
||
The format is based on [Common Changelog](https://common-changelog.org/). | ||
|
||
## [0.11.0] - 2025-08-01 | ||
|
||
### Changed | ||
|
||
- **Breaking:** Add an extra wNative parameter to the initializer of `KlerosCoreBase` and `DisputeKitBase` and their descendants ([#2041](https://github.com/kleros/kleros-v2/issues/2041)) | ||
- **Breaking:** Add an extra wNative parameter to the constructor of `KlerosGovernor` ([#2041](https://github.com/kleros/kleros-v2/issues/2041)) | ||
- **Breaking:** Upgrade Mainnet Beta to v0.11.0 ([`ea9dcc95`](https://github.com/kleros/kleros-v2/commit/ea9dcc95)) | ||
- **Breaking:** Upgrade Devnet and Testnet to v0.11.0 ([`b9e847d`](https://github.com/kleros/kleros-v2/commit/b9e847d9)) | ||
- Fallback to sending wETH if sending ETH fails ([#2041](https://github.com/kleros/kleros-v2/issues/2041)) | ||
- Automate `SortitionModule.withdrawLeftoverPNK()` using the keeper bot ([`97ba58a`](https://github.com/kleros/kleros-v2/commit/97ba58a)) | ||
- Upgrade Testnet to v0.10.0 ([#2058](https://github.com/kleros/kleros-v2/issues/2058)) | ||
- Support the Gated and Shutter Gated dispute kits by the keeper bot ([`026fe83`](https://github.com/kleros/kleros-v2/commit/026fe83)) | ||
- Support the Gated and Shutter Gated dispute kits by the contracts getter tests ([`2166ee0`](https://github.com/kleros/kleros-v2/commit/2166ee0)) | ||
- Draw jurors with a more number of iterations to account for ineligible jurors by the keeper bot ([`6eb5bc6`](https://github.com/kleros/kleros-v2/commit/6eb5bc6)) | ||
- Bump `@shutter-network/shutter-sdk` to 0.0.2 ([#2049](https://github.com/kleros/kleros-v2/issues/2049)) | ||
|
||
### Added | ||
|
||
- **Breaking:** Add new dispute kits to Mainnet Beta: Shutter, Gated, Gated Shutter ([`ea9dcc95`](https://github.com/kleros/kleros-v2/commit/ea9dcc95)) | ||
- **Breaking:** Add new dispute kits to Testnet: Shutter, Gated, Gated Shutter ([`b9e847d`](https://github.com/kleros/kleros-v2/commit/b9e847d9)) | ||
|
||
### Fixed | ||
|
||
- Do not push address(0) in `DisputeKitBase.round.votes` during `draw()` when there is no staked juror in the court ([#2059](https://github.com/kleros/kleros-v2/issues/2059)) | ||
- Reduce Neo core contract size below limit by 144 bytes by extracting internal functions for repeated code and by making the `appealPeriod()` view external. ([`4a84534`](https://github.com/kleros/kleros-v2/commit/4a845346)) | ||
|
||
## [0.10.0] - 2025-07-20 | ||
|
||
### Changed | ||
|
||
- **Breaking:** Redeploy the Devnet contracts ([`b8a2a15`](https://github.com/kleros/kleros-v2/commit/b8a2a15)) | ||
- **Breaking:** Update the Devnet contract artifacts, add getter for the new Shutter, Gated and Gated Shutter dispute kits ([`5ef5f23`](https://github.com/kleros/kleros-v2/commit/5ef5f23)) | ||
- **Breaking**: Make `KlerosCoreBase.draw()` return the number of drawn jurors ([`54d83a7`](https://github.com/kleros/kleros-v2/commit/54d83a7)) | ||
- **Breaking**: Make `SortitionModule.penalizeStake()` return `(uint256 pnkBalance, uint256 availablePenalty)` ([#2004](https://github.com/kleros/kleros-v2/issues/2004)) | ||
- **Breaking**: Split SortitionModuleBase.setStake() into 2 functions: `validateStake()` and `setStake()` ([#2004](https://github.com/kleros/kleros-v2/issues/2004)) | ||
- Avoid unnecessary calls `KlerosCoreBase.draw()` by the keeper bot when no juror is available ([`54d83a7`](https://github.com/kleros/kleros-v2/commit/54d83a7)) | ||
- Migrate the contracts verification tooling to the etherscan v2 API ([`b8a2a15`](https://github.com/kleros/kleros-v2/commit/b8a2a15)) | ||
- Bump contract Solidity version to v0.8.28 ([`6e535cc`](https://github.com/kleros/kleros-v2/commit/6e535cc)) | ||
- Bump contract dependencies, `hardhat` to v2.26.0 `node` to v20, `yarn` to 4.9.2 ([`6e535cc`](https://github.com/kleros/kleros-v2/commit/6e535cc)) | ||
- Deprecate struct field `SortitionModuleBase.SortitionSumTree.alreadyTransferred` ([#2004](https://github.com/kleros/kleros-v2/issues/2004)) | ||
- Deprecate state variable `SortitionModuleBase.latestDelayedStakeIndex` ([#2004](https://github.com/kleros/kleros-v2/issues/2004)) | ||
|
||
### Added | ||
|
||
- Add Gated dispute kit with support a dynamic token address for the Gated dispute kit using the dispute `extraData` ([#2045](https://github.com/kleros/kleros-v2/issues/2045)) | ||
- Add Shutter Gated dispute kit ([#2045](https://github.com/kleros/kleros-v2/issues/2045)) | ||
- Add public functions to `SortitionModuleBase` `getJurorLeftoverPNK(address _juror)` and `withdrawLeftoverPNK(address _account)` ([#2004](https://github.com/kleros/kleros-v2/issues/2004)) | ||
- Add a permissioned function to KlerosCoreBase `transferBySortitionModule(address _account, uint256 _amount)` | ||
- Add a public boolean `DisputeKitBase.coreDisputeIDToActive` keyed by `coreDisputeID` ([#2039](https://github.com/kleros/kleros-v2/issues/2039)) | ||
- Support for the Shutter API token by the keeper bot using the environment variable `SHUTTER_API_KEY` ([`f999611`](https://github.com/kleros/kleros-v2/commit/f999611)) | ||
|
||
### Removed | ||
|
||
- Remove instant staking logic ([#2004](https://github.com/kleros/kleros-v2/issues/2004)) | ||
- Remove the parameter `_alreadyTransferred` to the staking functions. No external interfaces impact. ([#2004](https://github.com/kleros/kleros-v2/issues/2004)) | ||
|
||
### Fixed | ||
|
||
- Do not prevent a juror from being drawn if their entire stake is already locked ([#2004](https://github.com/kleros/kleros-v2/issues/2004)) | ||
- Prevent stake corruption when delayed stakes move existing stakes to another court and juror is drawn ([#2004](https://github.com/kleros/kleros-v2/issues/2004)) | ||
- Ensure that a dispute does belong to the right dispute kit ([#2039](https://github.com/kleros/kleros-v2/issues/2039)) | ||
- Reset `dispute.jumped` in dispute kit `createDispute()` ([#2039](https://github.com/kleros/kleros-v2/issues/2039)) | ||
|
||
## [0.9.4] - 2025-06-23 | ||
|
||
### Changed | ||
|
||
- Upgrade the Beta contracts ([`a72c450`](https://github.com/kleros/kleros-v2/commit/a72c450)) | ||
- Upgrade the Testnet contracts ([`05c5b3d`](https://github.com/kleros/kleros-v2/commit/05c5b3d)) | ||
- Upgrade the Devnet contracts ([`019cfd9`](https://github.com/kleros/kleros-v2/commit/019cfd9)) | ||
|
||
### Added | ||
|
||
- Add a view function `KlerosCoreBase.getPnkAtStakePerJuror(uint256 _disputeID, uint256 _round)` | ||
- Add a public boolean `DisputeKitBase.alreadyDrawn` keyed by `localDisputeID`, `localRoundID` and `drawnAddress` | ||
|
||
### Fixed | ||
|
||
- Stop calling `getRoundInfo()` from the mutating function `DisputeKitBase._postDrawCheck()` ([`524a2dc`](https://github.com/kleros/kleros-v2/commit/524a2dc)) | ||
- Restore the broken dispute kit storage layout on Testnet ([`1d2e62a`](https://github.com/kleros/kleros-v2/commit/1d2e62a)) | ||
- Fix a typo in SafeERC20.sol ([#1960](https://github.com/kleros/kleros-v2/issues/1960)) | ||
|
||
### Uncategorized | ||
|
||
## [0.9.3] - 2025-04-18 | ||
|
||
### Changed | ||
|
||
- **Breaking change**: Bundle the package for both CJS and ESM, it changes the package entry point ([`c132303`](https://github.com/kleros/kleros-v2/commit/c132303)) | ||
- Pass the commit and appeal periods quicker when possible ([#1955](https://github.com/kleros/kleros-v2/issues/1955)) | ||
|
||
### Added | ||
|
||
- Add contracts getter for Viem ([`1aeb0a2`](https://github.com/kleros/kleros-v2/commit/1aeb0a2)) | ||
- Add contract getter for EtherJS, export deployment files ([`692c83f`](https://github.com/kleros/kleros-v2/commit/692c83f)) | ||
- New DisputeKitBase view function `isAppealFunded()` ([#1955](https://github.com/kleros/kleros-v2/issues/1955)) | ||
|
||
### Fixed | ||
|
||
- Fix typo in custom error `StakingNotPossibleInThisCourt` ([#1956](https://github.com/kleros/kleros-v2/issues/1956)) | ||
|
||
## [0.8.1] - 2025-04-10 | ||
|
||
[0.11.0]: https://github.com/kleros/kleros-v2/releases/tag/@kleros%2Fkleros-v2-contracts@0.11.0 | ||
[0.10.0]: https://github.com/kleros/kleros-v2/releases/tag/@kleros%2Fkleros-v2-contracts@0.10.0 | ||
[0.9.4]: https://github.com/kleros/kleros-v2/releases/tag/@kleros%2Fkleros-v2-contracts@0.9.4 | ||
[0.9.3]: https://github.com/kleros/kleros-v2/releases/tag/@kleros%2Fkleros-v2-contracts@0.9.3 | ||
[0.8.1]: https://github.com/kleros/kleros-v2/releases/tag/@kleros%2Fkleros-v2-contracts@0.8.1 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,109 @@ | ||
## Clean up of the old artifacts | ||
|
||
The following contracts have been preserved: | ||
|
||
- The University contracts (out-of-scope for now) | ||
- The ERC20 tokens and their faucets (unchanged): PinakionV2, PNK, PNKFaucet, DAI, DAIFaucet, WETH, WETHFaucet | ||
- The RNG contracts (unchanged): RandomizerOracle, BlockHashRNG, ChainlinkRNG, ChainlinkVRFCoordinator (mock) | ||
- KlerosV2NeoEarlyUser (unchanged, for Neo devnet) | ||
|
||
```shell | ||
rm deployments/arbitrumSepoliaDevnet/DisputeKitClassic.json | ||
rm deployments/arbitrumSepoliaDevnet/DisputeKitClassic_Implementation.json | ||
rm deployments/arbitrumSepoliaDevnet/DisputeKitClassic_Proxy.json | ||
rm deployments/arbitrumSepoliaDevnet/DisputeKitGated_Implementation.json | ||
rm deployments/arbitrumSepoliaDevnet/DisputeKitGated_Proxy.json | ||
rm deployments/arbitrumSepoliaDevnet/DisputeKitGated.json | ||
rm deployments/arbitrumSepoliaDevnet/DisputeKitGatedShutter_Implementation.json | ||
rm deployments/arbitrumSepoliaDevnet/DisputeKitGatedShutter_Proxy.json | ||
rm deployments/arbitrumSepoliaDevnet/DisputeKitGatedShutter.json | ||
rm deployments/arbitrumSepoliaDevnet/DisputeKitShutter.json | ||
rm deployments/arbitrumSepoliaDevnet/DisputeKitShutter_Implementation.json | ||
rm deployments/arbitrumSepoliaDevnet/DisputeKitShutter_Proxy.json | ||
rm deployments/arbitrumSepoliaDevnet/DisputeResolver.json | ||
rm deployments/arbitrumSepoliaDevnet/DisputeResolverRuler.json | ||
rm deployments/arbitrumSepoliaDevnet/DisputeTemplateRegistry.json | ||
rm deployments/arbitrumSepoliaDevnet/DisputeTemplateRegistry_Implementation.json | ||
rm deployments/arbitrumSepoliaDevnet/DisputeTemplateRegistry_Proxy.json | ||
rm deployments/arbitrumSepoliaDevnet/EvidenceModule.json | ||
rm deployments/arbitrumSepoliaDevnet/EvidenceModule_Implementation.json | ||
rm deployments/arbitrumSepoliaDevnet/EvidenceModule_Proxy.json | ||
rm deployments/arbitrumSepoliaDevnet/KlerosCore.json | ||
rm deployments/arbitrumSepoliaDevnet/KlerosCoreRuler.json | ||
rm deployments/arbitrumSepoliaDevnet/KlerosCoreRuler_Implementation.json | ||
rm deployments/arbitrumSepoliaDevnet/KlerosCoreRuler_Proxy.json | ||
rm deployments/arbitrumSepoliaDevnet/KlerosCoreSnapshotProxy.json | ||
rm deployments/arbitrumSepoliaDevnet/KlerosCore_Implementation.json | ||
rm deployments/arbitrumSepoliaDevnet/KlerosCore_Proxy.json | ||
rm deployments/arbitrumSepoliaDevnet/PolicyRegistry.json | ||
rm deployments/arbitrumSepoliaDevnet/PolicyRegistry_Implementation.json | ||
rm deployments/arbitrumSepoliaDevnet/PolicyRegistry_Proxy.json | ||
rm deployments/arbitrumSepoliaDevnet/SortitionModule.json | ||
rm deployments/arbitrumSepoliaDevnet/SortitionModule_Implementation.json | ||
rm deployments/arbitrumSepoliaDevnet/SortitionModule_Proxy.json | ||
``` | ||
|
||
## Contracts Deployment - DRY RUN | ||
|
||
Shell 1: fork node | ||
|
||
```shell | ||
anvil --fork-url https://sepolia-rollup.arbitrum.io/rpc | ||
``` | ||
|
||
Shell 2: deployer | ||
|
||
```shell | ||
export ARBITRUM_SEPOLIA_RPC=http://127.0.0.1:8545 | ||
|
||
yarn clean | ||
yarn deploy --network arbitrumSepoliaDevnet --tags Resolver | ||
yarn deploy --network arbitrumSepoliaDevnet --tags ArbitrationRuler | ||
|
||
unset ARBITRUM_SEPOLIA_RPC | ||
``` | ||
|
||
:warning: Remember to delete all the deployed artifacts after each dry run. | ||
|
||
## Contracts Deployment - LIVE | ||
|
||
```shell | ||
yarn clean | ||
yarn deploy --network arbitrumSepoliaDevnet --tags Resolver | ||
yarn deploy --network arbitrumSepoliaDevnet --tags ArbitrationRuler | ||
|
||
# Contracts verification, marking proxies | ||
yarn etherscan-verify --network arbitrumSepoliaDevnet | ||
yarn etherscan-verify-proxies | ||
|
||
# Docs update | ||
./scripts/populateReadme.sh | ||
``` | ||
|
||
## Courts structure and policies configuration | ||
|
||
```shell | ||
yarn hardhat populate:courts --from v2_devnet --network arbitrumSepoliaDevnet | ||
|
||
yarn hardhat populate:policy-registry --from v2_devnet --network arbitrumSepoliaDevnet | ||
``` | ||
|
||
## Contracts SDK | ||
|
||
### Refresh the artifacts | ||
|
||
```shell | ||
# Viem artifacts | ||
yarn viem:generate-devnet | ||
|
||
# Hardhat artifacts | ||
yarn export:devnet | ||
``` | ||
|
||
### Update the contract helpers | ||
|
||
If there are new or removed contracts, edit the contract helpers in: | ||
|
||
- `scripts/utils/contracts.ts` (Hardhat runtime) | ||
- `deployments/contractsEthers.ts` (pure EthersJS) | ||
- `deployments/contractsViem.ts` (pure Viem) |
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.