maci icon indicating copy to clipboard operation
maci copied to clipboard

test(core): remove msgTree

Open samajammin opened this issue 1 year ago • 3 comments
trafficstars

Description

Remove msgTree variable

Confirmation

samajammin avatar Dec 20 '23 23:12 samajammin

Deploy Preview for maci-typedoc ready!

Name Link
Latest commit 16abc752f6495bf6149a86b5cfd2262efe7430f1
Latest deploy log https://app.netlify.com/sites/maci-typedoc/deploys/658f0093bc6620000835649d
Deploy Preview https://deploy-preview-938--maci-typedoc.netlify.app
Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

netlify[bot] avatar Dec 20 '23 23:12 netlify[bot]

@ctrlc03 this is mostly for my understanding...

Why are we creating this msgTree object? Don't we want to be comparing the state of the poll object in this test?

samajammin avatar Dec 20 '23 23:12 samajammin

@ctrlc03 this is mostly for my understanding... Why are we creating this msgTree object? Don't we want to be comparing the state of the poll object in this test?

@samajammin Great catch, you are absolutely right 🙂 ps. I have been thinking that we could probably remove the AccQueue instances throughout the core package tests and keep the IncrementalQuinTree instead to do the root checks (as that's what we use inside the Poll contract for storing message hashes) - what you think? if you like the idea maybe this PR could be extended to do that

ctrlc03 avatar Dec 21 '23 00:12 ctrlc03

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Updated (UTC)
maci-website ✅ Ready (Inspect) Visit Preview Jun 14, 2024 11:49am

vercel[bot] avatar Jun 14 '24 11:06 vercel[bot]