Skip to content

Commit

Permalink
feat: change gRPC path to original cosmos path (#564)
Browse files Browse the repository at this point in the history
* feat: change protobuf path to original cosmos path.

Signed-off-by: zemyblue <[email protected]>

* fix: fix multisig gRPC package path error and remove unused import in gRPC define.

Signed-off-by: zemyblue <[email protected]>

* ci: stop support for linux/arm(32bit) according to Finschia/ostracon#431

Signed-off-by: zemyblue <[email protected]>

* fix: unittest error of `TestQueryABCIHeight`

Signed-off-by: zemyblue <[email protected]>

* fix: lint error of `foundation` module

Signed-off-by: zemyblue <[email protected]>

* fix: unittest error

Signed-off-by: zemyblue <[email protected]>

* doc: update changelog

Signed-off-by: zemyblue <[email protected]>

* chore: rollback the data race problem.

Signed-off-by: zemyblue <[email protected]>

* doc: update changelog

Signed-off-by: zemyblue <[email protected]>

* Revert "doc: update changelog"

This reverts commit 0da197d.
  • Loading branch information
zemyblue authored Jun 17, 2022
1 parent 6157f09 commit c1a1267
Show file tree
Hide file tree
Showing 241 changed files with 12,612 additions and 12,432 deletions.
3 changes: 0 additions & 3 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,9 +43,6 @@ jobs:
- goarch: "arm64"
gcc: "aarch64-linux-gnu-gcc"
package: "g++-aarch64-linux-gnu"
- goarch: "arm"
gcc: "arm-linux-gnueabi-gcc"
package: "g++-arm-linux-gnueabi"
steps:
- run: sudo apt update && sudo apt install -y ${{ matrix.package }} qemu-user-binfmt
if: "matrix.package != ''"
Expand Down
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,7 @@ Ref: https://keepachangelog.com/en/1.0.0/
* (x/auth) [\#563](https://github.com/line/lbm-sdk/pull/563) fix unmarshal bug of `BaseAccountJSON`

### Breaking Changes
* (proto) [\#564](https://github.com/line/lbm-sdk/pull/564) change gRPC path to original cosmos path

### Build, CI

Expand Down
2 changes: 1 addition & 1 deletion baseapp/block_gas_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@ func TestBaseApp_BlockGas(t *testing.T) {
require.Equal(t, []byte("ok"), okValue)
}
// check block gas is always consumed
baseGas := uint64(35000) // baseGas is the gas consumed before tx msg
baseGas := uint64(35030) // baseGas is the gas consumed before tx msg
expGasConsumed := addUint64Saturating(tc.gasToConsume, baseGas)
if expGasConsumed > txtypes.MaxGasWanted {
// capped by gasLimit
Expand Down
2 changes: 1 addition & 1 deletion client/debug/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ func PubkeyCmd() *cobra.Command {
Long: fmt.Sprintf(`Decode a pubkey from proto JSON and display it's address.
Example:
$ %s debug pubkey '{"@type":"/lbm.crypto.secp256k1.PubKey","key":"AurroA7jvfPd1AadmmOvWM2rJSwipXfRf8yD6pLbA2DJ"}'
$ %s debug pubkey '{"@type":"/cosmos.crypto.secp256k1.PubKey","key":"AurroA7jvfPd1AadmmOvWM2rJSwipXfRf8yD6pLbA2DJ"}'
`, version.AppName),
Args: cobra.ExactArgs(1),
RunE: func(cmd *cobra.Command, args []string) error {
Expand Down
26 changes: 13 additions & 13 deletions client/docs/config.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,15 +13,15 @@
}
},
{
"url": "./tmp-swagger-gen/lbm/auth/v1/query.swagger.json",
"url": "./tmp-swagger-gen/cosmos/auth/v1beta1/query.swagger.json",
"operationIds": {
"rename": {
"Params": "AuthParams"
}
}
},
{
"url": "./tmp-swagger-gen/lbm/bank/v1/query.swagger.json",
"url": "./tmp-swagger-gen/cosmos/bank/v1beta1/query.swagger.json",
"operationIds": {
"rename": {
"Params": "BankParams"
Expand All @@ -37,55 +37,55 @@
}
},
{
"url": "./tmp-swagger-gen/lbm/distribution/v1/query.swagger.json",
"url": "./tmp-swagger-gen/cosmos/distribution/v1beta1/query.swagger.json",
"operationIds": {
"rename": {
"Params": "DistributionParams"
}
}
},
{
"url": "./tmp-swagger-gen/lbm/evidence/v1/query.swagger.json",
"url": "./tmp-swagger-gen/cosmos/evidence/v1beta1/query.swagger.json",
"operationIds": {
"rename": {
"Params": "EvidenceParams"
}
}
},
{
"url": "./tmp-swagger-gen/lbm/gov/v1/query.swagger.json",
"url": "./tmp-swagger-gen/cosmos/gov/v1beta1/query.swagger.json",
"operationIds": {
"rename": {
"Params": "GovParams"
}
}
},
{
"url": "./tmp-swagger-gen/lbm/mint/v1/query.swagger.json",
"url": "./tmp-swagger-gen/cosmos/mint/v1beta1/query.swagger.json",
"operationIds": {
"rename": {
"Params": "MintParams"
}
}
},
{
"url": "./tmp-swagger-gen/lbm/params/v1/query.swagger.json",
"url": "./tmp-swagger-gen/cosmos/params/v1beta1/query.swagger.json",
"operationIds": {
"rename": {
"Params": "Params"
}
}
},
{
"url": "./tmp-swagger-gen/lbm/slashing/v1/query.swagger.json",
"url": "./tmp-swagger-gen/cosmos/slashing/v1beta1/query.swagger.json",
"operationIds": {
"rename": {
"Params": "SlashingParams"
}
}
},
{
"url": "./tmp-swagger-gen/lbm/staking/v1/query.swagger.json",
"url": "./tmp-swagger-gen/cosmos/staking/v1beta1/query.swagger.json",
"operationIds": {
"rename": {
"Params": "StakingParams",
Expand All @@ -94,13 +94,13 @@
}
},
{
"url": "./tmp-swagger-gen/lbm/tx/v1/service.swagger.json",
"url": "./tmp-swagger-gen/cosmos/tx/v1beta1/service.swagger.json",
"dereference": {
"circular": "ignore"
}
},
{
"url": "./tmp-swagger-gen/lbm/upgrade/v1/query.swagger.json",
"url": "./tmp-swagger-gen/cosmos/upgrade/v1beta1/query.swagger.json",
"operationIds": {
"rename": {
"Params": "UpgradeParams"
Expand All @@ -116,7 +116,7 @@
}
},
{
"url": "./tmp-swagger-gen/lbm/authz/v1/query.swagger.json",
"url": "./tmp-swagger-gen/cosmos/authz/v1beta1/query.swagger.json",
"operationIds": {
"rename": {
"Params": "AuthzParams"
Expand Down Expand Up @@ -175,7 +175,7 @@
}
},
{
"url": "./tmp-swagger-gen/lbm/feegrant/v1/query.swagger.json",
"url": "./tmp-swagger-gen/cosmos/feegrant/v1beta1/query.swagger.json",
"operationIds": {
"rename": {
"Params": "FeegrantParams"
Expand Down
9 changes: 4 additions & 5 deletions client/docs/statik/statik.go

Large diffs are not rendered by default.

Loading

0 comments on commit c1a1267

Please sign in to comment.