Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

provider compliance checks spew confusing info #2158

Closed
chappjc opened this issue Feb 22, 2023 · 0 comments · Fixed by #2159
Closed

provider compliance checks spew confusing info #2158

chappjc opened this issue Feb 22, 2023 · 0 comments · Fixed by #2159

Comments

@chappjc
Copy link
Member

chappjc commented Feb 22, 2023

The ETH provider compliance checks log a lot of confusing info at INF level severity, including balances of accounts that don't belong to the user.

There are also unneeded sublogger levels ([eth][ETH]).

simnet:

2023-02-22 10:14:41.974 [TRC] CORE: wallet status requested for unknown asset 60 -> eth
2023-02-22 10:14:42.003 [INF] CORE: Initializing a eth wallet
2023-02-22 10:14:42.006 [DBG] CORE[CREATE]: Connected with 1 of 1 RPC servers
2023-02-22 10:14:42.006 [TRC] CORE[CREATE]: handling header refreshes for "127.0.0.1:38559"
2023-02-22 10:14:42.006 [TRC] CORE[CREATE]: handling websocket subscriptions for "127.0.0.1:38559"
2023-02-22 10:14:42.008 [INF] CORE[CREATE]: #### Retreived tip cap: 1000000000
2023-02-22 10:14:42.008 [INF] CORE[CREATE]: #### Balance retrieved: 10999.816690651
2023-02-22 10:14:42.008 [INF] CORE[CREATE]: #### 1931 bytes of USDC contract retrieved
2023-02-22 10:14:42.009 [INF] CORE[CREATE]: #### USDC balanceOf result: 6000000000000000000000 wei
2023-02-22 10:14:42.009 [INF] CORE[CREATE]: #### Chain ID: 42
2023-02-22 10:14:42.009 [INF] CORE[CREATE]: #### Pending nonce: 7
2023-02-22 10:14:42.009 [INF] CORE[CREATE]: #### RPC Tx is nil? false, block number: "0x5"
2023-02-22 10:14:42.010 [ERR] CORE[CREATE]: Failed to write compliant providers file: open /home/jon/.dexc/simnet/assetdb/eth/simnet/compliant-providers.json: no such file or directory
2023-02-22 10:14:42.115 [DBG] CORE[eth][ETH][RPC]: Connected with 1 of 1 RPC servers
2023-02-22 10:14:42.115 [TRC] CORE[eth][ETH][RPC]: Using cached header from "127.0.0.1:38559"
2023-02-22 10:14:42.115 [TRC] CORE[eth][ETH][RPC]: handling websocket subscriptions for "127.0.0.1:38559"
2023-02-22 10:14:42.115 [TRC] CORE[eth][ETH][RPC]: handling header refreshes for "127.0.0.1:38559"
2023-02-22 10:14:42.130 [INF] CORE[eth][ETH][TXDB]: All 0 tables opened in 0s

2023-02-22 10:14:42.131 [INF] CORE[eth][ETH]: Connected to geth, at height 42
2023-02-22 10:14:42.131 [TRC] CORE[eth][ETH][RPC]: Using cached header from "127.0.0.1:38559"
2023-02-22 10:14:42.131 [TRC] CORE: New peer count for asset eth: 1
2023-02-22 10:14:42.183 [INF] CORE: Created eth wallet. Balance available = 0 / locked = 0 / locked in contracts = 0, Deposit address = 0x1160592FbE36b8D8EC04977bFEf6c6032643Ed41
2023-02-22 10:14:42.184 [TRC] CORE[eth][ETH][RPC]: Using cached header from "127.0.0.1:38559"
2023/02/22 10:14:42 "POST http://127.0.0.3:5758/api/newwallet HTTP/1.1" from 127.0.0.1:40500 - 200 12B in 223.729973ms

The Failed to write compliant providers file: open /home/jon/.dexc/simnet/assetdb/eth/simnet/compliant-providers.json: no such file or directory error is fixed in #2013

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant