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 #1558

Closed
wants to merge 23 commits into from

Conversation

boundless-forest
Copy link
Member

No description provided.

Base automatically changed from xavier/r to main August 13, 2024 02:50
@AurevoirXavier
Copy link
Member

Please rebase main.

@boundless-forest boundless-forest deleted the bear-add-precompile-interface branch August 13, 2024 03:53
Copy link

Check ddf9d39 crab-dev

Check runtime version

Check runtime storage

Copy link

Check ddf9d39 darwinia-dev

Check runtime version

Check runtime storage

Copy link

Check ddf9d39 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: [] }

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants