-
Notifications
You must be signed in to change notification settings - Fork 87
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat(cli): feeChange commands #1622
Conversation
inner: ArgsInner, | ||
} | ||
|
||
impl SequenceByteCostMul { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think it would be better to type out the whole name for this type. SequenceByteCostMultiplier
} | ||
|
||
#[derive(Clone, Debug, clap::Args)] | ||
struct BridgeLockByteCostMul { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should use whole name.
inner: ArgsInner, | ||
} | ||
|
||
impl BridgeLockByteCostMul { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should use whole name.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM. Just nits on struct naming.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Blocking here on #1647 because it's going to change structure here quite a bit.
f447a92
to
b26657f
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Aside from some typos, LGTM.
SubCommand::BridgeUnlockFee(bridge_unlock) => bridge_unlock.run().await, | ||
SubCommand::BridgeSudoChangeFee(bridge_sudo_change) => bridge_sudo_change.run().await, | ||
SubCommand::Ics20WithdrawalFee(ics20_withdrawal) => ics20_withdrawal.run().await, | ||
SubCommand::IbcRelaeyFee(ibc_relay) => ibc_relay.run().await, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
SubCommand::IbcRelaeyFee(ibc_relay) => ibc_relay.run().await, | |
SubCommand::IbcRelayFee(ibc_relay) => ibc_relay.run().await, |
#[allow(clippy::enum_variant_names)] | ||
#[derive(Debug, Subcommand)] | ||
enum SubCommand { | ||
/// Chnage Transfer Fee |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
/// Chnage Transfer Fee | |
/// Change Transfer Fee |
TransferFee(Transfer), | ||
/// Change Init Bridge Account Fee | ||
InitBridgeFee(BridgeInit), | ||
/// Change Sequence Fee |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Would it be better to call this Rollup Data Submission Fee
? I'm not opinionated either way, but maybe worth considering.
/// Change ICS20 Withdrawal Fee | ||
Ics20WithdrawalFee(Ics20Withdrawal), | ||
/// Change IBC Relay Fee | ||
IbcRelaeyFee(IbcRelay), |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
IbcRelaeyFee(IbcRelay), | |
IbcRelayFee(IbcRelay), |
2111b0d
to
a3cec30
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
This PR is stale because it has been open 45 days with no activity. Remove stale label or this PR will be |
This PR was closed because it has been stale. |
Summary
Adds
FeeChangeAction
to the cli as a sudo commandBackground
The ability to change fees required by different actions is not supported by the cli, should be added as part of adding all sequencer actions as cli commands.
Changes
fee-change
sudo Subcommand with all fee change actionsTesting
There will be a follow-up PR to add CLI test after the ongoing test refactor is completed.
Related Issues
part of #1474
closes #1615