Skip to content

Commit

Permalink
Merge branch 'main' into refactor/its-processing
Browse files Browse the repository at this point in the history
  • Loading branch information
ahramy authored Jan 18, 2025
2 parents 11a6259 + 87cb759 commit 2fc44ea
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions contracts/interchain-token-service/src/token_metadata.rs
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
use soroban_sdk::{token, Address, Env, String};
use soroban_token_sdk::metadata::TokenMetadata;
use stellar_axelar_std::ensure;
use stellar_axelar_std::token::validate_token_metadata;

use crate::error::ContractError;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -199,6 +199,8 @@ fn deploy_interchain_token_fails_with_invalid_token_metadata() {
let sender = Address::generate(&env);
let minter: Option<Address> = None;
let salt = BytesN::<32>::from_array(&env, &[1; 32]);
let invalid_decimals = (u8::MAX) as u32 + 1;
let token_metadata = TokenMetadata::new(&env, "Test", "TEST", invalid_decimals);
let initial_supply = 0;

let cases = [
Expand Down

0 comments on commit 2fc44ea

Please sign in to comment.