Uh oh!
There was an error while loading. Please reload this page.
feat(MSFDG): adapt AttackV2 and StepV2 functions in op-challenger2 - #94
feat(MSFDG): adapt AttackV2 and StepV2 functions in op-challenger2#94JustXxx wants to merge 21 commits into
Conversation
…p-challenger2-attackv2
…to bill/op-challenger2-attackv2
…to bill/op-challenger2-attackv2
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
| return fmt.Errorf("failed to get correct trace at position %v: %w", poststateClaim.Position, err) | ||
| } | ||
| validStep := correctValue == poststateClaim.Value | ||
| validStep := correctValue == (*poststateClaim.SubValues)[0] |
There was a problem hiding this comment.
If poststateClaim is attacked by the non-0 branch, it might not be (*poststateClaim.SubValues)[0]
Uh oh!
There was an error while loading. Please reload this page.
| preState, proofData, oracleData, err := s.trace.GetStepData(ctx, game, claim, position) | ||
| if branch == game.MaxAttackBranch()-1 { | ||
| // If we are at the max attack branch, we need to step on the next branch |
There was a problem hiding this comment.
If we agree subValues in [0, maxAttackBranch-1], the max attack branch should be stepped. might be more clear?
There was a problem hiding this comment.
I couldn't find this code. Has it been modified?
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
pochenai
commented
Nov 30, 2024
Deprecated in #105 |
Description
Adapt AttackV2 and StepV2 functions in op-challenger2
Tests