Skip to content

Instantly share code, notes, and snippets.

@erwanor
Created June 29, 2023 13:30
Show Gist options
  • Save erwanor/69ed6b90169941d73d51521852e49a37 to your computer and use it in GitHub Desktop.
Save erwanor/69ed6b90169941d73d51521852e49a37 to your computer and use it in GitHub Desktop.
`path_search` loop detour
We can make this file beautiful and searchable if this error is corrected: Illegal quoting in line 1.
:EndBlock{height=45227}:dex:handle_batch_swaps:route_and_fill: filled all input, exiting route_and_fill"
:EndBlock{height=45227}:dex:handle_batch_swaps:route_and_fill: filled along best path input=1000000 output=2426597 unfilled=0
:EndBlock{height=45227}:dex:handle_batch_swaps:route_and_fill:fill_route: returning swap execution of filled route swap_execution=SwapExecution { traces: [[Value { amount: 1000000, asset_id: pen }, Value { amount: 20000000, asset_id: test_usd }, Value { amount: 1000000, asset_id: pen }, Value { amount: 2426597, asset_id: gm }]], input: Value { amount: 1000000, asset_id: pen }, output: Value { amount: 2426597, asset_id: gm } }"
:EndBlock{height=45227}:dex:handle_batch_swaps:route_and_fill:fill_route:put_position{id=plpid1vhcjwcmz9egx8rwnxzadvaanx8en4v2jd8t8yw8mxsqkh5g7q72qmeca8t}: indexing position for 2=>1 trades
:EndBlock{height=45227}:dex:handle_batch_swaps:route_and_fill:fill_route:put_position{id=plpid1vhcjwcmz9egx8rwnxzadvaanx8en4v2jd8t8yw8mxsqkh5g7q72qmeca8t}: indexing position for 1=>2 trades
:EndBlock{height=45227}:dex:handle_batch_swaps:route_and_fill:fill_route:put_position{id=plpid1vhcjwcmz9egx8rwnxzadvaanx8en4v2jd8t8yw8mxsqkh5g7q72qmeca8t}: deindexing position
:EndBlock{height=45227}:dex:handle_batch_swaps:route_and_fill:fill_route:put_position{id=plpid1vhcjwcmz9egx8rwnxzadvaanx8en4v2jd8t8yw8mxsqkh5g7q72qmeca8t}: position=Position { state: Opened, reserves: Reserves { r1: 20419775, r2: 3359124 }, phi: TradingFunction { component: BareTradingFunction { fee: 14, p: 1000000, q: 2430000 }, pair: TradingPair { asset_1: gm, asset_2: pen } }, nonce: ""a5e4afd1b5d76ac80229dc2e92d68fb391d513a2a35c44ff5cb35a4fb1548c28"" }"
:EndBlock{height=45227}:dex:handle_batch_swaps:route_and_fill:fill_route:put_position{id=plpid1v62675rfhepc3nn3frsnva75jxqx2jms4mfcupmk4mvrszsu87rq4fjlt7}: indexing position for 2=>1 trades
:EndBlock{height=45227}:dex:handle_batch_swaps:route_and_fill:fill_route:put_position{id=plpid1v62675rfhepc3nn3frsnva75jxqx2jms4mfcupmk4mvrszsu87rq4fjlt7}: indexing position for 1=>2 trades
:EndBlock{height=45227}:dex:handle_batch_swaps:route_and_fill:fill_route:put_position{id=plpid1v62675rfhepc3nn3frsnva75jxqx2jms4mfcupmk4mvrszsu87rq4fjlt7}: deindexing position
:EndBlock{height=45227}:dex:handle_batch_swaps:route_and_fill:fill_route:put_position{id=plpid1v62675rfhepc3nn3frsnva75jxqx2jms4mfcupmk4mvrszsu87rq4fjlt7}: position=Position { state: Opened, reserves: Reserves { r1: 4233280780, r2: 791477472 }, phi: TradingFunction { component: BareTradingFunction { fee: 0, p: 1000000, q: 20000000 }, pair: TradingPair { asset_1: test_usd, asset_2: pen } }, nonce: ""e3f8ff44bea5f89e0af8778b5a33622b1684f20ac4b1ced054778f3b665dee10"" }"
:EndBlock{height=45227}:dex:handle_batch_swaps:route_and_fill:fill_route:put_position{id=plpid1py33u82zuzjvrc3424tx4ngf4jq3vumkpe2xvqzkhlt2nmwmhq6sgfn0ft}: indexing position for 2=>1 trades
:EndBlock{height=45227}:dex:handle_batch_swaps:route_and_fill:fill_route:put_position{id=plpid1py33u82zuzjvrc3424tx4ngf4jq3vumkpe2xvqzkhlt2nmwmhq6sgfn0ft}: indexing position for 1=>2 trades
:EndBlock{height=45227}:dex:handle_batch_swaps:route_and_fill:fill_route:put_position{id=plpid1py33u82zuzjvrc3424tx4ngf4jq3vumkpe2xvqzkhlt2nmwmhq6sgfn0ft}: deindexing position
:EndBlock{height=45227}:dex:handle_batch_swaps:route_and_fill:fill_route:put_position{id=plpid1py33u82zuzjvrc3424tx4ngf4jq3vumkpe2xvqzkhlt2nmwmhq6sgfn0ft}: position=Position { state: Opened, reserves: Reserves { r1: 566719220, r2: 21821114 }, phi: TradingFunction { component: BareTradingFunction { fee: 0, p: 1000000, q: 20000000 }, pair: TradingPair { asset_1: test_usd, asset_2: pen } }, nonce: ""1efce592b52c5e4ea817cca4f7acdc93edadfb38048a5b143cb7479253cce34d"" }"
:EndBlock{height=45227}:dex:handle_batch_swaps:route_and_fill:fill_route: filled input amount completely, breaking loop"
:EndBlock{height=45227}:dex:handle_batch_swaps:route_and_fill:fill_route: completed fill iteration, updating frontier current_input=1000000 current_output=2426597 input=0 output=2426597"
:EndBlock{height=45227}:dex:handle_batch_swaps:route_and_fill:fill_route:fill_unconstrained{input=1000000}:fill_forward{start_index=0 input=1000000}: filling forward along frontier
:EndBlock{height=45227}:dex:handle_batch_swaps:route_and_fill:fill_route:sense_capacity_constraint{input=1000000}: completely filled i=2 current_input=1000000 unfilled=0 output=2426597 old_reserves=Reserves { r1: 22846372, r2: 2359124 } new_reserves=Reserves { r1: 20419775, r2: 3359124 }"
:EndBlock{height=45227}:dex:handle_batch_swaps:route_and_fill:fill_route:sense_capacity_constraint{input=1000000}: completely filled i=1 current_input=20000000 unfilled=0 output=1000000 old_reserves=Reserves { r1: 4213280780, r2: 792477472 } new_reserves=Reserves { r1: 4233280780, r2: 791477472 }"
:EndBlock{height=45227}:dex:handle_batch_swaps:route_and_fill:fill_route:sense_capacity_constraint{input=1000000}: completely filled i=0 current_input=1000000 unfilled=0 output=20000000 old_reserves=Reserves { r1: 586719220, r2: 20821114 } new_reserves=Reserves { r1: 566719220, r2: 21821114 }"
:EndBlock{height=45227}:dex:handle_batch_swaps:route_and_fill:fill_route:sense_capacity_constraint{input=1000000}: sensing frontier capacity with test amount
:EndBlock{height=45227}:dex:handle_batch_swaps:route_and_fill:fill_route: assembled initial frontier frontier=Frontier { pairs: [DirectedTradingPair { start: pen, end: test_usd }, DirectedTradingPair { start: test_usd, end: pen }, DirectedTradingPair { start: pen, end: gm }], positions: [Position { state: Opened, reserves: Reserves { r1: 586719220, r2: 20821114 }, phi: TradingFunction { component: BareTradingFunction { fee: 0, p: 1000000, q: 20000000 }, pair: TradingPair { asset_1: test_usd, asset_2: pen } }, nonce: ""1efce592b52c5e4ea817cca4f7acdc93edadfb38048a5b143cb7479253cce34d"" }, Position { state: Opened, reserves: Reserves { r1: 4213280780, r2: 792477472 }, phi: TradingFunction { component: BareTradingFunction { fee: 0, p: 1000000, q: 20000000 }, pair: TradingPair { asset_1: test_usd, asset_2: pen } }, nonce: ""e3f8ff44bea5f89e0af8778b5a33622b1684f20ac4b1ced054778f3b665dee10"" }, Position { state: Opened, reserves: Reserves { r1: 22846372, r2: 2359124 }, phi: TradingFunction { component: BareTradingFunction { fee: 14, p: 1000000, q: 2430000 }, pair: TradingPair { asset_1: gm, asset_2: pen } }, nonce: ""a5e4afd1b5d76ac80229dc2e92d68fb391d513a2a35c44ff5cb35a4fb1548c28"" }], position_ids: {plpid1py33u82zuzjvrc3424tx4ngf4jq3vumkpe2xvqzkhlt2nmwmhq6sgfn0ft, plpid1vhcjwcmz9egx8rwnxzadvaanx8en4v2jd8t8yw8mxsqkh5g7q72qmeca8t, plpid1v62675rfhepc3nn3frsnva75jxqx2jms4mfcupmk4mvrszsu87rq4fjlt7}, trace: [], .. }"
:EndBlock{height=45227}:dex:handle_batch_swaps:route_and_fill:fill_route: key=b""dex/position/plpid1vhcjwcmz9egx8rwnxzadvaanx8en4v2jd8t8yw8mxsqkh5g7q72qmeca8t"" key_hash=KeyHash(""f35a36cf2c8724ec5deebf8856428fa22fefe4e6933d1ba8ee020cb449c0a608"")"
:EndBlock{height=45227}:dex:handle_batch_swaps:route_and_fill:fill_route: key=b""dex/position/plpid1v62675rfhepc3nn3frsnva75jxqx2jms4mfcupmk4mvrszsu87rq4fjlt7"" key_hash=KeyHash(""cc7417a13bec867a4b28fa2c846d719e4a253541ddabe928fd034fb15c2fd147"")"
:EndBlock{height=45227}:dex:handle_batch_swaps:route_and_fill:fill_route: key=b""dex/position/plpid1py33u82zuzjvrc3424tx4ngf4jq3vumkpe2xvqzkhlt2nmwmhq6sgfn0ft"" key_hash=KeyHash(""e719bcdb03bf1f88b31dd1dfa5ab79925091dfd15feedd67a9c33f7d58d0769f"")"
:EndBlock{height=45227}:dex:handle_batch_swaps:route_and_fill:fill_route: input=1000000 route=[pen, test_usd, pen, gm] spill_price=Some(U128x128 { integral: 0, fractional: 140230218157658773090299508790400474844 })"
:EndBlock{height=45227}:dex:handle_batch_swaps:route_and_fill: found path, filling up to spill price path=[test_usd, pen, gm] delta_1=1000000"
:EndBlock{height=45227}:dex:handle_batch_swaps:route_and_fill:path_search{max_hops=4}: found path price=0.41209957314726214 spill_price=0.41209957314726214 src=pen nodes=[test_usd, pen, gm]"
:EndBlock{height=45227}:dex:handle_batch_swaps:route_and_fill:path_search{max_hops=4}: finished relaxing all active paths i=3
:EndBlock{height=45227}:dex:handle_batch_swaps:route_and_fill:path_search{max_hops=4}:path{start=pen}:via{id=test_usd}:via{id=pen}: new path is better than spill path, updating cache new_spill_price=1 old_spill_price=1"
:EndBlock{height=45227}:dex:handle_batch_swaps:route_and_fill:path_search{max_hops=4}:path{start=pen}:via{id=test_usd}:via{id=test_atom}: new path is a suitable spill path, updating cache new_spill_price=0.45085858585858585"
:EndBlock{height=45227}:dex:handle_batch_swaps:route_and_fill:path_search{max_hops=4}:path{start=pen}:via{id=test_usd}:extend_to{new_end=pen}: extended path path_price=1 hop_price=20 id=plpid1v62675rfhepc3nn3frsnva75jxqx2jms4mfcupmk4mvrszsu87rq4fjlt7
:EndBlock{height=45227}:dex:handle_batch_swaps:route_and_fill:path_search{max_hops=4}:path{start=pen}:via{id=test_usd}:extend_to{new_end=pen}: deindexing position
:EndBlock{height=45227}:dex:handle_batch_swaps:route_and_fill:path_search{max_hops=4}:path{start=pen}:via{id=test_usd}:via{id=pen}:via{id=gm}:via{id=pen}: new path is worse than spill path, ignore new_spill_price=1.0395304547858866 old_spill_price=1"
:EndBlock{height=45227}:dex:handle_batch_swaps:route_and_fill:path_search{max_hops=4}:path{start=pen}:via{id=test_usd}:extend_to{new_end=test_atom}: extended path path_price=0.45085858585858585 hop_price=9.017171717171717 id=plpid10gl55qghuuf9dfspzj9w4ghguged03kmvf9ms9mgzre0zmpt5ngsrdssk8
:EndBlock{height=45227}:dex:handle_batch_swaps:route_and_fill:path_search{max_hops=4}:path{start=pen}:via{id=test_usd}:extend_to{new_end=test_atom}: deindexing position
:EndBlock{height=45227}:dex:handle_batch_swaps:route_and_fill:path_search{max_hops=4}:path{start=pen}:via{id=test_usd}:via{id=test_btc}: new path is a suitable spill path, updating cache new_spill_price=14.84911616161616"
:EndBlock{height=45227}:dex:handle_batch_swaps:route_and_fill:path_search{max_hops=4}:path{start=pen}:via{id=test_usd}:via{id=pen}:via{id=gm}:extend_to{new_end=pen}: extended path path_price=1.0395304547858866 hop_price=2.5225225225225225 id=plpid1nrq88fqgfm4ryt68p92pzckpn9v3sc8x96yqjdceyeuzms6kqnsswvyutx
:EndBlock{height=45227}:dex:handle_batch_swaps:route_and_fill:path_search{max_hops=4}:path{start=pen}:via{id=test_usd}:via{id=pen}:via{id=gm}:extend_to{new_end=pen}: deindexing position
:EndBlock{height=45227}:dex:handle_batch_swaps:route_and_fill:path_search{max_hops=4}:path{start=pen}:via{id=test_usd}:via{id=pen}:via{id=gn}:via{id=pen}: new path is worse than spill path, ignore new_spill_price=1.1111111111111112 old_spill_price=1"
:EndBlock{height=45227}:dex:handle_batch_swaps:route_and_fill:path_search{max_hops=4}:path{start=pen}:via{id=test_usd}:via{id=pen}:via{id=gn}:extend_to{new_end=pen}: extended path path_price=1.1111111111111112 hop_price=0.1111111111111111 id=plpid1w2x46ewmczr9cdvur44nywn5m39vjgtfc699tzpd6j8x44k87j2sgfphjx
:EndBlock{height=45227}:dex:handle_batch_swaps:route_and_fill:path_search{max_hops=4}:path{start=pen}:via{id=test_usd}:via{id=pen}:via{id=gn}:extend_to{new_end=pen}: deindexing position
:EndBlock{height=45227}:dex:handle_batch_swaps:route_and_fill:path_search{max_hops=4}:path{start=pen}:via{id=test_usd}:extend_to{new_end=test_btc}: extended path path_price=14.84911616161616 hop_price=296.9823232323232 id=plpid1ng6ngyt27c3mnv4lk78j296vc9avja5s35tlv203jyx07dssmc6qxfmfus
:EndBlock{height=45227}:dex:handle_batch_swaps:route_and_fill:path_search{max_hops=4}:path{start=pen}:via{id=test_usd}:extend_to{new_end=test_btc}: deindexing position
:EndBlock{height=45227}:dex:handle_batch_swaps:route_and_fill:path_search{max_hops=4}:path{start=pen}:via{id=test_usd}:via{id=pen}:via{id=gn}:extend_to{new_end=test_osmo}: no best position, failing to extend path"
:EndBlock{height=45227}:dex:handle_batch_swaps:route_and_fill:path_search{max_hops=4}:path{start=pen}:via{id=test_usd}:extend_to{new_end=pen}: key=b""dex/position/plpid1v62675rfhepc3nn3frsnva75jxqx2jms4mfcupmk4mvrszsu87rq4fjlt7"" key_hash=KeyHash(""cc7417a13bec867a4b28fa2c846d719e4a253541ddabe928fd034fb15c2fd147"")"
:EndBlock{height=45227}:dex:handle_batch_swaps:route_and_fill:path_search{max_hops=4}:path{start=pen}:via{id=test_usd}:extend_to{new_end=test_atom}: key=b""dex/position/plpid10gl55qghuuf9dfspzj9w4ghguged03kmvf9ms9mgzre0zmpt5ngsrdssk8"" key_hash=KeyHash(""52433ac81f204b7ff52f663787c1382d8b74104737cd22141efb2a65f967bca5"")"
:EndBlock{height=45227}:dex:handle_batch_swaps:route_and_fill:path_search{max_hops=4}:path{start=pen}:via{id=test_usd}:extend_to{new_end=test_osmo}: no best position, failing to extend path"
:EndBlock{height=45227}:dex:handle_batch_swaps:route_and_fill:path_search{max_hops=4}:path{start=pen}:via{id=test_usd}:extend_to{new_end=test_usd}: no best position, failing to extend path"
:EndBlock{height=45227}:dex:handle_batch_swaps:route_and_fill:path_search{max_hops=4}:path{start=pen}:via{id=test_usd}:extend_to{new_end=gm}: no best position, failing to extend path"
:EndBlock{height=45227}:dex:handle_batch_swaps:route_and_fill:path_search{max_hops=4}:path{start=pen}:via{id=test_usd}:via{id=pen}:via{id=gm}:extend_to{new_end=pen}: key=b""dex/position/plpid1nrq88fqgfm4ryt68p92pzckpn9v3sc8x96yqjdceyeuzms6kqnsswvyutx"" key_hash=KeyHash(""c61cf92426d4a0a85f1d16e8053741a06f5407aab7c8ac7ceeb15dbe47f76bd1"")"
:EndBlock{height=45227}:dex:handle_batch_swaps:route_and_fill:path_search{max_hops=4}:path{start=pen}:via{id=test_usd}:via{id=pen}:via{id=gm}:extend_to{new_end=test_atom}: no best position, failing to extend path"
:EndBlock{height=45227}:dex:handle_batch_swaps:route_and_fill:path_search{max_hops=4}:path{start=pen}:via{id=test_usd}:via{id=pen}:via{id=gm}:extend_to{new_end=test_osmo}: no best position, failing to extend path"
:EndBlock{height=45227}:dex:handle_batch_swaps:route_and_fill:path_search{max_hops=4}:path{start=pen}:via{id=test_usd}:via{id=pen}:via{id=gm}:extend_to{new_end=test_usd}: no best position, failing to extend path"
:EndBlock{height=45227}:dex:handle_batch_swaps:route_and_fill:path_search{max_hops=4}:path{start=pen}:via{id=test_usd}:via{id=pen}:via{id=gm}:extend_to{new_end=test_btc}: no best position, failing to extend path"
:EndBlock{height=45227}:dex:handle_batch_swaps:route_and_fill:path_search{max_hops=4}:path{start=pen}:via{id=test_usd}:via{id=pen}:via{id=gm}:extend_to{new_end=gm}: no best position, failing to extend path"
:EndBlock{height=45227}:dex:handle_batch_swaps:route_and_fill:path_search{max_hops=4}:path{start=pen}:via{id=test_usd}:via{id=pen}:via{id=gn}:extend_to{new_end=test_atom}: no best position, failing to extend path"
:EndBlock{height=45227}:dex:handle_batch_swaps:route_and_fill:path_search{max_hops=4}:path{start=pen}:via{id=test_usd}:via{id=pen}:via{id=gn}:extend_to{new_end=pen}: key=b""dex/position/plpid1w2x46ewmczr9cdvur44nywn5m39vjgtfc699tzpd6j8x44k87j2sgfphjx"" key_hash=KeyHash(""63a65e71da691ce975bc130de076032396a436c5afad9cb4938e37eb1b8a38e3"")"
:EndBlock{height=45227}:dex:handle_batch_swaps:route_and_fill:path_search{max_hops=4}:path{start=pen}:via{id=test_usd}:extend_to{new_end=gn}: no best position, failing to extend path"
:EndBlock{height=45227}:dex:handle_batch_swaps:route_and_fill:path_search{max_hops=4}:path{start=pen}:via{id=test_usd}:via{id=pen}:via{id=gn}:extend_to{new_end=test_usd}: no best position, failing to extend path"
:EndBlock{height=45227}:dex:handle_batch_swaps:route_and_fill:path_search{max_hops=4}:path{start=pen}:via{id=test_usd}:via{id=pen}:via{id=gn}:extend_to{new_end=test_btc}: no best position, failing to extend path"
:EndBlock{height=45227}:dex:handle_batch_swaps:route_and_fill:path_search{max_hops=4}:path{start=pen}:via{id=test_usd}:via{id=pen}:via{id=gn}:extend_to{new_end=gm}: no best position, failing to extend path"
:EndBlock{height=45227}:dex:handle_batch_swaps:route_and_fill:path_search{max_hops=4}:path{start=pen}:via{id=test_usd}:via{id=pen}:via{id=gm}:extend_to{new_end=gn}: no best position, failing to extend path"
:EndBlock{height=45227}:dex:handle_batch_swaps:route_and_fill:path_search{max_hops=4}:path{start=pen}:via{id=test_usd}:via{id=pen}:via{id=gn}:extend_to{new_end=gn}: no best position, failing to extend path"
:EndBlock{height=45227}:dex:handle_batch_swaps:route_and_fill:path_search{max_hops=4}:path{start=pen}:via{id=test_usd}: relaxing path degree=7 candidates=[gm, test_btc, test_usd, test_osmo, test_atom, pen, gn]"
:EndBlock{height=45227}:dex:handle_batch_swaps:route_and_fill:path_search{max_hops=4}:path{start=pen}:via{id=test_usd}:via{id=pen}:via{id=gm}: relaxing path degree=7 candidates=[gm, test_btc, test_usd, test_osmo, test_atom, pen, gn]"
:EndBlock{height=45227}:dex:handle_batch_swaps:route_and_fill:path_search{max_hops=4}:path{start=pen}:via{id=test_usd}:via{id=pen}:via{id=gn}: relaxing path degree=7 candidates=[gm, test_btc, test_usd, test_osmo, test_atom, pen, gn]"
:EndBlock{height=45227}:dex:handle_batch_swaps:route_and_fill:path_search{max_hops=4}: relaxing active paths active_paths_len=3
:EndBlock{height=45227}:dex:handle_batch_swaps:route_and_fill:path_search{max_hops=4}: finished relaxing all active paths i=2
:EndBlock{height=45227}:dex:handle_batch_swaps:route_and_fill:path_search{max_hops=4}:path{start=pen}:via{id=test_usd}:via{id=pen}:via{id=gn}: new path is better than best path, updating cache new_price=10 old_price=10"
:EndBlock{height=45227}:dex:handle_batch_swaps:route_and_fill:path_search{max_hops=4}:path{start=pen}:via{id=test_usd}:via{id=pen}:extend_to{new_end=gn}: extended path path_price=10 hop_price=10 id=plpid14y9xhqefe69y5hk33rw2n3q9jett7pc693jmjcj5k4jfyd5au9lsz7gy0h
:EndBlock{height=45227}:dex:handle_batch_swaps:route_and_fill:path_search{max_hops=4}:path{start=pen}:via{id=test_usd}:via{id=pen}:extend_to{new_end=gn}: deindexing position
:EndBlock{height=45227}:dex:handle_batch_swaps:route_and_fill:path_search{max_hops=4}:path{start=pen}:via{id=test_usd}:via{id=pen}:via{id=gm}: new path is better than best path, updating cache new_price=0.41209957314726214 old_price=0.41209957314726214"
:EndBlock{height=45227}:dex:handle_batch_swaps:route_and_fill:path_search{max_hops=4}:path{start=pen}:via{id=test_usd}:via{id=pen}:extend_to{new_end=gm}: extended path path_price=0.41209957314726214 hop_price=0.41209957314726214 id=plpid1vhcjwcmz9egx8rwnxzadvaanx8en4v2jd8t8yw8mxsqkh5g7q72qmeca8t
:EndBlock{height=45227}:dex:handle_batch_swaps:route_and_fill:path_search{max_hops=4}:path{start=pen}:via{id=test_usd}:via{id=pen}:extend_to{new_end=gm}: deindexing position
:EndBlock{height=45227}:dex:handle_batch_swaps:route_and_fill:path_search{max_hops=4}:path{start=pen}:via{id=test_usd}:via{id=pen}:extend_to{new_end=pen}: no best position, failing to extend path"
:EndBlock{height=45227}:dex:handle_batch_swaps:route_and_fill:path_search{max_hops=4}:path{start=pen}:via{id=test_usd}:via{id=pen}:via{id=test_usd}: new path is worse than spill path, ignore new_spill_price=0.05555555555555555 old_spill_price=0.05101518517898797"
:EndBlock{height=45227}:dex:handle_batch_swaps:route_and_fill:path_search{max_hops=4}:path{start=pen}:via{id=test_usd}:via{id=pen}:extend_to{new_end=test_usd}: extended path path_price=0.05555555555555555 hop_price=0.05555555555555555 id=plpid1ru563uja2ldkmplp4qn65hwm4asj82sqh3azjr9cpeupuj8lfrsqw8gf4g
:EndBlock{height=45227}:dex:handle_batch_swaps:route_and_fill:path_search{max_hops=4}:path{start=pen}:via{id=test_usd}:via{id=pen}:extend_to{new_end=test_usd}: deindexing position
:EndBlock{height=45227}:dex:handle_batch_swaps:route_and_fill:path_search{max_hops=4}:path{start=pen}:via{id=test_usd}:via{id=test_atom}:extend_to{new_end=pen}: no best position, failing to extend path"
:EndBlock{height=45227}:dex:handle_batch_swaps:route_and_fill:path_search{max_hops=4}:path{start=pen}:via{id=test_usd}:via{id=pen}:extend_to{new_end=test_osmo}: no best position, failing to extend path"
:EndBlock{height=45227}:dex:handle_batch_swaps:route_and_fill:path_search{max_hops=4}:path{start=pen}:via{id=test_usd}:via{id=pen}:extend_to{new_end=test_atom}: no best position, failing to extend path"
:EndBlock{height=45227}:dex:handle_batch_swaps:route_and_fill:path_search{max_hops=4}:path{start=pen}:via{id=test_usd}:via{id=pen}:extend_to{new_end=test_btc}: no best position, failing to extend path"
:EndBlock{height=45227}:dex:handle_batch_swaps:route_and_fill:path_search{max_hops=4}:path{start=pen}:via{id=test_usd}:via{id=pen}:extend_to{new_end=gn}: key=b""dex/position/plpid14y9xhqefe69y5hk33rw2n3q9jett7pc693jmjcj5k4jfyd5au9lsz7gy0h"" key_hash=KeyHash(""3c8e217de4221e068bfeeaf18107808e9e4866773deaf64eea0d35f5cf15850c"")"
:EndBlock{height=45227}:dex:handle_batch_swaps:route_and_fill:path_search{max_hops=4}:path{start=pen}:via{id=test_usd}:via{id=pen}:extend_to{new_end=test_usd}: key=b""dex/position/plpid1ru563uja2ldkmplp4qn65hwm4asj82sqh3azjr9cpeupuj8lfrsqw8gf4g"" key_hash=KeyHash(""593e67d0c8199c1b13f322f7ced26ebeb85385a56b77ef8eb31d589f3d515be0"")"
:EndBlock{height=45227}:dex:handle_batch_swaps:route_and_fill:path_search{max_hops=4}:path{start=pen}:via{id=test_usd}:via{id=pen}:extend_to{new_end=gm}: key=b""dex/position/plpid1vhcjwcmz9egx8rwnxzadvaanx8en4v2jd8t8yw8mxsqkh5g7q72qmeca8t"" key_hash=KeyHash(""f35a36cf2c8724ec5deebf8856428fa22fefe4e6933d1ba8ee020cb449c0a608"")"
:EndBlock{height=45227}:dex:handle_batch_swaps:route_and_fill:path_search{max_hops=4}:path{start=pen}:via{id=test_usd}:via{id=pen}: relaxing path degree=7 candidates=[gm, test_btc, test_usd, test_osmo, test_atom, pen, gn]"
:EndBlock{height=45227}:dex:handle_batch_swaps:route_and_fill:path_search{max_hops=4}:path{start=pen}:via{id=test_usd}:via{id=test_atom}:extend_to{new_end=test_atom}: no best position, failing to extend path"
:EndBlock{height=45227}:dex:handle_batch_swaps:route_and_fill:path_search{max_hops=4}:path{start=pen}:via{id=test_usd}:via{id=test_atom}:extend_to{new_end=test_osmo}: no best position, failing to extend path"
:EndBlock{height=45227}:dex:handle_batch_swaps:route_and_fill:path_search{max_hops=4}:path{start=pen}:via{id=test_usd}:via{id=test_atom}:extend_to{new_end=test_btc}: no best position, failing to extend path"
:EndBlock{height=45227}:dex:handle_batch_swaps:route_and_fill:path_search{max_hops=4}:path{start=pen}:via{id=test_usd}:via{id=test_atom}:extend_to{new_end=gn}: no best position, failing to extend path"
:EndBlock{height=45227}:dex:handle_batch_swaps:route_and_fill:path_search{max_hops=4}:path{start=pen}:via{id=test_usd}:via{id=test_atom}:extend_to{new_end=gm}: no best position, failing to extend path"
:EndBlock{height=45227}:dex:handle_batch_swaps:route_and_fill:path_search{max_hops=4}:path{start=pen}:via{id=test_usd}:via{id=test_atom}:extend_to{new_end=test_usd}: no best position, failing to extend path"
:EndBlock{height=45227}:dex:handle_batch_swaps:route_and_fill:path_search{max_hops=4}:path{start=pen}:via{id=test_usd}:via{id=test_atom}: relaxing path degree=7 candidates=[gm, test_btc, test_usd, test_osmo, test_atom, pen, gn]"
:EndBlock{height=45227}:dex:handle_batch_swaps:route_and_fill:path_search{max_hops=4}:path{start=pen}:via{id=test_usd}:via{id=test_btc}:extend_to{new_end=gn}: no best position, failing to extend path"
:EndBlock{height=45227}:dex:handle_batch_swaps:route_and_fill:path_search{max_hops=4}:path{start=pen}:via{id=test_usd}:via{id=test_btc}:extend_to{new_end=pen}: no best position, failing to extend path"
:EndBlock{height=45227}:dex:handle_batch_swaps:route_and_fill:path_search{max_hops=4}:path{start=pen}:via{id=test_usd}:via{id=test_btc}:extend_to{new_end=test_atom}: no best position, failing to extend path"
:EndBlock{height=45227}:dex:handle_batch_swaps:route_and_fill:path_search{max_hops=4}:path{start=pen}:via{id=test_usd}:via{id=test_btc}:extend_to{new_end=test_osmo}: no best position, failing to extend path"
:EndBlock{height=45227}:dex:handle_batch_swaps:route_and_fill:path_search{max_hops=4}:path{start=pen}:via{id=test_usd}:via{id=test_btc}:via{id=test_usd}: new path is a suitable spill path, updating cache new_spill_price=0.05101518517898797"
:EndBlock{height=45227}:dex:handle_batch_swaps:route_and_fill:path_search{max_hops=4}:path{start=pen}:via{id=test_usd}:via{id=test_btc}:extend_to{new_end=test_usd}: extended path path_price=0.05101518517898797 hop_price=0.0034355704826970345 id=plpid134jg7gcmtdfy94ukzex0wjcwmvljxdye3tluhyjg5tkd75c5a7sskzvzs2
:EndBlock{height=45227}:dex:handle_batch_swaps:route_and_fill:path_search{max_hops=4}:path{start=pen}:via{id=test_usd}:via{id=test_btc}:extend_to{new_end=test_usd}: deindexing position
:EndBlock{height=45227}:dex:handle_batch_swaps:route_and_fill:path_search{max_hops=4}:path{start=pen}:via{id=test_usd}:via{id=test_btc}:extend_to{new_end=test_usd}: key=b""dex/position/plpid134jg7gcmtdfy94ukzex0wjcwmvljxdye3tluhyjg5tkd75c5a7sskzvzs2"" key_hash=KeyHash(""816d7ad179bf2536cf9112072d69e2de816670fdb0cbc8a6ac2947797afe2061"")"
:EndBlock{height=45227}:dex:handle_batch_swaps:route_and_fill:path_search{max_hops=4}:path{start=pen}:via{id=test_usd}:via{id=test_btc}:extend_to{new_end=test_btc}: no best position, failing to extend path"
:EndBlock{height=45227}:dex:handle_batch_swaps:route_and_fill:path_search{max_hops=4}:path{start=pen}:via{id=test_usd}:via{id=test_btc}:extend_to{new_end=gm}: no best position, failing to extend path"
:EndBlock{height=45227}:dex:handle_batch_swaps:route_and_fill:path_search{max_hops=4}:path{start=pen}:via{id=test_usd}:via{id=test_btc}: relaxing path degree=7 candidates=[gm, test_btc, test_usd, test_osmo, test_atom, pen, gn]"
:EndBlock{height=45227}:dex:handle_batch_swaps:route_and_fill:path_search{max_hops=4}: relaxing active paths active_paths_len=3
:EndBlock{height=45227}:dex:handle_batch_swaps:route_and_fill:path_search{max_hops=4}: finished relaxing all active paths i=1
:EndBlock{height=45227}:dex:handle_batch_swaps:route_and_fill:path_search{max_hops=4}:path{start=pen}:via{id=test_usd}:via{id=pen}: new path is better than best path, updating cache new_price=1 old_price=1"
:EndBlock{height=45227}:dex:handle_batch_swaps:route_and_fill:path_search{max_hops=4}:path{start=pen}:via{id=test_usd}:extend_to{new_end=pen}: extended path path_price=1 hop_price=20 id=plpid1v62675rfhepc3nn3frsnva75jxqx2jms4mfcupmk4mvrszsu87rq4fjlt7
:EndBlock{height=45227}:dex:handle_batch_swaps:route_and_fill:path_search{max_hops=4}:path{start=pen}:via{id=test_usd}:extend_to{new_end=pen}: deindexing position
:EndBlock{height=45227}:dex:handle_batch_swaps:route_and_fill:path_search{max_hops=4}:path{start=pen}:via{id=test_usd}:via{id=test_atom}: inserting new path
:EndBlock{height=45227}:dex:handle_batch_swaps:route_and_fill:path_search{max_hops=4}:path{start=pen}:via{id=test_usd}:extend_to{new_end=test_atom}: extended path path_price=0.45085858585858585 hop_price=9.017171717171717 id=plpid10gl55qghuuf9dfspzj9w4ghguged03kmvf9ms9mgzre0zmpt5ngsrdssk8
:EndBlock{height=45227}:dex:handle_batch_swaps:route_and_fill:path_search{max_hops=4}:path{start=pen}:via{id=test_usd}:extend_to{new_end=test_atom}: deindexing position
:EndBlock{height=45227}:dex:handle_batch_swaps:route_and_fill:path_search{max_hops=4}:path{start=pen}:via{id=gn}:extend_to{new_end=gn}: no best position, failing to extend path"
:EndBlock{height=45227}:dex:handle_batch_swaps:route_and_fill:path_search{max_hops=4}:path{start=pen}:via{id=gn}:via{id=pen}: new path is worse than spill path, ignore new_spill_price=1.1111111111111112 old_spill_price=1.0395304547858866"
:EndBlock{height=45227}:dex:handle_batch_swaps:route_and_fill:path_search{max_hops=4}:path{start=pen}:via{id=gn}:extend_to{new_end=pen}: extended path path_price=1.1111111111111112 hop_price=0.1111111111111111 id=plpid1w2x46ewmczr9cdvur44nywn5m39vjgtfc699tzpd6j8x44k87j2sgfphjx
:EndBlock{height=45227}:dex:handle_batch_swaps:route_and_fill:path_search{max_hops=4}:path{start=pen}:via{id=test_usd}:extend_to{new_end=gn}: no best position, failing to extend path"
:EndBlock{height=45227}:dex:handle_batch_swaps:route_and_fill:path_search{max_hops=4}:path{start=pen}:via{id=test_usd}:extend_to{new_end=test_atom}: key=b""dex/position/plpid10gl55qghuuf9dfspzj9w4ghguged03kmvf9ms9mgzre0zmpt5ngsrdssk8"" key_hash=KeyHash(""52433ac81f204b7ff52f663787c1382d8b74104737cd22141efb2a65f967bca5"")"
:EndBlock{height=45227}:dex:handle_batch_swaps:route_and_fill:path_search{max_hops=4}:path{start=pen}:via{id=gn}:extend_to{new_end=pen}: deindexing position
:EndBlock{height=45227}:dex:handle_batch_swaps:route_and_fill:path_search{max_hops=4}:path{start=pen}:via{id=test_usd}:via{id=test_btc}: inserting new path
:EndBlock{height=45227}:dex:handle_batch_swaps:route_and_fill:path_search{max_hops=4}:path{start=pen}:via{id=test_usd}:extend_to{new_end=test_btc}: extended path path_price=14.84911616161616 hop_price=296.9823232323232 id=plpid1ng6ngyt27c3mnv4lk78j296vc9avja5s35tlv203jyx07dssmc6qxfmfus
:EndBlock{height=45227}:dex:handle_batch_swaps:route_and_fill:path_search{max_hops=4}:path{start=pen}:via{id=test_usd}:extend_to{new_end=test_btc}: deindexing position
:EndBlock{height=45227}:dex:handle_batch_swaps:route_and_fill:path_search{max_hops=4}:path{start=pen}:via{id=test_usd}:extend_to{new_end=test_osmo}: no best position, failing to extend path"
:EndBlock{height=45227}:dex:handle_batch_swaps:route_and_fill:path_search{max_hops=4}:path{start=pen}:via{id=gm}:via{id=pen}: new path is a suitable spill path, updating cache new_spill_price=1.0395304547858866"
:EndBlock{height=45227}:dex:handle_batch_swaps:route_and_fill:path_search{max_hops=4}:path{start=pen}:via{id=gm}:extend_to{new_end=pen}: extended path path_price=1.0395304547858866 hop_price=2.5225225225225225 id=plpid1nrq88fqgfm4ryt68p92pzckpn9v3sc8x96yqjdceyeuzms6kqnsswvyutx
:EndBlock{height=45227}:dex:handle_batch_swaps:route_and_fill:path_search{max_hops=4}:path{start=pen}:via{id=gm}:extend_to{new_end=pen}: deindexing position
:EndBlock{height=45227}:dex:handle_batch_swaps:route_and_fill:path_search{max_hops=4}:path{start=pen}:via{id=test_usd}:extend_to{new_end=test_usd}: no best position, failing to extend path"
:EndBlock{height=45227}:dex:handle_batch_swaps:route_and_fill:path_search{max_hops=4}:path{start=pen}:via{id=test_usd}:extend_to{new_end=pen}: key=b""dex/position/plpid1v62675rfhepc3nn3frsnva75jxqx2jms4mfcupmk4mvrszsu87rq4fjlt7"" key_hash=KeyHash(""cc7417a13bec867a4b28fa2c846d719e4a253541ddabe928fd034fb15c2fd147"")"
:EndBlock{height=45227}:dex:handle_batch_swaps:route_and_fill:path_search{max_hops=4}:path{start=pen}:via{id=gn}:extend_to{new_end=pen}: key=b""dex/position/plpid1w2x46ewmczr9cdvur44nywn5m39vjgtfc699tzpd6j8x44k87j2sgfphjx"" key_hash=KeyHash(""63a65e71da691ce975bc130de076032396a436c5afad9cb4938e37eb1b8a38e3"")"
:EndBlock{height=45227}:dex:handle_batch_swaps:route_and_fill:path_search{max_hops=4}:path{start=pen}:via{id=gn}:extend_to{new_end=test_atom}: no best position, failing to extend path"
:EndBlock{height=45227}:dex:handle_batch_swaps:route_and_fill:path_search{max_hops=4}:path{start=pen}:via{id=gn}:extend_to{new_end=test_usd}: no best position, failing to extend path"
:EndBlock{height=45227}:dex:handle_batch_swaps:route_and_fill:path_search{max_hops=4}:path{start=pen}:via{id=test_usd}:extend_to{new_end=gm}: no best position, failing to extend path"
:EndBlock{height=45227}:dex:handle_batch_swaps:route_and_fill:path_search{max_hops=4}:path{start=pen}:via{id=gn}:extend_to{new_end=test_osmo}: no best position, failing to extend path"
:EndBlock{height=45227}:dex:handle_batch_swaps:route_and_fill:path_search{max_hops=4}:path{start=pen}:via{id=gn}:extend_to{new_end=test_btc}: no best position, failing to extend path"
:EndBlock{height=45227}:dex:handle_batch_swaps:route_and_fill:path_search{max_hops=4}:path{start=pen}:via{id=test_usd}: relaxing path degree=7 candidates=[gm, test_btc, test_usd, test_osmo, test_atom, pen, gn]"
:EndBlock{height=45227}:dex:handle_batch_swaps:route_and_fill:path_search{max_hops=4}:path{start=pen}:via{id=gm}:extend_to{new_end=pen}: key=b""dex/position/plpid1nrq88fqgfm4ryt68p92pzckpn9v3sc8x96yqjdceyeuzms6kqnsswvyutx"" key_hash=KeyHash(""c61cf92426d4a0a85f1d16e8053741a06f5407aab7c8ac7ceeb15dbe47f76bd1"")"
:EndBlock{height=45227}:dex:handle_batch_swaps:route_and_fill:path_search{max_hops=4}:path{start=pen}:via{id=gm}:extend_to{new_end=test_atom}: no best position, failing to extend path"
:EndBlock{height=45227}:dex:handle_batch_swaps:route_and_fill:path_search{max_hops=4}:path{start=pen}:via{id=gm}:extend_to{new_end=gn}: no best position, failing to extend path"
:EndBlock{height=45227}:dex:handle_batch_swaps:route_and_fill:path_search{max_hops=4}:path{start=pen}:via{id=gm}:extend_to{new_end=test_osmo}: no best position, failing to extend path"
:EndBlock{height=45227}:dex:handle_batch_swaps:route_and_fill:path_search{max_hops=4}:path{start=pen}:via{id=gm}:extend_to{new_end=test_usd}: no best position, failing to extend path"
:EndBlock{height=45227}:dex:handle_batch_swaps:route_and_fill:path_search{max_hops=4}:path{start=pen}:via{id=gm}:extend_to{new_end=test_btc}: no best position, failing to extend path"
:EndBlock{height=45227}:dex:handle_batch_swaps:route_and_fill:path_search{max_hops=4}:path{start=pen}:via{id=gn}:extend_to{new_end=gm}: no best position, failing to extend path"
:EndBlock{height=45227}:dex:handle_batch_swaps:route_and_fill:path_search{max_hops=4}:path{start=pen}:via{id=gm}:extend_to{new_end=gm}: no best position, failing to extend path"
:EndBlock{height=45227}:dex:handle_batch_swaps:route_and_fill:path_search{max_hops=4}:path{start=pen}:via{id=gm}: relaxing path degree=7 candidates=[gm, test_btc, test_usd, test_osmo, test_atom, pen, gn]"
:EndBlock{height=45227}:dex:handle_batch_swaps:route_and_fill:path_search{max_hops=4}:path{start=pen}:via{id=gn}: relaxing path degree=7 candidates=[gm, test_btc, test_usd, test_osmo, test_atom, pen, gn]"
:EndBlock{height=45227}:dex:handle_batch_swaps:route_and_fill:path_search{max_hops=4}: relaxing active paths active_paths_len=3
:EndBlock{height=45227}:dex:handle_batch_swaps:route_and_fill:path_search{max_hops=4}: finished relaxing all active paths i=0
:EndBlock{height=45227}:dex:handle_batch_swaps:route_and_fill:path_search{max_hops=4}:path{start=pen}:via{id=gn}: inserting new path
:EndBlock{height=45227}:dex:handle_batch_swaps:route_and_fill:path_search{max_hops=4}:path{start=pen}:extend_to{new_end=gn}: extended path path_price=10 hop_price=10 id=plpid14y9xhqefe69y5hk33rw2n3q9jett7pc693jmjcj5k4jfyd5au9lsz7gy0h
:EndBlock{height=45227}:dex:handle_batch_swaps:route_and_fill:path_search{max_hops=4}:path{start=pen}:extend_to{new_end=gn}: deindexing position
:EndBlock{height=45227}:dex:handle_batch_swaps:route_and_fill:path_search{max_hops=4}:path{start=pen}:extend_to{new_end=gn}: key=b""dex/position/plpid14y9xhqefe69y5hk33rw2n3q9jett7pc693jmjcj5k4jfyd5au9lsz7gy0h"" key_hash=KeyHash(""3c8e217de4221e068bfeeaf18107808e9e4866773deaf64eea0d35f5cf15850c"")"
:EndBlock{height=45227}:dex:handle_batch_swaps:route_and_fill:path_search{max_hops=4}:path{start=pen}:via{id=gm}: inserting new path
:EndBlock{height=45227}:dex:handle_batch_swaps:route_and_fill:path_search{max_hops=4}:path{start=pen}:extend_to{new_end=gm}: extended path path_price=0.41209957314726214 hop_price=0.41209957314726214 id=plpid1vhcjwcmz9egx8rwnxzadvaanx8en4v2jd8t8yw8mxsqkh5g7q72qmeca8t
:EndBlock{height=45227}:dex:handle_batch_swaps:route_and_fill:path_search{max_hops=4}:path{start=pen}:extend_to{new_end=gm}: deindexing position
:EndBlock{height=45227}:dex:handle_batch_swaps:route_and_fill:path_search{max_hops=4}:path{start=pen}:extend_to{new_end=gm}: key=b""dex/position/plpid1vhcjwcmz9egx8rwnxzadvaanx8en4v2jd8t8yw8mxsqkh5g7q72qmeca8t"" key_hash=KeyHash(""f35a36cf2c8724ec5deebf8856428fa22fefe4e6933d1ba8ee020cb449c0a608"")"
:EndBlock{height=45227}:dex:handle_batch_swaps:route_and_fill:path_search{max_hops=4}:path{start=pen}:via{id=test_usd}: inserting new path
:EndBlock{height=45227}:dex:handle_batch_swaps:route_and_fill:path_search{max_hops=4}:path{start=pen}:extend_to{new_end=test_usd}: extended path path_price=0.05 hop_price=0.05 id=plpid1py33u82zuzjvrc3424tx4ngf4jq3vumkpe2xvqzkhlt2nmwmhq6sgfn0ft
:EndBlock{height=45227}:dex:handle_batch_swaps:route_and_fill:path_search{max_hops=4}:path{start=pen}:extend_to{new_end=test_usd}: deindexing position
:EndBlock{height=45227}:dex:handle_batch_swaps:route_and_fill:path_search{max_hops=4}:path{start=pen}:extend_to{new_end=test_btc}: no best position, failing to extend path"
:EndBlock{height=45227}:dex:handle_batch_swaps:route_and_fill:path_search{max_hops=4}:path{start=pen}:extend_to{new_end=test_osmo}: no best position, failing to extend path"
:EndBlock{height=45227}:dex:handle_batch_swaps:route_and_fill:path_search{max_hops=4}:path{start=pen}:extend_to{new_end=test_atom}: no best position, failing to extend path"
:EndBlock{height=45227}:dex:handle_batch_swaps:route_and_fill:path_search{max_hops=4}:path{start=pen}:extend_to{new_end=test_usd}: key=b""dex/position/plpid1py33u82zuzjvrc3424tx4ngf4jq3vumkpe2xvqzkhlt2nmwmhq6sgfn0ft"" key_hash=KeyHash(""e719bcdb03bf1f88b31dd1dfa5ab79925091dfd15feedd67a9c33f7d58d0769f"")"
:EndBlock{height=45227}:dex:handle_batch_swaps:route_and_fill:path_search{max_hops=4}:path{start=pen}:extend_to{new_end=pen}: no best position, failing to extend path"
:EndBlock{height=45227}:dex:handle_batch_swaps:route_and_fill:path_search{max_hops=4}:path{start=pen}: relaxing path degree=7 candidates=[gm, test_btc, test_usd, test_osmo, test_atom, pen, gn]"
:EndBlock{height=45227}:dex:handle_batch_swaps:route_and_fill:path_search{max_hops=4}: relaxing active paths active_paths_len=1
:EndBlock{height=45227}:dex:handle_batch_swaps:route_and_fill:path_search{max_hops=4}:path{start=pen}: beginning path
:EndBlock{height=45227}:dex:handle_batch_swaps:route_and_fill:path_search{max_hops=4}: searching for path src=pen dst=gm max_hops=4
:EndBlock{height=45227}:dex:handle_batch_swaps:route_and_fill: starting route_and_fill delta_1=1000000 asset_1=pen asset_2=gm
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment