Open moul opened 1 week ago
Attention: Patch coverage is 10.00000%
with 54 lines
in your changes missing coverage. Please review.
Project coverage is 54.67%. Comparing base (
813cb0f
) to head (766a9b8
). Report is 1 commits behind head on master.
Files | Patch % | Lines |
---|---|---|
gnovm/cmd/gno/repl.go | 10.00% | 54 Missing :warning: |
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
Proof of Concept: REPL using
maketx run
(remote) instead ofgno.Machine
(local).This example demonstrates a POC where the REPL executes
maketx run
instead of running against an in-memory localgno.Machine
. While the implementation is quick and (very) dirty, it shows the potential to unify the REPL experience for local testing, remote querying, and remote transactions.To achieve this, the repl package should be refactored to handle the majority of the parsing and verification logic locally. By default, the REPL should use
maketx query q_eval
, and only fall back tomaketx run
when the transaction needs to update the remote state by paying gas fees.The REPL should download remote sources locally, implement auto-completion, and use readline.
Arc - 19 June 2024 - Watch Video