elrond-sdk-erdpy icon indicating copy to clipboard operation
elrond-sdk-erdpy copied to clipboard

Make mxpy fully compatible with API (not only with Gateway)

Open andreibancioiu opened this issue 7 months ago • 1 comments

Problematic example:

mxpy contract deploy --bytecode adder.wasm --arguments 0x00 \
    --pem erd1testnlersh4z0wsv8kjx39me4rmnvjkwu8dsaea7ukdvvc9z396qykv7z7.pem \
    --recall-nonce  --gas-limit 5000000 \
    --proxy https://devnet-api.multiversx.com --send

This broadcasts the transaction, but the API's response cannot be parsed by ProxyNetworkProvider. An exception is raised.

andreibancioiu avatar Jan 17 '24 19:01 andreibancioiu

Temporary workaround: use --proxy https://devnet-gateway.multiversx.com instead of --proxy https://devnet-api.multiversx.com.

andreibancioiu avatar Jan 17 '24 20:01 andreibancioiu