Skip to content
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
wants to merge 234 commits into
base: main
Choose a base branch
from
Open

[pull] main from dfinity:main #6

wants to merge 234 commits into from

Conversation

pull[bot]
Copy link

@pull pull bot commented Dec 21, 2021

See Commits and Changes for more details.


Created by pull[bot]

Can you help keep this open source service alive? 💖 Please sponsor : )

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.
@pull pull bot added the ⤵️ pull label Dec 21, 2021
@guardrails
Copy link

guardrails bot commented Dec 21, 2021

⚠️ We detected 1 security issue in this pull request:

Hard-Coded Secrets (1)
Docs Details
💡 Title: Hex High Entropy String, Severity: Medium
https://github.com/MikeOwino/cdk-rs/blob/319795e9b487100595cbadad7370380e7bd953b7/src/ic-ledger-types/src/lib.rs#L284

More info on how to fix Hard-Coded Secrets in General.


👉 Go to the dashboard for detailed results.

📥 Happy? Share your feedback with us.

hpeebles and others added 27 commits January 12, 2022 09:57
* Use rust 1.55.0 in CI

* Fix clippy

* Update expected error messages
* Release ic-certified-map v0.3.0

* Fix date
* refactor: deprecate block_on in favour of the new spawn function

This PR provides the functionality of `block_on` under a better name,
`spawn`. The `block_on` function is marked as deprecated in favour of
`spawn`.

Closes #7 and #174.
* 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]>
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
lwshang and others added 30 commits April 12, 2024 11:45
* 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
* 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
Projects
None yet
Development

Successfully merging this pull request may close these issues.