fill stake e2e
This commit is contained in:
parent
30ed4aa072
commit
aa1ddfcecd
6 changed files with 610 additions and 12 deletions
|
|
@ -27,7 +27,10 @@ class ChainConfigService {
|
|||
if (!normalized) {
|
||||
throw new Error(`${label} endpoint not configured for chain ${chainId}.`);
|
||||
}
|
||||
return normalized;
|
||||
if (normalized.startsWith('http://') || normalized.startsWith('https://')) {
|
||||
return normalized;
|
||||
}
|
||||
return normalized.startsWith('/') ? normalized : `/${normalized}`;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue