Skip to content
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

refactor addCustomNetwork by validating both L1 and L2 networks first #311

Closed
wants to merge 1 commit into from

Conversation

brtkx
Copy link
Contributor

@brtkx brtkx commented Jul 24, 2023

We want to allow users to add custom networks via the bridge UI and ideally we'd want the method to validate both networks before pushing the results.

Otherwise, if there is an error in the L2 object, we still store L1, even though the function eventually throws.

@cla-bot cla-bot bot added the cla-signed label Jul 24, 2023
@brtkx brtkx changed the title refactor addCustomNetwork by validating both L1 and L2 networks prior to adding them refactor addCustomNetwork by validating both L1 and L2 networks first Jul 24, 2023
@brtkx brtkx requested review from yahgwai and spsjvc July 24, 2023 13:53
@brtkx brtkx closed this Aug 23, 2023
@brtkx brtkx deleted the refactor-add-custom-network branch August 23, 2023 08:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants