Open ivpavici opened 1 year ago
There are two things to do, maybe it could be seen as two stages:
--starknet-network
parameter of hardhat test
) with the network provider of starknet.js?I would use the opportunity once this is done to introduce other breaking issues as well, marked by the breaking
tag
Originally, the Hardhat Plugin was designed as a wrapper around the official Starknet CLI, since back then that was the only option to reliably interact with the network.
Now, Starknet CLI will be deprecated soon, and also Starknet.js is mature enough to replace all of the functionalities of the CLI.
This will be a major change, a lot of code could be deleted (and open issues closed). Maintenance will also be a lot easier.
This is actually the way Hardhat works on Ethereum - it relies on Ethers.js for interactions with the Ethereum blockchain, so the community should not be surprised with this change.
A migration guide should also be written.