Skip to content

Commit

Permalink
lint and typo
Browse files Browse the repository at this point in the history
  • Loading branch information
omerlavanet committed Feb 1, 2024
1 parent 81191f8 commit a092937
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 14 deletions.
2 changes: 1 addition & 1 deletion app/app.go
Original file line number Diff line number Diff line change
Expand Up @@ -1078,7 +1078,7 @@ func initParamsKeeper(appCodec codec.BinaryCodec, legacyAmino *codec.LegacyAmino
paramsKeeper.Subspace(stakingtypes.ModuleName)
paramsKeeper.Subspace(distrtypes.ModuleName)
paramsKeeper.Subspace(slashingtypes.ModuleName)
paramsKeeper.Subspace(govtypes.ModuleName).WithKeyTable(v1.ParamKeyTable()) //nolint:staticcheck
paramsKeeper.Subspace(govtypes.ModuleName).WithKeyTable(v1.ParamKeyTable()) // nolint:staticcheck
paramsKeeper.Subspace(crisistypes.ModuleName)
paramsKeeper.Subspace(ibctransfertypes.ModuleName)
paramsKeeper.Subspace(ibcexported.ModuleName)
Expand Down
17 changes: 6 additions & 11 deletions cookbook/specs/spec_add_canto.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
"blocks_in_finalization_proof": 1,
"average_block_time": 6500,
"allowed_block_lag_for_qos_sync": 2,
"shares" : 1,
"shares": 1,
"min_stake_provider": {
"denom": "ulava",
"amount": "50000000000"
Expand Down Expand Up @@ -1515,16 +1515,11 @@
"name": "pruning",
"values": [
{
"name": "pruning",
"values": [
{
"expected_value":""
},
{
"extension": "archive",
"expected_value":""
}
]
"expected_value": ""
},
{
"extension": "archive",
"expected_value": ""
}
]
}
Expand Down
9 changes: 7 additions & 2 deletions protocol/chainlib/chain_fetcher.go
Original file line number Diff line number Diff line change
Expand Up @@ -107,8 +107,13 @@ func (cf *ChainFetcher) Verify(ctx context.Context, verification VerificationCon
path := parsing.ApiName
data := []byte(fmt.Sprintf(parsing.FunctionTemplate))
if !verification.IsActive() {
utils.LavaFormatDebug("skipping disabled verification", []utils.Attribute{{Key: "Extension", Value: verification.Extension},
{Key: "Addon", Value: verification.Addon}, utils.LogAttr("name", verification.Name), {Key: "chainID", Value: cf.endpoint.ChainID}, {Key: "APIInterface", Value: cf.endpoint.ApiInterface}}...)
utils.LavaFormatDebug("skipping disabled verification", []utils.Attribute{
{Key: "Extension", Value: verification.Extension},
{Key: "Addon", Value: verification.Addon},
utils.LogAttr("name", verification.Name),
{Key: "chainID", Value: cf.endpoint.ChainID},
{Key: "APIInterface", Value: cf.endpoint.ApiInterface},
}...)
return nil
}
chainMessage, err := CraftChainMessage(parsing, collectionType, cf.chainParser, &CraftData{Path: path, Data: data, ConnectionType: collectionType}, cf.ChainFetcherMetadata())
Expand Down

0 comments on commit a092937

Please sign in to comment.