Skip to content

Conversation

@chungquantin
Copy link
Contributor

@chungquantin chungquantin commented Aug 12, 2024

CHANGELOG

Contracts-Related Changes

3384: pallet_contracts stabilize call_v2, instantiate_v2, lock_dependency and unlock_dependency.

These APIs are currently unstable and are being stabilized in this PR.
Note: add_delegate_dependency and remove_delegate_dependency have been renamed to lock_dependency and unlock_dependency respectively.

3243: Don't fail fast if the weight limit of a cross contract call is too big

Cross contracts calls will now be executed even if the supplied weight limit is bigger than the reamining weight. If the actual weight is too low they will fail in the cross contract call and roll back. This is different from the old behaviour where the limit for the cross contract call must be smaller than the remaining weight.

3154: Contracts: Stabilize caller_is_root API

Removed the #[unstable] attrribute on caller_is_root host function.

3184: Contracts: Remove no longer enforced limits from the Schedule

The limits are no longer in use and do nothing. Every builder overwritting them can just adapt their code to remove them without any consequence.

3415: [pallet-contracts] Add APIVersion to the config.

Add APIVersion to the config to communicate the state of the Host functions exposed by the pallet.

@chungquantin chungquantin merged commit a05d9e7 into r0gue-io:developer Aug 12, 2024
@chungquantin chungquantin mentioned this pull request Aug 12, 2024
7 tasks
chungquantin added a commit that referenced this pull request Aug 15, 2024
Upgrade Polkadot version from 1.7.0 to 1.8.0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants