Skip to content

Feature/api server token nonces#1906

Merged
OBorce merged 7 commits into
masterfrom
feature/api-server-token-nonces
May 16, 2025
Merged

Feature/api server token nonces#1906
OBorce merged 7 commits into
masterfrom
feature/api-server-token-nonces

Conversation

@OBorce

@OBorce OBorce commented Apr 10, 2025

Copy link
Copy Markdown
Contributor
  • add Token next_nonce to token endpoint
  • fix token decimals for mint TxInput

@OBorce OBorce force-pushed the feature/api-server-token-nonces branch from 23c71f4 to f9dbc8a Compare April 21, 2025 08:53
"command": "MintTokens",
"token_id": Address::new(chain_config, *token_id).expect("addressable").to_string(),
"amount": amount_to_json(*amount, chain_config.coin_decimals()),
"amount": amount_to_json(*amount, token_decimals.get(token_id)),

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It's better to add a test for this fix

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

added test

Comment thread api-server/web-server/src/api/json_helpers.rs Outdated
@OBorce OBorce force-pushed the feature/api-server-token-nonces branch from e994ea6 to bc1e9ed Compare May 6, 2025 07:09
@OBorce OBorce force-pushed the feature/api-server-token-nonces branch from bc1e9ed to 45a8920 Compare May 6, 2025 07:27
@OBorce OBorce merged commit 5e8c20a into master May 16, 2025
18 checks passed
@OBorce OBorce deleted the feature/api-server-token-nonces branch May 16, 2025 09:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants