Skip to content

Added hardhat-truffle5 setup with broken fixtures (migrations) and bumped contracts to Solidity v0.8#21

Open
Ungolim wants to merge 2 commits intomudgen:masterfrom
Ungolim:feat/hardhat+solc-0.8
Open

Added hardhat-truffle5 setup with broken fixtures (migrations) and bumped contracts to Solidity v0.8#21
Ungolim wants to merge 2 commits intomudgen:masterfrom
Ungolim:feat/hardhat+solc-0.8

Conversation

@Ungolim
Copy link

@Ungolim Ungolim commented Feb 16, 2021

Legacy testing and migrations still work (albeit don't upgrade to Truffle v5.1.66 or else they will break); however running the Truffle tests within Hardhat (within the hardhat-truffle5 plugin) with this simple instructions, to turn the original migrations (referenced in the test suites) into fixtures, does not currently work due to a Truffle network config error (the hardhat-truffle5 plugin should take care of this step, so I opened an issue here to ask for clarifications: NomicFoundation/hardhat#1253)

After bumping all contracts to Solc 0.8.1, I have also added a few utility and best-practice tools suited for a smart contracts library and to make the template a bit more professional

References mudgen/diamond#1

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.

2 participants