Contracts Add new version for marking new stable API (#3415)

Add a `ApiVersion` constant to the pallet-contracts Config to
communicate with developers the current state of the host functions
exposed by the pallet
This commit is contained in:
PG Herveou
2024-02-23 14:10:06 +01:00
committed by GitHub
parent 64050cf347
commit f2645eec12
6 changed files with 31 additions and 0 deletions
@@ -72,5 +72,6 @@ impl Config for Runtime {
type RuntimeHoldReason = RuntimeHoldReason;
type Debug = ();
type Environment = ();
type ApiVersion = ();
type Xcm = pallet_xcm::Pallet<Self>;
}