agent-rs icon indicating copy to clipboard operation
agent-rs copied to clipboard

A collection of libraries and tools for building software around the Internet Computer, in Rust.

Results 51 agent-rs issues
Sort by recently updated
recently updated
newest added

I see that `icx-proxy` has inherited the logic of picking canister ids from hostname, query string, or referer, in that order from the `dfx bootstrap` command: https://github.com/dfinity/agent-rs/blob/95a0782cd6f432cb1e98ed9422cf9d7327236b17/icx-proxy/src/main.rs#L116-L147 But support for...

I recently had to add `SyncCallBuilder.with_value_arg(IDLValue)`, because `with_arg` panics: - `IDLValue::ty()` calls unreachable() : https://github.com/dfinity/candid/blob/master/rust/candid/src/parser/value.rs#L326 - called from here: https://github.com/dfinity/candid/blob/master/rust/candid/src/ser.rs#L28 It would be nicer if `with_arg` worked with IDLValue rather...

``` loop { match self.agent.request_status_raw(&request_id).await? { … RequestStatusResponse::Unknown => (), RequestStatusResponse::Received | RequestStatusResponse::Processing => { // The system will return Unknown until the request is accepted // and we generally...

It should work if using ic-ref as the backend. Yak shaving: - [ ] icx should be able to upload asset files and directories. Tests to do: - [ ]...

The `UpdateBuilder::expire_after` method sets `ingress_expiry_datetime` to SystemTime::now() plus a duration offset. https://github.com/dfinity/agent-rs/blob/next/ic-agent/src/agent/mod.rs#L524 Typical usage is something like this: ``` agent .update(&canister_id, CREATE_CHUNK) .with_arg(&args) .expire_after(timeout) .call_and_wait(waiter_with_timeout(timeout)) .await ``` This means there...

One example is https://github.com/dfinity/agent-rs/blob/next/ic-utils/src/interfaces/management_canister.rs#L25-L30 which cannot fail unless we refactor the bits below and break backward compatibility.

Currently, AgentConfig is a bare struct with public fields implementing `Default`. This has 2 issues: 1. Any changes in the Config will break existing user programs. 2. [The URL field...

Currently blocked by https://github.com/dfinity-lab/ic-ref/pull/90

blocked