@@ -254,8 +254,8 @@ mod omnipool {
254254 inputs: vec![ Asset :: new( LRNA , 70175440163919 ) ] ,
255255 outputs: vec![ Asset :: new( DAI , amount_out) ] ,
256256 fees: vec![
257- Fee :: new( DAI , 125313283209 , Destination :: Account ( Omnipool :: protocol_account( ) ) ) ,
258- Fee :: new( DAI , 125313283208 , Destination :: Account ( FeeProcessor :: pot_account_id( ) ) ) ,
257+ Fee :: new( DAI , 137844611530 , Destination :: Account ( Omnipool :: protocol_account( ) ) ) ,
258+ Fee :: new( DAI , 112781954887 , Destination :: Account ( FeeProcessor :: pot_account_id( ) ) ) ,
259259 ] ,
260260 operation_stack: vec![
261261 ExecutionType :: DCA ( schedule_id, 0 ) ,
@@ -299,8 +299,8 @@ mod omnipool {
299299 inputs: vec![ Asset :: new( LRNA , 70175443178473 ) ] ,
300300 outputs: vec![ Asset :: new( DAI , amount_out) ] ,
301301 fees: vec![
302- Fee :: new( DAI , 125313283209 , Destination :: Account ( Omnipool :: protocol_account( ) ) ) ,
303- Fee :: new( DAI , 125313283208 , Destination :: Account ( FeeProcessor :: pot_account_id( ) ) ) ,
302+ Fee :: new( DAI , 137844611530 , Destination :: Account ( Omnipool :: protocol_account( ) ) ) ,
303+ Fee :: new( DAI , 112781954887 , Destination :: Account ( FeeProcessor :: pot_account_id( ) ) ) ,
304304 ] ,
305305 operation_stack: vec![
306306 ExecutionType :: DCA ( schedule_id, 3 ) ,
@@ -847,8 +847,8 @@ mod omnipool {
847847 inputs: vec![ Asset :: new( LRNA , 49974999160577 ) ] ,
848848 outputs: vec![ Asset :: new( DAI , 71214372624206 ) ] ,
849849 fees: vec![
850- Fee :: new( DAI , 89241068452 , Destination :: Account ( Omnipool :: protocol_account( ) ) ) ,
851- Fee :: new( DAI , 89241068451 , Destination :: Account ( FeeProcessor :: pot_account_id( ) ) ) ,
850+ Fee :: new( DAI , 98165175298 , Destination :: Account ( Omnipool :: protocol_account( ) ) ) ,
851+ Fee :: new( DAI , 80316961605 , Destination :: Account ( FeeProcessor :: pot_account_id( ) ) ) ,
852852 ] ,
853853 operation_stack: vec![
854854 ExecutionType :: DCA ( schedule_id, 0 ) ,
@@ -892,8 +892,8 @@ mod omnipool {
892892 inputs: vec![ Asset :: new( LRNA , 49974997362314 ) ] ,
893893 outputs: vec![ Asset :: new( DAI , 71214367824533 ) ] ,
894894 fees: vec![
895- Fee :: new( DAI , 89241062438 , Destination :: Account ( Omnipool :: protocol_account( ) ) ) ,
896- Fee :: new( DAI , 89241062436 , Destination :: Account ( FeeProcessor :: pot_account_id( ) ) ) ,
895+ Fee :: new( DAI , 98165168682 , Destination :: Account ( Omnipool :: protocol_account( ) ) ) ,
896+ Fee :: new( DAI , 80316956192 , Destination :: Account ( FeeProcessor :: pot_account_id( ) ) ) ,
897897 ] ,
898898 operation_stack: vec![
899899 ExecutionType :: DCA ( schedule_id, 3 ) ,
@@ -4752,7 +4752,7 @@ mod with_onchain_route {
47524752 let fee = Currencies :: free_balance ( DOT , & Treasury :: account_id ( ) ) ;
47534753 assert ! ( fee > 0 , "The treasury did not receive the fee" ) ;
47544754
4755- assert_balance ! ( ALICE . into( ) , HDX , 5268049466638357 ) ;
4755+ assert_balance ! ( ALICE . into( ) , HDX , 5268049466638368 ) ;
47564756 assert_reserved_balance ! ( & ALICE . into( ) , DOT , dca_budget - amount_to_sell - fee) ;
47574757 } ) ;
47584758 }
0 commit comments