Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat!: support for ICA queries (#118)
* feat: added 'ExecuteMsg::SendQueryMsgs' type * imp: scaffolded new module * deps: ran 'cargo update' * deps: bumped 'cosmos-sdk-proto' to 0.21 * refactor!: simplified code * deps: added prost * imp: added query message types * deps: added the query feature * imp: added 'query' feature-gating * imp: implemented bank and stargate queries * imp: added staking queries * style: ran 'cargo fmt' * imp: added distribution queries * imp: DistributionQueries updated to cosmwasm v1.4 * imp: added more boilerplate * refactor: imp organization * imp: added query response types * imp: updated proto type * imp: remove distribution queries * imp: made some enums non-exhaustive * imp: remove Dist Query response * imp: added bank response type * imp: staking query responses added * imp: started adding extra types for queries * added state entry for queries * imp: steps in the right direction * imp: reorganized query api * style: fixed clippy errors * style: fix clippy * imp: implemented from_cosmos_msg partially * imp: pushing more implementation forward * deps: export feature now uses query and staking * imp: added boilerplate for handling reply * deps: ran 'cargo add anybuf' * deps: made anybuf optional * deps: revert anybuf being optional * imp: added reply logic * deps: ran 'cargo update' * style: improved * imp: simplified feature gating * imp: improving relay.rs * imp: added helper methods to AcknowledgementData * imp: improved state * refactor: looks better * imp: added boilerplate code for response callback * imp: implemented results from response * deps: ran 'cargo update' * deps: ran 'cargo update' * imp: the callback counter now records the entire callback messages * deps: ran 'cargo update' * imp: the callback counter now records the entire callback messages * fix: clippy complaint * imp: ran go-codegen * fix: the new types * imp: ran go-codegen * imp: regenerated types using 'go-codegen' * fix: changes * imp: queries are ignored if they are empty * imp: started writing the test case * imp: regerated type with go-codegen * imp: removed the option wrapper around the queries * deps: ran 'cargo update' * imp: regenerated cwicacontroller types with go-codegen * deps: ran cargo update * fix: clippy complaint * imp: generated testing contracts' types * imp: added helpers to callbackcounter * imp: regenerated types with go-codegen * deps: ran cargo update * imp: regenerated types and allowed unknown fields * feat: test working * imp: improved test * imp: changed the name of the test * imp * docs: godocs * deps: ran 'cargo update' * lint: fixed linter complaints * imp(e2e): seq subtests * feat(e2e): bank icq test pass * refactor(e2e): created new icaicq_test.go file * imp(testing/contracts): allow staking queries * imp: regenerated messages * feat(e2e): started staking test * feat(e2e): staking tests done * feat(e2e): all query tests are added * ci: added build with query feature * style: lint * ci: bumped rust version * imp: added default serde tag to queries * deps: ran 'cargo add serde_with' * imp: allow messages and queries to be null * deps(testing/contracts): ran 'cargo update' * fix(e2e): switch equals to contains * docs: updated CHANGELOG.md * imp: added default serde to queries field * test(e2e): testing when messages field is null
- Loading branch information