Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
1
const
assert = require(
"assert"
)
2
3
async
function
main() {
4
const
blockNumber =
await
hre.network.provider.send(
"eth_blockNumber"
)
5
assert.equal(blockNumber,
"0x0"
)
6
}
7
8
main()
9
.catch(console.error)
Callers
1
script.js
File · 0.70
Calls
1
send
Method · 0.65
Tested by
no test coverage detected