Skip to content

Commit

Permalink
Release 0.20 (#176)
Browse files Browse the repository at this point in the history
* 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 <[email protected]>

* 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 <[email protected]>
Co-authored-by: Buckram <[email protected]>
  • Loading branch information
3 people authored Dec 22, 2023
1 parent a38f46a commit c9f78de
Show file tree
Hide file tree
Showing 453 changed files with 51,916 additions and 119,182 deletions.
1 change: 1 addition & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
**/artifacts/* binary
**/schema/*.json linguist-generated=true
**/snapshots/*.snap linguist-generated=true
**/Cargo.lock linguist-generated=true
46 changes: 46 additions & 0 deletions .github/workflows/interchain-test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
name: interchain-test
permissions:
contents: read
on:
push:
branches: [main]
paths:
- interchain/**
pull_request:
paths:
- interchain/**

env:
SCCACHE_GHA_ENABLED: "true"
RUSTC_WRAPPER: "sccache"

jobs:
required:
runs-on: ubuntu-latest
name: ubuntu / stable
steps:
- uses: actions/checkout@v3
with:
submodules: true
- uses: webfactory/[email protected]
with:
ssh-private-key: |
${{ secrets.SSH_PRIVATE_KEY_MULTI_TEST }}
${{ secrets.SSH_PRIVATE_KEY_CW_ORCH_INTERCHAIN }}
- name: Setup sccache
uses: mozilla-actions/[email protected]
with:
version: "v0.4.2"
- name: Install stable
uses: dtolnay/rust-toolchain@master
with:
toolchain: stable
- name: cargo generate-lockfile
if: hashFiles('Cargo.lock') == ''
working-directory: ./interchain
run: cargo generate-lockfile
- uses: taiki-e/install-action@nextest
# https://twitter.com/jonhoo/status/1571290371124260865
- name: cargo test --locked
working-directory: ./interchain
run: cargo nextest run --test-threads 1 --retries 3
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

# Remove Cargo.lock from gitignore if creating an executable, leave it for libraries
# More information here https://doc.rust-lang.org/cargo/guide/cargo-toml-vs-cargo-lock.html
**/Cargo.lock
# **/Cargo.lock

**/.vscode
**/.idea
Expand Down
14 changes: 7 additions & 7 deletions app-template/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -41,19 +41,19 @@ thiserror = { version = "1.0.50" }
schemars = "0.8"
cw-asset = { version = "3.0" }

abstract-core = { version = "0.19.2" }
abstract-app = { version = "0.19.2" }
abstract-sdk = { version = "0.19.2" }
abstract-core = { version = "0.20.0" }
abstract-app = { version = "0.20.0" }
abstract-sdk = { version = "0.20.0" }

# Dependencies for interface
abstract-interface = { version = "0.19.2", optional = true }
abstract-interface = { version = "0.20.0", optional = true }
cw-orch = { version = "0.16.4", optional = true }

[dev-dependencies]
app = { path = ".", features = ["interface"] }
abstract-interface = { version = "0.19.2", features = ["daemon"] }
abstract-testing = { version = "0.19.2" }
abstract-sdk = { version = "0.19.2", features = ["test-utils"] }
abstract-interface = { version = "0.20.0", features = ["daemon"] }
abstract-testing = { version = "0.20.0" }
abstract-sdk = { version = "0.20.0", features = ["test-utils"] }
speculoos = "0.11.0"
semver = "1.0"
dotenv = "0.15.0"
Expand Down
Loading

0 comments on commit c9f78de

Please sign in to comment.