forked from ethereum-optimism/superchain-registry
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Validation: wrap local chain info maps with mutexes (ethereum-optimis…
…m#669) * Validation: wrap local chain info maps with mutexes * Appears that there's a race when attempting to update local chain ID/Name maps from multiple tests which are kicked off concurrently. * Also refactored the code a bit to wrap the global vars into a struct * Use sync.Map, simpler code --------- Co-authored-by: Vinod Damle <[email protected]>
- Loading branch information
1 parent
4d7fe12
commit 62caeeb
Showing
1 changed file
with
17 additions
and
18 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters