CosmWasm / CosmWasm/cw-storage-plus
create Map<K, T>::query_all
- Dominant language
- Rust
- Stars
- 51
- Forks
- 34
- PR merge metrics
- No merged PRs in 30d
Description
function signature should probably look something like:
```rust
impl<'a, K, T> Map<'a, K, T>
where
T: Serialize + DeserializeOwned,
K: PrimaryKey<'a>,
{
pub fn query_all(
&self,
querier: &QuerierWrapper,
remote_contract: Addr,
order: Order // Not sure this is required
) -> StdResult> {
...
}
}
```
The purpose of this function is to allow the querying of external contracts, and should function similarly to the existing Map::query.
Contributor guide
No contributing guide indexed for this repository
Research direction
Start by reading the existing Map::query implementation and the surrounding Map API. Determine how querying an external contract should return all values and whether ordering is required. Done means a public query_all method matching the requested signature and behavior, with coverage in the project's existing tests if applicable.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- rust
- Domain
- blockchain
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100