hardhat-gas-reporter
hardhat-gas-reporter copied to clipboard
Optimize transaction watcher
Should be able to get tx.input
from the data
in the eth_sendTransaction
payload and reduce reqs by 1.
Then fetch the receipt from the tx hash returned by the call.
-
eth_sendRawTransaction
needs to be decoded// Whatever the TS of this is... const utils = require('@ethersproject/transactions'); const tx = utils.parse(rawTransactionHex);
- Make a waffle test
Questions
- Benchmark vs synthetix? They are running at ~10/12 min for 2200/2500 tests.
- How often is util.matchBinaries being called from the reporter to resolve ids?