refactor: rename WIT contract fai:platform->chain:platform
Some checks failed
CI / Linux x86_64 (Forgejo) (push) Failing after 2s

Tracks the platform's WIT ABI rename. The module world package is now
chain:platform@1.0.0; generated binding paths + accessor names follow.
Modules built with this SDK now import chain:platform/host. SDK crate
names stay fai-* (vendor namespace) for now.

Signed-off-by: flemming-it <sf@flemming.it>
This commit is contained in:
flemming-it 2026-06-15 22:17:28 +02:00
parent 5fe32eac8d
commit a5da67d0a3
4 changed files with 6 additions and 6 deletions

View file

@ -57,8 +57,8 @@ pub fn fai_module(_attrs: TokenStream, input: TokenStream) -> TokenStream {
runtime_path: "::fai_module_sdk::__rt::wit_bindgen::rt",
});
use exports::fai::platform::invoke::Guest;
use fai::platform::types::{
use exports::chain::platform::invoke::Guest;
use chain::platform::types::{
BytesValue as WitBytes,
FileRef as WitFileRef,
InvocationContext as WitContext,

View file

@ -19,7 +19,7 @@
//! # Stability
//!
//! This crate insulates modules from the underlying WIT contract
//! (`fai:platform`, frozen at v1.0). The WIT may evolve in additive
//! (`chain:platform`, frozen at v1.0). The WIT may evolve in additive
//! minor versions or, eventually, a coordinated v2.0; the SDK absorbs
//! that change so module code keeps compiling.