File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -29,14 +29,14 @@ impl ForkConfigs {
29
29
named. as_str ( ) . to_string ( )
30
30
} else {
31
31
return Err ( ExtractConfigError :: new ( figment:: Error :: from ( format ! (
32
- "chain id '{key}' is not supported by 'alloy_chains' ." ,
32
+ "chain id '{key}' is not supported. Check 'https://github.com/alloy-rs/chains' and consider opening a PR ." ,
33
33
) ) ) ) ;
34
34
}
35
35
} else if let Ok ( named) = key. parse :: < alloy_chains:: NamedChain > ( ) {
36
36
named. as_str ( ) . to_string ( )
37
37
} else {
38
38
return Err ( ExtractConfigError :: new ( figment:: Error :: from ( format ! (
39
- "chain name '{key}' is not supported by 'alloy_chains' ." ,
39
+ "chain name '{key}' is not supported. Check 'https://github.com/alloy-rs/chains' and consider opening a PR ." ,
40
40
) ) ) ) ;
41
41
} ;
42
42
Original file line number Diff line number Diff line change @@ -5347,7 +5347,7 @@ mod tests {
5347
5347
5348
5348
// Check the error message
5349
5349
assert ! ( err_str. contains(
5350
- "foundry config error: chain name 'randomchain' is not supported by 'alloy_chains' "
5350
+ "foundry config error: chain name 'randomchain' is not supported. Check 'https://github.com/alloy-rs/chains' and consider opening a PR. "
5351
5351
) ) ;
5352
5352
5353
5353
Ok ( ( ) )
@@ -5372,7 +5372,7 @@ mod tests {
5372
5372
// Check the error message
5373
5373
assert ! (
5374
5374
err_str. contains(
5375
- "foundry config error: chain id '0' is not supported by 'alloy_chains' "
5375
+ "foundry config error: chain id '0' is not supported. Check 'https://github.com/alloy-rs/chains' and consider opening a PR. "
5376
5376
)
5377
5377
) ;
5378
5378
You can’t perform that action at this time.
0 commit comments