refactor(challenger): rewrite unit tests for converting gindex to Position (#8782)
* refactor(challenger): rewrite unit tests for converting gindex to Position * Update * refactor: replace single-use named structs with anonymous structs * refactor(challenger): refactor TestAttack and TestDefend tests * Update op-challenger/game/fault/types/position.go Co-authored-by:refcell.eth <abigger87@gmail.com> * Remove example from spec * Remove Equal method * Move treeNodes into TestTraceIndex * Get rid of extra function docstring --------- Co-authored-by:
refcell.eth <abigger87@gmail.com>
Showing
This diff is collapsed.
Please register or sign in to comment