Improve log and remove rpc for ethereum
This commit is contained in:
parent
4fb7d9d86e
commit
969cae4534
|
@ -8,7 +8,6 @@
|
|||
"ethereum": {
|
||||
"network": "mainnet",
|
||||
"rpcs": [
|
||||
"https://rpc.flashbots.net/fast",
|
||||
"https://api.securerpc.com/v1",
|
||||
"https://rpc.mevblocker.io/noreverts",
|
||||
"https://rpc.notadegen.com/eth"
|
||||
|
|
|
@ -56,7 +56,9 @@ export class InstrumentedHttpProvider {
|
|||
});
|
||||
} catch (e: AxiosError | any) {
|
||||
this.logger.error(
|
||||
`[${chain}][${body?.method}] Got error from ${this.url} rpc. ${e?.message ?? `${e}`}`
|
||||
`[${chain}][${body?.method ?? body[0]?.method}] Got error from ${this.url} rpc. ${
|
||||
e?.message ?? `${e}`
|
||||
}`
|
||||
);
|
||||
|
||||
// Connection / timeout error:
|
||||
|
|
Loading…
Reference in New Issue