Skip to content

Commit 66dc976

Browse files
committed
Remove handler implementations
Handlers are now expected to be implemented separately (e.g., in binding repos) and pin to specific versions of this test repository
1 parent 6482638 commit 66dc976

File tree

22 files changed

+8
-1595
lines changed

22 files changed

+8
-1595
lines changed

.github/workflows/ci.yml

Lines changed: 0 additions & 71 deletions
This file was deleted.

.gitmodules

Lines changed: 0 additions & 4 deletions
This file was deleted.

Makefile

Lines changed: 0 additions & 37 deletions
This file was deleted.

README.md

Lines changed: 8 additions & 36 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Bitcoin Kernel Binding Conformance Tests
22

3-
This directory contains a language-agnostic conformance testing framework for Bitcoin Kernel bindings.
3+
This repository contains a language-agnostic conformance testing framework for Bitcoin Kernel bindings.
44

55
## ⚠️ Work in Progress
66

@@ -29,39 +29,11 @@ The framework ensures that all language bindings (Go, Python, Rust, etc.) behave
2929
└─────────┘
3030
```
3131

32-
1. [**Orchestrator**](./orchestrator): Spawns handler binary, sends test requests, validates responses
33-
2. **Handler Binary**: Implements protocol, calls binding API, returns results
34-
- [Go handler](./go-handler) for the [Go binding](https://github.com/stringintech/go-bitcoinkernel)
35-
- [Rust handler](./rust-handler) for the [Rust binding](https://github.com/TheCharlatan/rust-bitcoinkernel)
36-
3. [**Test Cases**](./testdata): JSON files defining requests and expected responses
32+
**This repository contains:**
33+
1. [**Orchestrator**](./orchestrator): Spawns handler binary, sends test requests via stdin, validates responses from stdout
34+
2. [**Test Cases**](./testdata): JSON files defining requests and expected responses
3735

38-
## Getting Started
39-
40-
### Cloning
41-
42-
Clone the repository with submodules:
43-
44-
```bash
45-
git clone --recurse-submodules https://github.com/stringintech/kernel-bindings-spec.git
46-
```
47-
**Note:** go-handler currently depends on go-bitcoinkernel via a submodule.
48-
49-
50-
### Building
51-
52-
Use the provided Makefile to build the project:
53-
54-
```bash
55-
# Build everything!
56-
make build
57-
```
58-
59-
### Running Tests
60-
61-
```bash
62-
# Run all conformance tests with both Go and Rust handlers
63-
make test
64-
65-
# Run a specific test file with both Go and Rust handlers
66-
make test-single TEST=testdata/chainstate_basic.json
67-
```
36+
**Handler binaries** are not hosted in this repository. They must be implemented separately and should:
37+
- Implement the JSON protocol for communication with the orchestrator
38+
- Call the binding API to execute operations
39+
- Pin to a specific version/tag of this test repository

go-handler/.gitignore

Lines changed: 0 additions & 1 deletion
This file was deleted.

go-handler/chainstate.go

Lines changed: 0 additions & 192 deletions
This file was deleted.

go-handler/go-bitcoinkernel

Lines changed: 0 additions & 1 deletion
This file was deleted.

go-handler/go.mod

Lines changed: 0 additions & 7 deletions
This file was deleted.

0 commit comments

Comments
 (0)