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 app-template #293

Merged
merged 101 commits into from
Mar 20, 2024
Merged

Pull app-template #293

merged 101 commits into from
Mar 20, 2024

Conversation

CyberHoward
Copy link
Contributor

see title

Buckram123 and others added 23 commits November 28, 2023 18:29
* clean up framework

* clean up template

* clean up modules

* clean local admin definitions from modules

* fix merge

---------

Co-authored-by: cyberhoward <cyberhoward@protonmail.com>
* update template to counter

* fix wrong reset action attribute

---------

Co-authored-by: cyberhoward <cyberhoward@protonmail.com>
* pool type

* error if pool type is concentrated liquidity

* add concentrated liquidity constructor

* concentrated liquidity test

* finish concentrated liquidity tests

* update changelog

* typo

* concentrated liquidity swaps work
* bump version to  0.20.0-rc.1

* clear state

* Update WASM binaries [skip ci]

* bump version to 0.20

* Register IBC contracts as native contracts in VC

* Update WASM binaries [skip ci]

* Add migration tests (#163)

* init migration testing

* failing test

* get first migration test working!

* formatting

* failing test

* init integration testing package

* move common test functions

* move mock modules to integration tests package

* update adapter mock macro

* move a manager tests

* add sub_account_with_modules test to migration

* deps updates

* format

* rm lib tag

* accept new snapshot (test admin addr changed)

* Use shared runtime in migration tests

* update mock module paths

* formatting

* push changes during discussion

* migrate if needed return bool

* manager/upgrades tests

* decrease scope

* add adapters tests

* with response data test

* index bug

* executes work, queries does not

* move ownership to sub account fixed

* account factory tests

* fails to load

* remove debug prints

* right mock_app

* sender bug

* check manager addr

* fix response data test

* new snapshot

* fix remaining tests

* check account migratable

* update init mock adapter

* post-merge fixes

* feature flag migration tests

* fix state.json

* approve abstract modules after migrate

* allow direct module registration after migration for test contracts

* clippy

* upload state json

* cw-orch version bump

* interchain and polytone bump

* old account not able to install apps after abstract migration

* cw20_base broken?

* Human readable snaps!

* Add a test outline for integration tests

* formatting

* remove feature flog for tests

---------

Co-authored-by: Buckram <buckram123@gmail.com>

* remove debugs

* add interchain test workflow

* remove string version requirement

* fix merge

* fix ibc-callback test

* fix vc_addr deserialization

* mockmsg is a struct

* add schemas

* formatting

* add nextest in CI

* Update WASM binaries [skip ci]

* update code-ids

* use admin everywhere for deployment permissions

* update deployers to only update if needed

* add module deployment to migration script

* fix clippy

* format

* add logic to AbstractIbc object

* update migration script to include module deployment

* commit lock files

* include Cargo.lock in gitattributes

* update cw-plus version

* format

* fix clippy

* Version control state changes

* add eq and hash for ans scraper

* add hash to unchecked contract entry

* hash of uniquepoolId

* update snapshots

* use git branch of cw-orch

* formatting

* fix imports

* fix imports

* remove useless helper

* remove debug related comment

* update integration tests version

* cw20 base version lol

---------

Co-authored-by: CircleCI <circleci@example.com>
Co-authored-by: Buckram <buckram123@gmail.com>
* bump msrv

* update comment

* msrv for template
* add sanity check when retrieving module from application

* account and client docs

* publisher comments

* module comments

* Empty readme

* more comments and todos

* fix module docs

* fix add balance comments

* TODO shouldn't be a doc comment

* fix nits

* add install adapter test

* add check for abstract load

* update template with local paths

* add re-exports for core, sdk and interface

* update macros to support those re-exports

* formatting [skip ci]

* start using abstract_client

* update deploy example

* fix doctests

* Add `get_last_account` to client. (#207)

* Add `try_from<&str>` for AccountId

* Add `.id()` call to `Account`

* Add a `get_last_account` method that returns the sender's last created account

* nits

* formatting [skip ci]

* restructure for testability

* formatting [skip ci]

* fix parsing and add unit test

* formatting [skip ci]

* Add a Mock test for last owned account

* formatting [skip ci]

* add warning that fn only returns script-created accounts

* Use Namespace type and update account from namespace logic

* formatting [skip ci]

* add readme

* add punctuation

* update examples

* update integration test

* fix client tests

* Rename mock client builder

* derive clone on account.

* fix tests

* formatting [skip ci]

* remove redundant comments

* Update schema

* small nits

* governance_details -> ownership

* fix tests

* add warning for missing docs

* remove daemon feature flag for cw-orch

* nits

* finish docs on warn missing docs

* more nits

* fix merge

* clippy

* cleanup

* fix merge

* challenge app updated

* fix publish script

* format

* fix template test setup

* move builders to cwenv

* fix template builder

* remove unused feature and env var

* add link to cw-orch env docs

* restructure mut cwenv

* fetch regular account as well as publisher

* refactor `add_` and `set_` balance function on `AbstractClient`

* format

* fix `cargo hack` compilation

* fix test_local

---------

Co-authored-by: Buckram <buckram123@gmail.com>
* add sanity check when retrieving module from application

* account and client docs

* publisher comments

* module comments

* Empty readme

* more comments and todos

* fix module docs

* fix add balance comments

* TODO shouldn't be a doc comment

* fix nits

* add install adapter test

* add check for abstract load

* update template with local paths

* add re-exports for core, sdk and interface

* update macros to support those re-exports

* formatting [skip ci]

* start using abstract_client

* update deploy example

* fix doctests

* Add `get_last_account` to client. (#207)

* Add `try_from<&str>` for AccountId

* Add `.id()` call to `Account`

* Add a `get_last_account` method that returns the sender's last created account

* nits

* formatting [skip ci]

* restructure for testability

* formatting [skip ci]

* fix parsing and add unit test

* formatting [skip ci]

* Add a Mock test for last owned account

* formatting [skip ci]

* add warning that fn only returns script-created accounts

* Use Namespace type and update account from namespace logic

* formatting [skip ci]

* add readme

* add punctuation

* update examples

* update integration test

* fix client tests

* Rename mock client builder

* derive clone on account.

* fix tests

* formatting [skip ci]

* remove redundant comments

* Update schema

* small nits

* governance_details -> ownership

* fix tests

* add warning for missing docs

* remove daemon feature flag for cw-orch

* nits

* finish docs on warn missing docs

* more nits

* fix merge

* clippy

* cleanup

* fix merge

* challenge app updated

* fix publish script

* format

* fix template test setup

* move builders to cwenv

* fix template builder

* remove unused feature and env var

* add link to cw-orch env docs

* restructure mut cwenv

* fetch regular account as well as publisher

* refactor `add_` and `set_` balance function on `AbstractClient`

* format

* fix `cargo hack` compilation

* init

* Update client exports

* update readme

* update imports to reflect changes in exports

* format

* fix merge

* make doctests compile and run

* re-write start of readme

* rename MockAppDependencyInterface to MockAppDependencyI

* rename MockAppInterface to MockAppI

* formatting [skip ci]

* fix rename

* add install example and fmt

* formatting

---------

Co-authored-by: Buckram <buckram123@gmail.com>
* Add section on Docker and our optimizer

* cleanup and restructuring

* rename "deploy" to "publish"

* update account balance setters to use &[Coin]

* Improve mock_querier docs

* update testing docs

* add last example in test

* formatting [skip ci]

* add placeholder link to type docs

* Restructure `MockAppDependency` to `MockApp` and `MockAppWithDependency`

* clippy fix

* fix merge

* fill in abstract-client links where required

* include local daemon in docs

* rename publish page to abstract-client page

* Update framework/docs/src/4_get_started/2_installation.md

Co-authored-by: Mykhailo Donchenko <91957742+Buckram123@users.noreply.github.com>

---------

Co-authored-by: Mykhailo Donchenko <91957742+Buckram123@users.noreply.github.com>
* remove ts-codegen

* update state code-ids

* update abstract version in template

* formatting [skip ci]

* fix tests

---------

Co-authored-by: Mykhailo Donchenko <91957742+Buckram123@users.noreply.github.com>
…ions/checkout-4

Bump actions/checkout from 3 to 4
…template-readme-and-provide-feedback

Fixed broken links and added more context
Copy link

cloudflare-workers-and-pages bot commented Mar 19, 2024

Deploying abstract-docs with  Cloudflare Pages  Cloudflare Pages

Latest commit: 3b182e5
Status: ✅  Deploy successful!
Preview URL: https://3f0529f9.abstract-docs.pages.dev
Branch Preview URL: https://update-app-template.abstract-docs.pages.dev

View logs

Copy link
Collaborator

@Buckram123 Buckram123 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, fixed small clippy warnings and bumped back cw-storage-plus

app-template/Cargo.toml Outdated Show resolved Hide resolved
@CyberHoward CyberHoward merged commit 31fc4c5 into main Mar 20, 2024
3 checks passed
@CyberHoward CyberHoward deleted the update/app-template branch March 20, 2024 14:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants