Experimental payment channels: cooperative escrow prerequisites and fail-closed preflight - #227
Open
kimminhyun-ai wants to merge 26 commits into
Open
kimminhyun-ai wants to merge 26 commits into
kimminhyun-ai wants to merge 26 commits into
Conversation
…precision failure
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
M2 cooperative escrow prerequisites — not network-finalized settlement
Source:
86c4e844144ccdc798f10e32235d0e84eda82346, existingyear3/m2-state-channel-sdkbranch. This is an experimental source/evidenceprerelease, not npm or Docker-registry publication and not a public Ainize deployment.
Verified
eccrypto secp256k1 compatibility patches. Remove an obsolete WebSocket declaration
patch incompatible with the current require import. Preserve earlier build/test failures.
Final image build and 10 SDK +4 preflight tests pass.
disabled: 1 AIN escrow, 20 co-signed transfers of 3 micro-AIN, final allocation
499,940/500,060 micro-AIN. All 24 operations pass their expected outcome; 11 invalid
operations are rejected with the entire DB state proof restored. Final wallets
9.5/9.5 →9.99994/10.00006; raw floating-point ledger numbers are retained.
read-only root/tmpfs256MiB/non-root UID. No live chain volume or publisher key mounted.
native-chain files against ain-blockchain commit
5b0373e63c9d9daf4cdee8ecda23dbcbda93b997.Runtime: Node22.14.0, native chain1.6.0, SDK1.14.1 source build.
Failed live preflight — explicitly not passed
At12:41–12:45UTC, existing ten-node Docker containers still displayed
healthy,but completed native consensus reads reported health=false and finalized blocks
remained23086 (11:17:32UTC); some observations timed out. Existing node0 logs contain
state-proof mismatches and stale P2P messages. The cause is not asserted from those
symptoms. Existing containers also enable the development signature-verification bypass.
The guarded network escrow runner refuses this environment before key creation or
transaction signing/funding. All three attempted network runs have zero saved
private files and zero signed intents. Existing chain/model/trainer/API containers
are preserved. No timeout-triggered restart, replacement, volume deletion, or genesis reset.
The workspace compose healthcheck now checks native health as well as SERVING;
that configuration change was not silently deployed over live containers.
Still incomplete
Invalid value type 844:0in the pre-existing
yarn.lock, thenjest: not found. The lockfile is byte-identicalto base
eed7a51; it was not changed by this work. The local locked-npm Dockerbuild and 14 focused tests passed, but this is not a green GitHub CI or merged PR.
667.85 average /796 peak TPS; its checkpoints are not escrow payouts.
Original P2P bodies remain locally available; the separate prior release proves
empty-receiver0→2 restoration, not public delivery.
Failure logs, native execution receipts, limits, hashes and privacy checks accompany
the release. Private homes, keys,
.env, model weights and NPZ bodies are excluded.The workspace root has no Git repository: its updated documentation and Docker
configuration are supplied as release artifacts, not claimed as a root Git commit.