Open
Description
Hi, I'm working on a Go client in the testnet to check how the package works for swapping between the grand-1
and initiation-2
chain IDs for uusdc
. The API successfully creates a route, but executing the route gives me an error:
Error: Query failed with (6): rpc error: code = Unknown desc = error decoding address (0x777105889E6E42F2BED14DD4D7286C9E982A3E31::entry_point::swap_and_action): string not all lowercase or all uppercase [circlefin/[email protected]/x/fiattokenfactory/ante.go:154] with gas used: '1135': unknown request
Route:
{"amount_in":"100000","amount_out":"2885600","chain_ids":["grand-1","initiation-2"],"required_chain_addresses":["grand-1","initiation-2","initiation-2"],"dest_asset_chain_id":"initiation-2","dest_asset_denom":"uinit","does_swap":true,"estimated_amount_out":"2885600","operations":[{"transfer":{"from_chain_id":"grand-1","to_chain_id":"initiation-2","channel":"channel-293","dest_denom":"ibc/185206FF8521AE7DA181D954EB6CBE20998E010CE0C6ED9E375BB3F35D90C0DF","pfm_enabled":false,"port":"transfer","supports_memo":true,"denom_in":"uusdc","denom_out":"ibc/185206FF8521AE7DA181D954EB6CBE20998E010CE0C6ED9E375BB3F35D90C0DF","fee_amount":null,"usd_fee_amount":null,"fee_asset":null,"bridge_id":"IBC","smart_relay":false},"tx_index":0,"amount_in":"100000","amount_out":"100000"},{"swap":{"swap_in":{"price_impact_percent":"0.3001","swap_amount_in":"100000","swap_operations":[{"denom_in":"ibc/185206FF8521AE7DA181D954EB6CBE20998E010CE0C6ED9E375BB3F35D90C0DF","denom_out":"uinit","pool":"initia_dex/move/ee7582e61dbc1464aa00d4436d061daa28223a4a11261f07afed622d3fbf9f27","interface":null}],"swap_venue":{"chain_id":"initiation-2","name":"testnet-initia-dex","logo_uri":"https://raw.githubusercontent.com/initia-labs/initia-registry/0153a339f7b47376162b2d5dba7a9e2cb66f6c01/devnets/mahalo/images/INIT.png"}},"estimated_affiliate_fee":"0uinit","chain_id":"initiation-2","from_chain_id":"initiation-2","denom_in":"ibc/185206FF8521AE7DA181D954EB6CBE20998E010CE0C6ED9E375BB3F35D90C0DF","denom_out":"uinit","swap_venues":[{"chain_id":"initiation-2","name":"testnet-initia-dex","logo_uri":"https://raw.githubusercontent.com/initia-labs/initia-registry/0153a339f7b47376162b2d5dba7a9e2cb66f6c01/devnets/mahalo/images/INIT.png"}]},"tx_index":0,"amount_in":"100000","amount_out":"2885600"}],"source_asset_chain_id":"grand-1","source_asset_denom":"uusdc","swap_venue":{"chain_id":"initiation-2","name":"testnet-initia-dex","logo_uri":"https://raw.githubusercontent.com/initia-labs/initia-registry/0153a339f7b47376162b2d5dba7a9e2cb66f6c01/devnets/mahalo/images/INIT.png"},"txs_required":1,"usd_amount_in":"0.10","usd_amount_out":null,"swap_price_impact_percent":"0.3001","warning":null,"estimated_fees":[],"estimated_route_duration_seconds":30}
message:
{msgs: [{chain_id: grand-1, msg: {"source_port":"transfer","source_channel":"channel-293","token":{"denom":"uusdc","amount":"100000"},"sender":"noble1cl8juytvnp6e5sdcyk2dw3wkjeyk70sa8rfcqv","receiver":"0x777105889E6E42F2BED14DD4D7286C9E982A3E31::entry_point::swap_and_action","timeout_height":{},"timeout_timestamp":1740983770343580634,"memo":"{\"move\":{\"message\":{\"args\":[\"AQA=\",\"AA==\",\"oIYBAAAAAAA=\",\"hM8rAAAAAAA=\",\"AQFFbW92ZS9lZTc1ODJlNjFkYmMxNDY0YWEwMGQ0NDM2ZDA2MWRhYTI4MjIzYTRhMTEyNjFmMDdhZmVkNjIyZDNmYmY5ZjI3\",\"AQJEaWJjLzE4NTIwNkZGODUyMUFFN0RBMTgxRDk1NEVCNkNCRTIwOTk4RTAxMENFMEM2RUQ5RTM3NUJCM0YzNUQ5MEMwREYFdWluaXQ=\",\"AA==\",\"zeIM14M3KRg=\",\"K2luaXQxY2w4anV5dHZucDZlNXNkY3lrMmR3M3dramV5azcwc2Fwa3VybnE=\",\"ASwraW5pdDFjbDhqdXl0dm5wNmU1c2RjeWsyZHczd2tqZXlrNzBzYXBrdXJucQ==\"],\"function_name\":\"swap_and_action\",\"module_address\":\"0x777105889E6E42F2BED14DD4D7286C9E982A3E31\",\"module_name\":\"entry_point\",\"type_args\":[]}}}"}, msg_type_url: /ibc.applications.transfer.v1.MsgTransfer, path: [grand-1, initiation-2]}], txs: [{chain_id: grand-1, path: [grand-1, initiation-2], msgs: [{msg: {"source_port":"transfer","source_channel":"channel-293","token":{"denom":"uusdc","amount":"100000"},"sender":"noble1cl8juytvnp6e5sdcyk2dw3wkjeyk70sa8rfcqv","receiver":"0x777105889E6E42F2BED14DD4D7286C9E982A3E31::entry_point::swap_and_action","timeout_height":{},"timeout_timestamp":1740983770343580634,"memo":"{\"move\":{\"message\":{\"args\":[\"AQA=\",\"AA==\",\"oIYBAAAAAAA=\",\"hM8rAAAAAAA=\",\"AQFFbW92ZS9lZTc1ODJlNjFkYmMxNDY0YWEwMGQ0NDM2ZDA2MWRhYTI4MjIzYTRhMTEyNjFmMDdhZmVkNjIyZDNmYmY5ZjI3\",\"AQJEaWJjLzE4NTIwNkZGODUyMUFFN0RBMTgxRDk1NEVCNkNCRTIwOTk4RTAxMENFMEM2RUQ5RTM3NUJCM0YzNUQ5MEMwREYFdWluaXQ=\",\"AA==\",\"zeIM14M3KRg=\",\"K2luaXQxY2w4anV5dHZucDZlNXNkY3lrMmR3M3dramV5azcwc2Fwa3VybnE=\",\"ASwraW5pdDFjbDhqdXl0dm5wNmU1c2RjeWsyZHczd2tqZXlrNzBzYXBrdXJucQ==\"],\"function_name\":\"swap_and_action\",\"module_address\":\"0x777105889E6E42F2BED14DD4D7286C9E982A3E31\",\"module_name\":\"entry_point\",\"type_args\":[]}}}"}, msg_type_url: /ibc.applications.transfer.v1.MsgTransfer}], signer_address: noble1cl8juytvnp6e5sdcyk2dw3wkjeyk70sa8rfcqv}], estimated_fees: [], warning: null}
Metadata
Metadata
Assignees
Labels
No labels