Skip to content

Add Battlepass pallet#231

Merged
FiberMan merged 8 commits intodevfrom
227-add-battlepass-pallet
Dec 23, 2022
Merged

Add Battlepass pallet#231
FiberMan merged 8 commits intodevfrom
227-add-battlepass-pallet

Conversation

@FiberMan
Copy link
Member

No description provided.

@FiberMan FiberMan linked an issue Dec 16, 2022 that may be closed by this pull request
2 tasks
@FiberMan FiberMan force-pushed the 227-add-battlepass-pallet branch from 0a51077 to a188e25 Compare December 22, 2022 13:40
Copy link
Contributor

@vovacha vovacha left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, but building with benchmarks doesn't work (subzero-dev). Can you check it once more?
cargo build --release --features runtime-benchmarks

"gamedao-control/runtime-benchmarks",
"gamedao-flow/runtime-benchmarks",
"gamedao-signal/runtime-benchmarks",
"gamedao-battlepass/runtime-benchmarks",
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There are no benchmarks defined for this pallet.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not yet, will add benchmarks in separate PR.

type StringLimit = StringLimit;
type SymbolLimit = ConstU32<100>;
type PartsLimit = ConstU32<25>;
type MaxResourcesOnMint = ConstU32<100>;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We can reuse the same constants for rmrk_core and this pallet with the parameter_types! macro.

@FiberMan FiberMan force-pushed the 227-add-battlepass-pallet branch from 0883d46 to 9534d2b Compare December 22, 2022 16:35
@FiberMan FiberMan merged commit b7046ed into dev Dec 23, 2022
@vayesy vayesy mentioned this pull request Feb 15, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Create battlepass pallet

2 participants