-
Notifications
You must be signed in to change notification settings - Fork 42
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: no need to update total_amount of udt (#1615)
Signed-off-by: Miles Zhang <[email protected]>
- Loading branch information
1 parent
2cf82b2
commit af16b85
Showing
2 changed files
with
0 additions
and
8 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
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 |
---|---|---|
|
@@ -449,7 +449,6 @@ class UdtsControllerTest < ActionDispatch::IntegrationTest | |
symbol: "GWK", | ||
full_name: "GodwokenToken on testnet_v1", | ||
decimal: "8", | ||
total_amount: "100000000000", | ||
description: "The sUDT_ERC20_Proxy of Godwoken Test Token.", | ||
operator_website: "https://udt.coin", | ||
icon_file: "https://img.udt.img", | ||
|
@@ -463,7 +462,6 @@ class UdtsControllerTest < ActionDispatch::IntegrationTest | |
assert_equal udt.symbol, "GWK" | ||
assert_equal udt.full_name, "GodwokenToken on testnet_v1" | ||
assert_equal udt.decimal, 8 | ||
assert_equal udt.total_amount, 100000000000 | ||
assert_equal udt.description, | ||
"The sUDT_ERC20_Proxy of Godwoken Test Token." | ||
assert_equal udt.operator_website, "https://udt.coin" | ||
|
@@ -500,7 +498,6 @@ class UdtsControllerTest < ActionDispatch::IntegrationTest | |
symbol: "GWK", | ||
full_name: "GodwokenToken on testnet_v1", | ||
decimal: "8", | ||
total_amount: "100000000000", | ||
description: "The sUDT_ERC20_Proxy of Godwoken Test Token.", | ||
operator_website: "https://udt.coin", | ||
icon_file: "https://img.udt.img", | ||
|
@@ -521,7 +518,6 @@ class UdtsControllerTest < ActionDispatch::IntegrationTest | |
symbol: "GWK", | ||
full_name: "GodwokenToken on testnet_v1", | ||
decimal: "8", | ||
total_amount: "100000000", | ||
description: "The sUDT_ERC20_Proxy of Godwoken Test Token.", | ||
operator_website: "https://udt.coin", | ||
icon_file: "https://img.udt.img", | ||
|
@@ -553,7 +549,6 @@ class UdtsControllerTest < ActionDispatch::IntegrationTest | |
valid_put api_v1_udt_url("#{udt.type_hash}"), params: { | ||
symbol: "GWK", | ||
full_name: "GodwokenToken on testnet_v1", | ||
total_amount: "100000000", | ||
token: "123456", | ||
} | ||
|
||
|
@@ -568,7 +563,6 @@ class UdtsControllerTest < ActionDispatch::IntegrationTest | |
valid_put api_v1_udt_url("#{udt.type_hash}"), params: { | ||
symbol: "GWK", | ||
full_name: "GodwokenToken on testnet_v1", | ||
total_amount: "100000000", | ||
token: "123", | ||
} | ||
|
||
|
@@ -583,7 +577,6 @@ class UdtsControllerTest < ActionDispatch::IntegrationTest | |
valid_put api_v1_udt_url("#{udt.type_hash}"), params: { | ||
symbol: "GWK", | ||
full_name: "GodwokenToken on testnet_v1", | ||
total_amount: "100000000", | ||
token: "123456", | ||
email: "[email protected]", | ||
} | ||
|