ripple / validator-history-service

Service for ingesting, aggregating, storing, and disbursing XRP Ledger validation related data.
ISC License
14 stars 8 forks source link

fix: UNLs does not get updated when a network has empty UNLs #75

Closed pdp2121 closed 1 year ago

pdp2121 commented 1 year ago

High Level Overview of Change

updateUNLs is failing for all validators on staging and production since there's a new network added with empty UNLs. Prevent this from happening by fixing Promise.all in fetchValidatorList to continue even when a promise raises an error.

Type of Change

Test Plan

Ensure updateUNLs run successfully in staging and validator with pubkey nHUon2tpyJEHHYGmxqeGu37cvPYHzrMtUNQFVdCgGNvEkjmCpTqK is removed from vl.ripple.com.