Skip to content

Commit

Permalink
Merge pull request #342 from bnb-chain/develop
Browse files Browse the repository at this point in the history
release: draft release for v0.26.3
  • Loading branch information
forcodedancing authored Apr 25, 2023
2 parents cf7a97f + 25be04f commit 08920c2
Show file tree
Hide file tree
Showing 33 changed files with 1,020 additions and 266 deletions.
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
# Changelog

##v0.26.3
* [sdk] [\#289] (https://github.com/bnb-chain/bnc-cosmos-sdk/pull/289) feat: implement bep126
* [sdk] [\#335] (https://github.com/bnb-chain/bnc-cosmos-sdk/pull/335) feat: implement new slash mechanism
* [fix] [\#340] (https://github.com/bnb-chain/bnc-cosmos-sdk/pull/340) fix: use height in store for checking upgrade status
* [fix] [\#341] (https://github.com/bnb-chain/bnc-cosmos-sdk/pull/341) dep: update dependency to fix security issue

##v0.26.2
* [cli] [\#336] (https://github.com/bnb-chain/bnc-cosmos-sdk/pull/336) fix: fix merkle proof invalid issue of cli query

Expand Down
12 changes: 6 additions & 6 deletions client/flags.go
Original file line number Diff line number Diff line change
Expand Up @@ -57,22 +57,22 @@ func PostCommands(cmds ...*cobra.Command) []*cobra.Command {
for _, c := range cmds {
c.Flags().Bool(FlagIndentResponse, false, "Add indent to JSON response")
c.Flags().String(FlagFrom, "", "Name or address of private key with which to sign")
c.Flags().Int64(FlagAccountNumber, 0, "AccountNumber number to sign the tx")
c.Flags().Int64(FlagAccountNumber, 0, "Account number to sign the tx")
c.Flags().Int64(FlagSequence, 0, "Sequence number to sign the tx")
c.Flags().String(FlagMemo, "", "Memo to send along with transaction")
c.Flags().Int64(FlagSource, 0, "Source of tx")
c.Flags().String(FlagChainID, "", "Chain ID of tendermint node")
c.Flags().String(FlagNode, "tcp://localhost:26657", "<host>:<port> to tendermint rpc interface for this chain")
c.Flags().Bool(FlagUseLedger, false, "Use a connected Ledger device")
c.Flags().Bool(FlagUseTss, false, "Use a tss vault")
c.Flags().Bool(FlagAsync, false, "broadcast transactions asynchronously")
c.Flags().Bool(FlagJson, false, "return output in json format")
c.Flags().Bool(FlagPrintResponse, true, "return tx response (only works with async = false)")
c.Flags().Bool(FlagAsync, false, "Broadcast transactions asynchronously")
c.Flags().Bool(FlagJson, false, "Return output in json format")
c.Flags().Bool(FlagPrintResponse, true, "Return tx response (only works with async = false)")
c.Flags().Bool(FlagTrustNode, true, "Trust connected full node (don't verify proofs for responses)")
c.Flags().Bool(FlagDryRun, false, "ignore the perform a simulation of a transaction, but don't broadcast it")
c.Flags().Bool(FlagDryRun, false, "Ignore the perform a simulation of a transaction, but don't broadcast it")
c.Flags().Bool(FlagDry, false, "Generate and return the tx bytes (do not broadcast)")
c.Flags().Bool(FlagOffline, false, "Offline mode. Do not query blockchain data")
c.Flags().Bool(FlagGenerateOnly, false, "build an unsigned transaction and write it to STDOUT")
c.Flags().Bool(FlagGenerateOnly, false, "Build an unsigned transaction and write it to STDOUT")
viper.BindPFlag(FlagTrustNode, c.Flags().Lookup(FlagTrustNode))
viper.BindPFlag(FlagUseLedger, c.Flags().Lookup(FlagUseLedger))
viper.BindPFlag(FlagUseTss, c.Flags().Lookup(FlagUseTss))
Expand Down
8 changes: 4 additions & 4 deletions go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -65,9 +65,9 @@ require (
github.com/spf13/cast v1.3.0 // indirect
github.com/spf13/jwalterweatherman v1.1.0 // indirect
github.com/zondax/hid v0.9.0 // indirect
golang.org/x/net v0.5.0 // indirect
golang.org/x/sys v0.4.0 // indirect
golang.org/x/text v0.6.0 // indirect
golang.org/x/net v0.7.0 // indirect
golang.org/x/sys v0.5.0 // indirect
golang.org/x/text v0.7.0 // indirect
google.golang.org/genproto v0.0.0-20200825200019-8632dd797987 // indirect
google.golang.org/grpc v1.31.0 // indirect
gopkg.in/yaml.v2 v2.4.0 // indirect
Expand All @@ -77,7 +77,7 @@ require (
replace (
github.com/tendermint/go-amino => github.com/bnb-chain/bnc-go-amino v0.14.1-binance.2
github.com/tendermint/iavl => github.com/bnb-chain/bnc-tendermint-iavl v0.12.0-binance.5
github.com/tendermint/tendermint => github.com/bnb-chain/bnc-tendermint v0.32.3-bc.9
github.com/tendermint/tendermint => github.com/bnb-chain/bnc-tendermint v0.32.3-bc.10
github.com/zondax/ledger-cosmos-go => github.com/bnb-chain/ledger-cosmos-go v0.9.10-0.20230201065744-d644bede1667
golang.org/x/crypto => github.com/tendermint/crypto v0.0.0-20190823183015-45b1026d81ae
)
18 changes: 9 additions & 9 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -54,8 +54,8 @@ github.com/bgentry/speakeasy v0.1.0 h1:ByYyxL9InA1OWqxJqqp2A5pYHUrCiAL6K3J+LKSsQ
github.com/bgentry/speakeasy v0.1.0/go.mod h1:+zsyZBPWlz7T6j88CTgSN5bM796AkVf0kBD4zp0CCIs=
github.com/bnb-chain/bnc-go-amino v0.14.1-binance.2 h1:iAlp9gqG0f2LGAauf3ZiijWlT6NI+W2r9y70HH9LI3k=
github.com/bnb-chain/bnc-go-amino v0.14.1-binance.2/go.mod h1:LiCO7jev+3HwLGAiN9gpD0z+jTz95RqgSavbse55XOY=
github.com/bnb-chain/bnc-tendermint v0.32.3-bc.9 h1:ubmtJkfE9SZfdDTzGBoXkXO8htHCniH8vUL/lLhxd8A=
github.com/bnb-chain/bnc-tendermint v0.32.3-bc.9/go.mod h1:q5x58ZV0f3ZImJnOjKYERhRMiPNzVMaO72HLUVmuxmI=
github.com/bnb-chain/bnc-tendermint v0.32.3-bc.10 h1:E4iSwEbJCLYchHiHE1gnOM3jjmJXLBxARhy/RCl8CpI=
github.com/bnb-chain/bnc-tendermint v0.32.3-bc.10/go.mod h1:wKxpgQYxtZxPasF59zca7NbmIazOjUdualm1gMEMGTU=
github.com/bnb-chain/bnc-tendermint-iavl v0.12.0-binance.5 h1:8trIShwwXvCUQz34DwIsgPz2yJgVlZRMv+2IwEuKjTM=
github.com/bnb-chain/bnc-tendermint-iavl v0.12.0-binance.5/go.mod h1:4Kf0qoRDM4vc1ZTBSHqwiQyVniCPS+HAAY434oYzr6w=
github.com/bnb-chain/ics23 v0.0.0-20221021082321-d0a365dd9898/go.mod h1:cU6lTGolbbLFsGCgceNB2AzplH1xecLp6+KXvxM32nI=
Expand Down Expand Up @@ -480,8 +480,8 @@ golang.org/x/net v0.0.0-20220127200216-cd36cc0744dd/go.mod h1:CfG3xpIq0wQ8r1q4Su
golang.org/x/net v0.0.0-20220225172249-27dd8689420f/go.mod h1:CfG3xpIq0wQ8r1q4Su4UZFWDARRcnwPjda9FqA0JpMk=
golang.org/x/net v0.0.0-20220722155237-a158d28d115b/go.mod h1:XRhObCWvk6IyKnWLug+ECip1KBveYUHfp+8e9klMJ9c=
golang.org/x/net v0.0.0-20220812174116-3211cb980234/go.mod h1:YDH+HFinaLZZlnHAfSS6ZXJJ9M9t4Dl22yv3iI2vPwk=
golang.org/x/net v0.5.0 h1:GyT4nK/YDHSqa1c4753ouYCDajOYKTja9Xb/OHtgvSw=
golang.org/x/net v0.5.0/go.mod h1:DivGGAXEgPSlEBzxGzZI+ZLohi+xUj054jfeKui00ws=
golang.org/x/net v0.7.0 h1:rJrUqqhjsgNp7KqAIc25s9pZnjU7TUcSY7HcVZjdn1g=
golang.org/x/net v0.7.0/go.mod h1:2Tu9+aMcznHK/AK1HMvgo6xiTLG5rD5rZLDS+rp2Bjs=
golang.org/x/oauth2 v0.0.0-20180821212333-d2e6202438be/go.mod h1:N/0e6XlmueqKjAGxoOufVs8QHGRruUQn6yWY3a++T0U=
golang.org/x/oauth2 v0.0.0-20190226205417-e64efc72b421/go.mod h1:gOpvHmFTYa4IltrdGE7lF6nIHvwfUNPOp7c8zoXwtLw=
golang.org/x/oauth2 v0.0.0-20190604053449-0f29369cfe45/go.mod h1:gOpvHmFTYa4IltrdGE7lF6nIHvwfUNPOp7c8zoXwtLw=
Expand Down Expand Up @@ -553,20 +553,20 @@ golang.org/x/sys v0.0.0-20220520151302-bc2c85ada10a/go.mod h1:oPkhp1MJrh7nUepCBc
golang.org/x/sys v0.0.0-20220722155257-8c9f86f7a55f/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
golang.org/x/sys v0.0.0-20220728004956-3c1f35247d10/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
golang.org/x/sys v0.1.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
golang.org/x/sys v0.4.0 h1:Zr2JFtRQNX3BCZ8YtxRE9hNJYC8J6I1MVbMg6owUp18=
golang.org/x/sys v0.4.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
golang.org/x/sys v0.5.0 h1:MUK/U/4lj1t1oPg0HfuXDN/Z1wv31ZJ/YcPiGccS4DU=
golang.org/x/sys v0.5.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
golang.org/x/term v0.0.0-20201126162022-7de9c90e9dd1/go.mod h1:bj7SfCRtBDWHUb9snDiAeCFNEtKQo2Wmx5Cou7ajbmo=
golang.org/x/term v0.0.0-20210927222741-03fcf44c2211/go.mod h1:jbD1KX2456YbFQfuXm/mYQcufACuNUgVhRMnK/tPxf8=
golang.org/x/term v0.4.0/go.mod h1:9P2UbLfCdcvo3p/nzKvsmas4TnlujnuoV9hGgYzW1lQ=
golang.org/x/term v0.5.0/go.mod h1:jMB1sMXY+tzblOD4FWmEbocvup2/aLOaQEp7JmGp78k=
golang.org/x/text v0.0.0-20170915032832-14c0d48ead0c/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ=
golang.org/x/text v0.3.0/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ=
golang.org/x/text v0.3.1-0.20180807135948-17ff2d5776d2/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ=
golang.org/x/text v0.3.2/go.mod h1:bEr9sfX3Q8Zfm5fL9x+3itogRgK3+ptLWKqgva+5dAk=
golang.org/x/text v0.3.3/go.mod h1:5Zoc/QRtKVWzQhOtBMvqHzDpF6irO9z98xDceosuGiQ=
golang.org/x/text v0.3.6/go.mod h1:5Zoc/QRtKVWzQhOtBMvqHzDpF6irO9z98xDceosuGiQ=
golang.org/x/text v0.3.7/go.mod h1:u+2+/6zg+i71rQMx5EYifcz6MCKuco9NR6JIITiCfzQ=
golang.org/x/text v0.6.0 h1:3XmdazWV+ubf7QgHSTWeykHOci5oeekaGJBLkrkaw4k=
golang.org/x/text v0.6.0/go.mod h1:mrYo+phRRbMaCq/xk9113O4dZlRixOauAjOtrjsXDZ8=
golang.org/x/text v0.7.0 h1:4BRB4x83lYWy72KwLD/qYDuTu7q9PjSagHvijDw7cLo=
golang.org/x/text v0.7.0/go.mod h1:mrYo+phRRbMaCq/xk9113O4dZlRixOauAjOtrjsXDZ8=
golang.org/x/time v0.0.0-20181108054448-85acf8d2951c/go.mod h1:tRJNPiyCQ0inRvYxbN9jk5I+vvW/OXSQhTDSoE431IQ=
golang.org/x/time v0.0.0-20190308202827-9d24e82272b4/go.mod h1:tRJNPiyCQ0inRvYxbN9jk5I+vvW/OXSQhTDSoE431IQ=
golang.org/x/time v0.0.0-20191024005414-555d28b269f0/go.mod h1:tRJNPiyCQ0inRvYxbN9jk5I+vvW/OXSQhTDSoE431IQ=
Expand Down
4 changes: 2 additions & 2 deletions store/rootmultistore.go
Original file line number Diff line number Diff line change
Expand Up @@ -421,7 +421,7 @@ func (si StoreInfo) GetHash() []byte {
// Hash returns the simple merkle root hash of the stores sorted by name.
func (ci CommitInfo) Hash() []byte {
m := make(map[string][]byte, len(ci.StoreInfos))
if sdk.IsUpgrade(sdk.BEP171) {
if sdk.IsUpgradeWithHeight(sdk.BEP171, ci.Version) {
for _, storeInfo := range ci.StoreInfos {
m[storeInfo.Name] = storeInfo.GetHash()
}
Expand All @@ -443,7 +443,7 @@ func (ci CommitInfo) CommitID() CommitID {

func (ci CommitInfo) toMap() map[string][]byte {
m := make(map[string][]byte, len(ci.StoreInfos))
if sdk.IsUpgrade(sdk.BEP171) {
if sdk.IsUpgradeWithHeight(sdk.BEP171, ci.Version) {
for _, storeInfo := range ci.StoreInfos {
m[storeInfo.Name] = storeInfo.Core.CommitID.Hash
}
Expand Down
3 changes: 2 additions & 1 deletion types/address.go
Original file line number Diff line number Diff line change
Expand Up @@ -11,13 +11,14 @@ import (

"github.com/tendermint/tendermint/crypto"
"github.com/tendermint/tendermint/crypto/encoding/amino"

"github.com/tendermint/tendermint/libs/bech32"
)

const (
// AddrLen defines a valid address length
AddrLen = 20
// VoteAddrLen defines a valid vote address length
VoteAddrLen = 48
// SmartChainAddressLength defines a valid smart chain address length
SmartChainAddressLength = 20

Expand Down
4 changes: 3 additions & 1 deletion types/stake.go
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ const (
Bonded BondStatus = 0x02
)

//BondStatusToString for pretty prints of Bond Status
// BondStatusToString for pretty prints of Bond Status
func BondStatusToString(b BondStatus) string {
switch b {
case 0x00:
Expand Down Expand Up @@ -50,6 +50,7 @@ type Validator interface {
GetDelegatorShares() Dec // Total out standing delegator shares
GetBondHeight() int64 // height in which the validator became active
GetSideChainConsAddr() []byte // validation consensus address on side chain
GetSideChainVoteAddr() []byte // validation vote address on side chain
IsSideChainValidator() bool // if it belongs to side chain
}

Expand All @@ -73,6 +74,7 @@ type ValidatorSet interface {

Validator(Context, ValAddress) Validator // get a particular validator by operator address
ValidatorByConsAddr(Context, ConsAddress) Validator // get a particular validator by consensus address
ValidatorByVoteAddr(Context, []byte) Validator // get a particular validator by vote address
TotalPower(Context) Dec // total power of the validator set

// slash the validator and delegators of the validator, specifying offence height, offence power, and slash fraction
Expand Down
11 changes: 11 additions & 0 deletions types/upgrade.go
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,8 @@ const (
BEP171 = "BEP171" //https://github.com/bnb-chain/BEPs/pull/171
BEP173 = "BEP173" // https://github.com/bnb-chain/BEPs/pull/173
FixDoubleSignChainId = "FixDoubleSignChainId"
BEP126 = "BEP126" //https://github.com/binance-chain/BEPs/pull/126

)

var MainNetConfig = UpgradeConfig{
Expand Down Expand Up @@ -171,6 +173,15 @@ func IsUpgrade(name string) bool {
return UpgradeMgr.GetHeight() >= upgradeHeight
}

func IsUpgradeWithHeight(name string, height int64) bool {
upgradeHeight := UpgradeMgr.GetUpgradeHeight(name)
if upgradeHeight == 0 {
return false
}

return height >= upgradeHeight
}

func ShouldCommitStore(storeKeyName string) bool {
storeKeyHeight := UpgradeMgr.GetStoreKeyHeight(storeKeyName)
if storeKeyHeight == 0 {
Expand Down
111 changes: 60 additions & 51 deletions x/paramHub/hub.go
Original file line number Diff line number Diff line change
Expand Up @@ -133,6 +133,13 @@ func RegisterUpgradeBeginBlocker(paramHub *ParamHub) {
}
paramHub.UpdateFeeParams(ctx, updateFeeParams)
})
sdk.UpgradeMgr.RegisterBeginBlocker(sdk.BEP126, func(ctx sdk.Context) {
updateFeeParams := []param.FeeParam{
&param.FixedFeeParams{MsgType: "side_create_validator_with_vote_addr", Fee: CreateSideChainValidatorFee, FeeFor: sdk.FeeForProposer},
&param.FixedFeeParams{MsgType: "side_edit_validator_with_vote_addr", Fee: EditSideChainValidatorFee, FeeFor: sdk.FeeForProposer},
}
paramHub.UpdateFeeParams(ctx, updateFeeParams)
})
}

func EndBreatheBlock(ctx sdk.Context, paramHub *ParamHub) {
Expand All @@ -149,56 +156,58 @@ func init() {
// CalculatorsGen is defined in a common package which can't import app package.
// Reasonable to init here, since fee param drive the calculator.
fees.CalculatorsGen = map[string]fees.FeeCalculatorGenerator{
"submit_proposal": fees.FixedFeeCalculatorGen,
"deposit": fees.FixedFeeCalculatorGen,
"vote": fees.FixedFeeCalculatorGen,
"side_submit_proposal": fees.FixedFeeCalculatorGen,
"side_deposit": fees.FixedFeeCalculatorGen,
"side_vote": fees.FixedFeeCalculatorGen,
"create_validator": fees.FixedFeeCalculatorGen,
"remove_validator": fees.FixedFeeCalculatorGen,
"side_create_validator": fees.FixedFeeCalculatorGen,
"side_edit_validator": fees.FixedFeeCalculatorGen,
"side_delegate": fees.FixedFeeCalculatorGen,
"side_redelegate": fees.FixedFeeCalculatorGen,
"side_undelegate": fees.FixedFeeCalculatorGen,
"bsc_submit_evidence": fees.FixedFeeCalculatorGen,
"side_chain_unjail": fees.FixedFeeCalculatorGen,
"dexList": fees.FixedFeeCalculatorGen,
"orderNew": fees.FixedFeeCalculatorGen,
"orderCancel": fees.FixedFeeCalculatorGen,
"issueMsg": fees.FixedFeeCalculatorGen,
"mintMsg": fees.FixedFeeCalculatorGen,
"tokensBurn": fees.FixedFeeCalculatorGen,
"setAccountFlags": fees.FixedFeeCalculatorGen,
"tokensFreeze": fees.FixedFeeCalculatorGen,
"timeLock": fees.FixedFeeCalculatorGen,
"timeUnlock": fees.FixedFeeCalculatorGen,
"timeRelock": fees.FixedFeeCalculatorGen,
"transferOwnership": fees.FixedFeeCalculatorGen,
"send": bank.TransferFeeCalculatorGen,
"HTLT": fees.FixedFeeCalculatorGen,
"depositHTLT": fees.FixedFeeCalculatorGen,
"claimHTLT": fees.FixedFeeCalculatorGen,
"refundHTLT": fees.FixedFeeCalculatorGen,
"crossBind": fees.FixedFeeCalculatorGen,
"crossUnbind": fees.FixedFeeCalculatorGen,
"crossTransferOut": fees.FixedFeeCalculatorGen,
"crossBindRelayFee": fees.FixedFeeCalculatorGen,
"crossUnbindRelayFee": fees.FixedFeeCalculatorGen,
"crossTransferOutRelayFee": fees.FixedFeeCalculatorGen,
"oracleClaim": fees.FixedFeeCalculatorGen,
"miniTokensSetURI": fees.FixedFeeCalculatorGen,
"dexListMini": fees.FixedFeeCalculatorGen,
"tinyIssueMsg": fees.FixedFeeCalculatorGen,
"miniIssueMsg": fees.FixedFeeCalculatorGen,
"crossDistributeRewardRelayFee": fees.FixedFeeCalculatorGen,
"crossDistributeUndelegatedRelayFee": fees.FixedFeeCalculatorGen,
"create_validator_open": fees.FixedFeeCalculatorGen,
"edit_validator": fees.FixedFeeCalculatorGen,
"delegate": fees.FixedFeeCalculatorGen,
"redelegate": fees.FixedFeeCalculatorGen,
"undelegate": fees.FixedFeeCalculatorGen,
"unjail": fees.FixedFeeCalculatorGen,
"submit_proposal": fees.FixedFeeCalculatorGen,
"deposit": fees.FixedFeeCalculatorGen,
"vote": fees.FixedFeeCalculatorGen,
"side_submit_proposal": fees.FixedFeeCalculatorGen,
"side_deposit": fees.FixedFeeCalculatorGen,
"side_vote": fees.FixedFeeCalculatorGen,
"create_validator": fees.FixedFeeCalculatorGen,
"remove_validator": fees.FixedFeeCalculatorGen,
"side_create_validator": fees.FixedFeeCalculatorGen,
"side_edit_validator": fees.FixedFeeCalculatorGen,
"side_create_validator_with_vote_addr": fees.FixedFeeCalculatorGen,
"side_edit_validator_with_vote_addr": fees.FixedFeeCalculatorGen,
"side_delegate": fees.FixedFeeCalculatorGen,
"side_redelegate": fees.FixedFeeCalculatorGen,
"side_undelegate": fees.FixedFeeCalculatorGen,
"bsc_submit_evidence": fees.FixedFeeCalculatorGen,
"side_chain_unjail": fees.FixedFeeCalculatorGen,
"dexList": fees.FixedFeeCalculatorGen,
"orderNew": fees.FixedFeeCalculatorGen,
"orderCancel": fees.FixedFeeCalculatorGen,
"issueMsg": fees.FixedFeeCalculatorGen,
"mintMsg": fees.FixedFeeCalculatorGen,
"tokensBurn": fees.FixedFeeCalculatorGen,
"setAccountFlags": fees.FixedFeeCalculatorGen,
"tokensFreeze": fees.FixedFeeCalculatorGen,
"timeLock": fees.FixedFeeCalculatorGen,
"timeUnlock": fees.FixedFeeCalculatorGen,
"timeRelock": fees.FixedFeeCalculatorGen,
"transferOwnership": fees.FixedFeeCalculatorGen,
"send": bank.TransferFeeCalculatorGen,
"HTLT": fees.FixedFeeCalculatorGen,
"depositHTLT": fees.FixedFeeCalculatorGen,
"claimHTLT": fees.FixedFeeCalculatorGen,
"refundHTLT": fees.FixedFeeCalculatorGen,
"crossBind": fees.FixedFeeCalculatorGen,
"crossUnbind": fees.FixedFeeCalculatorGen,
"crossTransferOut": fees.FixedFeeCalculatorGen,
"crossBindRelayFee": fees.FixedFeeCalculatorGen,
"crossUnbindRelayFee": fees.FixedFeeCalculatorGen,
"crossTransferOutRelayFee": fees.FixedFeeCalculatorGen,
"oracleClaim": fees.FixedFeeCalculatorGen,
"miniTokensSetURI": fees.FixedFeeCalculatorGen,
"dexListMini": fees.FixedFeeCalculatorGen,
"tinyIssueMsg": fees.FixedFeeCalculatorGen,
"miniIssueMsg": fees.FixedFeeCalculatorGen,
"crossDistributeRewardRelayFee": fees.FixedFeeCalculatorGen,
"crossDistributeUndelegatedRelayFee": fees.FixedFeeCalculatorGen,
"create_validator_open": fees.FixedFeeCalculatorGen,
"edit_validator": fees.FixedFeeCalculatorGen,
"delegate": fees.FixedFeeCalculatorGen,
"redelegate": fees.FixedFeeCalculatorGen,
"undelegate": fees.FixedFeeCalculatorGen,
"unjail": fees.FixedFeeCalculatorGen,
}
}
Loading

0 comments on commit 08920c2

Please sign in to comment.