polkadot-js / tools

Various cli tools for Polkadot and Substrate chains, including basic node monitoring, making API queries via a cli app and other command-line tools
Apache License 2.0
279 stars 69 forks source link

ContractPromise api does not load ABI #485

Open MrishoLukamba opened 1 year ago

MrishoLukamba commented 1 year ago

This is a bug, Experience in React Js and next Js, object obtained from initializing ContractPromise does not load contract ABI to interact with the Contract. Initially it worked fine both in Phala and Ink Vanilla.

@jacogr @joepetrowski

stackexchange

jacogr commented 1 year ago

There are no details? At all? (Only external links)

Marking as duplicate - logged elsewhere on SE, so tracked elsewhere.

MrishoLukamba commented 1 year ago

There are no details? At all? (Only external links)

Marking as duplicate - logged elsewhere on SE, so tracked elsewhere.

image

Query, tx ..etc are marked as private fields. I cant access them when building up a txn using ContractPromise Api.

This issue happened when I updated to Ink4.0. @jacogr @joepetrowski