Skip to content

Commit

Permalink
Fix: generic constants (#52)
Browse files Browse the repository at this point in the history
  • Loading branch information
aopoltorzhicky authored Oct 18, 2024
1 parent 7a993d3 commit f28c57e
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 10 deletions.
6 changes: 3 additions & 3 deletions pkg/indexer/genesis/constant.go
Original file line number Diff line number Diff line change
Expand Up @@ -110,12 +110,12 @@ func (module *Module) parseConstants(appState nodeTypes.AppState, consensus pkgT
data.constants = append(data.constants, storage.Constant{
Module: storageTypes.ModuleNameGeneric,
Name: "rollup_data_submission_base",
Value: appState.Fees.Sequence.Base.String(),
Value: appState.Fees.RollupDataSubmission.Base.String(),
})
data.constants = append(data.constants, storage.Constant{
Module: storageTypes.ModuleNameGeneric,
Name: "rollup_data_submission_computed_multiplier",
Value: appState.Fees.Sequence.Multiplier.String(),
Name: "rollup_data_submission_multiplier",
Value: appState.Fees.RollupDataSubmission.Multiplier.String(),
})

data.constants = append(data.constants, storage.Constant{
Expand Down
14 changes: 7 additions & 7 deletions pkg/node/types/genesis.go
Original file line number Diff line number Diff line change
Expand Up @@ -52,13 +52,13 @@ type Prefixes struct {
}

type Fees struct {
Transfer Fee `json:"transfer"`
Sequence Fee `json:"sequence"`
Ics20Withdrawal Fee `json:"ics20_withdrawal"`
InitBridgeAccount Fee `json:"init_bridge_account"`
BridgeLock Fee `json:"bridge_lock"`
BridgeUnlock Fee `json:"bridge_unlock"`
BridgeSudoChange Fee `json:"bridge_sudo_change"`
Transfer Fee `json:"transfer"`
RollupDataSubmission Fee `json:"rollup_data_submission"`
Ics20Withdrawal Fee `json:"ics20_withdrawal"`
InitBridgeAccount Fee `json:"init_bridge_account"`
BridgeLock Fee `json:"bridge_lock"`
BridgeUnlock Fee `json:"bridge_unlock"`
BridgeSudoChange Fee `json:"bridge_sudo_change"`

IbcRelay Fee `json:"ibc_relay"`
ValidatorUpdate Fee `json:"validator_update"`
Expand Down

0 comments on commit f28c57e

Please sign in to comment.