Skip to content

Commit e38018d

Browse files
authored
Merge pull request #3465 from demergent-labs/deterministic_binaries
`feat`: Wasm binary production is now deterministic
2 parents 59d0a23 + ef1872b commit e38018d

File tree

7 files changed

+34
-5
lines changed

7 files changed

+34
-5
lines changed

.github/actions/get_exclude_dirs/action.yml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -35,10 +35,7 @@ runs:
3535
') }}"
3636
3737
# These tests are unstable because of problems in external code. Consequently, failing tests are not helpful, so we're disabling them entirely for the time being.
38-
# multi_deploy will be fixed when https://github.com/demergent-labs/azle/issues/2145 is resolved
3938
EXTERNAL_EXCLUSIONS="${{ format('
40-
examples/stable/test/end_to_end/candid_rpc/multi_deploy
41-
examples/experimental/test/end_to_end/http_server/multi_deploy
4239
') }}"
4340
4441
# These tests are unstable and experimental. Since we aren't able to spend any time on them until 1.0 is released, we are disabling them entirely for the time being.

.github/pull_request_template.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
- [ ] Beautiful error handling (no unwraps, expects, etc)
1717
- [ ] Thoroughly tested
1818
- [ ] New documentation enumerated in [the release issue](https://github.com/demergent-labs/azle/issues/2053)
19-
- [ ] Review is requested when ready
19+
- [ ] AI review requested and addressed
2020

2121
## Reviewer
2222

.scripts/codex_setup.sh

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
#!/usr/bin/env bash
2+
3+
# This script is just for reference, I have essentially copied it into the OpenAI Codex
4+
# Azle environment Setup script
5+
6+
echo "Installing dfx $DFX_VERSION"
7+
8+
DFX_VERSION="$(jq -r '.azle.globalDependencies.dfx // empty' package.json)"
9+
./src/stable/build/commands/dev/setup/install_dfx.sh "$DFX_VERSION"
10+
export PATH="$HOME/.local/share/dfx/bin:$PATH"
11+
12+
echo "npm install and link at the root of the azle repo"
13+
14+
npm install
15+
npm link
16+
17+
echo "Setting up azle dev environment"
18+
19+
npx azle dev setup --rust --cargo-auditable --cargo-bundle-licenses --wasi2ic
20+
21+
echo "Starting dfx in the background"
22+
23+
dfx start --clean --background --artificial-delay 0
24+
25+
echo "Running one basic test"
26+
27+
cd examples/stable/test/end_to_end/candid_rpc/async_await
28+
npm install
29+
npm link azle
30+
AZLE_VERBOSE=true AZLE_DEV_TEMPLATE=true npm test
31+
32+
echo "Setup completed successfully"
File renamed without changes.
7.25 KB
Binary file not shown.
1.83 KB
Binary file not shown.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@
8787
},
8888
"azle": {
8989
"globalDependencies": {
90-
"dfx": "0.29.0",
90+
"dfx": "0.29.1",
9191
"node": "22.18.0",
9292
"rust": "1.89.0",
9393
"cargo-auditable": "0.7.0",

0 commit comments

Comments
 (0)