--- a/doc/sponsoring-flow.drawio.svg +++ b/doc/sponsoring-flow.drawio.svg @@ -1,6 +1,14 @@ - - - + + + + + + + + + + + @@ -251,20 +259,20 @@ - + -
+
- SponsorshipHandler<H160, (H160, Vec<u8>), CallContext> + SponsorshipHandler<CrossAccountId, (H160, Vec<u8>), CallContext>
- - SponsorshipHandler<H160, (H160, Vec<u8>), CallContext> + + SponsorshipHandler<CrossAccountId, (H160, Vec<u8>), CallContext> --- a/doc/sponsoring.md +++ b/doc/sponsoring.md @@ -6,7 +6,7 @@ If you need to add sponsoring for pallet call, you should implement `SponsorshipHandler` -If you need to add sponsoring for EVM contract call, you should implement `SponsorshipHandler), CallContext>` +If you need to add sponsoring for EVM contract call, you should implement `SponsorshipHandler), CallContext>` For both examples, you can take a look at `UniqueSponsorshipHandler` struct inside of common runtime