Skip to content

Commit

Permalink
chore: update replica version to 7147f471 (#4115)
Browse files Browse the repository at this point in the history
  • Loading branch information
dfinity-bot authored Feb 21, 2025
1 parent d9301ed commit fd3fc0c
Show file tree
Hide file tree
Showing 9 changed files with 134 additions and 123 deletions.
12 changes: 12 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,18 @@ Updated Motoko to [0.14.1](https://github.com/dfinity/motoko/releases/tag/0.14.1
- Module hash: 865eb25df5a6d857147e078bb33c727797957247f7af2635846d65c5397b36a6
- https://github.com/dfinity/sdk/pull/4095

### Replica

Updated replica to elected commit 7147f471c7ac27f518e6c0eeb2015952b5e93e1b.
This incorporates the following executed proposals:
- [135421](https://dashboard.internetcomputer.org/proposal/135421)
- [135302](https://dashboard.internetcomputer.org/proposal/135302)
- [135301](https://dashboard.internetcomputer.org/proposal/135301)
- [135204](https://dashboard.internetcomputer.org/proposal/135204)
- [135203](https://dashboard.internetcomputer.org/proposal/135203)
- [135052](https://dashboard.internetcomputer.org/proposal/135052)
- [135051](https://dashboard.internetcomputer.org/proposal/135051)

# 0.25.0

### fix: `dfx canister install` and `dfx deploy` with `--no-asset-upgrade` no longer hang indefinitely when wasm is not up to date
Expand Down
2 changes: 1 addition & 1 deletion Cargo.lock

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

2 changes: 1 addition & 1 deletion e2e/tests-dfx/identity.bash
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ teardown() {
# shellcheck disable=SC2154
assert_not_match '(default.*identity|identity.*default)' "$stderr"
# shellcheck disable=SC2154
assert_match "ic_api_version" "$stdout"
assert_match "root_key" "$stdout"
}

@test "dfx canister: creates the default identity on first run" {
Expand Down
14 changes: 7 additions & 7 deletions e2e/tests-dfx/ping.bash
Original file line number Diff line number Diff line change
Expand Up @@ -23,15 +23,15 @@ teardown() {
dfx_start
assert_command dfx ping

assert_match "\"ic_api_version\""
assert_match "\"root_key\""
}

@test "dfx ping succeeds by specific host:post" {
dfx_start
webserver_port=$(get_webserver_port)
assert_command dfx ping http://127.0.0.1:"$webserver_port"

assert_match "\"ic_api_version\""
assert_match "\"root_key\""
}

@test "dfx ping does not require dfx.json" {
Expand All @@ -43,15 +43,15 @@ teardown() {
cd "$E2E_TEMP_DIR/not-a-project"

assert_command dfx ping http://127.0.0.1:"$webserver_port"
assert_match "\"ic_api_version\""
assert_match "\"root_key\""
)
}

@test "dfx ping succeeds by network name" {
dfx_start
assert_command dfx ping local

assert_match "\"ic_api_version\""
assert_match "\"root_key\""
}

@test "dfx ping succeeds by network name if network bind address is host:port format" {
Expand All @@ -60,7 +60,7 @@ teardown() {
jq '.networks.nnn.bind="127.0.0.1:'"$webserver_port"'"' dfx.json | sponge dfx.json
assert_command dfx ping nnn

assert_match "\"ic_api_version\""
assert_match "\"root_key\""
}

@test "dfx ping succeeds by arbitrary network name to a nonstandard port" {
Expand All @@ -72,7 +72,7 @@ teardown() {
jq '.networks.arbitrary.providers=["http://127.0.0.1:12345"]' dfx.json | sponge dfx.json

assert_command dfx ping arbitrary
assert_match "\"ic_api_version\""
assert_match "\"root_key\""

assert_command_fail dfx ping
# this port won't match the ephemeral port that the replica picked
Expand All @@ -84,5 +84,5 @@ teardown() {
dfx_start
webserver_port=$(get_webserver_port)
assert_command dfx ping "http://127.0.0.1:$webserver_port"
assert_match "\"ic_api_version\""
assert_match "\"root_key\""
}
132 changes: 66 additions & 66 deletions nix/sources.json

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion scripts/test-uis.py
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@
Method: fetch_canister_logs (query)
"Status": "rejected"
"Code": "CanisterReject"
"Message": "IC0406: Caller 2vxsx-fae is not allowed to query ic00 method fetch_canister_logs"
"Message": "Caller 2vxsx-fae is not allowed to query ic00 method fetch_canister_logs"
""".strip(),
"/index.js",
)
Expand Down
1 change: 0 additions & 1 deletion scripts/workflows/provision-darwin.sh
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,6 @@ if [ "$E2E_TEST" = "tests-dfx/build_rust.bash" ] && command -v cargo-audit &>/de
cargo uninstall cargo-audit
fi
if [ "$E2E_TEST" = "tests-dfx/certificate.bash" ]; then
brew fetch --retry --cask mitmproxy
brew install --cask mitmproxy --no-quarantine
fi
if [ "$E2E_TEST" = "tests-dfx/deps.bash" ]; then
Expand Down
2 changes: 1 addition & 1 deletion src/dfx/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ os_str_bytes = { version = "6.3.0", features = ["conversions"] }
patch = "0.7.0"
pem.workspace = true
petgraph = "0.6.0"
pocket-ic = { git = "https://github.com/dfinity/ic", rev = "4ba583480e05a518aa2bcf36f5a0e48475e8edc2" }
pocket-ic = { git = "https://github.com/dfinity/ic", rev = "7147f471c7ac27f518e6c0eeb2015952b5e93e1b" }
rand = "0.8.5"
regex = "1.5.5"
reqwest = { workspace = true, features = ["blocking", "json"] }
Expand Down
90 changes: 45 additions & 45 deletions src/dfx/assets/dfx-asset-sources.toml
Original file line number Diff line number Diff line change
@@ -1,56 +1,56 @@
# generated by write-dfx-asset-sources.sh
replica-rev = '4ba583480e05a518aa2bcf36f5a0e48475e8edc2'
replica-rev = '7147f471c7ac27f518e6c0eeb2015952b5e93e1b'

[x86_64-darwin.ic-admin]
url = 'https://download.dfinity.systems/ic/4ba583480e05a518aa2bcf36f5a0e48475e8edc2/binaries/x86_64-darwin/ic-admin.gz'
sha256 = '32d98716662248ad09e27a6acfc0dffd00ac87d6a1d151053e8ae604b1579ff4'
url = 'https://download.dfinity.systems/ic/7147f471c7ac27f518e6c0eeb2015952b5e93e1b/binaries/x86_64-darwin/ic-admin.gz'
sha256 = '2e82d1306793de61d927dbc5b094cef89d1b65de619c5b2e39b6e82e1ecf5ed1'

[x86_64-darwin.ic-btc-adapter]
url = 'https://download.dfinity.systems/ic/4ba583480e05a518aa2bcf36f5a0e48475e8edc2/binaries/x86_64-darwin/ic-btc-adapter.gz'
sha256 = 'b4a534c626380febe1763ea4217e26316dc41e0fd5cc5eb02501ff7f5f6c2768'
url = 'https://download.dfinity.systems/ic/7147f471c7ac27f518e6c0eeb2015952b5e93e1b/binaries/x86_64-darwin/ic-btc-adapter.gz'
sha256 = 'ad55bffca616c7d96701b1c215b8cf18287ae5065ad84005b3b3fd73c607b4ff'

[x86_64-darwin.ic-https-outcalls-adapter]
url = 'https://download.dfinity.systems/ic/4ba583480e05a518aa2bcf36f5a0e48475e8edc2/binaries/x86_64-darwin/ic-https-outcalls-adapter.gz'
sha256 = 'c8bf918fe0a7aa1d47df5815e6043d97b9164560f6ca0852a143d3af13b69887'
url = 'https://download.dfinity.systems/ic/7147f471c7ac27f518e6c0eeb2015952b5e93e1b/binaries/x86_64-darwin/ic-https-outcalls-adapter.gz'
sha256 = '2dcafe54e9096695c8ad9582c0889e3f32b9556f1d801bf6bcc8b84e577df962'

[x86_64-darwin.ic-nns-init]
url = 'https://download.dfinity.systems/ic/4ba583480e05a518aa2bcf36f5a0e48475e8edc2/binaries/x86_64-darwin/ic-nns-init.gz'
sha256 = 'd6260bd34de5539babb81d5a08eb9a25bb33fe801d846aa41221ff352db1d69b'
url = 'https://download.dfinity.systems/ic/7147f471c7ac27f518e6c0eeb2015952b5e93e1b/binaries/x86_64-darwin/ic-nns-init.gz'
sha256 = '0ab4290c00c0abf5bf7c19e256ed2efa9ccdba5abb6eeb8bf1bddd25d5128ea2'

[x86_64-darwin.ic-starter]
url = 'https://download.dfinity.systems/ic/4ba583480e05a518aa2bcf36f5a0e48475e8edc2/binaries/x86_64-darwin/ic-starter.gz'
sha256 = '2ac9e1e0787a26b27a3db6dffe3a768bbe461ba51bdcba7631d7543802443447'
url = 'https://download.dfinity.systems/ic/7147f471c7ac27f518e6c0eeb2015952b5e93e1b/binaries/x86_64-darwin/ic-starter.gz'
sha256 = 'a8c8d064a66cd47720c33d26e77d5c12a02bfde9d865c8b8181b69a5886712a2'

[x86_64-darwin.motoko]
url = 'https://github.com/dfinity/motoko/releases/download/0.14.1/motoko-Darwin-x86_64-0.14.1.tar.gz'
sha256 = '7ba62502d12a9856c5bb445b36ae4d9325c9963646a52f6bc4cd5a328be81117'
# The replica, canister_sandbox and compiler_sandbox binaries must have the same revision.

[x86_64-darwin.replica]
url = 'https://download.dfinity.systems/ic/4ba583480e05a518aa2bcf36f5a0e48475e8edc2/binaries/x86_64-darwin/replica.gz'
sha256 = '3a4f1ab988c3ac7e46cee737e8d8afe6378dc05412148c3760ed476906767d0d'
url = 'https://download.dfinity.systems/ic/7147f471c7ac27f518e6c0eeb2015952b5e93e1b/binaries/x86_64-darwin/replica.gz'
sha256 = '685d70bff305b04c8df9d4c59e996f51a50491c270a79ad9e2832735f319aa0c'
# The replica, canister_sandbox and compiler_sandbox binaries must have the same revision.

[x86_64-darwin.canister_sandbox]
url = 'https://download.dfinity.systems/ic/4ba583480e05a518aa2bcf36f5a0e48475e8edc2/binaries/x86_64-darwin/canister_sandbox.gz'
sha256 = '6fe61a0abf76dad4626d8fd68a6e15cabcd3f2f700cbc22d6d3d72eff100758d'
url = 'https://download.dfinity.systems/ic/7147f471c7ac27f518e6c0eeb2015952b5e93e1b/binaries/x86_64-darwin/canister_sandbox.gz'
sha256 = 'feacb932ac63d27a98116aac2e3656fd936640169baddc542073bf783544686e'
# The replica, canister_sandbox and compiler_sandbox binaries must have the same revision.

[x86_64-darwin.compiler_sandbox]
url = 'https://download.dfinity.systems/ic/4ba583480e05a518aa2bcf36f5a0e48475e8edc2/binaries/x86_64-darwin/compiler_sandbox.gz'
sha256 = 'd1e3ab49f77c6dd18071eef8040152ebf861f940bc08ea18e91bf308be5c70cb'
url = 'https://download.dfinity.systems/ic/7147f471c7ac27f518e6c0eeb2015952b5e93e1b/binaries/x86_64-darwin/compiler_sandbox.gz'
sha256 = '412de50ccb95e01423308aedfc0fa599b09871f30e96732942f07f7a0f9ea55d'

[x86_64-darwin.sandbox_launcher]
url = 'https://download.dfinity.systems/ic/4ba583480e05a518aa2bcf36f5a0e48475e8edc2/binaries/x86_64-darwin/sandbox_launcher.gz'
sha256 = '200c9b2c654ba830ebb8b72ee23dd9520a439526af46a40811d56343db54331d'
url = 'https://download.dfinity.systems/ic/7147f471c7ac27f518e6c0eeb2015952b5e93e1b/binaries/x86_64-darwin/sandbox_launcher.gz'
sha256 = 'cb19f1983904283ced1f6bfa313e9c1e37e99d8de4956ef51d5be00ed1433945'

[x86_64-darwin.sns]
url = 'https://download.dfinity.systems/ic/4ba583480e05a518aa2bcf36f5a0e48475e8edc2/binaries/x86_64-darwin/sns.gz'
sha256 = 'fbe4739d9a63a0546f243e58b7773f73553661b726f6d6b9b46d0a0671108932'
url = 'https://download.dfinity.systems/ic/7147f471c7ac27f518e6c0eeb2015952b5e93e1b/binaries/x86_64-darwin/sns.gz'
sha256 = 'bee3444314beb8cdeb2c786910067bca757cd37c266d596a9be3463141110067'

[x86_64-darwin.pocket-ic]
url = 'https://download.dfinity.systems/ic/4ba583480e05a518aa2bcf36f5a0e48475e8edc2/binaries/x86_64-darwin/pocket-ic.gz'
sha256 = '9c3ff2517ea94f689ea6ff80e649c0d3167edc53b43ea7d1b89751b22fa883fa'
url = 'https://download.dfinity.systems/ic/7147f471c7ac27f518e6c0eeb2015952b5e93e1b/binaries/x86_64-darwin/pocket-ic.gz'
sha256 = 'dba82e8d9536fa42dc415f9ee0ef72883a8cf08c076eecfe82a8f4e749dc590e'

[x86_64-darwin.motoko-base]
url = 'https://github.com/dfinity/motoko/releases/download/0.14.1/motoko-base-library.tar.gz'
Expand All @@ -61,55 +61,55 @@ url = 'https://github.com/dfinity/bitcoin-canister/releases/download/release%2F2
sha256 = '09f5647a45ff6d5d05b2b0ed48613fb2365b5fe6573ba0e901509c39fb9564ac'

[x86_64-linux.ic-admin]
url = 'https://download.dfinity.systems/ic/4ba583480e05a518aa2bcf36f5a0e48475e8edc2/binaries/x86_64-linux/ic-admin.gz'
sha256 = 'b9049de9ecec7b0314325de12da625e79ccfa40561c6ca4a17f685cfd881d583'
url = 'https://download.dfinity.systems/ic/7147f471c7ac27f518e6c0eeb2015952b5e93e1b/binaries/x86_64-linux/ic-admin.gz'
sha256 = '25456f2db4c2887fc106f2d5064db6ecbe1a24c107a7c626c48a2ade2a7f5729'

[x86_64-linux.ic-btc-adapter]
url = 'https://download.dfinity.systems/ic/4ba583480e05a518aa2bcf36f5a0e48475e8edc2/binaries/x86_64-linux/ic-btc-adapter.gz'
sha256 = 'f1c63fcfb48c1fd2635a038269ed44d4bf284ca69cd5036cd329bf13eedda8a9'
url = 'https://download.dfinity.systems/ic/7147f471c7ac27f518e6c0eeb2015952b5e93e1b/binaries/x86_64-linux/ic-btc-adapter.gz'
sha256 = '46629c110c45d2af9f25a79da7ca94d995a7192a2ca7a88257effbe5f55a1ccc'

[x86_64-linux.ic-https-outcalls-adapter]
url = 'https://download.dfinity.systems/ic/4ba583480e05a518aa2bcf36f5a0e48475e8edc2/binaries/x86_64-linux/ic-https-outcalls-adapter.gz'
sha256 = '9e9a2bf538134b443ff99598b4559c05ebb746654c8481da7b0021bb68345fb4'
url = 'https://download.dfinity.systems/ic/7147f471c7ac27f518e6c0eeb2015952b5e93e1b/binaries/x86_64-linux/ic-https-outcalls-adapter.gz'
sha256 = '4721788fa380dcc04e729937209e29dbc6f84634863b070eb6eb0e21e631f229'

[x86_64-linux.ic-nns-init]
url = 'https://download.dfinity.systems/ic/4ba583480e05a518aa2bcf36f5a0e48475e8edc2/binaries/x86_64-linux/ic-nns-init.gz'
sha256 = '0b167b8cbb19fba4ff22bc752eb59f75f52fdc2b743309a8622bcbd984b5450f'
url = 'https://download.dfinity.systems/ic/7147f471c7ac27f518e6c0eeb2015952b5e93e1b/binaries/x86_64-linux/ic-nns-init.gz'
sha256 = '0aec808d283bd50d74c8e586200527faa291a3d56171378a3cadce753f8ac54f'

[x86_64-linux.ic-starter]
url = 'https://download.dfinity.systems/ic/4ba583480e05a518aa2bcf36f5a0e48475e8edc2/binaries/x86_64-linux/ic-starter.gz'
sha256 = 'ed02bfbea4a5ebdd466a8595aecd31bf4d9d40d36fb9d12b0a5a141ce71d6b5b'
url = 'https://download.dfinity.systems/ic/7147f471c7ac27f518e6c0eeb2015952b5e93e1b/binaries/x86_64-linux/ic-starter.gz'
sha256 = '578c9e6b87272f22a5a6063a27d7a4339c03f1d67f2d335af3c4d242e4a232aa'

[x86_64-linux.motoko]
url = 'https://github.com/dfinity/motoko/releases/download/0.14.1/motoko-Linux-x86_64-0.14.1.tar.gz'
sha256 = '62a11fe5bf08abdb644bd9aca65107657ef9f936f9d8a9ab433834f8617a9573'
# The replica, canister_sandbox and compiler_sandbox binaries must have the same revision.

[x86_64-linux.replica]
url = 'https://download.dfinity.systems/ic/4ba583480e05a518aa2bcf36f5a0e48475e8edc2/binaries/x86_64-linux/replica.gz'
sha256 = '4ffed48f85eb038e1ec9e659b2d18dfde0cac59eaa499f1a42276629f23fc357'
url = 'https://download.dfinity.systems/ic/7147f471c7ac27f518e6c0eeb2015952b5e93e1b/binaries/x86_64-linux/replica.gz'
sha256 = '129723bb057075b02418739381206d44764ff4ae0a30b179ee8fe29e687909d2'
# The replica, canister_sandbox and compiler_sandbox binaries must have the same revision.

[x86_64-linux.canister_sandbox]
url = 'https://download.dfinity.systems/ic/4ba583480e05a518aa2bcf36f5a0e48475e8edc2/binaries/x86_64-linux/canister_sandbox.gz'
sha256 = 'ced521090af2063bd8a96dc2289bd535ad497444eb7bc22d62149e4d3bc4ea86'
url = 'https://download.dfinity.systems/ic/7147f471c7ac27f518e6c0eeb2015952b5e93e1b/binaries/x86_64-linux/canister_sandbox.gz'
sha256 = '877ebaee0eeb8bb9be3522ccbd2de6e347c0e8b0bf9615baea23bd71af5d8131'
# The replica, canister_sandbox and compiler_sandbox binaries must have the same revision.

[x86_64-linux.compiler_sandbox]
url = 'https://download.dfinity.systems/ic/4ba583480e05a518aa2bcf36f5a0e48475e8edc2/binaries/x86_64-linux/compiler_sandbox.gz'
sha256 = 'c476c6313ea57c5995f38c5cff765c8d648be9f933016898c9d98955acf8072e'
url = 'https://download.dfinity.systems/ic/7147f471c7ac27f518e6c0eeb2015952b5e93e1b/binaries/x86_64-linux/compiler_sandbox.gz'
sha256 = '1927b20e76b9e4a6aa81fcfdfabac5fd2ba148152e2422f3d1be0fb56808c729'

[x86_64-linux.sandbox_launcher]
url = 'https://download.dfinity.systems/ic/4ba583480e05a518aa2bcf36f5a0e48475e8edc2/binaries/x86_64-linux/sandbox_launcher.gz'
sha256 = 'd0bb51d072905a7f55718d6b66195b2dae14fe865266601fe8f5892347049ad2'
url = 'https://download.dfinity.systems/ic/7147f471c7ac27f518e6c0eeb2015952b5e93e1b/binaries/x86_64-linux/sandbox_launcher.gz'
sha256 = '7931032df4a26e5b34c48d6bdf749f328c1ee86ec9e2381ac82041020ade0192'

[x86_64-linux.sns]
url = 'https://download.dfinity.systems/ic/4ba583480e05a518aa2bcf36f5a0e48475e8edc2/binaries/x86_64-linux/sns.gz'
sha256 = 'a2c985c7c5b6558f60adc1d7bd5a9fa23a9a700f65cc5e17ca511697bebd21bc'
url = 'https://download.dfinity.systems/ic/7147f471c7ac27f518e6c0eeb2015952b5e93e1b/binaries/x86_64-linux/sns.gz'
sha256 = 'c9c2e5d31edb47bafd69dba49bf94eabb7ce170e953c45b54b3a33dbd77181ac'

[x86_64-linux.pocket-ic]
url = 'https://download.dfinity.systems/ic/4ba583480e05a518aa2bcf36f5a0e48475e8edc2/binaries/x86_64-linux/pocket-ic.gz'
sha256 = '598972e12ccf6d9dfbf90ece04ba26e74f4a9a10c96212a10f346fb23fc58ccb'
url = 'https://download.dfinity.systems/ic/7147f471c7ac27f518e6c0eeb2015952b5e93e1b/binaries/x86_64-linux/pocket-ic.gz'
sha256 = '3a8f7b0c1b468c80d1445231f548eca54a0dcea9839419fbf0f27a6fc29182a7'

[x86_64-linux.motoko-base]
url = 'https://github.com/dfinity/motoko/releases/download/0.14.1/motoko-base-library.tar.gz'
Expand Down

0 comments on commit fd3fc0c

Please sign in to comment.