Migrate the contract suite to Odra 2.x (builds on the Casper 2.0 ABI; fixes the 1.x nightly/edition2024 toolchain deadlock) and deploy 9 contracts live to casper-test via the Odra livenet deployer: AgentRegistry · X402ReceiptRegistry · RWAEvidenceRegistry · RWAAssetRegistry ReputationEngine · AgentCreditPool · RiskPolicyManager · AgentPassport · DisputeCourt - contracts: odra "2", no_std headers, build.rs (odra-build), per-crate Odra.toml + build_contract/livenet bins; pinned nightly-2025-01-15 for reproducible wasm. - tooling: scaffold_livenet.py, deploy_all_testnet.sh, deploy_one.mjs. - deploys.testnet.json: live manifest; README: on-chain contract hashes. - Deployer key kept out of git (.secrets/ gitignored); wasm artifacts gitignored. Verified on-chain: AgentRegistry ContractPackage present in global state. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
9 lines
456 B
TOML
9 lines
456 B
TOML
[toolchain]
|
||
# Odra/casper-contract use `#![feature(...)]` (needs nightly) and `#[no_mangle]`
|
||
# on the panic lang item (rejected by nightlies ≳1.88). Modern transitive crypto
|
||
# deps (base64ct, zeroize…) need Cargo's edition2024 (stabilized in 1.85). The
|
||
# ~1.85–1.87 window satisfies BOTH, so pin a nightly there for reproducible wasm.
|
||
channel = "nightly-2025-01-15"
|
||
components = ["rustfmt", "clippy", "rust-src"]
|
||
targets = ["wasm32-unknown-unknown"]
|