Skip to content
  • jserrat's avatar
    Use clone instead of fork on pvf (#2477) · 21ef949b
    jserrat authored
    @mrcnski
    
     Done the change on the prepare worker, once the prepare worker
    part is good I'll do the same for the execute worker.
    
    This is based on
    https://github.com/koute/polkavm/blob/11beebd06276ce9b84f335350138479e714f6caf/crates/polkavm/src/sandbox/linux.rs#L711.
    
    ## TODO
    
    - [x] Add a check for this capability at startup
    - [x] Add prdoc mentioning the new Secure Validator Mode (optional)
    requirement.
    
    ## Related
    
    Closes #2162
    
    ---------
    
    Co-authored-by: default avatarMarcin S <[email protected]>
    21ef949b