File tree Expand file tree Collapse file tree 2 files changed +10
-2
lines changed Expand file tree Collapse file tree 2 files changed +10
-2
lines changed Original file line number Diff line number Diff line change 1- ## 0.1.0 (2021-12-08 )
1+ ## 0.1.0 (2021-12-13 )
22
3+ - test: added a test for IncrementalNG ([ 65a996b] ( https://github.com/kleros/kleros-v2/commit/65a996b ) )
4+ - test(EvidenceModule): add test file ([ 9f00f98] ( https://github.com/kleros/kleros-v2/commit/9f00f98 ) )
35- chore: added GitHub code scanning ([ 4a70475] ( https://github.com/kleros/kleros-v2/commit/4a70475 ) )
46- chore: added the hardhat config for layer 2 networks, added hardhat-deploy and mocha ([ a12ea0e] ( https://github.com/kleros/kleros-v2/commit/a12ea0e ) )
57- chore: gitignore typechain ([ b50f777] ( https://github.com/kleros/kleros-v2/commit/b50f777 ) )
1820- refactor(sdk): rename ([ 3241d10] ( https://github.com/kleros/kleros-v2/commit/3241d10 ) )
1921- feat: modern toolchain setup and simple RNG smart contracts ([ 17f6a76] ( https://github.com/kleros/kleros-v2/commit/17f6a76 ) )
2022- feat(Arbitration): standard update ([ ed930de] ( https://github.com/kleros/kleros-v2/commit/ed930de ) )
21- - test: added a test for IncrementalNG ([ 65a996b] ( https://github.com/kleros/kleros-v2/commit/65a996b ) )
2223- docs: initial commit ([ 23356e7] ( https://github.com/kleros/kleros-v2/commit/23356e7 ) )
2324- docs: license file added ([ cb62d2c] ( https://github.com/kleros/kleros-v2/commit/cb62d2c ) )
2425- docs: readme and spdx headers ([ 8a5b397] ( https://github.com/kleros/kleros-v2/commit/8a5b397 ) )
Original file line number Diff line number Diff line change @@ -429,4 +429,11 @@ contract EvidenceModule is IArbitrable, IEvidence {
429429 Moderation storage moderation = evidenceData.moderations[_moderationID];
430430 return (moderation.paidFees, moderation.currentWinner, moderation.feeRewards);
431431 }
432+
433+ /** @dev Gets the last arbitrator data index, which is used for current new submissions.
434+ * @return The last arbitrator data index.
435+ */
436+ function getCurrentArbitratorIndex () external view returns (uint256 ) {
437+ return arbitratorDataList.length - 1 ;
438+ }
432439}
You can’t perform that action at this time.
0 commit comments