676 Commits

Author SHA1 Message Date
pragmaxim
d6a66839f1 adding ENS contract guard to resolve ENS on mainnet only 2026-02-19 21:39:03 +01:00
pragmaxim
c7d097da17 updated CheckENSExpiration to handle subdomains by checking the parent 2026-02-19 21:39:03 +01:00
pragmaxim
3a467b36e9 fixing ens resolution bypass in production due to unimplemented CheckENSExpiration in blockChainWithMetrics 2026-02-19 21:39:03 +01:00
elizaveta timofeeva
ffc6fe22f1 Update api/worker.go
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2026-02-19 21:39:03 +01:00
etimofeeva
44b0dde611 feat: added ens resolver to GetAddress function 2026-02-19 21:39:03 +01:00
pragmaxim
e94564c3ee Merge branch 'master' into pub-new-block-txs 2026-02-17 08:11:32 +01:00
pragmaxim
3976aac8da token_uri_requests and staking_pool_requests eth_call metrics 2026-02-13 11:16:41 +01:00
pragmaxim
e8030c8e63 fetchContractInfo eth_call metrics 2026-02-13 10:53:51 +01:00
pragmaxim
5880cd2129 eth_call metrics 2026-02-13 08:36:19 +01:00
pragmaxim
9487b23db7 support for 32bit systems 2026-02-10 12:58:12 +01:00
pragmaxim
4ab7046cb9 addressContracts cache cap - flush early on cache size limit 2026-02-09 07:37:53 +01:00
pragmaxim
5ef333645a address hotness 2026-02-08 10:34:00 +01:00
pragmaxim
75ca6e1e85 fix: avoid Base newHeads bursts 2026-01-26 07:03:32 +01:00
pragmaxim
0a49807cbf improving mempool syncing periodic logging with metrics 2026-01-25 11:33:38 +01:00
pragmaxim
9b6f4e9ea6 utxo reorg detection fix 2026-01-25 11:12:10 +01:00
pragmaxim
2390ddaf67 fix: GetBlock unmarshals the same raw JSON twice
There are 2 json.Unmarshal(raw) of the whole block to get header and transactions which is very inefficient, it can be done in one pass

Closes: #1384
2026-01-25 10:46:15 +01:00
pragmaxim
970581b111 log resync outpoint cache hit/miss rate 2026-01-25 10:13:49 +01:00
pragmaxim
90f2645a91 Resync mempool using batch api with temporary outpoint cache 2026-01-24 13:19:42 +01:00
pragmaxim
76739960e2 integration tests: fixing bitcoin and zcash issues : racing, missing output, invalid vout index and block-not-found 2026-01-23 12:00:38 +01:00
pragmaxim
052a30bb4b erc20 eth_call batching cleanup 2026-01-23 07:45:58 +01:00
pragmaxim
8542377fa3 eth_call batch integration tests 2026-01-22 10:12:28 +01:00
pragmaxim
7014e78a1c default geth --rpc.batch.limit is 100 2026-01-22 07:38:37 +01:00
pragmaxim
38cf8c2dc6 porting older integration tests to new dual (ws/http) rpc_client 2026-01-22 07:38:37 +01:00
pragmaxim
e8558f110b erc20 batching : let's warn in case of invalid balance results 2026-01-22 07:38:36 +01:00
pragmaxim
5a45460ea3 using config loader in contract batch integration tests 2026-01-22 07:38:36 +01:00
pragmaxim
e94af5cf50 eth_call batch it tests cleanup 2026-01-22 07:38:36 +01:00
pragmaxim
660685ea98 eth_call batch it tests, use chain address from conf 2026-01-22 07:38:35 +01:00
pragmaxim
c07c869a8a eth_call batch integration tests for avax,op,base,bsc 2026-01-22 07:38:35 +01:00
pragmaxim
3868aa8b65 limit eth_call batch size 2026-01-22 07:38:34 +01:00
pragmaxim
ca36f51ef1 improvement: replace eth_call per erc20 contract with multicall
Closes: #1387
2026-01-22 07:38:29 +01:00
pragmaxim
88edd9b386 using standard blockbook rpc tests with ethereum fixture 2026-01-21 14:25:36 +01:00
pragmaxim
54799b6019 porting older integration tests to new dual (ws/http) rpc_client 2026-01-21 13:52:25 +01:00
pragmaxim
be3076efd6 using config loader in ethrpc integration tests 2026-01-21 13:52:25 +01:00
pragmaxim
483595b188 fix: commented out code references non-existing variable 2026-01-21 13:52:25 +01:00
pragmaxim
962b5c2e05 improvement: parallel internal data fetching in GetBlock
rpc fetching in sequential loop tends to be a bottleneck, so processEventsForBlock and getInternalDataForBlock now run concurrently

Closes: #1381
2026-01-21 13:52:24 +01:00
pragmaxim
c635311899 evm chains http/ws connectivity integration tests 2026-01-21 13:50:20 +01:00
pragmaxim
447f859ead dual (ws/http) rpc_client support 2026-01-21 08:28:56 +01:00
pragmaxim
b0bb6226e9 blockchaincfg.json loader 2026-01-16 05:49:27 +01:00
etimofeeva
d76f7c5137 fix: adjusted zebrarpc for new version of zebrad backend 2026-01-06 18:45:41 +01:00
Martin Boehm
964662d578 Upgrade golang to 1.25 and dependencies, fix Avalanche sync 2025-11-24 23:58:39 +01:00
kaladinlight
32232953cd publish new block transactions by address 2025-09-30 09:38:15 -06:00
wmypku
39daa172c3 refactor: use the built-in max/min to simplify the code
Signed-off-by: wmypku <wmypku@outlook.com>
2025-09-30 15:26:03 +02:00
etimofeeva
2569d6f970 return for low even lower fees than 1 sat/vb 2025-09-25 11:47:25 +02:00
Martin Boehm
b4fa97abc5 Stop using alternative provider for eth_call and eth_gasPrice 2025-09-16 15:39:56 +02:00
Martin Boehm
9939b92ef3 Add support for Ethereum Testnet Hoodi 2025-09-16 15:37:40 +02:00
Martin Boehm
d4e9f0f862 Fix EthereumTypeGetNonce 2025-09-08 14:36:38 +02:00
etimofeeva
29b7d66811 fix: improved error handling and added better logging for readability
fixed error handling

added more error handling

added logs for debugging parsing error

fixed address descriptor

rollback to error handling and additional debugging

feat: added logging as error logging in order to better stand out
2025-09-08 10:46:22 +02:00
Martin Boehm
db2d8cd248 Add AddrContractsCache to speed up indexing 2025-09-02 10:08:47 +02:00
Martin Boehm
a1f7bacbc1 Add init alternative providers for EVM chains 2025-09-01 19:33:31 +02:00
elizaveta timofeeva
1e14f3550a Merge pull request #1316 from trezor/alternative-provider-url-simulation-nonce
Use alternative RPC provider url for simulation and nonce
2025-09-01 16:38:32 +02:00