Skip to content

Audited updates#1628

Merged
aurexav merged 1 commit intomainfrom
xavier/audit
Nov 25, 2024
Merged

Audited updates#1628
aurexav merged 1 commit intomainfrom
xavier/audit

Conversation

@aurexav
Copy link
Member

@aurexav aurexav commented Nov 25, 2024

No description provided.

@aurexav aurexav added C-Pallet [Component] Something about pallet C-Runtime [Component] Something about runtime labels Nov 25, 2024
@github-actions
Copy link

Check dd176c4 crab-dev

Check runtime version

Check runtime storage

@github-actions
Copy link

Check dd176c4 koi-dev

Check runtime version

RuntimeVersion {
    spec_name: "Darwinia Koi",
    impl_name: "DarwiniaOfficialRust",
    authoring_version: 0,
-   spec_version: 6710,
+   spec_version: 6720,
    impl_version: 0,
    transaction_version: 0,
    state_version: 0,
}

Check runtime storage

Pallet DarwiniaStaking
+ Entry: StorageEntryMetadata { name: "AuthoredBlockCount", modifier: Default, ty: Plain(UntrackedSymbol { id: 371, marker: PhantomData<fn() -> core::any::TypeId> }), default: [0, 0, 0, 0, 0], docs: [" Number of blocks authored by the collator within current session."] }
- Entry: StorageEntryMetadata { name: "AuthoredBlocksCount", modifier: Default, ty: Plain(UntrackedSymbol { id: 377, marker: PhantomData<fn() -> core::any::TypeId> }), default: [0, 0, 0, 0, 0], docs: [" Number of blocks authored by the collator within current session."] }
- Entry: StorageEntryMetadata { name: "CacheStates", modifier: Default, ty: Plain(UntrackedSymbol { id: 372, marker: PhantomData<fn() -> core::any::TypeId> }), default: [0, 1, 2], docs: [" Collator/Exposure cache states.", "", " To avoid extra DB RWs during new session, such as:", " ```nocompile", " previous = current;", " current = next;", " next = elect();", " ```", "", " Now, with data:", " ```nocompile", " cache1 == previous;", " cache2 == current;", " cache3 == next;", " ```", " Just need to shift the marker and write the storage map once:", " ```nocompile", " mark(cache3, current);", " mark(cache2, previous);", " mark(cache1, next);", " cache1 = elect();", " ```"] }
- Entry: StorageEntryMetadata { name: "Collators", modifier: Optional, ty: Map { hashers: [Twox64Concat], key: UntrackedSymbol { id: 0, marker: PhantomData<fn() -> core::any::TypeId> }, value: UntrackedSymbol { id: 42, marker: PhantomData<fn() -> core::any::TypeId> } }, default: [0], docs: [" The map from (wannabe) collator to the preferences of that collator."] }
- Entry: StorageEntryMetadata { name: "CollatorsCache0", modifier: Default, ty: Plain(UntrackedSymbol { id: 74, marker: PhantomData<fn() -> core::any::TypeId> }), default: [0], docs: [" Exposure cache 0."] }
- Entry: StorageEntryMetadata { name: "CollatorsCache1", modifier: Default, ty: Plain(UntrackedSymbol { id: 74, marker: PhantomData<fn() -> core::any::TypeId> }), default: [0], docs: [" Exposure cache 1."] }
- Entry: StorageEntryMetadata { name: "CollatorsCache2", modifier: Default, ty: Plain(UntrackedSymbol { id: 74, marker: PhantomData<fn() -> core::any::TypeId> }), default: [0], docs: [" Exposure cache 2."] }
- Entry: StorageEntryMetadata { name: "ExposureCache0", modifier: Optional, ty: Map { hashers: [Twox64Concat], key: UntrackedSymbol { id: 0, marker: PhantomData<fn() -> core::any::TypeId> }, value: UntrackedSymbol { id: 374, marker: PhantomData<fn() -> core::any::TypeId> } }, default: [0], docs: [" Exposure cache 0."] }
- Entry: StorageEntryMetadata { name: "ExposureCache1", modifier: Optional, ty: Map { hashers: [Twox64Concat], key: UntrackedSymbol { id: 0, marker: PhantomData<fn() -> core::any::TypeId> }, value: UntrackedSymbol { id: 374, marker: PhantomData<fn() -> core::any::TypeId> } }, default: [0], docs: [" Exposure cache 1."] }
- Entry: StorageEntryMetadata { name: "ExposureCache2", modifier: Optional, ty: Map { hashers: [Twox64Concat], key: UntrackedSymbol { id: 0, marker: PhantomData<fn() -> core::any::TypeId> }, value: UntrackedSymbol { id: 374, marker: PhantomData<fn() -> core::any::TypeId> } }, default: [0], docs: [" Exposure cache 2."] }
+ Entry: StorageEntryMetadata { name: "Ledgers", modifier: Optional, ty: Map { hashers: [Blake2_128Concat], key: UntrackedSymbol { id: 0, marker: PhantomData<fn() -> core::any::TypeId> }, value: UntrackedSymbol { id: 369, marker: PhantomData<fn() -> core::any::TypeId> } }, default: [0], docs: [" All staking ledgers."] }
- Entry: StorageEntryMetadata { name: "Ledgers", modifier: Optional, ty: Map { hashers: [Blake2_128Concat], key: UntrackedSymbol { id: 0, marker: PhantomData<fn() -> core::any::TypeId> }, value: UntrackedSymbol { id: 370, marker: PhantomData<fn() -> core::any::TypeId> } }, default: [0], docs: [" All staking ledgers."] }
- Entry: StorageEntryMetadata { name: "MigrationStartPoint", modifier: Default, ty: Plain(UntrackedSymbol { id: 6, marker: PhantomData<fn() -> core::any::TypeId> }), default: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], docs: [" Migration start point."] }
- Entry: StorageEntryMetadata { name: "Nominators", modifier: Optional, ty: Map { hashers: [Twox64Concat], key: UntrackedSymbol { id: 0, marker: PhantomData<fn() -> core::any::TypeId> }, value: UntrackedSymbol { id: 0, marker: PhantomData<fn() -> core::any::TypeId> } }, default: [0], docs: [" The map from nominator to their nomination preferences, namely the collator that", " they wish to support."] }
- Entry: StorageEntryMetadata { name: "RateLimit", modifier: Default, ty: Plain(UntrackedSymbol { id: 6, marker: PhantomData<fn() -> core::any::TypeId> }), default: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], docs: [" Rate limit.", "", " The maximum amount of RING that can be staked or unstaked in one session."] }
- Entry: StorageEntryMetadata { name: "RateLimitState", modifier: Default, ty: Plain(UntrackedSymbol { id: 381, marker: PhantomData<fn() -> core::any::TypeId> }), default: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], docs: [" Rate limit state.", "", " Tracks the rate limit state in a session."] }

@github-actions
Copy link

Check dd176c4 darwinia-dev

Check runtime version

Check runtime storage

@aurexav aurexav merged commit 1f85158 into main Nov 25, 2024
@aurexav aurexav deleted the xavier/audit branch November 25, 2024 03:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

C-Pallet [Component] Something about pallet C-Runtime [Component] Something about runtime

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

1 participant