MCPcopy Create free account
hub / github.com/NomicFoundation/hardhat / main

Function main

e2e/fixture-projects/script/script.js:3–6  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1const assert = require("assert")
2
3async function main() {
4 const blockNumber = await hre.network.provider.send("eth_blockNumber")
5 assert.equal(blockNumber, "0x0")
6}
7
8main()
9 .catch(console.error)

Callers 1

script.jsFile · 0.70

Calls 1

sendMethod · 0.65

Tested by

no test coverage detected