4 Commits

Author SHA1 Message Date
Andrey Bocharnikov
7de2670f54 fix_: issue from the PR 2025-01-14 14:28:48 +04:00
Andrey Bocharnikov
27a5515df7 feat(config)_: Do not store embedded RPC provider credentials in the DB
* add method to make a deepcopy of a network + tests
* improved logging
* improved memory allocation
2025-01-14 14:06:52 +04:00
Andrey Bocharnikov
593cdc0314 chore(config)_: Integration of new RPC Provider configurations
* default_networks.go
  * explicit provider initialization with more granular config (rps limiter, order)
  * token overrides made more flexible, support not only infura and grove
* get_status_node.go
  * override status-proxy auth instead of passing override config to rpc/client.go
* config.go
  * ProviderConfig removed
* client.go
  * Now any provider can be enabled/disabled (if user wants to use only his custom RPC urls)
  * Use bearer auth instead of URL auth
  * Provider order is defined by default_networks.go
2025-01-14 14:06:52 +04:00
Andrey Bocharnikov
e9abf1662d
chore(config)_: rpc providers configuration (#6151)
* chore(config)_: extract rpc_provider_persistence + tests

* Add rpc_providers table, migration
* add RpcProvider type
* deprecate old rpc fields in networks, add RpcProviders list
* add persistence packages for rpc_providers, networks
* Tests
2025-01-11 02:02:09 +04:00