This project demonstrates a basic Hardhat forking of Acala and subsequent mocking of the predeployed smart contracts in tests.
To run the example use the following commands:
yarn
yarn testIn order to successfully fork the network, you have to provide the forkking url to the hardhat.config.js.
In order to replicate the mocking please refer to the "Example.js".