Skip to content
This repository was archived by the owner on May 23, 2022. It is now read-only.

Staging #210

Open
wants to merge 67 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
67 commits
Select commit Hold shift + click to select a range
7a63618
add netlify.toml
lsgunnlsgunn Jun 23, 2020
bca1a95
Merge branch 'master' into staging
lsgunnlsgunn Jun 23, 2020
a247499
remove netlify.toml from the docs repo
lsgunnlsgunn Jun 23, 2020
8297650
Merge branch 'master' into staging
lsgunnlsgunn Jun 29, 2020
7389f42
Merge branch 'master' into staging
lsgunnlsgunn Jun 29, 2020
156f763
Merge branch 'master' into staging
lsgunnlsgunn Jun 30, 2020
06e538f
Merge branch 'master' into staging
lsgunnlsgunn Jun 30, 2020
9d6e541
Merge branch 'master' into staging
lsgunnlsgunn Jul 21, 2020
3c2666d
Merge branch 'master' into staging
lsgunnlsgunn Jul 21, 2020
ede154d
Add other languages draft
lsgunnlsgunn Jul 21, 2020
f8cca80
Merge from master
lsgunnlsgunn Jul 30, 2020
cb2b104
Merge branch 'master' into staging
lsgunnlsgunn Aug 4, 2020
18bb11c
Merge branch 'master' into staging
lsgunnlsgunn Aug 5, 2020
686d8c2
Merge branch 'master' into staging
lsgunnlsgunn Aug 5, 2020
a330d59
Merge branch 'master' into staging
lsgunnlsgunn Aug 12, 2020
7147fd5
Merge branch 'master' into staging
lsgunnlsgunn Aug 12, 2020
201b846
Merge branch 'master' into staging
lsgunnlsgunn Sep 4, 2020
98656ab
DRAFT multiple identities tutorial section and code sample
lsgunnlsgunn Sep 9, 2020
acd7067
Add identities overview
lsgunnlsgunn Sep 9, 2020
42a75aa
Add identities to nav
lsgunnlsgunn Sep 9, 2020
44908c3
Added dfx build and dfx identity feature highlights
lsgunnlsgunn Sep 10, 2020
be20e0a
merge master updates into staging
lsgunnlsgunn Sep 10, 2020
9c2fe71
Merge branch 'LG/release-notes-0.6.7' into staging
lsgunnlsgunn Sep 10, 2020
36e7205
Add candid-related changes to release notes
lsgunnlsgunn Sep 10, 2020
0687e78
Change candid to Candid
lsgunnlsgunn Sep 10, 2020
433251d
Merge branch 'LG/release-notes-0.6.7' into staging
lsgunnlsgunn Sep 10, 2020
25b17f1
Apply suggestions from code review
lsgunnlsgunn Sep 10, 2020
103665e
Merge branch 'LG/release-notes-0.6.7' into staging
lsgunnlsgunn Sep 10, 2020
df0a5f6
Asciidoc formatting
lsgunnlsgunn Sep 10, 2020
4e2a243
add some Motoko highlights to the mix
lsgunnlsgunn Sep 10, 2020
527fa2d
Merge branch 'LG/multiple-identities' into staging
lsgunnlsgunn Sep 10, 2020
6786eda
merge identities
lsgunnlsgunn Sep 10, 2020
9b7c8cd
Merge branch 'LG/release-notes-0.6.7' into staging
lsgunnlsgunn Sep 10, 2020
64e8a28
Mix of 0.6.7 and 0.6.8
lsgunnlsgunn Sep 18, 2020
2cac3c0
Merge branch 'master' into staging
lsgunnlsgunn Sep 22, 2020
0a0d184
Merge cohanges
lsgunnlsgunn Sep 29, 2020
a3b2b34
Remove release from motoko update
lsgunnlsgunn Sep 29, 2020
a60db99
Merge branch 'master' into staging
lsgunnlsgunn Oct 5, 2020
a462bb2
Merge branch 'master' into staging
lsgunnlsgunn Oct 8, 2020
3fc4e29
Merge branch 'master' into staging
lsgunnlsgunn Oct 15, 2020
a840f5a
Fix merge issue
lsgunnlsgunn Oct 15, 2020
1d3dcf4
Merge branch 'master' into staging
lsgunnlsgunn Dec 17, 2020
c071768
Merge branch 'master' into staging
lsgunnlsgunn Jan 28, 2021
7a7108f
Merge branch 'master' into staging
lsgunnlsgunn Feb 2, 2021
868aff3
Merge branch 'master' into staging
lsgunnlsgunn Feb 2, 2021
985ee4d
Merge branch 'master' into staging
lsgunnlsgunn Feb 22, 2021
9659416
Update nav in staging
lsgunnlsgunn Feb 22, 2021
667aea8
Merge branch 'master' into staging
lsgunnlsgunn Mar 3, 2021
6fb3899
Add separate nav to antora.yml
lsgunnlsgunn Mar 3, 2021
514cd15
Hide Interface spec in master navigation
lsgunnlsgunn Mar 3, 2021
f5aaeb1
Remove interface spec from nav
lsgunnlsgunn Mar 3, 2021
3fdefe0
TEST
lsgunnlsgunn Mar 4, 2021
cee25d3
TEST
lsgunnlsgunn Mar 4, 2021
1960ebe
TEST
lsgunnlsgunn Mar 4, 2021
bcc1c2d
Update deploy output, screenshots, remove windows alert window refere…
lsgunnlsgunn Mar 25, 2021
5d369d4
Hide vscode plugin section
lsgunnlsgunn Mar 25, 2021
b37ada7
Update command output, screenshots, remove alret window references
lsgunnlsgunn Mar 25, 2021
71603d3
Merge branch 'LG/0.7.0-local-quick-start' into staging
lsgunnlsgunn Apr 6, 2021
f4e95f5
Merge branch 'LG/0.7.0-network-quickstart' into staging
lsgunnlsgunn Apr 6, 2021
0f61725
WIP frontend
lsgunnlsgunn Apr 9, 2021
3dd227e
WIP
lsgunnlsgunn Apr 12, 2021
a086412
Update for the latest 0.7.0-beta
lsgunnlsgunn Apr 12, 2021
5cef26b
Update gustom greeting tutorial
lsgunnlsgunn Apr 12, 2021
bc9d9da
Update add a style sheet for 0.7.0
lsgunnlsgunn Apr 12, 2021
f247a6c
Merge branch 'master' into staging
lsgunnlsgunn Apr 12, 2021
f3ee524
Merge branch 'LG/0.7.0-custom-greeting' into staging
lsgunnlsgunn Apr 12, 2021
bdbdc99
Merge branch 'LG/0.7.0-add-stylesheet' into staging
lsgunnlsgunn Apr 12, 2021
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
1 change: 1 addition & 0 deletions ic-spec/assets/images/simplified-canister-workflow.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
31 changes: 31 additions & 0 deletions ic-spec/examples/certificates.cddl
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
certificate = tagged<{
tree : hash-tree
signature : signature
? delegation : delegation
}>

hash-tree =
tree-empty /
tree-fork /
tree-labeled /
tree-leaf /
tree-pruned

; Trees are represented as CBOR arrays instead of records with textual field
; labels, for conciseness
tree-empty = [ 0 ]
tree-fork = [ 1 hash-tree hash-tree ]
tree-labeled = [ 2 bytes hash-tree ]
tree-leaf = [ 3 bytes ]
tree-pruned = [ 4 hash ]

delegation = {
subnet_id : bytes
certificate: bytes
}

tagged<t> = #6.55799(t) ; the CBOR tag

hash = bytes
pubkey = bytes
signature = bytes
241 changes: 241 additions & 0 deletions ic-spec/examples/changelog.adoc
Original file line number Diff line number Diff line change
@@ -0,0 +1,241 @@
[#changelog]
== Changelog

[#unreleased]
=== ∞ (unreleased)

* Spec: The cleanup callback is introduced
* Spec: Ingress rate limiting
* Spec: Add ECDSA signatures on curve secp256k1

[#0_15_1]
=== 0.15.1 (2021-02-09)

* The document is renamed to “Internet Computer Interface Spec”

[#0_15_0]
=== 0.15.0 (2020-12-17)

* Spec: Support for raw Ed25519 keys is removed

[#0_14_1]
=== 0.14.1 (2020-12-08)

* Spec: The default `memory_allocation` becomes unspecified

[#0_14_0]
=== 0.14.0 (2020-11-18)

* Support for funds is scaled back to only support cycles
* The `ic0.msg_cycles_accept` system call now returns the actually accepted
cycles
* The `provisional_` management calls are introduced

[#0_13_2]
=== 0.13.2 (2020-11-12)

* Spec: The `ic0.canister_status` system call

[#0_13_1]
=== 0.13.1 (2020-11-06)

* Spec: Delegation between user public keys

[#0_13_0]
=== 0.13.0 (2020-10-19)

* Spec: Certification (also removes “request-status” request)

[#0_12_2]
=== 0.12.2 (2020-10-23)

* Spec: User authentication method based on WebAuthn is introduced
* Spec: User authentication can use ECDSA
* Spec: Public keys are DER-encoded

[#0_12_1]
=== 0.12.1 (2020-10-16)

* Spec: Return more information in the `canister_status` management call

[#0_12_0]
=== 0.12.0 (2020-10-13)

* Spec: Anonymous requests must have the sender field set

[#0_11_1]
=== 0.11.1 (2020-10-01)

* Spec: The `deposit_funds` call
* ic-ref(-test): Implement and test the above changes

[#0_11_0]
=== 0.11.0 (2020-09-23)

* Spec: Inter-canister calls are now performed using a builder-like API
* Spec: Support for funds (balances and transfers)

[#v0_10_3]
=== 0.10.3 (2020-09-21)

* Spec: The anonymous user is introduced

[#v0_10_2]
=== 0.10.2 (2020-09-08)

* ic-ref(-test): Bugfix: A query response should _not_ include a `time` field

[#v0_10_1]
=== 0.10.1 (2020-09-01)

* Forward-port changes from 0.9.3

[#v0_10_0]
=== 0.10.0 (2020-08-06)

* Spec: Users can set/update a memory allocation when installing/upgrading a canister.
* Spec: The `expiry` field is added to requests
* ic-ref(-test): Implement and test the above changes, as far as possible

[#v0_9_3]
=== 0.9.3 (2020-09-01)

* Spec: The management canister supports the `raw_rand` method
* ic-ref(-test): Implement and test the above changes

[#v0_9_2]
=== 0.9.2 (2020-08-05)

* Spec: Canister controllers can stop/start canisters and can query their status.
* Spec: Canister controllers can delete canisters
* ic-ref(-test): Implement and test the above changes
* ic-ref: refactorings

[#v0_9_1]
=== 0.9.1 (2020-07-20)

* Forward-port changes from 0.8.2

[#v0_9_0]
=== 0.9.0 (2020-07-15)

* Spec: Introduction of a domain separator (again)
* Spec: The calculation of “derived ids” has changed
* Spec: The self-authenticating and derived id forms use a truncated hash
* Spec: The textual representation of principals has changed
* ic-ref(-test): Implement the above changes
* ic-ref-test: Also send read requests with nonces

[#v0_8_2]
=== 0.8.2 (2020-07-17)

* ic-ref-test: Also send read requests with nonces
* Spec: Installing code via `reinstall` works also on the empty canister
* ic-ref(-test): Implement and test the above changes

[#v0_8_1]
=== 0.8.1 (2020-07-10)

* Reflect refined process in README and intro.
* Spec: `ic0.time` added
* ic-ref(-test): Implement and test `ic0.time`

[#v0_8_0]
=== 0.8.0 (2020-06-23)

* Spec: Revert the introduction of a domain separator
* ic-ref(-test): Implement and test the above changes

[#v0_6_2]
=== 0.6.2 (2020-06-23)

* Spec: Fix meaning-changing typos in `ic.did`
* ic-ref-test: Be more liberal about the precise reject code in some cases.

[#v0_6_0]
=== 0.6.0 (2020-06-08)

* Spec: Make all canister ids system-chosen
* Spec: HTTP requests for management features are removed
* ic-ref(-test): Implement and test the above changes

[#v0_4_0]
=== 0.4.0 (2020-05-25)

* Spec (editorial): the term “principal” is now used for the _id_ of a canister or
user, not the canister or user itself
* Spec: The signature of a request needs to be calculated using a domain separator
* Spec: Describe the `controller` attribute, add a request to change it
* Spec: The IC management canister is introduced
* ic-ref(-test): Implement and test the above changes

[#v0_2_16]
=== 0.2.16 (2020-05-29)

* More tests about calls from query methods

[#v0_2_14]
=== 0.2.14 (2020-05-14)

* Spec: Bugfix: Mode should be `reinstall`, not `replace`
* ic-ref-test: A few more tests, refactorings

[#v0_2_12]
=== 0.2.12 (2020-05-06)

* ic-ref-test: Remove code to work around lack of creater canister.
* ic-ref-test: Stricter tests for bad signatures
* ic-ref: Also accept CBOR maps of indeterminate length

[#v0_2_10]
=== 0.2.10 (2020-04-29)

* ic-ref: Bind to 127.0.0.1 instead of 0.0.0.0
* ic-ref: Set content-type even for error responses
* ic-ref-test: Tests related to query calls
* ic-ref-test: Test “reply after trap in prior callback”

[#v0_2_8]
=== 0.2.8 (2020-04-23)

* Spec: Include section with CDDL description
* ic-ref-test: Block less tests on `create_canister` support

[#v0_2_6]
=== 0.2.6 (2020-04-01)

* ic-ref-run: Accept any canister id in `install` commands
* ic-ref-test: More defensive printing of HTTP bodies

[#v0_2_4]
=== 0.2.4 (2020-03-23)

* simplify versioning (only three components), skip 0.2.2 to avoid confusion with 0.2.0.2
* spec: Clarification: `reply` field is always present
* spec: General cleanup based on front-to-back reading
* ic-ref(-test): Enforce signature checking
* ic-ref(-test): Desired canister ids must be derived from sender
* ic-ref(-test): Require the 55799 semantic CBOR tag, as specified
* ic-ref: Ignore duplicate requests
* ic-ref-test: Run more tests independent of each other (try `-j 8`)
* ic-ref-test: Submit requests with nonces
* ic-ref-test: Test various trap conditions in reply and reject callbacks.
* ic-ref-test: Test that `ic0.debug_print` with invalid bounds does _not_ trap
* ic-ref-test: Allow unspecified fields to appear in the status response
* ic-ref-test: Canister upgrade tests

[#v0_2_0_2]
=== 0.2.0.2 (2020-03-19)

* ic-ref: Return status 202, empty body, on `submit`, to match spec
* ic-ref: Allow update or inter-canister calls to query methods
* ic-ref: Trap upon calls from queries
* ic-ref-test: If the IC does not claim to be spec compliant, always succeed
(but still report errors)
* ic-ref-test: Support --html reports
* ic-ref-test: Use the “Universal Canister” to drive tests; more tests.

[#v0_2_0_0]
=== 0.2.0.0 (2020-03-11)

* This is the first release. Subsequent releases will include a changelog.
34 changes: 34 additions & 0 deletions ic-spec/examples/ic.did
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
type canister_id = principal;
type user_id = principal;
type wasm_module = blob;
type unit = blob;
service ic : {
create_canister : () -> (record {canister_id : canister_id});
install_code : (record {
mode : variant {install; reinstall; upgrade};
canister_id : canister_id;
wasm_module : wasm_module;
arg : blob;
compute_allocation : opt nat;
memory_allocation : opt nat;
}) -> ();
set_controller : (record {canister_id : canister_id; new_controller : principal}) -> ();
start_canister : (record {canister_id : canister_id}) -> ();
stop_canister : (record {canister_id : canister_id}) -> ();
canister_status : (record {canister_id : canister_id}) -> (record {
status : variant { running; stopping; stopped };
module_hash: opt blob;
controller: principal;
memory_size: nat;
cycles: nat;
});
delete_canister : (record {canister_id : canister_id}) -> ();
deposit_cycles : (record {canister_id : canister_id}) -> ();
raw_rand : () -> (blob);

// provisional interfaces for the pre-ledger world
provisional_create_canister_with_cycles :
(record { amount: opt nat }) -> (record {canister_id : canister_id});
provisional_top_up_canister :
(record { canister_id: canister_id; amount: nat }) -> ();
}
Loading