Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
P
polkadot-sdk
Manage
Activity
Members
Labels
Plan
Issues
0
Issue boards
Milestones
Iterations
Wiki
Requirements
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
parity
Mirrored projects
polkadot-sdk
Commits
83097e52
Commit
83097e52
authored
3 years ago
by
Sergey Pepyakin
Committed by
GitHub
3 years ago
Browse files
Options
Downloads
Patches
Plain Diff
Add notice on upgrading some constants (#4532)
Co-authored-by:
Andronik Ordian
<
write@reusable.software
>
parent
e75ad88a
Branches
Branches containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
polkadot/primitives/src/v1/mod.rs
+3
-0
3 additions, 0 deletions
polkadot/primitives/src/v1/mod.rs
with
3 additions
and
0 deletions
polkadot/primitives/src/v1/mod.rs
+
3
−
0
View file @
83097e52
...
...
@@ -241,6 +241,7 @@ pub const ASSIGNMENT_KEY_TYPE_ID: KeyTypeId = KeyTypeId(*b"asgn");
/// * initial genesis for the Parachains configuration
/// * checking updates to this stored runtime configuration do not exceed this limit
/// * when detecting a code decompression bomb in the client
// NOTE: This value is used in the runtime so be careful when changing it.
pub
const
MAX_CODE_SIZE
:
u32
=
3
*
1024
*
1024
;
/// Maximum head data size we support right now.
...
...
@@ -248,6 +249,7 @@ pub const MAX_CODE_SIZE: u32 = 3 * 1024 * 1024;
/// Used for:
/// * initial genesis for the Parachains configuration
/// * checking updates to this stored runtime configuration do not exceed this limit
// NOTE: This value is used in the runtime so be careful when changing it.
pub
const
MAX_HEAD_DATA_SIZE
:
u32
=
1
*
1024
*
1024
;
/// Maximum PoV size we support right now.
...
...
@@ -256,6 +258,7 @@ pub const MAX_HEAD_DATA_SIZE: u32 = 1 * 1024 * 1024;
/// * initial genesis for the Parachains configuration
/// * checking updates to this stored runtime configuration do not exceed this limit
/// * when detecting a PoV decompression bomb in the client
// NOTE: This value is used in the runtime so be careful when changing it.
pub
const
MAX_POV_SIZE
:
u32
=
5
*
1024
*
1024
;
// The public key of a keypair used by a validator for determining assignments
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment