We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Tested it with the potion package, but this probably applies to all packages.
The 'owner' attribute when instantiating the contract is the public key. When getting the information using get_query we get the address.
get_query
it('instantiates the smart contract', async () => { const result = await contract.instantiate( { ownable_id: '88pDRu52FpsU3kKHwdvPV21RMkBqVqNnthjfdCesTHQhLnUpanw49n6b2PzGnEy', package: 'bafybeie4ts4mbcw4pswzh45bj32ulcyztup2dr7zbbjv3y2ym3q3uuejba', network_id: 'T', }, { sender: account.publicKey, funds: [] }, ); assert.equal(result.attributes.owner, account.address); });
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Tested it with the potion package, but this probably applies to all packages.
The 'owner' attribute when instantiating the contract is the public key. When getting the information using
get_query
we get the address.The text was updated successfully, but these errors were encountered: