Skip to content

Commit

Permalink
Merge pull request #2398 from demergent-labs/update_global_dependencies
Browse files Browse the repository at this point in the history
update rust
  • Loading branch information
lastmjs authored Dec 31, 2024
2 parents 4d55241 + 4dd2055 commit c3f15d8
Show file tree
Hide file tree
Showing 49 changed files with 286 additions and 60 deletions.
213 changes: 212 additions & 1 deletion Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
[workspace]
resolver = "2"
members = [
"src/build/experimental/commands/compile/wasm_binary/rust/experimental_canister_template",
"src/build/experimental/commands/compile/wasm_binary/rust/open_value_sharing",
Expand Down
Binary file modified canister_templates/experimental.wasm
Binary file not shown.
Binary file modified canister_templates/stable.wasm
Binary file not shown.
2 changes: 1 addition & 1 deletion examples/experimental/demo/basic_bitcoin/test/tests.ts
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ export function getTests(
getAddress: AddressFunc,
addressForm: string
): Test {
const origin = `http://${canisterId}.localhost:8000`;
const origin = `http://${canisterId}.raw.localhost:8000`;
return () => {
beforeAll(async () => {
context = {
Expand Down
6 changes: 3 additions & 3 deletions examples/experimental/demo/hello_world_http_server/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ If you would like your canister to autoreload on file changes:
AZLE_AUTORELOAD=true dfx deploy
```

View your frontend in a web browser at `http://[canisterId].localhost:8000`.
View your frontend in a web browser at `http://[canisterId].raw.localhost:8000`.

To obtain your application's [canisterId]:

Expand All @@ -95,6 +95,6 @@ dfx canister id backend
Communicate with your canister using any HTTP client library, for example using `curl`:

```bash
curl http://[canisterId].localhost:8000/db
curl -X POST -H "Content-Type: application/json" -d "{ \"hello\": \"world\" }" http://[canisterId].localhost:8000/db/update
curl http://[canisterId].raw.localhost:8000/db
curl -X POST -H "Content-Type: application/json" -d "{ \"hello\": \"world\" }" http://[canisterId].raw.localhost:8000/db/update
```
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { expect, it, Test } from 'azle/test';

export function getTests(canisterId: string): Test {
const origin = `http://${canisterId}.localhost:8000`;
const origin = `http://${canisterId}.raw.localhost:8000`;

return () => {
it('gets a simple hello world database', async () => {
Expand Down
Loading

0 comments on commit c3f15d8

Please sign in to comment.