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

feat: vote weighting initial contract #127

Merged
merged 41 commits into from
May 13, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
41 commits
Select commit Hold shift + click to select a range
864384c
feat: vote weighting initial contract
kupermind Mar 12, 2024
c2ce918
refactor: getting rid of type weights
kupermind Mar 13, 2024
04d316c
refactor: further simplification
kupermind Mar 13, 2024
0ddd058
refactor: continue shaping out vote weighting
kupermind Mar 13, 2024
3050ada
refactor: add address existence check
kupermind Mar 15, 2024
cb201a4
refactor: adding to Vote Weighting
kupermind Mar 20, 2024
72cfd89
refactor: gauges to nominees and chainIds
kupermind Mar 20, 2024
4d7672e
feat: wormhole l1 to l2 to l1 messaging experiments
kupermind Mar 27, 2024
64ae085
chore: linter fix
kupermind Apr 9, 2024
3b25590
chore: linter fix
kupermind Apr 9, 2024
c802cb9
chore: linter fix
kupermind Apr 9, 2024
9e6c8ee
test: vote weighting initial testing
kupermind Apr 9, 2024
b3e40e4
fix: VoteWeighting constructor
kupermind Apr 9, 2024
9aa89ea
refactor: modifying errors
kupermind Apr 9, 2024
31fa67c
refactor: removing weight change and making contract ownless
kupermind Apr 9, 2024
7feb989
test: adding 90% of coverage
kupermind Apr 10, 2024
2c337c9
chore: linter
kupermind Apr 10, 2024
0ec37e6
test: 100% coverage
kupermind Apr 10, 2024
73d41e6
test: more testing
kupermind Apr 11, 2024
039505e
chore: small constant modification
kupermind Apr 11, 2024
53588d9
chore: hardhat update
kupermind Apr 12, 2024
561699a
Merge pull request #129 from valory-xyz/vw_testing
mariapiamo Apr 16, 2024
4e0ae66
Merge pull request #128 from valory-xyz/l1_l2_l1
mariapiamo Apr 16, 2024
39af7cd
refactor: returning weight and sum of weights
kupermind Apr 16, 2024
b7bea8d
doc and test: fuzzing VoteWeighting
Apr 17, 2024
50df026
refactor: accounting for non-evm chains for vote weighting
kupermind Apr 26, 2024
7b7e023
test: adjusting tests back to 100% coverage
kupermind Apr 26, 2024
be3583c
chore: solhint
kupermind Apr 26, 2024
42a49c9
Merge pull request #131 from valory-xyz/non_evm
kupermind May 3, 2024
0324082
feat: couple of view methods to get nominees info
kupermind May 3, 2024
cbe0a39
test: coverage is back to 100%
kupermind May 3, 2024
826d6a4
test: adding multi-weights test
kupermind May 7, 2024
28b6d21
test: adding multi-weights test
kupermind May 7, 2024
5e1cd61
chore: adding vote weighting ABI
kupermind May 7, 2024
be9a80b
feat: remove nominee
kupermind May 8, 2024
67f227f
test: back to 100% coverage
kupermind May 8, 2024
9cb7ed3
refactor: account for nominee enabling
kupermind May 8, 2024
48e32b4
refactor: use own errors
kupermind May 8, 2024
a916df0
chore: adding names
kupermind May 13, 2024
14cab96
Merge pull request #132 from valory-xyz/advancements
kupermind May 13, 2024
a494b43
Merge pull request #130 from valory-xyz/vote_weighting_fuzzing
kupermind May 13, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions .github/workflows/workflow.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,9 @@
name: Workflow

concurrency:
cancel-in-progress: true
group: ${{github.workflow}}-${{github.ref}}

on:
push:
branches:
Expand Down
8 changes: 7 additions & 1 deletion .solcover.js
Original file line number Diff line number Diff line change
@@ -1,10 +1,16 @@
module.exports = {
skipFiles: ["bridges/test/FxChildTunnel.sol",
"bridges/test/ChildMockERC20.sol",
"bridges/test/MockTimelock.sol",
"bridges/test/FxRootMock.sol",
"bridges/test/HomeMediatorTest.sol",
"bridges/test/MockAMBMediator.sol",
"bridges/test/MockL2Relayer.sol",
"bridges/test/MockTimelock.sol",
"bridges/test/WormholeL1Receiver.sol",
"bridges/test/WormholeL1Sender.sol",
"bridges/test/WormholeL2ReceiverL1Sender.sol",
"test/BridgeSetup.sol",
"test/BrokenERC20.sol",
"test/SafeSetup.sol",
"multisigs/test/MockTimelockCM.sol",
"multisigs/test/MockTreasury.sol",
Expand Down
Loading
Loading