Skip to content

devcontainer: add gh CLI#29

Open
RaoulSchaffranek wants to merge 3 commits into
mainfrom
devex/add-gh-cli
Open

devcontainer: add gh CLI#29
RaoulSchaffranek wants to merge 3 commits into
mainfrom
devex/add-gh-cli

Conversation

@RaoulSchaffranek

Copy link
Copy Markdown
Member

Summary

  • Adds nixpkgs#gh to the Nix profile install step in .devcontainer/Dockerfile so the GitHub CLI is available out of the box in the devcontainer

Test plan

  • Rebuild the devcontainer and verify gh --version works

🤖 Generated with Claude Code

RaoulSchaffranek and others added 3 commits June 24, 2026 13:31
The traceTransaction RPC put the trace file's contents straight into the
result as a String, so the response body carried the trace as a single
JSON-encoded string instead of structured data. Clients had to re-parse
the JSONL string themselves.

Parse the JSONL trace file into a JSON array in #respondTrace, so the
result is an array with one object per executed instruction (empty when
the transaction ran no instructions; null still means no such trace).
The on-disk traces/trace_<hash>.jsonl format is unchanged.

Update the trace tests (empty trace is now [] rather than "") and the
README / server / node-semantics / architecture docs to match.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Trace coverage only ever asserted the empty-trace case ([]) and a weak
"len > 0 and every record has an instr key" check on a contract call.
Neither pinned the actual trace content or the record structure.

Add two stronger tests:
  - assert foo()'s full instruction trace record-for-record (the exact
    trace the README documents), which also guards the array-vs-string
    shape of the result;
  - invoke a function with arguments (test_integers) and assert every
    record is a {pos, instr, stack, locals} object, that stack/locals
    entries are [type, value] pairs, that the decoded arguments are bound
    as locals 0..3, that intermediate values reach the stack, and that
    the body returns Void.

Factor the create-account -> upload -> deploy -> invoke setup, previously
copy-pasted across the trace and args tests, into a _deploy_and_get_invoker
helper, and refactor test_call_tx_with_args onto it.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant