Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update deposit precompile interfaces #1561

Merged
merged 1 commit into from
Aug 13, 2024

Conversation

boundless-forest
Copy link
Member

No description provided.

Copy link

Check 60f1891 darwinia-dev

Check runtime version

Check runtime storage

Copy link

Check 60f1891 crab-dev

Check runtime version

Check runtime storage

Copy link

Check 60f1891 koi-dev

Check runtime version

Check runtime storage

Pallet DarwiniaStaking
+ Entry: StorageEntryMetadata { name: "CollatorsCache0", modifier: Default, ty: Plain(UntrackedSymbol { id: 43, marker: PhantomData<fn() -> core::any::TypeId> }), default: [0], docs: [" Exposure cache 0."] }
+ Entry: StorageEntryMetadata { name: "CollatorsCache1", modifier: Default, ty: Plain(UntrackedSymbol { id: 43, marker: PhantomData<fn() -> core::any::TypeId> }), default: [0], docs: [" Exposure cache 1."] }
+ Entry: StorageEntryMetadata { name: "CollatorsCache2", modifier: Default, ty: Plain(UntrackedSymbol { id: 43, marker: PhantomData<fn() -> core::any::TypeId> }), default: [0], docs: [" Exposure cache 2."] }
+ Entry: StorageEntryMetadata { name: "CollatorsCacheState", modifier: Default, ty: Plain(UntrackedSymbol { id: 372, marker: PhantomData<fn() -> core::any::TypeId> }), default: [0, 1, 2], docs: [" Collator cache state.", "", " 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: "ExposureCacheStates", modifier: Default, ty: Plain(UntrackedSymbol { id: 372, marker: PhantomData<fn() -> core::any::TypeId> }), default: [0, 1, 2], docs: [" 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: "ExposureCacheStates", modifier: Default, ty: Plain(UntrackedSymbol { id: 372, marker: PhantomData<fn() -> core::any::TypeId> }), default: [0, 1, 2], docs: [" 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: "KtonRewardDistributionContract", modifier: Default, ty: Plain(UntrackedSymbol { id: 0, marker: PhantomData<fn() -> core::any::TypeId> }), default: [109, 111, 100, 108, 100, 97, 47, 115, 116, 97, 107, 105, 0, 0, 0, 0, 0, 0, 0, 0], docs: [" KTON reward distribution contract address."] }
+ Entry: StorageEntryMetadata { name: "KtonStakingContract", modifier: Optional, ty: Plain(UntrackedSymbol { id: 0, marker: PhantomData<fn() -> core::any::TypeId> }), default: [0], docs: [" KTON staking contract address."] }
+ 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: "RingStakingContract", modifier: Optional, ty: Plain(UntrackedSymbol { id: 0, marker: PhantomData<fn() -> core::any::TypeId> }), default: [0], docs: [" RING staking contract address."] }

Pallet Deposit
+ Entry: StorageEntryMetadata { name: "DepositContract", modifier: Optional, ty: Plain(UntrackedSymbol { id: 0, marker: PhantomData<fn() -> core::any::TypeId> }), default: [0], docs: [] }

@AurevoirXavier AurevoirXavier added the C-Precompile [Component] Something about precompile label Aug 13, 2024
@AurevoirXavier AurevoirXavier merged commit f99b409 into main Aug 13, 2024
11 checks passed
@AurevoirXavier AurevoirXavier deleted the bear-add-precompile-interface branch August 13, 2024 06:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
C-Precompile [Component] Something about precompile
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

3 participants