@@ -13,9 +13,9 @@ lazy_static! {
1313pub struct EnvVars {
1414 /// Additional deterministic errors that have not yet been hardcoded.
1515 ///
16- /// Set by the environment variable `GRAPH_GETH_ETH_CALL_ERRORS `, separated
16+ /// Set by the environment variable `GRAPH_RPC_ETH_CALL_ERRORS `, separated
1717 /// by `;`.
18- pub geth_eth_call_errors : Vec < String > ,
18+ pub rpc_eth_call_errors : Vec < String > ,
1919 /// Set by the environment variable `GRAPH_ETH_GET_LOGS_MAX_CONTRACTS`. The
2020 /// default value is 2000.
2121 pub get_logs_max_contracts : usize ,
@@ -114,8 +114,8 @@ impl From<Inner> for EnvVars {
114114 fn from ( x : Inner ) -> Self {
115115 Self {
116116 get_logs_max_contracts : x. get_logs_max_contracts ,
117- geth_eth_call_errors : x
118- . geth_eth_call_errors
117+ rpc_eth_call_errors : x
118+ . rpc_eth_call_errors
119119 . split ( ';' )
120120 . filter ( |s| !s. is_empty ( ) )
121121 . map ( str:: to_string)
@@ -158,8 +158,8 @@ impl Default for EnvVars {
158158
159159#[ derive( Clone , Debug , Envconfig ) ]
160160struct Inner {
161- #[ envconfig( from = "GRAPH_GETH_ETH_CALL_ERRORS " , default = "" ) ]
162- geth_eth_call_errors : String ,
161+ #[ envconfig( from = "GRAPH_RPC_ETH_CALL_ERRORS " , default = "" ) ]
162+ rpc_eth_call_errors : String ,
163163 #[ envconfig( from = "GRAPH_ETH_GET_LOGS_MAX_CONTRACTS" , default = "2000" ) ]
164164 get_logs_max_contracts : usize ,
165165
0 commit comments