@@ -23,22 +23,22 @@ describe("Bank", () => {
23
23
test ( "Send" , ( ) => {
24
24
const msg = new MsgSend ( address , recipient , [ coin ] )
25
25
expect ( readMsg ( msg ) ) . toBe (
26
- "Send 1 Luna to terra17lmam6zguazs5q5u6z5mmx76uj63gldnse2pdp"
26
+ "Send 1000000uluna to terra17lmam6zguazs5q5u6z5mmx76uj63gldnse2pdp"
27
27
)
28
28
} )
29
29
30
30
test ( "Send multiple coins" , ( ) => {
31
31
const msg = new MsgSend ( address , recipient , coins )
32
32
expect ( readMsg ( msg ) ) . toBe (
33
- "Send 1 KRT, 1 Luna to terra17lmam6zguazs5q5u6z5mmx76uj63gldnse2pdp"
33
+ "Send 1000000ukrw, 1000000uluna to terra17lmam6zguazs5q5u6z5mmx76uj63gldnse2pdp"
34
34
)
35
35
} )
36
36
} )
37
37
38
38
describe ( "Market" , ( ) => {
39
39
test ( "Swap" , ( ) => {
40
40
const msg = new MsgSwap ( address , coin , "uusd" )
41
- expect ( readMsg ( msg ) ) . toBe ( "Swap 1 Luna to UST " )
41
+ expect ( readMsg ( msg ) ) . toBe ( "Swap 1000000uluna to uusd " )
42
42
} )
43
43
} )
44
44
@@ -49,21 +49,21 @@ describe("Staking", () => {
49
49
test ( "Delegate" , ( ) => {
50
50
const msg = new MsgDelegate ( address , validator , coin )
51
51
expect ( readMsg ( msg ) ) . toBe (
52
- "Delegate 1 Luna to terravaloper1dcegyrekltswvyy0xy69ydgxn9x8x32zdy3ua5"
52
+ "Delegate 1000000uluna to terravaloper1dcegyrekltswvyy0xy69ydgxn9x8x32zdy3ua5"
53
53
)
54
54
} )
55
55
56
56
test ( "Undelegate" , ( ) => {
57
57
const msg = new MsgUndelegate ( address , validator , coin )
58
58
expect ( readMsg ( msg ) ) . toBe (
59
- "Undelegate 1 Luna to terravaloper1dcegyrekltswvyy0xy69ydgxn9x8x32zdy3ua5"
59
+ "Undelegate 1000000uluna to terravaloper1dcegyrekltswvyy0xy69ydgxn9x8x32zdy3ua5"
60
60
)
61
61
} )
62
62
63
63
test ( "Redelegate" , ( ) => {
64
64
const msg = new MsgBeginRedelegate ( address , source , validator , coin )
65
65
expect ( readMsg ( msg ) ) . toBe (
66
- "Redelegate 1 Luna from terravaloper1krj7amhhagjnyg2tkkuh6l0550y733jnjnnlzy to terravaloper1dcegyrekltswvyy0xy69ydgxn9x8x32zdy3ua5"
66
+ "Redelegate 1000000uluna from terravaloper1krj7amhhagjnyg2tkkuh6l0550y733jnjnnlzy to terravaloper1dcegyrekltswvyy0xy69ydgxn9x8x32zdy3ua5"
67
67
)
68
68
} )
69
69
@@ -78,7 +78,7 @@ describe("Staking", () => {
78
78
describe ( "Gov" , ( ) => {
79
79
test ( "Deposit" , ( ) => {
80
80
const msg = new MsgDeposit ( 123 , address , [ coin ] )
81
- expect ( readMsg ( msg ) ) . toBe ( "Deposit 1 Luna to proposal 123" )
81
+ expect ( readMsg ( msg ) ) . toBe ( "Deposit 1000000uluna to proposal 123" )
82
82
} )
83
83
84
84
test ( "Vote" , ( ) => {
@@ -95,6 +95,6 @@ test("Default", () => {
95
95
test ( "Decimal" , ( ) => {
96
96
const msg = new MsgSend ( address , recipient , new Coins ( { uluna : 1234560 } ) )
97
97
expect ( readMsg ( msg ) ) . toBe (
98
- "Send 1.23456 Luna to terra17lmam6zguazs5q5u6z5mmx76uj63gldnse2pdp"
98
+ "Send 1234560uluna to terra17lmam6zguazs5q5u6z5mmx76uj63gldnse2pdp"
99
99
)
100
100
} )
0 commit comments