-
Notifications
You must be signed in to change notification settings - Fork 45
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Switch dump validators to Nexus #2102
base: master
Are you sure you want to change the base?
Conversation
Deployed to Cloudflare Pages
|
}, | ||
node_id: 'SQZZd1wsWXdFsqswUoh6hZtmzu+ejuSnrGeHtgIBJDo=', | ||
rank: 2, | ||
start_date: '2024-04-11T03:43:47Z', |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Changes in API binding can be removed when start_date
is removed from mocks, but I think it's worth keeping more valid bindings anyway. With old types Nexus date-time strings are mark as Date objects which is not true, these props are strings in API.
edit: will extract to another PR
@@ -207,8 +251,8 @@ describe('Staking Sagas', () => { | |||
list: parseValidatorsList( | |||
getMainnetDumpValidatorsMock.list.map(({ _expectedStatus, ...v }) => ({ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Test is passing, but I am not 100% sure about this. Test implements logic that is in saga?
needed for #2086