refactoring, move all arguments to config, fix round robin

This commit is contained in:
DieMyst
2023-02-14 10:20:41 +04:00
parent 56c849bb64
commit 123081a749
7 changed files with 140 additions and 97 deletions

View File

@ -4,6 +4,12 @@ const web3 = new Web3("http://localhost:3000");
async function main() {
const bn = await web3.eth.getBlockNumber()
await web3.eth.getBlockNumber()
await web3.eth.getBlockNumber()
await web3.eth.getBlockNumber()
await web3.eth.getBlockNumber()
await web3.eth.getBlockNumber()
await web3.eth.getBlockNumber()
console.log(bn)
const resp = await web3.eth.getTransaction("0x8bad403edde37642e4dab6c91eeca77b979fce1c979c14ca8755f5c3573eaeb4")