matter-labs / block-explorer

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

fix: hyperchain base address #276

Closed vasyl-ivanchuk closed 2 months ago

vasyl-ivanchuk 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

github-actions[bot] commented 2 months ago

API E2E Test Results

207 tests   207 :white_check_mark:  20s :stopwatch:  14 suites    0 :zzz:   1 files      0 :x:

Results for commit d5e95d85.

:recycle: This comment has been updated with latest results.

github-actions[bot] commented 2 months ago

Unit Test Results

    4 files    263 suites   11m 34s :stopwatch: 2 090 tests 2 089 :white_check_mark: 1 :zzz: 0 :x: 2 299 runs  2 298 :white_check_mark: 1 :zzz: 0 :x:

Results for commit d5e95d85.

:recycle: This comment has been updated with latest results.

github-actions[bot] commented 2 months ago

Visit the preview URL for this PR: https://staging-scan-v2--pr-276-073ko1y6.web.app

github-actions[bot] commented 2 months ago

:tada: This PR is included in version 2.49.2 :tada:

The release is available on:

Your semantic-release bot :package::rocket: