Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: add a pre-built WASM of the example custom_assets canister #34

Merged
merged 1 commit into from
Dec 16, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 15 additions & 0 deletions examples/http-gateway/canister/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
# An example canister

This is an example canister that serves various assets, demonstrating the usage
of the APIs from `ic-http-certification` and `ic-asset-certification` crates.
The canister is used for integration tests of `ic-http-gateway`-crate.
In addition to serving the assets it provides a mechanism for triggering
corrupted/malformed responses, which also are used in several tests.

`http_gateway_canister_custom_assets.wasm.gz` is is up-to-date WASM binary
of the canister, so that it can be used directly by external tests,
without re-building the canister.

To build the canister locally, run `dfx build http_gateway_canister_custom_assets`
in the main folder of the repo, and find the binary at
`.dfx/local/canisters/http_gateway_canister_custom_assets/http_gateway_canister_custom_assets.wasm.gz`
Binary file not shown.
Loading