Skip to content
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

Remove the Quarantine and Sanction modules #586

Closed
wants to merge 10 commits into from
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@ Ref: https://keepachangelog.com/en/1.0.0/

* [#578](https://github.com/provenance-io/cosmos-sdk/pull/578) Add `binary_version` to the `NodeInfo` object returned by status command.
* [#577](https://github.com/provenance-io/cosmos-sdk/pull/577) Add an injectable `GetLockedCoinsFn` to the bank module.
* [#586](https://github.com/provenance-io/cosmos-sdk/pull/586) Remove the quarantine and sanction modules (moving to another repo).

### Improvements

Expand Down
5 changes: 0 additions & 5 deletions baseapp/block_gas_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -68,11 +68,6 @@ func TestBaseApp_BlockGas(t *testing.T) {
&testdata.TestMsg{},
)
app = simapp.NewSimApp(log.NewNopLogger(), dbm.NewMemDB(), nil, true, map[int64]bool{}, "", 0, encCfg, simapp.EmptyAppOptions{}, routerOpt)
// Disable the send restrictions so that the sends (executed below) still consume the same amount of gas
// as when this test was written. Without this, the expGasConsumed check fails due to an extra store lookup
// during a transfer (checking for sanction). I felt doing this was safer than trying to manually verify
// that the new gas numbers are correct so that the expected values could be updated with confidence.
app.BankKeeper.ClearSendRestriction()
genState := simapp.GenesisStateWithSingleValidator(t, app)
stateBytes, err := tmjson.MarshalIndent(genState, "", " ")
require.NoError(t, err)
Expand Down
10 changes: 1 addition & 9 deletions client/docs/config.json
Original file line number Diff line number Diff line change
Expand Up @@ -85,14 +85,6 @@
}
}
},
{
"url": "./tmp-swagger-gen/cosmos/quarantine/v1beta1/query.swagger.json",
"operationIds": {
"rename": {
"Params": "Quarantine"
}
}
},
{
"url": "./tmp-swagger-gen/cosmos/slashing/v1beta1/query.swagger.json",
"operationIds": {
Expand Down Expand Up @@ -160,4 +152,4 @@
}
}
]
}
}
2 changes: 1 addition & 1 deletion client/docs/statik/statik.go

Large diffs are not rendered by default.

Loading