@@ -11,21 +11,21 @@ describeWithAcala("Acala RPC (Balance)", (context) => {
1111 } ) ;
1212
1313 it ( "genesis balance is setup correctly" , async function ( ) {
14- expect ( ( await context . provider . getBalance ( alice . getAddress ( ) ) ) . toString ( ) ) . to . equal ( "8999999995072568421000000 " ) ;
15- expect ( ( await context . provider . getBalance ( alice . getAddress ( ) , "latest" ) ) . toString ( ) ) . to . equal ( "8999999995072568421000000 " ) ;
14+ expect ( ( await context . provider . getBalance ( alice . getAddress ( ) ) ) . toString ( ) ) . to . equal ( "8999999995071274009000000 " ) ;
15+ expect ( ( await context . provider . getBalance ( alice . getAddress ( ) , "latest" ) ) . toString ( ) ) . to . equal ( "8999999995071274009000000 " ) ;
1616
1717 expect ( ( await context . provider . getBalance ( alice . getAddress ( ) , "latest" ) ) . toString ( ) )
1818 . to . equal ( ( await context . provider . api . query . system . account ( alice . substrateAddress ) ) . data . free . toString ( ) + "000000" ) ;
1919 } ) ;
2020
2121 it ( "balance to be updated after transfer" , async function ( ) {
22- expect ( ( await context . provider . getBalance ( alice . getAddress ( ) ) ) . toString ( ) ) . to . equal ( "8999999995072568421000000 " ) ;
23- expect ( ( await context . provider . getBalance ( alice_stash . getAddress ( ) ) ) . toString ( ) ) . to . equal ( "10100000995072575531000000 " ) ;
22+ expect ( ( await context . provider . getBalance ( alice . getAddress ( ) ) ) . toString ( ) ) . to . equal ( "8999999995071274009000000 " ) ;
23+ expect ( ( await context . provider . getBalance ( alice_stash . getAddress ( ) ) ) . toString ( ) ) . to . equal ( "10100000995071281122000000 " ) ;
2424
2525 await transfer ( context , alice . substrateAddress , alice_stash . substrateAddress , 1000 ) ;
26- expect ( ( await context . provider . getBalance ( alice . getAddress ( ) ) ) . toString ( ) ) . to . equal ( "8999999990446773722000000 " ) ;
27- expect ( ( await context . provider . getBalance ( alice_stash . getAddress ( ) ) ) . toString ( ) ) . to . equal ( "10100000995072576531000000 " ) ;
28- expect ( ( await context . provider . getBalance ( alice . getAddress ( ) , "latest" ) ) . toString ( ) ) . to . equal ( "8999999990446773722000000 " ) ;
26+ expect ( ( await context . provider . getBalance ( alice . getAddress ( ) ) ) . toString ( ) ) . to . equal ( "8999999990445479310000000 " ) ;
27+ expect ( ( await context . provider . getBalance ( alice_stash . getAddress ( ) ) ) . toString ( ) ) . to . equal ( "10100000995071282122000000 " ) ;
28+ expect ( ( await context . provider . getBalance ( alice . getAddress ( ) , "latest" ) ) . toString ( ) ) . to . equal ( "8999999990445479310000000 " ) ;
2929 expect ( ( await context . provider . getBalance ( alice_stash . getAddress ( ) , "earliest" ) ) . toString ( ) ) . to . equal ( "0" ) ;
3030 } ) ;
3131} ) ;
0 commit comments