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

test: add integration tests #8

Merged
merged 20 commits into from
Dec 28, 2023
Merged

test: add integration tests #8

merged 20 commits into from
Dec 28, 2023

Conversation

0xRaccoon
Copy link
Member

@0xRaccoon 0xRaccoon commented Dec 26, 2023

Linear 🤖

Closes WG-5

Copy link

linear bot commented Dec 26, 2023

@0xRaccoon 0xRaccoon changed the title test: add integration tests [WIP] test: add integration tests Dec 27, 2023
…rland/wonderland-governooor-poc into test/add-wonder-votes-unit-tests
Signed-off-by: 0xRaccoon <[email protected]>
…onderland/wonderland-governooor-poc into test/add-integration-tests

Signed-off-by: 0xRaccoon <[email protected]>
vm.stopPrank();
}

function test_Revert_ZeroWeight(uint8 _proposalType) public {
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

should the contract revert or ignore in this case?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

good question, I think that a Delegatee with 0 weight is an invalid case and should revert just to avoid user mistakes 🤔

0xParticle
0xParticle previously approved these changes Dec 27, 2023
Copy link
Collaborator

@0xParticle 0xParticle left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Dude, these tests are incredible. Super detailed. It looks amazing, good job

…or-poc into test/add-integration-tests

Signed-off-by: 0xRaccoon <[email protected]>
Signed-off-by: 0xRaccoon <[email protected]>
@0xRaccoon 0xRaccoon merged commit ddeb8b2 into dev Dec 28, 2023
6 checks passed
@0xRaccoon 0xRaccoon deleted the test/add-integration-tests branch December 28, 2023 13:38
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.

2 participants