matter-labs / block-explorer

zkSync Era Block Explorer
Apache License 2.0
124 stars 109 forks source link

fix: add base token address to hyperchain config #275

Closed sanekmelnikov closed 2 months ago

sanekmelnikov commented 2 months ago

What ❔

Adding missing baseTokenAddress to the hyperchain configuration. Adding a fallback to use the default L2 base token address if it's not specified in the config.

Why ❔

When configuring the block explorer using npm run hyperchain:configure, the resulting configuration was missing the baseTokenAddress value. This absence was causing an error here. As a result of this error, the system was defaulting to Sepolia (which I assume is not the intended behavior for your hyperchain setup).

Checklist

vasyl-ivanchuk commented 2 months ago

These changes are merged in this PR.