docs/ci: chain-*-sdk references (renamed SDK)
Some checks failed
CI / Linux x86_64 (Forgejo) (push) Failing after 1s
Some checks failed
CI / Linux x86_64 (Forgejo) (push) Failing after 1s
Signed-off-by: flemming-it <sf@flemming.it>
This commit is contained in:
parent
4efaac3e4e
commit
c0d49e2efe
3 changed files with 5 additions and 5 deletions
|
|
@ -30,7 +30,7 @@ jobs:
|
|||
git fetch --depth=1 origin "$GITHUB_SHA"
|
||||
git checkout -q FETCH_HEAD
|
||||
|
||||
# The fai-module-sdk dependency is a git dep against a repo
|
||||
# The chain-module-sdk dependency is a git dep against a repo
|
||||
# that lives in another Forgejo org. The repo-scoped
|
||||
# GITHUB_TOKEN cannot read it, and the Forgejo instance has
|
||||
# REQUIRE_SIGNIN_VIEW=true so anonymous read is also denied.
|
||||
|
|
|
|||
|
|
@ -56,7 +56,7 @@ jobs:
|
|||
git fetch --depth=1 origin "$GITHUB_SHA"
|
||||
git checkout -q FETCH_HEAD
|
||||
|
||||
# The fai-module-sdk dependency lives in another Forgejo org
|
||||
# The chain-module-sdk dependency lives in another Forgejo org
|
||||
# behind REQUIRE_SIGNIN_VIEW. MODULE_SDK_PAT (org-level
|
||||
# secret, read-only on fai/module-sdk) authenticates cargo's
|
||||
# git fetch via insteadOf.
|
||||
|
|
|
|||
|
|
@ -15,7 +15,7 @@ cargo test # host-side unit + integration tests
|
|||
fai test . # load the wasm component in the runtime sandbox
|
||||
```
|
||||
|
||||
## Authoring with fai-module-sdk
|
||||
## Authoring with chain-module-sdk
|
||||
|
||||
The module body is one decorated function:
|
||||
|
||||
|
|
@ -29,12 +29,12 @@ pub fn invoke(_ctx: Context, inputs: Inputs) -> Result<Outputs, ModuleError> {
|
|||
|
||||
The macro hides the wit_bindgen call, the Guest impl, the
|
||||
Payload variant matching, and the `wit_bindgen::export!`
|
||||
invocation. See `fai-module-sdk` documentation for the full
|
||||
invocation. See `chain-module-sdk` documentation for the full
|
||||
surface.
|
||||
|
||||
## SDK source
|
||||
|
||||
The Cargo.toml git-deps `fai-module-sdk` from
|
||||
The Cargo.toml git-deps `chain-module-sdk` from
|
||||
`https://git.flemming.ws/fai/module-sdk.git`. If your environment requires
|
||||
authentication for that host (e.g. Forgejo with
|
||||
`REQUIRE_SIGNIN_VIEW=true`), set up `git config insteadOf` with
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue