-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: Merge cw-hub-bnUSD to hubToken (#30)
* style: cargo fix and clippy * feat: changes after the review * fix: cargo clippy run * feat: change common/rlp to crate rlp * style: cargo fix and clippy * feat: changes after the review * fix: cargo clippy run * feat: change common/rlp to crate rlp * feat: network validation added, and tests fixed according to that * feat: changes after the review * feat: changes after the review * feat: changes after the review * feat: changes after the review * feat: changes after the review * style: run cargo fmt Signed-off-by: Night Owl <[email protected]> * fix: validate icon address fixes * feat: event functions created * feat: cw20base query and execute msgs added * feat: integration tests added * chore: run pre-commit script * chore: run precommit script * style: cargo clippy * fix: delete xcall-mock-contract * feat: cw20-flow tests added * feat: query tests added * fix: icon-check validation removed * fix: implementation of instantiate and setup changed * feat: contract migrate entry point added * fix: change handleMessage signature * feat: integration tests for cross transfer and xcrossTransfer * fix: changes in migration entry point * fix: network address, and xcall messages are used from xcall * fix: change in decodable implementation * chore: cargo lints fixes * fix: unnecessary clone and strng lenght comparition removed * fix: spelling error Signed-off-by: Night Owl <[email protected]> * fix: make imports pub Signed-off-by: Night Owl <[email protected]> * chore: run lint scripts Signed-off-by: Night Owl <[email protected]> * fix: xcall imported as library * fix: cargo lock file updated * fix: cargo lock file updated * fix: exclude archway from member list in workspace Signed-off-by: Night Owl <[email protected]> * fix: remove unnecessary use Signed-off-by: Night Owl <[email protected]> * update: cargo packages Signed-off-by: Night Owl <[email protected]> --------- Signed-off-by: Night Owl <[email protected]> Co-authored-by: Night Owl <[email protected]> Co-authored-by: qwerty0789 <[email protected]>
- Loading branch information
1 parent
a602c22
commit 5a670c5
Showing
37 changed files
with
4,684 additions
and
920 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,32 +1,2 @@ | ||
use cosmwasm_schema::{cw_serde, QueryResponses}; | ||
|
||
#[cw_serde] | ||
struct NetworkAddress { | ||
address: String, | ||
} | ||
|
||
#[cw_serde] | ||
pub struct InstantiateMsg {} | ||
|
||
#[cw_serde] | ||
#[derive(QueryResponses)] | ||
pub enum XCallQuery { | ||
#[returns(NetworkAddress)] | ||
GetNetworkAddress {}, | ||
} | ||
|
||
//TODO: Use the ibc-integration/xcallmsg and xcall contract from ibc | ||
#[cw_serde] | ||
pub enum XCallMsg { | ||
SendCallMessage { | ||
to: String, | ||
data: Vec<u8>, | ||
rollback: Option<Vec<u8>>, | ||
}, | ||
|
||
TestHandleCallMessage { | ||
from: String, | ||
data: Vec<u8>, | ||
hub_token: String, | ||
}, | ||
} | ||
pub use cw_xcall_lib::xcall_msg::ExecuteMsg as XCallMsg; | ||
pub use cw_xcall_multi::msg::QueryMsg::GetNetworkAddress; |
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.