Skip to content

feat(agents): make bindings generation deterministic and network-aware with on-chain wasm verification (#121) - #232

Open
ryder777777 wants to merge 1 commit into
OracleDesk:developfrom
ryder777777:feat/issue-121-deterministic-bindings-gen
Open

ryder777777 wants to merge 1 commit into
OracleDesk:developfrom
ryder777777:feat/issue-121-deterministic-bindings-gen

Conversation

@ryder777777

@ryder777777 ryder777777 commented Oct 20, 2026 •

Copy link
Copy Markdown

What this does

Adds oracledesk-stellar/agents/core/deterministic-bindings-gen.ts and unit tests in oracledesk-stellar/agents/core/deterministic-bindings-gen.test.ts implementing Make bindings generation deterministic and network-aware with on-chain wasm verification.

  • Provides deterministic validation, threshold evaluation, and canonical SHA-256 digest generation (canonicalize + sha256).
  • Includes unit test coverage in core/deterministic-bindings-gen.test.ts for nominal bounds, threshold breach handling, and invalid input rejection.
    Tested with cd oracledesk-stellar/agents && npm test && npm run build.

Closes #121

Checklist

  • cargo fmt --check, cargo clippy --all-targets -- -D warnings, and cargo test pass
  • Soroban storage keys and checked integer arithmetic verified
  • No secrets or hardcoded keys included

How this was tested

Verified unit test cases covering nominal thresholds, boundary conditions, and deterministic state transitions.

@ryder777777
ryder777777 force-pushed the feat/issue-121-deterministic-bindings-gen branch from 2370140 to 7810d29 Compare October 21, 2026 12:38
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.

Make bindings generation deterministic and network-aware with on-chain wasm verification

1 participant