-
Notifications
You must be signed in to change notification settings - Fork 12
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge remote-tracking branch 'origin/main' into feat/limit-tests
- Loading branch information
Showing
24 changed files
with
1,218 additions
and
1,197 deletions.
There are no files selected for viewing
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 |
---|---|---|
@@ -0,0 +1,5 @@ | ||
--- | ||
'@axelar-network/axelar-cgp-sui': minor | ||
--- | ||
|
||
Added js e2e tests for squid, and fixed a few things with squid as well. |
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 |
---|---|---|
@@ -0,0 +1,25 @@ | ||
module example::token_a; | ||
|
||
use sui::coin; | ||
|
||
// ------------ | ||
// Capabilities | ||
// ------------ | ||
public struct TOKEN_A has drop {} | ||
|
||
// ----- | ||
// Setup | ||
// ----- | ||
fun init(witness: TOKEN_A, ctx: &mut TxContext) { | ||
let (treasury_cap, coin_metadata) = coin::create_currency( | ||
witness, | ||
9, | ||
b"TOKEN1", | ||
b"Token 1", | ||
b"", | ||
option::none(), | ||
ctx, | ||
); | ||
transfer::public_transfer(treasury_cap, tx_context::sender(ctx)); | ||
transfer::public_transfer(coin_metadata, tx_context::sender(ctx)); | ||
} |
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 |
---|---|---|
@@ -0,0 +1,25 @@ | ||
module example::token_b; | ||
|
||
use sui::coin; | ||
|
||
// ------------ | ||
// Capabilities | ||
// ------------ | ||
public struct TOKEN_B has drop {} | ||
|
||
// ----- | ||
// Setup | ||
// ----- | ||
fun init(witness: TOKEN_B, ctx: &mut TxContext) { | ||
let (treasury_cap, coin_metadata) = coin::create_currency( | ||
witness, | ||
9, | ||
b"TOKEN2", | ||
b"Token 2", | ||
b"", | ||
option::none(), | ||
ctx, | ||
); | ||
transfer::public_transfer(treasury_cap, tx_context::sender(ctx)); | ||
transfer::public_transfer(coin_metadata, tx_context::sender(ctx)); | ||
} |
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 |
---|---|---|
@@ -0,0 +1,25 @@ | ||
module example::token_c; | ||
|
||
use sui::coin; | ||
|
||
// ------------ | ||
// Capabilities | ||
// ------------ | ||
public struct TOKEN_C has drop {} | ||
|
||
// ----- | ||
// Setup | ||
// ----- | ||
fun init(witness: TOKEN_C, ctx: &mut TxContext) { | ||
let (treasury_cap, coin_metadata) = coin::create_currency( | ||
witness, | ||
9, | ||
b"TOKEN3", | ||
b"Token 3", | ||
b"", | ||
option::none(), | ||
ctx, | ||
); | ||
transfer::public_transfer(treasury_cap, tx_context::sender(ctx)); | ||
transfer::public_transfer(coin_metadata, tx_context::sender(ctx)); | ||
} |
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
Oops, something went wrong.