-
Notifications
You must be signed in to change notification settings - Fork 374
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
Fix protocol tests #1835
Fix protocol tests #1835
Conversation
Codecov Report
@@ Coverage Diff @@
## master #1835 +/- ##
========================================
Coverage ? 74.2%
========================================
Files ? 278
Lines ? 7673
Branches ? 961
========================================
Hits ? 5694
Misses ? 1862
Partials ? 117
Continue to review full report at Codecov.
|
…ed" test after discussion with Asa
@@ -901,23 +900,6 @@ contract('Election', (accounts: string[]) => { | |||
}) | |||
}) | |||
|
|||
describe('when different random values are provided', () => { |
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.
Now that we're not using this, can we remove all references to random
in this file?
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.
Even registry.setAddressFor(CeloContractName.Random, random.address)
? I'll look into in separate PR.
…into aaronmgdr/build4 * 'aaronmgdr/build4' of github.com:celo-org/celo-monorepo: Dedicated signing of attestation messages (#1913) Allow BLS info to be passed to validator:register without 0x prefix (#1919) Use cert manager instead of lego for k8s SSL certificates (#1924) Fix protocol tests (#1835) Fix bug in LockedGold.relock wrapper (#1915) Add account:show command (#1916) Add warning about misusing pumba (#1857) Baklava docs improvements (#1854) Negate reversed conditional in faucet command (#1863)
* master: (97 commits) Fix celotool expected cluster check (#1932) Build Page for Baklava Launch Part 1 (#1866) cli: Fix for #1875 (#1920) cli: Fixes for #1880 and #1874 (#1918) Minor edits to full-node and other docs (#1917) Check that we have provisioned phone numbers (#1927) Sort invite contact list (#1936) Generate the pop for the attestation service with geth (#1931) Have validators use ephemeral node keys by default (#1922) Enhanced Validator Setup Docs (#1926) Indicate account registration (#1928) Bugfix: actually whitelist oracle account (#1865) Display current account locked gold requirement in lockedgold:show (#1923) Dedicated signing of attestation messages (#1913) Allow BLS info to be passed to validator:register without 0x prefix (#1919) Use cert manager instead of lego for k8s SSL certificates (#1924) Fix protocol tests (#1835) Fix bug in LockedGold.relock wrapper (#1915) Add account:show command (#1916) Add warning about misusing pumba (#1857) ... # Conflicts: # packages/web/pages/_app.tsx # yarn.lock
Description
Accidentally committed it.only() is causing the protocol tests to consist of only:
4570fde#diff-ea8b99cb616e766d769dc8b98bda7decR362
Tested
packages/protocol
yarn test
succeeds with 1065 passing test instead of 1.Other changes
Passing async functions to describe() is a bug: mochajs/mocha#2975
The only occurrences of async describe() arguments in celo-monorepo were in the protocol tests, and they were all innocuous due to never await-ing.