Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/master' into candid-assist
Browse files Browse the repository at this point in the history
  • Loading branch information
chenyan-dfinity committed Jan 29, 2024
2 parents 8e8a14d + 377713b commit 0c3b1c1
Show file tree
Hide file tree
Showing 3 changed files with 112 additions and 99 deletions.
13 changes: 13 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@

# UNRELEASED

# 0.17.0

### fix!: always fetch did file from canister when making canister calls

`dfx canister call` will always fetch did file from the canister metadata. This is especially helpful for calling remote canisters. It's a breaking change in the sense that if the canister doesn't have the `candid:service` metadata, we will not read the local did file from build artifact, and dfx will issue a warning in this case to encourage canister developers to put the did file into canister metadata.
Expand All @@ -22,6 +24,17 @@ The following commands now work outside of a project:
- `dfx canister deposit-cycles <amount> <specific canister id>`
- `dfx canister uninstall-code <specific canister id>`

## Dependencies

### Replica

Updated replica to elected commit 044cfd5147fc97d7e5a214966941b6580c325d72.
This incorporates the following executed proposals:

- [127463](https://dashboard.internetcomputer.org/proposal/127463)
- [127461](https://dashboard.internetcomputer.org/proposal/127461)
- [127104](https://dashboard.internetcomputer.org/proposal/127104)

# 0.16.0

### feat: large canister modules now supported
Expand Down
118 changes: 59 additions & 59 deletions nix/sources.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,53 +2,53 @@
"canister_sandbox-x86_64-darwin": {
"builtin": false,
"description": "The canister_sandbox binary. It must be updated together with the replica binary.",
"rev": "324eb99eb7531369a5ef75560f1a1a652d123714",
"sha256": "1h6r06fkrmk6b4rfyg8dfgxfaw9bqrsvfzgaqc39myg47nswi9a0",
"rev": "044cfd5147fc97d7e5a214966941b6580c325d72",
"sha256": "1db7lxpyiwj76a583mir5cv5r5va0mc4llag5dsbbl069nscvxib",
"type": "file",
"url": "https://download.dfinity.systems/ic/324eb99eb7531369a5ef75560f1a1a652d123714/binaries/x86_64-darwin/canister_sandbox.gz",
"url": "https://download.dfinity.systems/ic/044cfd5147fc97d7e5a214966941b6580c325d72/binaries/x86_64-darwin/canister_sandbox.gz",
"url_template": "https://download.dfinity.systems/ic/<rev>/binaries/x86_64-darwin/canister_sandbox.gz"
},
"canister_sandbox-x86_64-linux": {
"builtin": false,
"description": "The canister_sandbox binary. It must be updated together with the replica binary.",
"rev": "324eb99eb7531369a5ef75560f1a1a652d123714",
"sha256": "17p1jq77kcqgc058kli6wsyiksyh66ghgv6k2hxvif3fmnpfnxz7",
"rev": "044cfd5147fc97d7e5a214966941b6580c325d72",
"sha256": "1yf4i5yrfn69nj4rcgsh3hxabl4imjs85jpchpaaqiammwbnwcjv",
"type": "file",
"url": "https://download.dfinity.systems/ic/324eb99eb7531369a5ef75560f1a1a652d123714/binaries/x86_64-linux/canister_sandbox.gz",
"url": "https://download.dfinity.systems/ic/044cfd5147fc97d7e5a214966941b6580c325d72/binaries/x86_64-linux/canister_sandbox.gz",
"url_template": "https://download.dfinity.systems/ic/<rev>/binaries/x86_64-linux/canister_sandbox.gz"
},
"ic-admin-x86_64-darwin": {
"builtin": false,
"description": "The ic-admin binary.",
"rev": "324eb99eb7531369a5ef75560f1a1a652d123714",
"sha256": "09p1l9jvb0f8whdv4dy3mbrl4nf695aps4l4i8dpvl9ia41s7hjm",
"rev": "044cfd5147fc97d7e5a214966941b6580c325d72",
"sha256": "0s9j80sp5ichdw0pihxy478wbp371nvs7ys73w2chb59xb96d4aa",
"type": "file",
"url": "https://download.dfinity.systems/ic/324eb99eb7531369a5ef75560f1a1a652d123714/binaries/x86_64-darwin/ic-admin.gz",
"url": "https://download.dfinity.systems/ic/044cfd5147fc97d7e5a214966941b6580c325d72/binaries/x86_64-darwin/ic-admin.gz",
"url_template": "https://download.dfinity.systems/ic/<rev>/binaries/x86_64-darwin/ic-admin.gz"
},
"ic-admin-x86_64-linux": {
"builtin": false,
"description": "The ic-admin binary.",
"rev": "324eb99eb7531369a5ef75560f1a1a652d123714",
"sha256": "0aprgricbmc8glagcfhsl3r33pg7fcyxyyw2kpjg42j2hzyb7hbp",
"rev": "044cfd5147fc97d7e5a214966941b6580c325d72",
"sha256": "1s84b8viv0qav8j8s40ng0zg6s8bb4740a5xqyamkwx997qp6iwb",
"type": "file",
"url": "https://download.dfinity.systems/ic/324eb99eb7531369a5ef75560f1a1a652d123714/binaries/x86_64-linux/ic-admin.gz",
"url": "https://download.dfinity.systems/ic/044cfd5147fc97d7e5a214966941b6580c325d72/binaries/x86_64-linux/ic-admin.gz",
"url_template": "https://download.dfinity.systems/ic/<rev>/binaries/x86_64-linux/ic-admin.gz"
},
"ic-btc-adapter-x86_64-darwin": {
"builtin": false,
"rev": "324eb99eb7531369a5ef75560f1a1a652d123714",
"sha256": "1wp1pk97a1d6fl1d0gblw0bzz80cjm1brkl50h42sp0cxzgzvz4c",
"rev": "044cfd5147fc97d7e5a214966941b6580c325d72",
"sha256": "0vkbhvbply643p1l51zxzq4ajbndpbpysrgg9rdb71mj3n4m3pib",
"type": "file",
"url": "https://download.dfinity.systems/ic/324eb99eb7531369a5ef75560f1a1a652d123714/binaries/x86_64-darwin/ic-btc-adapter.gz",
"url": "https://download.dfinity.systems/ic/044cfd5147fc97d7e5a214966941b6580c325d72/binaries/x86_64-darwin/ic-btc-adapter.gz",
"url_template": "https://download.dfinity.systems/ic/<rev>/binaries/x86_64-darwin/ic-btc-adapter.gz"
},
"ic-btc-adapter-x86_64-linux": {
"builtin": false,
"rev": "324eb99eb7531369a5ef75560f1a1a652d123714",
"sha256": "1h1vmnawi1rwwhjqdczci3hfbvpdy5rkf9h9qdznmh1s9sqlad19",
"rev": "044cfd5147fc97d7e5a214966941b6580c325d72",
"sha256": "0ms1l8yfdzzada9hq2qr8zn5mpkgcah7pc6brlsr8g438zr4q27v",
"type": "file",
"url": "https://download.dfinity.systems/ic/324eb99eb7531369a5ef75560f1a1a652d123714/binaries/x86_64-linux/ic-btc-adapter.gz",
"url": "https://download.dfinity.systems/ic/044cfd5147fc97d7e5a214966941b6580c325d72/binaries/x86_64-linux/ic-btc-adapter.gz",
"url_template": "https://download.dfinity.systems/ic/<rev>/binaries/x86_64-linux/ic-btc-adapter.gz"
},
"ic-btc-canister": {
Expand All @@ -61,68 +61,68 @@
},
"ic-https-outcalls-adapter-x86_64-darwin": {
"builtin": false,
"rev": "324eb99eb7531369a5ef75560f1a1a652d123714",
"sha256": "0l4xlqwsmgmh9yqkabq172m4i2q27ifbihmr9pxiqrfsz585qk79",
"rev": "044cfd5147fc97d7e5a214966941b6580c325d72",
"sha256": "0n54zfxs5dph8j5wgk7z878gkgsrga5pflrn35dnbrksakl7wbjj",
"type": "file",
"url": "https://download.dfinity.systems/ic/324eb99eb7531369a5ef75560f1a1a652d123714/binaries/x86_64-darwin/ic-https-outcalls-adapter.gz",
"url": "https://download.dfinity.systems/ic/044cfd5147fc97d7e5a214966941b6580c325d72/binaries/x86_64-darwin/ic-https-outcalls-adapter.gz",
"url_template": "https://download.dfinity.systems/ic/<rev>/binaries/x86_64-darwin/ic-https-outcalls-adapter.gz"
},
"ic-https-outcalls-adapter-x86_64-linux": {
"builtin": false,
"rev": "324eb99eb7531369a5ef75560f1a1a652d123714",
"sha256": "15zsn11ijamgz20s5ylla4bi6b5jrpjsy4a3f303xashykhm8p1v",
"rev": "044cfd5147fc97d7e5a214966941b6580c325d72",
"sha256": "0idvf9c6s4gw5fznh1gwd0fg5sqgxnszcrjf3ijrms8ryn018hv5",
"type": "file",
"url": "https://download.dfinity.systems/ic/324eb99eb7531369a5ef75560f1a1a652d123714/binaries/x86_64-linux/ic-https-outcalls-adapter.gz",
"url": "https://download.dfinity.systems/ic/044cfd5147fc97d7e5a214966941b6580c325d72/binaries/x86_64-linux/ic-https-outcalls-adapter.gz",
"url_template": "https://download.dfinity.systems/ic/<rev>/binaries/x86_64-linux/ic-https-outcalls-adapter.gz"
},
"ic-nns-init-x86_64-darwin": {
"builtin": false,
"description": "The ic-nns-init binary.",
"rev": "324eb99eb7531369a5ef75560f1a1a652d123714",
"sha256": "0d4m42g12bgsg9xpjv7p4apycdacc753pff7cq7fhyw989m5q136",
"rev": "044cfd5147fc97d7e5a214966941b6580c325d72",
"sha256": "05f494sfidv6cb0d311kwjicyf610ksxj157gazqcgdq6ry442kx",
"type": "file",
"url": "https://download.dfinity.systems/ic/324eb99eb7531369a5ef75560f1a1a652d123714/binaries/x86_64-darwin/ic-nns-init.gz",
"url": "https://download.dfinity.systems/ic/044cfd5147fc97d7e5a214966941b6580c325d72/binaries/x86_64-darwin/ic-nns-init.gz",
"url_template": "https://download.dfinity.systems/ic/<rev>/binaries/x86_64-darwin/ic-nns-init.gz"
},
"ic-nns-init-x86_64-linux": {
"builtin": false,
"description": "The ic-nns-init binary.",
"rev": "324eb99eb7531369a5ef75560f1a1a652d123714",
"sha256": "0vsw23bxzb7afha765353s97ai9h96gsxqk1s04x3b0ga88qhbq9",
"rev": "044cfd5147fc97d7e5a214966941b6580c325d72",
"sha256": "16gcbrsmzd13z4gnxfnc6jmwavc8y7vb7kvsr6kzflr1ig2nik6c",
"type": "file",
"url": "https://download.dfinity.systems/ic/324eb99eb7531369a5ef75560f1a1a652d123714/binaries/x86_64-linux/ic-nns-init.gz",
"url": "https://download.dfinity.systems/ic/044cfd5147fc97d7e5a214966941b6580c325d72/binaries/x86_64-linux/ic-nns-init.gz",
"url_template": "https://download.dfinity.systems/ic/<rev>/binaries/x86_64-linux/ic-nns-init.gz"
},
"ic-starter-x86_64-darwin": {
"builtin": false,
"rev": "324eb99eb7531369a5ef75560f1a1a652d123714",
"sha256": "0skkhacdl129vnyx6q0bjx8mgzkgiwrxsnkciyp6434v72sr2ky8",
"rev": "044cfd5147fc97d7e5a214966941b6580c325d72",
"sha256": "1sr78xkpgyaql302gqh9a0xd8kpf58zwrl4b8hr42hzhyxcxkif9",
"type": "file",
"url": "https://download.dfinity.systems/ic/324eb99eb7531369a5ef75560f1a1a652d123714/binaries/x86_64-darwin/ic-starter.gz",
"url": "https://download.dfinity.systems/ic/044cfd5147fc97d7e5a214966941b6580c325d72/binaries/x86_64-darwin/ic-starter.gz",
"url_template": "https://download.dfinity.systems/ic/<rev>/binaries/x86_64-darwin/ic-starter.gz"
},
"ic-starter-x86_64-linux": {
"builtin": false,
"rev": "324eb99eb7531369a5ef75560f1a1a652d123714",
"sha256": "11zxvvb6q86ssj130i0nacy39pzl3pm29zgv32hjkz2si41qg2p5",
"rev": "044cfd5147fc97d7e5a214966941b6580c325d72",
"sha256": "0884gx97whdvc7fj972a7rkhvzx7lccvlrf02piby3hm9cx617r4",
"type": "file",
"url": "https://download.dfinity.systems/ic/324eb99eb7531369a5ef75560f1a1a652d123714/binaries/x86_64-linux/ic-starter.gz",
"url": "https://download.dfinity.systems/ic/044cfd5147fc97d7e5a214966941b6580c325d72/binaries/x86_64-linux/ic-starter.gz",
"url_template": "https://download.dfinity.systems/ic/<rev>/binaries/x86_64-linux/ic-starter.gz"
},
"icx-proxy-x86_64-darwin": {
"builtin": false,
"rev": "324eb99eb7531369a5ef75560f1a1a652d123714",
"sha256": "187ww64jpjzmyp996b3zmm5j9liz2mwbf6vm561xnic1pg4px571",
"rev": "044cfd5147fc97d7e5a214966941b6580c325d72",
"sha256": "0x0b73khf9a7kjbilyp30hdhv1iyjxl1qzkdfgippn9wiszkzs6p",
"type": "file",
"url": "https://download.dfinity.systems/ic/324eb99eb7531369a5ef75560f1a1a652d123714/binaries/x86_64-darwin/icx-proxy-dev.gz",
"url": "https://download.dfinity.systems/ic/044cfd5147fc97d7e5a214966941b6580c325d72/binaries/x86_64-darwin/icx-proxy-dev.gz",
"url_template": "https://download.dfinity.systems/ic/<rev>/binaries/x86_64-darwin/icx-proxy-dev.gz"
},
"icx-proxy-x86_64-linux": {
"builtin": false,
"rev": "324eb99eb7531369a5ef75560f1a1a652d123714",
"sha256": "1sdpavhcnmnjf29r3k5afxjk6fvsv1sz830sbay5mx5b5q4x7wh3",
"rev": "044cfd5147fc97d7e5a214966941b6580c325d72",
"sha256": "1r73b5far02qwjy4dl7p7bxdgnawzmbv60r8g6280zfk2s52m0n2",
"type": "file",
"url": "https://download.dfinity.systems/ic/324eb99eb7531369a5ef75560f1a1a652d123714/binaries/x86_64-linux/icx-proxy-dev.gz",
"url": "https://download.dfinity.systems/ic/044cfd5147fc97d7e5a214966941b6580c325d72/binaries/x86_64-linux/icx-proxy-dev.gz",
"url_template": "https://download.dfinity.systems/ic/<rev>/binaries/x86_64-linux/icx-proxy-dev.gz"
},
"motoko-base": {
Expand Down Expand Up @@ -154,55 +154,55 @@
"replica-x86_64-darwin": {
"builtin": false,
"description": "The replica binary. It must be updated together with the canister_sandbox binary.",
"rev": "324eb99eb7531369a5ef75560f1a1a652d123714",
"sha256": "06y9kqikzkw3cxsp04vxhfymd5dicvfkrr59b5fjbj3bi40ivn5i",
"rev": "044cfd5147fc97d7e5a214966941b6580c325d72",
"sha256": "12xbk7m2r8rdyqn29xr6b21scj89jldq06phdjg21cq6ycn5vg69",
"type": "file",
"url": "https://download.dfinity.systems/ic/324eb99eb7531369a5ef75560f1a1a652d123714/binaries/x86_64-darwin/replica.gz",
"url": "https://download.dfinity.systems/ic/044cfd5147fc97d7e5a214966941b6580c325d72/binaries/x86_64-darwin/replica.gz",
"url_template": "https://download.dfinity.systems/ic/<rev>/binaries/x86_64-darwin/replica.gz"
},
"replica-x86_64-linux": {
"builtin": false,
"description": "The replica binary. It must be updated together with the canister_sandbox binary.",
"rev": "324eb99eb7531369a5ef75560f1a1a652d123714",
"sha256": "0af7mz8k86fxchybmfy43w2l1xw8dp1qnxl5dldwbhyrr1x1x48r",
"rev": "044cfd5147fc97d7e5a214966941b6580c325d72",
"sha256": "1gdwv0x017b3h7bqdm6zmradf3h41l52bfrwhmvxj8hkcj27qzgg",
"type": "file",
"url": "https://download.dfinity.systems/ic/324eb99eb7531369a5ef75560f1a1a652d123714/binaries/x86_64-linux/replica.gz",
"url": "https://download.dfinity.systems/ic/044cfd5147fc97d7e5a214966941b6580c325d72/binaries/x86_64-linux/replica.gz",
"url_template": "https://download.dfinity.systems/ic/<rev>/binaries/x86_64-linux/replica.gz"
},
"sandbox_launcher-x86_64-darwin": {
"builtin": false,
"description": "The sandbox_launcher binary. It must be updated together with the replica binary.",
"rev": "324eb99eb7531369a5ef75560f1a1a652d123714",
"rev": "044cfd5147fc97d7e5a214966941b6580c325d72",
"sha256": "1mnmm9kjljng8gj4g9wak9abm9iyzcf2z2awvlm2bkrnh936m401",
"type": "file",
"url": "https://download.dfinity.systems/ic/324eb99eb7531369a5ef75560f1a1a652d123714/binaries/x86_64-darwin/sandbox_launcher.gz",
"url": "https://download.dfinity.systems/ic/044cfd5147fc97d7e5a214966941b6580c325d72/binaries/x86_64-darwin/sandbox_launcher.gz",
"url_template": "https://download.dfinity.systems/ic/<rev>/binaries/x86_64-darwin/sandbox_launcher.gz"
},
"sandbox_launcher-x86_64-linux": {
"builtin": false,
"description": "The sandbox_launcher binary. It must be updated together with the replica binary.",
"rev": "324eb99eb7531369a5ef75560f1a1a652d123714",
"sha256": "07aiwbjgj08n1511c5mldwniipq7nf5dpl72g4f1908z23ndljwp",
"rev": "044cfd5147fc97d7e5a214966941b6580c325d72",
"sha256": "0iy123jfqdfzy72fzg3wr0ay5bsxaxi2k9npxbky0chbr3bwcwn8",
"type": "file",
"url": "https://download.dfinity.systems/ic/324eb99eb7531369a5ef75560f1a1a652d123714/binaries/x86_64-linux/sandbox_launcher.gz",
"url": "https://download.dfinity.systems/ic/044cfd5147fc97d7e5a214966941b6580c325d72/binaries/x86_64-linux/sandbox_launcher.gz",
"url_template": "https://download.dfinity.systems/ic/<rev>/binaries/x86_64-linux/sandbox_launcher.gz"
},
"sns-x86_64-darwin": {
"builtin": false,
"description": "The sns binary.",
"rev": "324eb99eb7531369a5ef75560f1a1a652d123714",
"sha256": "0l8812c1z4pkza8qn0vydrd6q4k2saahj0kg74725x158fndnc4i",
"rev": "044cfd5147fc97d7e5a214966941b6580c325d72",
"sha256": "1lyc65mkq47q4h8yp8sj20s6898kqqk2wb4m1wq1dqjki1dnaw67",
"type": "file",
"url": "https://download.dfinity.systems/ic/324eb99eb7531369a5ef75560f1a1a652d123714/binaries/x86_64-darwin/sns.gz",
"url": "https://download.dfinity.systems/ic/044cfd5147fc97d7e5a214966941b6580c325d72/binaries/x86_64-darwin/sns.gz",
"url_template": "https://download.dfinity.systems/ic/<rev>/binaries/x86_64-darwin/sns.gz"
},
"sns-x86_64-linux": {
"builtin": false,
"description": "The sns binary.",
"rev": "324eb99eb7531369a5ef75560f1a1a652d123714",
"sha256": "0r9npfkm9b3pg5388mxnj6aldvjpc6y2604gc7lahlyc25rqvl9y",
"rev": "044cfd5147fc97d7e5a214966941b6580c325d72",
"sha256": "1xlmaxww45cn1h11d9piar6hnnszrwspyla0a9npnmiqbx08dns7",
"type": "file",
"url": "https://download.dfinity.systems/ic/324eb99eb7531369a5ef75560f1a1a652d123714/binaries/x86_64-linux/sns.gz",
"url": "https://download.dfinity.systems/ic/044cfd5147fc97d7e5a214966941b6580c325d72/binaries/x86_64-linux/sns.gz",
"url_template": "https://download.dfinity.systems/ic/<rev>/binaries/x86_64-linux/sns.gz"
}
}
Loading

0 comments on commit 0c3b1c1

Please sign in to comment.