mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-06-11 21:11:07 +00:00
Change Contracts::DefaultMaxDepth from 1024 to 32 (#3855)
* Change DefaultMaxDepth from 1024 to 32 * bump impl and spec version
This commit is contained in:
@@ -84,7 +84,7 @@ pub const VERSION: RuntimeVersion = RuntimeVersion {
|
||||
// and set impl_version to equal spec_version. If only runtime
|
||||
// implementation changes and behavior does not, then leave spec_version as
|
||||
// is and increment impl_version.
|
||||
spec_version: 179,
|
||||
spec_version: 180,
|
||||
impl_version: 180,
|
||||
apis: RUNTIME_API_VERSIONS,
|
||||
};
|
||||
|
||||
@@ -325,7 +325,7 @@ parameter_types! {
|
||||
/// A reasonable default value for [`Trait::InstantiateBaseFee`].
|
||||
pub const DefaultInstantiateBaseFee: u32 = 1000;
|
||||
/// A reasonable default value for [`Trait::MaxDepth`].
|
||||
pub const DefaultMaxDepth: u32 = 1024;
|
||||
pub const DefaultMaxDepth: u32 = 32;
|
||||
/// A reasonable default value for [`Trait::MaxValueSize`].
|
||||
pub const DefaultMaxValueSize: u32 = 16_384;
|
||||
/// A reasonable default value for [`Trait::BlockGasLimit`].
|
||||
|
||||
Reference in New Issue
Block a user