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

Fix bug in LockedGold.relock wrapper #1915

Merged
merged 6 commits into from
Nov 26, 2019
Merged

Fix bug in LockedGold.relock wrapper #1915

merged 6 commits into from
Nov 26, 2019

Conversation

asaj
Copy link
Contributor

@asaj asaj commented Nov 26, 2019

Description

This PR fixes a bug in the LockedGold.relock wrapper function that prevents any relock transactions from actually being returned.

Tested

  • Added a unit test

Other changes

Non

Related issues

@asaj asaj requested a review from mcortesi as a code owner November 26, 2019 21:14
@asaj asaj added the automerge Have PR merge automatically when checks pass label Nov 26, 2019
@asaj asaj assigned asaj and unassigned lucasege Nov 26, 2019
@celo-ci-bot-user celo-ci-bot-user merged commit ab316cb into master Nov 26, 2019
@celo-ci-bot-user celo-ci-bot-user deleted the asaj/cli branch November 26, 2019 22:55
aaronmgdr added a commit that referenced this pull request Nov 27, 2019
…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)
aaronmgdr added a commit that referenced this pull request Nov 27, 2019
* 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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
automerge Have PR merge automatically when checks pass
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Bug in lockedgold:lock when trying to lock more gold than you have
3 participants