moonbeam-foundation / crowdloan-rewards

Substrate pallet that enables parachains to issue rewards to crowdloan contributors in parachain-native tokens.
12 stars 16 forks source link

Add wrapped bytes to signature #46

Closed girazoki closed 3 years ago

girazoki commented 3 years ago

It wraps the signature to change the reward address through relay keys around "", to be compatible with polkadot-js extension. Additionally adds a new trait to ensure the caller of the reward address change extrinsic is the one we dictate in the runtime