• Adrian Sutton's avatar
    op-challenger: Handle Reader reading data and returning EOF in the same call (#9168) · c1641d0f
    Adrian Sutton authored
    * op-challenger: Implement verification for preimages
    
    Identifies the leaf to challenge, but doesn't yet produce the merkle proofs required and can't actually send the transaction.
    
    * op-challenger: Review feedback.
    
    * op-challenger: Avoid nil
    
    * op-challenger: Handle Reader reading data and returning EOF in the same call.
    
    This is an unusual but valid corner case of io.Reader. Special handling is required to ensure that the state commitment is captured both before and after the last, padding only block.
    
    * fixes
    
    ---------
    Co-authored-by: default avatarrefcell.eth <abigger87@gmail.com>
    c1641d0f
immediateeof_test.go 1.59 KB