-
Notifications
You must be signed in to change notification settings - Fork 159
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(contracts): cleanup contracts tests #1721
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@ctrlc03 thanks!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
thanks!
@@ -34,7 +34,6 @@ describe("MACI", function test() { | |||
let signer: Signer; | |||
|
|||
const maciState = new MaciState(STATE_TREE_DEPTH); | |||
const signUpTxOpts = { gasLimit: 400000 }; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
why we need this before? (same as other gasLimit
)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think it was there to check whether gas consumption wansn't going over 400k gas - though it seemed arbitrary, gas consumption for signup is also dependent on position of the leaf and size of tree
Description
Cleanup contract tests by removing unnecessary code.
Confirmation