Commit Graph

18 Commits

Author SHA1 Message Date
Sergei Tikhomirov af168797a0 parallelize queries for tx and txreceipt 2024-12-20 12:29:48 +01:00
Sergei Tikhomirov e9df168f50 add timeout to tx receipt query 2024-12-20 12:29:48 +01:00
Sergei Tikhomirov 4c57cbca5e use await in async proc
Co-authored-by: gabrielmer <101006718+gabrielmer@users.noreply.github.com>
2024-12-20 12:29:48 +01:00
Sergei Tikhomirov 4ad3bda6e2 rename functions 2024-12-20 12:29:48 +01:00
Sergei Tikhomirov 3356d406bf remove unused import 2024-12-20 12:29:48 +01:00
Sergei Tikhomirov e517ecaf8e make queries to web3 provider in parallel 2024-12-20 12:29:48 +01:00
Sergei Tikhomirov 586dadd94a add a try-block in case of connection failure to web3 provider 2024-12-20 12:29:48 +01:00
Sergei Tikhomirov 4b60383f39 make try-block smaller 2024-12-20 12:29:48 +01:00
Sergei Tikhomirov a92ffc7a42 use standard method of error handling 2024-12-20 12:29:48 +01:00
Sergei Tikhomirov 03eb69060f use Result type in eligibility tests 2024-12-20 12:29:48 +01:00
Sergei Tikhomirov ef4c2d3f69 refactor, move all hard-coded constants to tests 2024-12-20 12:29:48 +01:00
Sergei Tikhomirov 363d56c980 chore: run nph linter manually 2024-12-20 12:29:48 +01:00
Sergei Tikhomirov d7f2a33414 avoid unnecessary parentheses 2024-12-20 12:29:48 +01:00
Sergei Tikhomirov 718c772da1 define const for simple transfer gas usage 2024-12-20 12:29:48 +01:00
Sergei Tikhomirov 829c1f6d9b refactor: avoid result and unnecesary branching 2024-12-20 12:29:48 +01:00
Sergei Tikhomirov 5ddf3afc9a use Address.fromHex conversion from eth-web3 2024-12-20 12:29:48 +01:00
Sergei Tikhomirov 83953a5e86 minor fixes 2024-12-20 12:29:48 +01:00
Sergei Tikhomirov a3bef8150d feat: add simple txid-based eligibility check with hard-coded params (#3166) 2024-12-20 12:29:48 +01:00