Skip to content

Commit

Permalink
Cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
ismellike committed Jul 19, 2024
1 parent 15f299c commit 0aa5215
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 22 deletions.
18 changes: 0 additions & 18 deletions .github/workflows/basic.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,15 +20,6 @@ jobs:
target: wasm32-unknown-unknown
override: true

- name: Cache dependencies
uses: actions/cache@v3
with:
path: |
~/.cargo/registry/index/
~/.cargo/registry/cache/
~/.cargo/git/db/
key: ${{ runner.os }}-cargo-deps-${{ hashFiles('**/Cargo.lock') }}

- name: Run tests
uses: actions-rs/cargo@v1
with:
Expand Down Expand Up @@ -62,15 +53,6 @@ jobs:
override: true
components: rustfmt, clippy

- name: Cache dependencies
uses: actions/cache@v3
with:
path: |
~/.cargo/registry/index/
~/.cargo/registry/cache/
~/.cargo/git/db/
key: ${{ runner.os }}-cargo-deps-${{ hashFiles('**/Cargo.lock') }}

- name: Run cargo fmt
uses: actions-rs/cargo@v1
with:
Expand Down
5 changes: 1 addition & 4 deletions packages/cw-orch/src/external/cw_abc.rs
Original file line number Diff line number Diff line change
@@ -1,14 +1,11 @@
use cw_orch::interface;
#[cfg(not(target_arch = "wasm32"))]
use cw_orch::prelude::*;
use cw_orch::{interface, prelude::*};

use cw_abc::contract::{execute, instantiate, query};
use cw_abc::msg::{ExecuteMsg, InstantiateMsg, QueryMsg};

#[interface(InstantiateMsg, ExecuteMsg, QueryMsg, Empty)]
pub struct CwAbc;

#[cfg(not(target_arch = "wasm32"))]
impl<Chain> Uploadable for CwAbc<Chain> {
/// Return the path to the wasm file corresponding to the contract
fn wasm(_chain: &ChainInfoOwned) -> WasmPath {
Expand Down

0 comments on commit 0aa5215

Please sign in to comment.