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

feat: switch to hardhat toolbox #185

Merged
merged 6 commits into from
Apr 12, 2023

Conversation

milapsheth
Copy link
Member

@milapsheth milapsheth commented Apr 11, 2023

  • Switch to hardhat toolbox
  • Fix GMP tests to use hardhat
  • Remove waffle dependency
  • Update deps to recent versions

.to.not.emit(gateway, 'TokenDeployed')
.and.to.emit(gateway, 'Executed')
.withArgs(secondCommandID);
await expect(gateway.execute(secondInput)).to.not.emit(gateway, 'Executed').to.emit(gateway, 'TokenDeployed'); // TODO: fix
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Found a bug with our chai usage, this should actually fail because the event shouldn't be emitted. Can't figure out the right usage here. .and doesn't do anything, need a way to combine multiple tests.

@re1ro re1ro merged commit 781582f into feat/tests-migrate-hardhat Apr 12, 2023
@re1ro re1ro deleted the feat/hardhat-toolbox branch April 12, 2023 20:05
re1ro added a commit that referenced this pull request Apr 12, 2023
* Migrated all but gmp test to hardhat

* Fixed lint errors

* GMP test error for debugging

* updated ethers imports

* test(DepositService): import hardhat config

* feat: switch to hardhat toolbox (#185)

* fix: switch to hardhat toolbox

* chore: update deps

* revert prettier version

* pin prettier solidity plugin

* addressed test comment

---------

Co-authored-by: Dean Amiel <damiel@deans-mbp.lan>
Co-authored-by: Kiryl Yermakou <rma4ok@gmail.com>
Co-authored-by: Milap Sheth <milap@axelar.network>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants