Added Test, Before Add Debug Capabilities

This commit is contained in:
2024-08-06 01:34:12 +08:00
parent fb89cb6e1e
commit b7dcbb3039
5 changed files with 371 additions and 702 deletions
+1 -1
View File
@@ -1,6 +1,6 @@
const { task } = require("hardhat/config");
task("block-number", "Prints current block number").setAction(
task("sample-task", "Prints current block number").setAction(
async (taskArgs, hre) => {
const blockNumber = await hre.ethers.provider.getBlockNumber();
console.log("Current block number: " + blockNumber);