Skip to content

Commit

Permalink
Add unstable-api feature flag to pallet-revive (#6866)
Browse files Browse the repository at this point in the history
Follow up refactor to
#6844 (review)

I still need to finish adding `#[cfg(feature = "unstable-api")]` to the
rest of the tests and make sure all tests pass, I want to make sure I'm
moving into right direction first

@athei @xermicus

---------

Co-authored-by: DavidK <[email protected]>
Co-authored-by: Alexander Theißen <[email protected]>
  • Loading branch information
3 people authored Dec 13, 2024
1 parent 482bf08 commit 482dd23
Show file tree
Hide file tree
Showing 6 changed files with 747 additions and 676 deletions.
13 changes: 13 additions & 0 deletions prdoc/pr_6866.prdoc
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
title: Refactor `pallet-revive-uapi` pallet
doc:
- audience: Runtime Dev
description: Puts unstable host functions in `uapi` under
`unstable-api` feature while moving those functions after
stable functions.
crates:
- name: pallet-revive
bump: patch
- name: pallet-revive-fixtures
bump: patch
- name: pallet-revive-uapi
bump: major
2 changes: 1 addition & 1 deletion substrate/frame/revive/fixtures/build/_Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ edition = "2021"

# All paths are injected dynamically by the build script.
[dependencies]
uapi = { package = 'pallet-revive-uapi', path = "", default-features = false }
uapi = { package = 'pallet-revive-uapi', path = "", features = ["unstable-api"], default-features = false }
common = { package = 'pallet-revive-fixtures-common', path = "" }
polkavm-derive = { version = "0.17.0" }

Expand Down
Loading

0 comments on commit 482dd23

Please sign in to comment.