Skip to content
New issue

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

ContractsApi v2 support #5330

Closed
wants to merge 4 commits into from
Closed

ContractsApi v2 support #5330

wants to merge 4 commits into from

Conversation

jacogr
Copy link
Member

@jacogr jacogr commented Nov 11, 2022

No description provided.

jasl added a commit to jasl/polkadotjs-api that referenced this pull request Nov 11, 2022
@jacogr
Copy link
Member Author

jacogr commented Nov 12, 2022

included in #5324

@jacogr jacogr closed this Nov 12, 2022
@jacogr jacogr deleted the jg-ContractsApi-v2 branch November 12, 2022 15:37
jacogr pushed a commit that referenced this pull request Nov 13, 2022
* Update contract' gas to Weight type

* Make Contracts Runtime Calls support WeightV2

* fix gasConsumed & gasConsumed type

* Regenerate contracts types

* Correct ContractCallOutcome

* `gasLimit` are optional

* Apply suggestion

* Add ContractCallRequestV1 and specify old rpc use that

* Add back getGas

* Port jg-ContractsApi-v2 (#5330)

* Run yarn build:metadata

* There is no 'ContractCallRequestV1', only 'ContractCallRequest'

* api.tx.contracts.call.meta no version field, _isOldWeight still work?
@polkadot-js-bot
Copy link

This pull request has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@polkadot-js polkadot-js locked as resolved and limited conversation to collaborators Nov 14, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants