-
Notifications
You must be signed in to change notification settings - Fork 49
Release v2-testnet-4.0.6 #1845
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
Merged
Release v2-testnet-4.0.6 #1845
Changes from 62 commits
Commits
Show all changes
64 commits
Select commit
Hold shift + click to select a range
15430c7
feat(web): use-atlas-spam-api
tractorss 01be41e
chore: rabbit-feedback
tractorss 9303c62
feat: gated dispute kit
jaybuidl 3ac630f
refactor: base dispute kit
jaybuidl e833a83
Merge branch 'dev' into feat/atlas-spam-api
tractorss 2682917
fix: ensure that getDispute() includes the answer ID 0
jaybuidl 6d0cbeb
chore(sdk): release @kleros/[email protected]
jaybuidl 2c9ea33
fix: unconditionally add the standard answer with id 0
jaybuidl 147215a
chore(sdk): release @kleros/[email protected]
jaybuidl 763546c
chore: footer icons alignment
kemuru 364cb02
Merge branch 'dev' into fix/sdk-getdispute-answer0
alcercu 09e3971
Merge pull request #1831 from kleros/fix/sdk-getdispute-answer0
jaybuidl 219d2e7
Merge branch 'dev' into chore/footer-icons-alignment
alcercu 3110e46
Merge pull request #1836 from kleros/chore/footer-icons-alignment
alcercu 3d298b9
chore: moved sdk config to correct folder
jaybuidl 294278a
feat: gated dispute kit
jaybuidl cca96fc
feat: added support for ERC1155
jaybuidl b38dd0c
docs: inherited natspec
jaybuidl 3463bb2
refactor: moved UUPSProxiable to the base contracts
jaybuidl 828bb17
feat: better appeal loading mechanism
kemuru e18e65a
fix: condition fix
kemuru b4d925a
feat: versioning of upgradable contracts implementation
jaybuidl 15488d9
chore: sort disputes by id instead of latest status change
kemuru 87f9d08
feat: upgrade proxies validation, natspec reformat for UUPSProxiable …
jaybuidl c0f2f89
feat: added support for ERC1155
jaybuidl 9f953c2
refactor: minor rename of DisputeKitGated interfaces
jaybuidl 971c713
Merge branch 'dev' into refactor/dispute-kits
jaybuidl b52f642
Merge branch 'dev' into feat(web)/appeal-loading-improvement
alcercu 1f7c36f
Merge branch 'dev' into chore/sort-disputes-by-id
alcercu 4324611
Merge pull request #1841 from kleros/feat(web)/appeal-loading-improve…
alcercu 5f23277
Merge pull request #1842 from kleros/chore/sort-disputes-by-id
alcercu f3f05ab
fix: missing web-devtools dependency
jaybuidl 45daa0e
fix: prettier-config
tractorss b33651a
Merge branch 'dev' into feat/atlas-spam-api
tractorss de7fdd2
refactor(web): update-spam-api-call
tractorss 19908c6
feat(web): file-restrictions-message
tractorss 0bbec16
Merge pull request #1846 from kleros/fix/prettier-config
alcercu 07327fa
Merge pull request #1789 from kleros/feat/atlas-spam-api
alcercu c813e76
refactor(web): update-message-creator-function
tractorss 73b1551
refactor(web): feedback-addressing
tractorss 2735f07
Merge branch 'dev' into feat/upload-restrictions-message
tractorss 4ed43ef
Merge pull request #1847 from kleros/feat/upload-restrictions-message
alcercu af973c7
feat: new oracle court, edited spanish non-technical court, scripts i…
jaybuidl b039784
feat: styling of policy headers, bullet points, links
jaybuidl ad79247
refactor: policies JSON schema, cosmetic policy fixes
jaybuidl 5af7b1b
chore: reduced the dispute periods for devnet
jaybuidl e1a8571
Merge pull request #1848 from kleros/feat/court-configs
jaybuidl 47e2cd6
fix: xdai courts name
jaybuidl e8c013c
refactor: header styling and reactmarkdown
alcercu b5a85e6
fix: use more adequate sizing for inner component
alcercu 25dce8a
Merge pull request #1849 from kleros/refactor(frontend)/header-styling
jaybuidl a623f89
refactor(web): graphql-batching-and-optimisations
tractorss 9a99824
chore: yarn-lockfile
tractorss 8bb3ad2
chore(web): remove-log
tractorss 29336cb
Merge branch 'dev' into refactor/graphql-batching-and-optimisations
tractorss 1fb3749
refactor(web): function-name-update
tractorss 2343dfa
chore: codeclimate
jaybuidl e18c73c
chore: smaller well-done.svg
jaybuidl f191315
fix: regex vulnerable to super-linear runtime due to excessive backtr…
jaybuidl ec16bb7
Merge pull request #1851 from kleros/fix/regex-dos
jaybuidl 150cecd
fix: miniguides svg
kemuru 11c8057
Merge branch 'dev' into refactor/graphql-batching-and-optimisations
alcercu d4aaa7c
Merge pull request #1850 from kleros/refactor/graphql-batching-and-op…
alcercu 386da9f
Merge pull request #1852 from kleros/fix/miniguides-svg
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
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 |
---|---|---|
@@ -1,47 +1,82 @@ | ||
[ | ||
{ | ||
"name": "General Court", | ||
"id": 1, | ||
"parent": 0, | ||
"hiddenVotes": true, | ||
"minStake": "520000000000000000000", | ||
"minStake": "1500000000000000000", | ||
"alpha": "5000", | ||
"feeForJuror": "15000000000000000000", | ||
"feeForJuror": "100000000000", | ||
"jurorsForCourtJump": "511", | ||
"timesPerPeriod": [ | ||
280800, | ||
583200, | ||
583200, | ||
388800 | ||
120, | ||
240, | ||
240, | ||
600 | ||
] | ||
}, | ||
{ | ||
"name": "Curation", | ||
"id": 2, | ||
"parent": 1, | ||
"hiddenVotes": false, | ||
"minStake": "520000000000000000000", | ||
"minStake": "2000000000000000000", | ||
"alpha": "3100", | ||
"feeForJuror": "6900000000000000000", | ||
"jurorsForCourtJump": "30", | ||
"feeForJuror": "100000000000", | ||
"jurorsForCourtJump": "31", | ||
"timesPerPeriod": [ | ||
140400, | ||
291600, | ||
291600, | ||
194400 | ||
120, | ||
240, | ||
240, | ||
600 | ||
] | ||
}, | ||
{ | ||
"name": "English Language", | ||
"id": 3, | ||
"parent": 1, | ||
"hiddenVotes": false, | ||
"minStake": "1200000000000000000000", | ||
"minStake": "2000000000000000000", | ||
"alpha": "5000", | ||
"feeForJuror": "22000000000000000000", | ||
"feeForJuror": "100000000000", | ||
"jurorsForCourtJump": "63", | ||
"timesPerPeriod": [ | ||
280800, | ||
437400, | ||
437400, | ||
291600 | ||
120, | ||
240, | ||
240, | ||
600 | ||
] | ||
}, | ||
{ | ||
"name": "Corte de Disputas de Consumo y Vecindad", | ||
"id": 4, | ||
"parent": 1, | ||
"hiddenVotes": false, | ||
"minStake": "2000000000000000000", | ||
"alpha": "5000", | ||
"feeForJuror": "100000000000", | ||
"jurorsForCourtJump": "63", | ||
"timesPerPeriod": [ | ||
120, | ||
240, | ||
240, | ||
600 | ||
] | ||
}, | ||
{ | ||
"name": "Oracle Court", | ||
"id": 5, | ||
"parent": 1, | ||
"hiddenVotes": false, | ||
"minStake": "2000000000000000000", | ||
"alpha": "5000", | ||
"feeForJuror": "100000000000", | ||
"jurorsForCourtJump": "31", | ||
"timesPerPeriod": [ | ||
120, | ||
240, | ||
240, | ||
600 | ||
] | ||
} | ||
] |
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
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
6 changes: 0 additions & 6 deletions
6
contracts/config/policies.v2/English-Language-Court-Policy.json
This file was deleted.
Oops, something went wrong.
This file was deleted.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
import { HardhatRuntimeEnvironment } from "hardhat/types"; | ||
import { DeployFunction } from "hardhat-deploy/types"; | ||
import { deployUpgradable } from "./utils/deployUpgradable"; | ||
import { HomeChains, isSkipped } from "./utils"; | ||
|
||
const deployUpgradeDisputeKit: DeployFunction = async (hre: HardhatRuntimeEnvironment) => { | ||
const { deployments, getNamedAccounts, getChainId } = hre; | ||
|
||
// fallback to hardhat node signers on local network | ||
const deployer = (await getNamedAccounts()).deployer ?? (await hre.ethers.getSigners())[0].address; | ||
const chainId = Number(await getChainId()); | ||
console.log("upgrading on %s with deployer %s", HomeChains[chainId], deployer); | ||
|
||
try { | ||
console.log("upgrading DisputeKitClassicNeo..."); | ||
await deployUpgradable(deployments, "DisputeKitClassicNeo", { | ||
contract: "DisputeKitClassic", | ||
initializer: "initialize", | ||
from: deployer, | ||
// Warning: do not reinitialize everything, only the new variables | ||
args: [], | ||
}); | ||
} catch (err) { | ||
console.error(err); | ||
throw err; | ||
} | ||
}; | ||
|
||
deployUpgradeDisputeKit.tags = ["Upgrade", "DisputeKit"]; | ||
deployUpgradeDisputeKit.skip = async ({ network }) => { | ||
return isSkipped(network, !HomeChains[network.config.chainId ?? 0]); | ||
}; | ||
|
||
export default deployUpgradeDisputeKit; |
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
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.