* feat(bnb): read-only on-chain proof verification Close the BNB SDK lane's gap: proof artifacts were self-attested (hashes recomputable) but nothing confirmed the chain. Add a new read-only BSC JSON-RPC verifier and surface it everywhere proof is shown. - crates/chain-verifier: eth_chainId, eth_getCode, eth_getTransactionReceipt. ABI-free, no keys/signing, offline-safe (skipped when BSC_RPC_URL unset). 11 unit tests. - /proof/verify: append onchain_* checks + onchain_configured; passed now means "no check failed" so skipped does not block. - dashboard /proof: dedicated On-chain Verification section, skipped handling. - clients/proof-verifier/verify.py: --rpc / BSC_RPC_URL opt-in, stdlib urllib, mirrors the Rust checks; offline default unchanged. - docs: BNB_AGENT_IDENTITY, proof-verifier README, PRIZE_MAP, WHATS_NEW. Verified against live BSC mainnet: competition contract 0x212c61…aed5 returns ~2.5 KB of deployed bytecode via eth_getCode (chain id 56). Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com> * fix(ci): green rust clippy + cargo-deny (pre-existing failures) These failures predate the on-chain-verification feature and block the merge; fixing them here unblocks it and moves the repo toward green. - clippy (CI clippy 1.96 is stricter than local 0.1.94): convert three unnecessary_sort_by key-extraction sorts to sort_by_key in guardrail-cli (identity.rs, market.rs, portfolio.rs). Decimal keys are Copy+Ord. - cargo-deny: add a [licenses] allow-list (was empty, so every crate — including this MIT workspace — was rejected). Standard permissive set. Not fixed here: the docker dashboard image build (pnpm v10 frozen-lockfile + sharp build-script) — unrelated infra, non-required check; the dashboard deploys to Vercel separately. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com> * fix(ci): allow CDLA-Permissive-2.0 license (webpki-roots) Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com> --------- Co-authored-by: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
23 lines
452 B
TOML
23 lines
452 B
TOML
[advisories]
|
|
ignore = []
|
|
|
|
[licenses]
|
|
# Permissive licenses used across the dependency tree (and this workspace's own
|
|
# MIT license). Without an explicit allow-list, cargo-deny rejects every crate.
|
|
allow = [
|
|
"MIT",
|
|
"Apache-2.0",
|
|
"Apache-2.0 WITH LLVM-exception",
|
|
"BSD-2-Clause",
|
|
"BSD-3-Clause",
|
|
"ISC",
|
|
"Unicode-3.0",
|
|
"Unicode-DFS-2016",
|
|
"CDLA-Permissive-2.0",
|
|
"Zlib",
|
|
"MPL-2.0",
|
|
"CC0-1.0",
|
|
"0BSD",
|
|
]
|
|
confidence-threshold = 0.8
|