Testing Automan npx hardhat node then in other console npx hardhat run --network localhost ./scripts/test1.ts this will show the errors in the hardhat node This is forked from block 19012733 on Ethereum