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

refactor(mainnet): pallet_proxy config & tests #441

Draft
wants to merge 21 commits into
base: al3mart/refactor-mainnet-config
Choose a base branch
from

Conversation

al3mart
Copy link
Collaborator

@al3mart al3mart commented Jan 21, 2025

Extends proxy config module for the pallet:

  • pallet_proxy

Notable configuration items are:

  • pallet_proxy

Updated deposits for mainnet runtime:

// One storage item; key size 32, value size 16.
pub const ProxyDepositBase: Balance = deposit(1, 48);
// Additional storage item size of AccountId 32 bytes + ProxyType 1 byte + BlockNum 4 bytes.
pub const ProxyDepositFactor: Balance = deposit(0, 37);
// One storage item; key size 32, value size 16.
pub const AnnouncementDepositBase: Balance = deposit(1, 48);
// Additional storage item 32 bytes AccountId + 32 bytes Hash + 4 bytes BlockNum.
pub const AnnouncementDepositFactor: Balance = deposit(0, 68);
type MaxPending = 32;
type MaxProxies = 32;

[sc-2205]

chungquantin and others added 21 commits January 3, 2025 12:24
Co-authored-by: Daanvdplas <[email protected]>
Co-authored-by: Daan van der Plas <[email protected]>
@al3mart al3mart force-pushed the al3mart/refactor-mainnet-config branch 3 times, most recently from 7359e7a to 9594a3b Compare January 24, 2025 17:20
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.

3 participants