forked from dfinity/cdk-rs
-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[pull] main from dfinity:main #6
Open
pull
wants to merge
234
commits into
mikeyhodl:main
Choose a base branch
from
dfinity:main
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This change introduces a new library, ic-ledger-types, which defines types for communicating with the ICP ledger canister from Rust canisters: * `Address` and related types define methods to compute ledger addresses from principals and subaccounts. * `AccountBalanceArgs` and `TransferArgs` define structures that should be used for sending requests to the ledger canister. * MAINNET_LEDGER_CANISTER_ID defines the principal of the ledger canister on the mainnet.
Hard-Coded Secrets (1)
More info on how to fix Hard-Coded Secrets in General. 👉 Go to the dashboard for detailed results. 📥 Happy? Share your feedback with us. |
… Ids (#184) Co-authored-by: Linwei Shang <[email protected]>
* Use rust 1.55.0 in CI * Fix clippy * Update expected error messages
* Release ic-certified-map v0.3.0 * Fix date
* Remove default features * Add explicit dependency on candid * Add more explicit candid dependencies * More explicit candid dependencies * Bump up version to v0.4.0 Co-authored-by: Linwei Shang <[email protected]>
This change updates the `homepage` and `documentation` fields in the `Cargo.toml` file which are currently pointing to a non-existing page.
… Rust canisters. (#192) * Update to release version of certified-map. Signed-off-by: John Plevyak <[email protected]> * Import updates from the dfinity/certified-assets. Signed-off-by: John Plevyak <[email protected]> * Use relative dependencies in the same repo * Update comments. Signed-off-by: John Plevyak <[email protected]> Co-authored-by: Linwei Shang <[email protected]>
Signed-off-by: John Plevyak <[email protected]>
This makes sure that `ic-cdk-optimizer` prints the version: ``` ~/cdk-rs$ ./target/debug/ic-cdk-optimizer --version ic-cdk-optimizer 0.3.2 ~/cdk-rs$ ./target/debug/ic-cdk-optimizer --help ic-cdk-optimizer 0.3.2 USAGE: ic-cdk-optimizer --output <output> [input] ARGS: <input> Input file to optimize. By default will use STDIN FLAGS: -h, --help Prints help information -V, --version Prints version information OPTIONS: -o, --output <output> Output file. Required ``` Co-authored-by: Linwei Shang <[email protected]>
* Remove uniqueness check on export macros * Remove test
* Update clap to 3.1 * Remove conflicting arguments None of this appears to serve any purpose
) Bumps [url-parse](https://github.com/unshiftio/url-parse) from 1.5.3 to 1.5.7. - [Release notes](https://github.com/unshiftio/url-parse/releases) - [Commits](unshiftio/url-parse@1.5.3...1.5.7) --- updated-dependencies: - dependency-name: url-parse dependency-type: indirect ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* Remove unstable storage * Update examples
This change removes the call to decoder.done() in stable_restore(). Rationale: * done() almost always returns an error because the input is likely to contain trailing zero bytes. * Calling done() has no effect on the return value. * The error that done() constructs contains the dump of the whole state, which causes the decoder to allocate huge amounts of memory. All of these allocations are unnecessary because stable_restore() throws away the error right away. Fixes #212.
* Add ic-cdk changelog * Add ic-certified-assets changelog * Add ic-cdk-optimizer changelog
* Update manifest metadata
…223) * Redirect the uncertified mainnet endpoint to the certified one * fmt * Move to function and add tests * fmt+lint * Handle query parameter * Move unit tests to dedicated module * Handle conditions separately
* doc: guard attribute of all export macros * Fix link to reply * Lowercase error
* refactor!(bindgen): move Rust codegen logic from candid_parser * changelog * revert unnecessary changes
* feat: Add `wasm_memory_limit` to the management canister This adds `wasm_memory_limit` to `CanisterSettings` and `DefiniteCanisterSettings`. The corresponding spec change: - dfinity/interface-spec#278 * Add the PR number to the change log * unify doc format * better test coverage --------- Co-authored-by: Linwei Shang <[email protected]>
* upgrade syn to v2 * move macros doc to ic-cdk for doc-tests * fix doc links * ci: add doc step which fail on warnings * fix cache key * bump dependency if major outdated
* bump rust to v1.75.0 (same as sdk repo) * bump wasmtime to 19 and cargo update * add clap dependency * submodule extract * clap for --version and --help/-h * add changelog and bump to 0.1.3 * clippy from recent rust has a false positive * e2e test
* update ic0.txt * auto-gen files * add the safe wrapper * e2e * Changelog
* Release 0.14.0 * lockfile * ic-ledger-types and changelogs * mark yank
* script to download pocket-ic binary * use pocket-ic in e2e tests * fix canister_info * fix test_call_management * fix test_chunk * fix test_cycles_burn * fix test_scheduling_many_timers * fix test_set_global_timers * raise init cycles * ci.yml * cargo update * Revert "cargo update" This reverts commit 6c969d0. * pocket-ic from mono-repo tag * run cargo test on macos too * fix ci
…tem API. (#498) * feat!: only use stable64 API * changelog * clippy
* bump ic-cdk to 0.15.0 * bump timers and ledger-types * update README
* snapshot types * snapshot methods * types cont. * update pocket-ic which support nonmainnet features * e2e test * add LoadSnapshot variant to CanisterChangeDetails * changelog * fix canister_info e2e test * show canister_info after snapshot operations * ci test show output * revert canister_info.rs * revert ci.yml * canister_info changes can have load_snapshot records
* Improve READMEs * clarify post_upgrade arg type
Co-authored-by: Severin Siffert <[email protected]>
* feat: support subnet_info * changelog * use ubuntu-24.04 in CI * clippy * fix(e2e): create canister requires more cycles * rust 1.78.0
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
See Commits and Changes for more details.
Created by pull[bot]
Can you help keep this open source service alive? 💖 Please sponsor : )