Skip to content

Commit

Permalink
test: Make schema generic
Browse files Browse the repository at this point in the history
  • Loading branch information
abefernan committed Aug 5, 2024
1 parent 4adf4b0 commit 738c241
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions examples/contracts/cw20-base/src/bin/schema.rs
Original file line number Diff line number Diff line change
@@ -1,12 +1,13 @@
use cosmwasm_schema::write_api;

use cw20_base::contract::sv::{ContractExecMsg, ContractQueryMsg, InstantiateMsg};
use cw20_base::contract::{SvCustomMsg, SvCustomQuery};

#[cfg(not(tarpaulin_include))]
fn main() {
write_api! {
instantiate: InstantiateMsg,
execute: ContractExecMsg,
query: ContractQueryMsg,
execute: ContractExecMsg<SvCustomMsg, SvCustomQuery>,
query: ContractQueryMsg<SvCustomMsg, SvCustomQuery>,
}
}

0 comments on commit 738c241

Please sign in to comment.