Fix case
Some checks failed
Build / cleanup-runs (pull_request) Successful in 5s
Build / build (pull_request) Successful in 25s
Deploy Contract / cleanup-runs (pull_request) Failing after 8s
CodeQL / Analyze (go) (pull_request) Successful in 49s
Pull Request Labeler / triage (pull_request) Failing after 22s
Dependency Review / dependency-review (pull_request) Successful in 1m15s
Deploy Contract / deploy (pull_request) Failing after 50s
Lint / Run flake8 on python integration tests (pull_request) Failing after 22s
Protobuf / lint (pull_request) Successful in 23s
Lint / Run golangci-lint (pull_request) Successful in 40s
Tests / cleanup-runs (pull_request) Failing after 11s
Semgrep / Scan (pull_request) Failing after 27s
Run Gosec / Gosec (pull_request) Successful in 21s
Protobuf / break-check (pull_request) Successful in 31s
Tests / test-importer (pull_request) Successful in 35s
Tests / test-rpc (pull_request) Successful in 34s
Tests / test-unit-cover (pull_request) Successful in 59s
Tests / sdk_tests (pull_request) Failing after 1m29s
Some checks failed
Build / cleanup-runs (pull_request) Successful in 5s
Build / build (pull_request) Successful in 25s
Deploy Contract / cleanup-runs (pull_request) Failing after 8s
CodeQL / Analyze (go) (pull_request) Successful in 49s
Pull Request Labeler / triage (pull_request) Failing after 22s
Dependency Review / dependency-review (pull_request) Successful in 1m15s
Deploy Contract / deploy (pull_request) Failing after 50s
Lint / Run flake8 on python integration tests (pull_request) Failing after 22s
Protobuf / lint (pull_request) Successful in 23s
Lint / Run golangci-lint (pull_request) Successful in 40s
Tests / cleanup-runs (pull_request) Failing after 11s
Semgrep / Scan (pull_request) Failing after 27s
Run Gosec / Gosec (pull_request) Successful in 21s
Protobuf / break-check (pull_request) Successful in 31s
Tests / test-importer (pull_request) Successful in 35s
Tests / test-rpc (pull_request) Successful in 34s
Tests / test-unit-cover (pull_request) Successful in 59s
Tests / sdk_tests (pull_request) Failing after 1m29s
This commit is contained in:
parent
7ea9a26cc8
commit
a3e1eec0c8
@ -10,9 +10,8 @@ laconicd_rest_endpoint=http://laconicd:1317
|
||||
laconicd_gql_endpoint=http://laconicd:9473/api
|
||||
# Run tests
|
||||
docker network inspect sdk_tests_default
|
||||
sleep 30s
|
||||
docker logs laconicd
|
||||
docker compose exec laconicd sh -c "curl http://127.0.0.1:9473/api"
|
||||
docker compose exec laconicd sh -c "curl http://localhost:9473/api"
|
||||
docker compose logs laconicd
|
||||
docker compose exec laconicd sh -c "curl --retry 10 --retry-delay 3 --retry-connrefused http://127.0.0.1:9473/api"
|
||||
docker compose exec laconicd sh -c "curl --retry 10 --retry-delay 3 --retry-connrefused http://localhost:9473/api"
|
||||
|
||||
docker compose exec sdk-test-runner sh -c "COSMOS_CHAIN_ID=${cosmos_chain_id} LACONICD_REST_ENDPOINT=${laconicd_rest_endpoint} LACONICD_GQL_ENDPOINT=${laconicd_gql_endpoint} PRIVATE_KEY=${laconicd_key} yarn test"
|
||||
|
@ -338,10 +338,7 @@ func (k Keeper) ProcessAttributes(ctx sdk.Context, record types.RecordType) erro
|
||||
}
|
||||
}
|
||||
}
|
||||
case "WebsiteRegistrationRecord":
|
||||
case "ApplicationRecord":
|
||||
case "WebAppDeploymentRecord":
|
||||
case "GeneralRecord":
|
||||
case "WebsiteRegistrationRecord", "ApplicationRecord", "WebAppDeploymentRecord", "GeneralRecord":
|
||||
{
|
||||
// #nosec G705
|
||||
for key := range record.Attributes {
|
||||
@ -392,7 +389,7 @@ func (k Keeper) GetAttributeMapping(ctx sdk.Context, key []byte) ([]string, erro
|
||||
store := ctx.KVStore(k.storeKey)
|
||||
|
||||
if !store.Has(key) {
|
||||
return nil, fmt.Errorf("store doesn't have key")
|
||||
return nil, fmt.Errorf("store doesn't have key: %q", key)
|
||||
}
|
||||
|
||||
var recordIds []string
|
||||
|
Loading…
Reference in New Issue
Block a user