{TypeError}TypeError("Parameter to MergeFrom() must be instance of same class: expected <class 'cosmos.base.v1beta1.coin_pb2.Coin'> got <class 'str'>.") #285
I am trying to simulate this transaction: https://explorer.injective.network/transaction/090A5FD7E2BE63EA79EF6021F24F7C86EE3F80A12C247BBB9C35375CF402318A/
This is my code:
`async def main(contract: str, amount_to_buy: float) -> None:
select network: local, testnet, mainnet
I am trying to simulate this transaction:
https://explorer.injective.network/transaction/090A5FD7E2BE63EA79EF6021F24F7C86EE3F80A12C247BBB9C35375CF402318A/
Error here: https://explorer.injective.network/transaction/F61A61D714AA4E337CCAEBC81554D01B36799686DF16DDC16C62370ABA81B033/
How to create "MsgExecuteContractCompat"?