Closed salman01zp closed 1 year ago
Added Relayer fee configuration, which can be used by each chain to configure relayer_profit_percent and max_refund_amount of the relayer
relayer_profit_percent
max_refund_amount
/// Transaction relayer fee configuration. #[derive(Debug, Clone, Deserialize, Serialize)] #[serde(rename_all(serialize = "camelCase", deserialize = "kebab-case"))] pub struct RelayerFeeConfig { /// Relayer profit percent per transaction fee for relaying pub relayer_profit_percent: f64, /// Maximum refund amount per transaction relaying pub max_refund_amount: f64, } impl Default for RelayerFeeConfig { fn default() -> Self { Self { relayer_profit_percent: 5., max_refund_amount: 5., } } }
@salman01zp any idea why the CI is failing?
hmm, some issue with the tangle node. https://github.com/webb-tools/relayer/actions/runs/5798481431/job/15719574758#step:10:66
Summary of changes
Added Relayer fee configuration, which can be used by each chain to configure
relayer_profit_percent
andmax_refund_amount
of the relayerReference issue to close (if applicable)
Code Checklist