-
Notifications
You must be signed in to change notification settings - Fork 375
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
ReleaseGold event is missing in foundry migrations ("ReleaseGoldInstanceCreated") #11026
Comments
@shazarre could you please link to the test that is failing in |
Output for failing tests:
The tests can be found here, but seems like it's actually from the setup function call that's failing. Seems it's expecting a |
@shazarre: I'm trying to reproduce the error. Here are the steps I'm following: # On `master` branch
$ git status
On branch master
Your branch is up to date with 'origin/master'.
# Install all dependencies
$ yarn
# Build all packages
$ yarn build
# Build the CLI package explicitly
$ yarn workspace @celo/celocli build
# Run CLI tests
$ yarn workspace @celo/celocli test
PASS src/commands/releasecelo/admin-revoke.test.ts Unless I'm missing something, the test ( Here is the shell output when filtered for "releasegold": Sending Transaction: releasegold: revokeBeneficiary... done
Sending Transaction: releasegold: refundAndFinalize... done
Sending Transaction: releasegold: revokeBeneficiary... done
Sending Transaction: releasegold: rescueCUSD... done
Sending Transaction: releasegold: refundAndFinalize... done
Sending Transaction: releasegold: revokeBeneficiary... done
Sending Transaction: releasegold: refundAndFinalize... done
Sending Transaction: releasegold: revokeBeneficiary... done
Sending Transaction: releasegold: unlockAllGold... done
Sending Transaction: releasegold: revokeBeneficiary... done
Sending Transaction: releasegold: unlockAllGold... done
Sending Transaction: releasegold: revokeBeneficiary... done
Sending Transaction: releasegold: unlockAllGold... done
SendTransaction: releasegold: revokeBeneficiary
SendTransaction: releasegold: refundAndFinalize
ReleaseGoldInstanceDestroyed:
SendTransaction: releasegold: revokeBeneficiary
SendTransaction: releasegold: rescueCUSD
SendTransaction: releasegold: refundAndFinalize
ReleaseGoldInstanceDestroyed:
SendTransaction: releasegold: revokeBeneficiary
SendTransaction: releasegold: refundAndFinalize
ReleaseGoldInstanceDestroyed:
SendTransaction: releasegold: revokeBeneficiary
SendTransaction: releasegold: unlockAllGold
SendTransaction: releasegold: revokeBeneficiary
SendTransaction: releasegold: unlockAllGold
SendTransaction: releasegold: revokeBeneficiary
SendTransaction: releasegold: unlockAllGold It looks like all |
@arthurgousset you'd have to migrate those tests to anvil basically you change right now those tests are still being run against ganache, so they'll all pass on CI |
Could you please create a branch with these changes and add step-by-step instructions to reproduce the bug, so anyone can easily checkout the branch, and reproduce the bug locally. I'll pause on this until that's done. |
@arthurgousset created a branch that has failing examples for both to test it:
|
Re:
|
On that basis, I'll close this issue. |
From @shazarre:
Source: Slack
The text was updated successfully, but these errors were encountered: