anton-rs / kona

A suite of `no_std` components for the OP Stack state transition function and L2 chain derivation.
https://anton-rs.github.io/kona
MIT License
135 stars 45 forks source link

feat(host): Execute `kona-client` in-process #815

Open clabby opened 2 days ago

clabby commented 2 days ago

Overview

Currently, the kona-host binary shells out to invoke the kona-client binary, rather than executing it in-process. This was done towards the beginning in order to test the kona-preimage API natively in a similar way that the FPVMs use, but there are a few problems:

Instead of doing this, we should change kona-host up so that kona-client runs natively within the process. This will remove the need for the NativeIO entirely in kona-common, and then we can split kona-common into client program utilities and FPVM-specific logic. This should remove the need to solve #553.