Skip to content

Commit d5b3934

Browse files
hanjukimPaul Kim
andauthored
Merge rebels cosmos sdk (#786)
* update cosmos-sdk to latest release/v0.44.x * update CHANGELOG * fix errors from golangci-lint Co-authored-by: Paul Kim <paul@kernellabs.co>
1 parent b602d3e commit d5b3934

File tree

7 files changed

+32
-15
lines changed

7 files changed

+32
-15
lines changed

CHANGELOG.md

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,20 @@
1+
## v0.5.22
2+
* Move validator voting restrictions from Msg handler to Keeper by @edk208 in https://github.com/terra-money/cosmos-sdk/pull/104
3+
4+
## v0.5.21
5+
* Fix typo by @BrodaNoel in https://github.com/terra-money/classic-core/pull/758
6+
* feat: Burn Tax via utilization of existing Stability Tax code by @edk208 in https://github.com/terra-money/classic-core/pull/784
7+
8+
## v0.5.20
9+
* Make min spread to 100% to disable swap by @YunSuk-Yeo in https://github.com/terra-money/core/pull/760
10+
* Close three channel
11+
* "channel-1", // Osmosis
12+
* "channel-49", // Crescent
13+
* "channel-20", // Juno
14+
15+
## v0.5.19
16+
Disable staking power change for protecting the network
17+
118
## v0.5.18
219
This release contains a wasmer version bump from v2.0.0 to v2.2.1. The wasm caches of these two versions are not compatible, thus rebuilding is required.
320
To avoid possible sync delays due to the runtime rebuilding overhead, it is highly recommended that node operators rebuild their wasm cache with the [cosmwasm-cache-rebuilder](https://github.com/terra-money/cosmwasm-cache-rebuilder) before replacing terrad runtime to v0.5.18.

custom/bank/simulation/operations.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,8 @@ import (
1919

2020
// Simulation operation weights constants
2121
const (
22-
OpWeightMsgSend = "op_weight_msg_send"
23-
OpWeightMsgMultiSend = "op_weight_msg_multisend"
22+
OpWeightMsgSend = "op_weight_msg_send" //#nosec
23+
OpWeightMsgMultiSend = "op_weight_msg_multisend" //#nosec
2424
)
2525

2626
// WeightedOperations returns all the operations from the module with their respective weights

go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,7 @@ require (
122122

123123
replace (
124124
github.com/99designs/keyring => github.com/cosmos/keyring v1.1.7-0.20210622111912-ef00f8ac3d76
125-
github.com/cosmos/cosmos-sdk => github.com/terra-rebels/cosmos-sdk v0.44.6-0.20220803190831-231b4e89cdb7
125+
github.com/cosmos/cosmos-sdk => github.com/terra-money/cosmos-sdk v0.44.6-0.20220817064826-f77977ff2d1b
126126
github.com/cosmos/ledger-cosmos-go => github.com/terra-money/ledger-terra-go v0.11.2
127127
github.com/gogo/protobuf => github.com/regen-network/protobuf v1.3.3-alpha.regen.1
128128
github.com/tecbot/gorocksdb => github.com/cosmos/gorocksdb v1.2.0

go.sum

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -800,12 +800,12 @@ github.com/tendermint/tm-db v0.5.1/go.mod h1:g92zWjHpCYlEvQXvy9M168Su8V1IBEeawpX
800800
github.com/tendermint/tm-db v0.6.4/go.mod h1:dptYhIpJ2M5kUuenLr+Yyf3zQOv1SgBZcl8/BmWlMBw=
801801
github.com/tendermint/tm-db v0.6.6 h1:EzhaOfR0bdKyATqcd5PNeyeq8r+V4bRPHBfyFdD9kGM=
802802
github.com/tendermint/tm-db v0.6.6/go.mod h1:wP8d49A85B7/erz/r4YbKssKw6ylsO/hKtFk7E1aWZI=
803+
github.com/terra-money/cosmos-sdk v0.44.6-0.20220817064826-f77977ff2d1b h1:/rZuyp8o9A5VEjwhApjG2NKXc/R6dAsqnOV52vGVuuA=
804+
github.com/terra-money/cosmos-sdk v0.44.6-0.20220817064826-f77977ff2d1b/go.mod h1:/tqCMnVCrX7F7iL2ALCsGdYmhx0jfgFG/50gP8jt6bI=
803805
github.com/terra-money/ledger-terra-go v0.11.2 h1:BVXZl+OhJOri6vFNjjVaTabRLApw9MuG7mxWL4V718c=
804806
github.com/terra-money/ledger-terra-go v0.11.2/go.mod h1:ClJ2XMj1ptcnONzKH+GhVPi7Y8pXIT+UzJ0TNt0tfZE=
805807
github.com/terra-money/tendermint v0.34.14-terra.2 h1:UYDDCI001ZNhs+aX09HjKVldUcz084q3RwLHUOSSZQU=
806808
github.com/terra-money/tendermint v0.34.14-terra.2/go.mod h1:FrwVm3TvsVicI9Z7FlucHV6Znfd5KBc/Lpp69cCwtk0=
807-
github.com/terra-rebels/cosmos-sdk v0.44.6-0.20220803190831-231b4e89cdb7 h1:RAuz6onHukywAmatpD66SyVfHEJTHjFI5HSc4kn4BF0=
808-
github.com/terra-rebels/cosmos-sdk v0.44.6-0.20220803190831-231b4e89cdb7/go.mod h1:/tqCMnVCrX7F7iL2ALCsGdYmhx0jfgFG/50gP8jt6bI=
809809
github.com/tidwall/gjson v1.6.7/go.mod h1:zeFuBCIqD4sN/gmqBzZ4j7Jd6UcA2Fc56x7QFsv+8fI=
810810
github.com/tidwall/match v1.0.3/go.mod h1:eRSPERbgtNPcGhD8UCthc6PmLEQXEWd3PRB5JTxsfmM=
811811
github.com/tidwall/pretty v1.0.2/go.mod h1:XNkn88O1ChpSDQmQeStsy+sBenx6DDtFZJxhVysOjyk=

x/market/simulation/operations.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ import (
2121

2222
// Simulation operation weights constants
2323
const (
24-
OpWeightMsgSwap = "op_weight_msg_swap"
24+
OpWeightMsgSwap = "op_weight_msg_swap" //#nosec
2525
)
2626

2727
// WeightedOperations returns all the operations from the module with their respective weights

x/oracle/simulation/operations.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,9 +21,9 @@ import (
2121

2222
// Simulation operation weights constants
2323
const (
24-
OpWeightMsgAggregateExchangeRatePrevote = "op_weight_msg_exchange_rate_aggregate_prevote"
25-
OpWeightMsgAggregateExchangeRateVote = "op_weight_msg_exchange_rate_aggregate_vote"
26-
OpWeightMsgDelegateFeedConsent = "op_weight_msg_exchange_feed_consent"
24+
OpWeightMsgAggregateExchangeRatePrevote = "op_weight_msg_exchange_rate_aggregate_prevote" //#nosec
25+
OpWeightMsgAggregateExchangeRateVote = "op_weight_msg_exchange_rate_aggregate_vote" //#nosec
26+
OpWeightMsgDelegateFeedConsent = "op_weight_msg_exchange_feed_consent" //#nosec
2727

2828
salt = "1234"
2929
)

x/wasm/simulation/operations.go

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -25,12 +25,12 @@ import (
2525
)
2626

2727
const (
28-
OpWeightMsgStoreCode = "op_weight_msg_store_code"
29-
OpWeightMsgInstantiateContract = "op_weight_msg_instantiate_contract"
30-
OpWeightMsgExecuteContract = "op_weight_msg_execute_contract"
31-
OpWeightMsgMigrateContract = "op_weight_msg_migrate_contract"
32-
OpWeightMsgUpdateContractAdmin = "op_weight_msg_update_contract_admin"
33-
OpWeightMsgClearContractAdmin = "op_weight_msg_update_contract_admin"
28+
OpWeightMsgStoreCode = "op_weight_msg_store_code" //#nosec
29+
OpWeightMsgInstantiateContract = "op_weight_msg_instantiate_contract" //#nosec
30+
OpWeightMsgExecuteContract = "op_weight_msg_execute_contract" //#nosec
31+
OpWeightMsgMigrateContract = "op_weight_msg_migrate_contract" //#nosec
32+
OpWeightMsgUpdateContractAdmin = "op_weight_msg_update_contract_admin" //#nosec
33+
OpWeightMsgClearContractAdmin = "op_weight_msg_update_contract_admin" //#nosec
3434
)
3535

3636
// WeightedOperations returns all the operations from the module with their respective weights

0 commit comments

Comments
 (0)