-
Notifications
You must be signed in to change notification settings - Fork 33
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
feat: update to read from new document with chainId field #520
Conversation
should we consider switching chainId to required ? as we are using it by default, alongside the chain field in the schema |
try { | ||
const json = JSON.parse(reader.result as string); | ||
const chainId = getChainId(json); | ||
if (chainId && currentChainId !== chainId) { | ||
await changeNetwork(chainId); |
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.
i think this conflicts with the flow for #550
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.
Summary
Tech spike for auto validate documents
Changes
Issues
https://www.pivotaltracker.com/n/projects/2424361/stories/180613089