difftreelog
doc: evm config associated type is EvmSponsorshipHandler
in: master
3 files changed
doc/sponsoring-flow.drawio.svgdiffbeforeafterbothno changes
doc/sponsoring-flow.svgdiffbeforeafterboth--- a/doc/sponsoring-flow.svg
+++ /dev/null
@@ -1,3 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
-<svg xmlns="http://www.w3.org/2000/svg" style="background-color: rgb(255, 255, 255);" xmlns:xlink="http://www.w3.org/1999/xlink" version="1.1" width="549px" height="145px" viewBox="-0.5 -0.5 549 145" content="<mxfile host="app.diagrams.net" modified="2022-09-08T10:54:30.796Z" agent="5.0 (X11)" etag="UB3FA7kKCVjiDN2EyecC" version="14.9.0" type="device"><diagram id="gc-t5MPR75mNDmyf0fnB" name="Page-1">7Vtdb+MoFP01kXYeWvk77mOTZrcrtdJIme10nypi45gdx3gxaZ399Qs2+AunddokzjQjjSpzuQZyD+dwAc/InK6yPwhIwnvsw2hkaH42Mm9GhuFYNvvLDZvCYI3dwrAkyC9MemWYo/+gMGrCukY+TBuOFOOIoqRp9HAcQ482bIAQ/NJ0C3DU7DUBS6gY5h6IVOt35NOwsLrGuLLfQrQMZc+6c1XUrIB0Fr8kDYGPX2omczYypwRjWjytsimMeOxkXIr3ft9SWw6MwJj2eeEOYX/6dHcXLPT7b3Mwn3qP2YVo5RlEa/GDZw/3PJwgilIxbrqRwaAwY11NQrqKmEFnjykl+Aec4ggTZolxzDwnAYqilglEaBmzoscGC5l98gwJRayXa1GxQr7Pu5m8hIjCeQI83ucLm1PMRvA69iH/HRoriSGzBmC2NRZ6GWE2MyFeQUo2zKWclgIUMStNWX6pMHaEKazBK7EEYlYty5arwLMHEfsdcDAVHEaGE/Fg++iZPS754yyjBMUp8lJZyfqq1X9ivIwmXpYxMF6OEmvoM90QRUxoiJc4BtGssraiUvncYZwIeP6BlG6ECII1xU3wij55R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TcFHLI4B7hRv/McqJ8PbTtROrFzRKO1HbccFf7yluQ48Ktf27wF/7XnsbjQP/0KUDEbvnwc0XKp3ra4nzqipoqosSdEWbH6xr9YLqr/KGHO/gc=</diagram></mxfile>"><defs/><g><rect x="430" y="4" width="60" height="20" fill="none" stroke="none" pointer-events="all"/><g transform="translate(-0.5 -0.5)"><switch><foreignObject style="overflow: visible; text-align: left;" pointer-events="none" width="100%" height="100%" requiredFeatures="http://www.w3.org/TR/SVG11/feature#Extensibility"><div xmlns="http://www.w3.org/1999/xhtml" style="display: flex; align-items: unsafe center; justify-content: unsafe center; width: 58px; height: 1px; padding-top: 14px; margin-left: 431px;"><div style="box-sizing: border-box; font-size: 0; text-align: center; "><div style="display: inline-block; font-size: 12px; font-family: Helvetica; color: #000000; line-height: 1.2; pointer-events: all; white-space: normal; word-wrap: normal; ">EVM calls</div></div></div></foreignObject><text x="460" y="18" fill="#000000" font-family="Helvetica" font-size="12px" text-anchor="middle">EVM calls</text></switch></g><rect x="410" y="84" width="60" height="20" fill="none" stroke="none" pointer-events="all"/><g transform="translate(-0.5 -0.5)"><switch><foreignObject style="overflow: visible; text-align: left;" pointer-events="none" width="100%" height="100%" requiredFeatures="http://www.w3.org/TR/SVG11/feature#Extensibility"><div xmlns="http://www.w3.org/1999/xhtml" style="display: flex; align-items: unsafe center; justify-content: unsafe center; width: 58px; height: 1px; padding-top: 94px; margin-left: 411px;"><div style="box-sizing: border-box; font-size: 0; text-align: center; "><div style="display: inline-block; font-size: 12px; font-family: Helvetica; color: #000000; line-height: 1.2; pointer-events: all; white-space: normal; word-wrap: normal; "><div>Extrinsics</div></div></div></div></foreignObject><text x="440" y="98" fill="#000000" font-family="Helvetica" font-size="12px" text-anchor="middle">Extrinsics</text></switch></g><path d="M 20.03 54 L 20.03 74 L 33.63 74" fill="none" stroke="#000000" stroke-miterlimit="10" pointer-events="stroke"/><path d="M 38.88 74 L 31.88 77.5 L 33.63 74 L 31.88 70.5 Z" fill="#000000" stroke="#000000" stroke-miterlimit="10" pointer-events="all"/><path d="M 20.03 34 L 20.03 14 L 33.63 14" fill="none" stroke="#000000" stroke-miterlimit="10" pointer-events="stroke"/><path d="M 38.88 14 L 31.88 17.5 L 33.63 14 L 31.88 10.5 Z" fill="#000000" stroke="#000000" stroke-miterlimit="10" pointer-events="all"/><rect x="0" y="34" width="40" height="20" fill="none" stroke="none" pointer-events="all"/><g transform="translate(-0.5 -0.5)"><switch><foreignObject style="overflow: visible; text-align: left;" pointer-events="none" width="100%" height="100%" requiredFeatures="http://www.w3.org/TR/SVG11/feature#Extensibility"><div xmlns="http://www.w3.org/1999/xhtml" style="display: flex; align-items: unsafe center; justify-content: unsafe center; width: 38px; height: 1px; padding-top: 44px; margin-left: 1px;"><div style="box-sizing: border-box; font-size: 0; text-align: center; "><div style="display: inline-block; font-size: 12px; font-family: Helvetica; color: #000000; line-height: 1.2; pointer-events: all; white-space: normal; word-wrap: normal; "><div>User</div></div></div></div></foreignObject><text x="20" y="48" fill="#000000" font-family="Helvetica" font-size="12px" text-anchor="middle">User</text></switch></g><path d="M 100 74 L 120.03 74 L 115 74 L 128.63 74" fill="none" stroke="#000000" stroke-miterlimit="10" pointer-events="stroke"/><path d="M 133.88 74 L 126.88 77.5 L 128.63 74 L 126.88 70.5 Z" fill="#000000" stroke="#000000" stroke-miterlimit="10" pointer-events="all"/><rect x="40" y="64" width="60" height="20" fill="none" stroke="none" pointer-events="all"/><g transform="translate(-0.5 -0.5)"><switch><foreignObject style="overflow: visible; text-align: left;" pointer-events="none" width="100%" height="100%" requiredFeatures="http://www.w3.org/TR/SVG11/feature#Extensibility"><div xmlns="http://www.w3.org/1999/xhtml" style="display: flex; align-items: unsafe center; justify-content: unsafe center; width: 58px; height: 1px; padding-top: 74px; margin-left: 41px;"><div style="box-sizing: border-box; font-size: 0; text-align: center; "><div style="display: inline-block; font-size: 12px; font-family: Helvetica; color: #000000; line-height: 1.2; pointer-events: all; white-space: normal; word-wrap: normal; "><div>Substrate</div></div></div></div></foreignObject><text x="70" y="78" fill="#000000" font-family="Helvetica" font-size="12px" text-anchor="middle">Substrate</text></switch></g><path d="M 100 14 L 120.03 14 L 133.63 14" fill="none" stroke="#000000" stroke-miterlimit="10" pointer-events="stroke"/><path d="M 138.88 14 L 131.88 17.5 L 133.63 14 L 131.88 10.5 Z" fill="#000000" stroke="#000000" stroke-miterlimit="10" pointer-events="all"/><rect x="40" y="4" width="60" height="20" fill="none" stroke="none" pointer-events="all"/><g transform="translate(-0.5 -0.5)"><switch><foreignObject style="overflow: visible; text-align: left;" pointer-events="none" width="100%" height="100%" requiredFeatures="http://www.w3.org/TR/SVG11/feature#Extensibility"><div xmlns="http://www.w3.org/1999/xhtml" style="display: flex; align-items: unsafe center; justify-content: unsafe center; width: 58px; height: 1px; padding-top: 14px; margin-left: 41px;"><div style="box-sizing: border-box; font-size: 0; text-align: center; "><div style="display: inline-block; font-size: 12px; font-family: Helvetica; color: #000000; line-height: 1.2; pointer-events: all; white-space: normal; word-wrap: normal; "><div>Ethereum</div></div></div></div></foreignObject><text x="70" y="18" fill="#000000" font-family="Helvetica" font-size="12px" text-anchor="middle">Ethereum</text></switch></g><path d="M 230 14 L 260.03 14 L 283.63 14" fill="none" stroke="#6c8ebf" stroke-miterlimit="10" pointer-events="stroke"/><path d="M 288.88 14 L 281.88 17.5 L 283.63 14 L 281.88 10.5 Z" fill="#6c8ebf" stroke="#6c8ebf" stroke-miterlimit="10" pointer-events="all"/><rect x="140" y="4" width="90" height="20" fill="none" stroke="none" pointer-events="all"/><g transform="translate(-0.5 -0.5)"><switch><foreignObject style="overflow: visible; text-align: left;" pointer-events="none" width="100%" height="100%" requiredFeatures="http://www.w3.org/TR/SVG11/feature#Extensibility"><div xmlns="http://www.w3.org/1999/xhtml" style="display: flex; align-items: unsafe center; justify-content: unsafe center; width: 88px; height: 1px; padding-top: 14px; margin-left: 141px;"><div style="box-sizing: border-box; font-size: 0; text-align: center; "><div style="display: inline-block; font-size: 7px; font-family: Helvetica; color: #000000; line-height: 1.2; pointer-events: all; white-space: normal; word-wrap: normal; ">pallet_evm::<br style="font-size: 7px" />TransactionValidityHack</div></div></div></foreignObject><text x="185" y="16" fill="#000000" font-family="Helvetica" font-size="7px" text-anchor="middle">pallet_evm::...</text></switch></g><path d="M 410 14 L 423.63 14" fill="none" stroke="#6c8ebf" stroke-miterlimit="10" pointer-events="stroke"/><path d="M 428.88 14 L 421.88 17.5 L 423.63 14 L 421.88 10.5 Z" fill="#6c8ebf" stroke="#6c8ebf" stroke-miterlimit="10" pointer-events="all"/><rect x="290" y="4" width="120" height="20" fill="none" stroke="none" pointer-events="all"/><g transform="translate(-0.5 -0.5)"><switch><foreignObject style="overflow: visible; text-align: left;" pointer-events="none" width="100%" height="100%" requiredFeatures="http://www.w3.org/TR/SVG11/feature#Extensibility"><div xmlns="http://www.w3.org/1999/xhtml" style="display: flex; align-items: unsafe center; justify-content: unsafe center; width: 118px; height: 1px; padding-top: 14px; margin-left: 291px;"><div style="box-sizing: border-box; font-size: 0; text-align: center; "><div style="display: inline-block; font-size: 12px; font-family: Helvetica; color: #000000; line-height: 1.2; pointer-events: all; white-space: normal; word-wrap: normal; "><p style="line-height: 100% ; font-size: 7px"><font style="font-size: 7px">pallet_charge_evm_transaction::<br />Config::SponsorshipHandler<br /></font></p></div></div></div></foreignObject><text x="350" y="18" fill="#000000" font-family="Helvetica" font-size="12px" text-anchor="middle">pallet_charge_evm_tr...</text></switch></g><path d="M 520 54 L 540.03 54 L 540.03 34 L 260.03 34 L 260.03 14 L 283.63 14" fill="none" stroke="#6c8ebf" stroke-miterlimit="10" pointer-events="stroke"/><path d="M 288.88 14 L 281.88 17.5 L 283.63 14 L 281.88 10.5 Z" fill="#6c8ebf" stroke="#6c8ebf" stroke-miterlimit="10" pointer-events="all"/><rect x="410" y="44" width="110" height="20" fill="none" stroke="none" pointer-events="all"/><g transform="translate(-0.5 -0.5)"><switch><foreignObject style="overflow: visible; text-align: left;" pointer-events="none" width="100%" height="100%" requiredFeatures="http://www.w3.org/TR/SVG11/feature#Extensibility"><div xmlns="http://www.w3.org/1999/xhtml" style="display: flex; align-items: unsafe center; justify-content: unsafe center; width: 108px; height: 1px; padding-top: 54px; margin-left: 411px;"><div style="box-sizing: border-box; font-size: 0; text-align: center; "><div style="display: inline-block; font-size: 7px; font-family: Helvetica; color: #000000; line-height: 1.2; pointer-events: all; white-space: normal; word-wrap: normal; ">pallet_charge_evm_transaction::<br />BridgeSponsorshipHandler</div></div></div></foreignObject><text x="465" y="56" fill="#000000" font-family="Helvetica" font-size="7px" text-anchor="middle">pallet_charge_evm_transaction::...</text></switch></g><path d="M 235 74 L 255 74 L 250.03 74 L 263.63 74" fill="none" stroke="#d6b656" stroke-miterlimit="10" pointer-events="stroke"/><path d="M 268.88 74 L 261.88 77.5 L 263.63 74 L 261.88 70.5 Z" fill="#d6b656" stroke="#d6b656" stroke-miterlimit="10" pointer-events="all"/><rect x="135" y="69" width="100" height="10" fill="none" stroke="none" pointer-events="all"/><g transform="translate(-0.5 -0.5)"><switch><foreignObject style="overflow: visible; text-align: left;" pointer-events="none" width="100%" height="100%" requiredFeatures="http://www.w3.org/TR/SVG11/feature#Extensibility"><div xmlns="http://www.w3.org/1999/xhtml" style="display: flex; align-items: unsafe center; justify-content: unsafe center; width: 98px; height: 1px; padding-top: 74px; margin-left: 136px;"><div style="box-sizing: border-box; font-size: 0; text-align: center; "><div style="display: inline-block; font-size: 7px; font-family: Helvetica; color: #000000; line-height: 1.2; pointer-events: all; white-space: normal; word-wrap: normal; ">pallet_sponsoring::<div style="font-size: 7px">ChargeTransactionPayment</div></div></div></div></foreignObject><text x="185" y="76" fill="#000000" font-family="Helvetica" font-size="7px" text-anchor="middle">pallet_sponsoring::...</text></switch></g><path d="M 370 74 L 390.03 74 L 390.03 94 L 403.63 94" fill="none" stroke="#d6b656" stroke-miterlimit="10" pointer-events="stroke"/><path d="M 408.88 94 L 401.88 97.5 L 403.63 94 L 401.88 90.5 Z" fill="#d6b656" stroke="#d6b656" stroke-miterlimit="10" pointer-events="all"/><g transform="translate(-0.5 -0.5)"><switch><foreignObject style="overflow: visible; text-align: left;" pointer-events="none" width="100%" height="100%" requiredFeatures="http://www.w3.org/TR/SVG11/feature#Extensibility"><div xmlns="http://www.w3.org/1999/xhtml" style="display: flex; align-items: unsafe center; justify-content: unsafe center; width: 1px; height: 1px; padding-top: 81px; margin-left: 390px;"><div style="box-sizing: border-box; font-size: 0; text-align: center; "><div style="display: inline-block; font-size: 7px; font-family: Helvetica; color: #000000; line-height: 1.2; pointer-events: all; background-color: #ffffff; white-space: nowrap; ">tx.others</div></div></div></foreignObject><text x="390" y="83" fill="#000000" font-family="Helvetica" font-size="7px" text-anchor="middle">tx.others</text></switch></g><path d="M 370 74 L 390.03 74 L 390.03 54 L 403.63 54" fill="none" stroke="#d6b656" stroke-miterlimit="10" pointer-events="stroke"/><path d="M 408.88 54 L 401.88 57.5 L 403.63 54 L 401.88 50.5 Z" fill="#d6b656" stroke="#d6b656" stroke-miterlimit="10" pointer-events="all"/><g transform="translate(-0.5 -0.5)"><switch><foreignObject style="overflow: visible; text-align: left;" pointer-events="none" width="100%" height="100%" requiredFeatures="http://www.w3.org/TR/SVG11/feature#Extensibility"><div xmlns="http://www.w3.org/1999/xhtml" style="display: flex; align-items: unsafe center; justify-content: unsafe center; width: 1px; height: 1px; padding-top: 64px; margin-left: 390px;"><div style="box-sizing: border-box; font-size: 0; text-align: center; "><div style="display: inline-block; font-size: 7px; font-family: Helvetica; color: #000000; line-height: 1.2; pointer-events: all; background-color: #ffffff; white-space: nowrap; "><div>tx.evm.call</div></div></div></div></foreignObject><text x="390" y="66" fill="#000000" font-family="Helvetica" font-size="7px" text-anchor="middle">tx.evm.call</text></switch></g><rect x="270" y="64" width="100" height="20" fill="none" stroke="none" pointer-events="all"/><g transform="translate(-0.5 -0.5)"><switch><foreignObject style="overflow: visible; text-align: left;" pointer-events="none" width="100%" height="100%" requiredFeatures="http://www.w3.org/TR/SVG11/feature#Extensibility"><div xmlns="http://www.w3.org/1999/xhtml" style="display: flex; align-items: unsafe center; justify-content: unsafe center; width: 98px; height: 1px; padding-top: 74px; margin-left: 271px;"><div style="box-sizing: border-box; font-size: 0; text-align: center; "><div style="display: inline-block; font-size: 7px; font-family: Helvetica; color: #000000; line-height: 1.2; pointer-events: all; white-space: normal; word-wrap: normal; "><div style="font-size: 7px">pallet_sponsoring::<br />Config::SponsorshipHandler</div></div></div></div></foreignObject><text x="320" y="76" fill="#000000" font-family="Helvetica" font-size="7px" text-anchor="middle">pallet_sponsoring::...</text></switch></g><rect x="10" y="124" width="350" height="20" fill="#dae8fc" stroke="#6c8ebf" pointer-events="all"/><g transform="translate(-0.5 -0.5)"><switch><foreignObject style="overflow: visible; text-align: left;" pointer-events="none" width="100%" height="100%" requiredFeatures="http://www.w3.org/TR/SVG11/feature#Extensibility"><div xmlns="http://www.w3.org/1999/xhtml" style="display: flex; align-items: unsafe center; justify-content: unsafe center; width: 348px; height: 1px; padding-top: 134px; margin-left: 11px;"><div style="box-sizing: border-box; font-size: 0; text-align: center; "><div style="display: inline-block; font-size: 12px; font-family: Helvetica; color: #000000; line-height: 1.2; pointer-events: all; white-space: normal; word-wrap: normal; ">SponsorshipHandler<H160, (H160, Vec<u8>), CallContext></div></div></div></foreignObject><text x="185" y="138" fill="#000000" font-family="Helvetica" font-size="12px" text-anchor="middle">SponsorshipHandler<H160, (H160, Vec<u8>), CallContext></text></switch></g><rect x="10" y="94" width="250" height="20" fill="#fff2cc" stroke="#d6b656" pointer-events="all"/><g transform="translate(-0.5 -0.5)"><switch><foreignObject style="overflow: visible; text-align: left;" pointer-events="none" width="100%" height="100%" requiredFeatures="http://www.w3.org/TR/SVG11/feature#Extensibility"><div xmlns="http://www.w3.org/1999/xhtml" style="display: flex; align-items: unsafe center; justify-content: unsafe center; width: 248px; height: 1px; padding-top: 104px; margin-left: 11px;"><div style="box-sizing: border-box; font-size: 0; text-align: center; "><div style="display: inline-block; font-size: 12px; font-family: Helvetica; color: #000000; line-height: 1.2; pointer-events: all; white-space: normal; word-wrap: normal; ">SponsorshipHandler<AccountId, Call, ()></div></div></div></foreignObject><text x="135" y="108" fill="#000000" font-family="Helvetica" font-size="12px" text-anchor="middle">SponsorshipHandler<AccountId, Call, ()></text></switch></g></g><switch><g requiredFeatures="http://www.w3.org/TR/SVG11/feature#Extensibility"/><a transform="translate(0,-5)" xlink:href="https://www.diagrams.net/doc/faq/svg-export-text-problems" target="_blank"><text text-anchor="middle" font-size="10px" x="50%" y="100%">Viewer does not support full SVG 1.1</text></a></switch></svg>
\ No newline at end of file
doc/sponsoring.mddiffbeforeafterboth--- a/doc/sponsoring.md
+++ b/doc/sponsoring.md
@@ -1,7 +1,6 @@
# Sponsoring
-<!-- This SVG file can be opened and edited using draw.io -->
-
+
## Implementation