Skip to content

pop call contract not working properly #710

@tsenovilla

Description

@tsenovilla

Calling this command

pop call contract \
-p ./ \
-u wss://testnet-passet-hub.polkadot.io \
--contract 0x4ea5394ad19589052f7803f45ae4caa3041485b9 \
-s 0xfa273dfe0ffd0e021804b2616c4b2d61eff091f2cdd4f57c065d1b262a434fac \
--message swap_pas_to_usdc --args 10000000000 1000000 5DFYUxHHuEAcHQX4qZr3WoZhAqbEZoDFqUgbQuT9P5A9iDci -x

on this contract https://github.com/r0gue-io/symbiosis-contract-examples/tree/main/swap_pas_for_usdc prompts the user about the args, even tho they are specified on the command.

Additionally, all calls that attempt to modify the state prompts the user about the gas estimation if the --dev flag isn't used.

This is blocking the use of this command in CIs and AI integrations, which is a special pain in the ass for the coming sub0

Metadata

Metadata

Assignees

Labels

bugSomething isn't workinghigh priorityThis issue is a high priority

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions