Populate attributes map index when importing records from genesis
All checks were successful
Integration Tests / test-integration (pull_request) Successful in 3m42s
Build / build (pull_request) Successful in 3m56s
E2E Tests / test-e2e (pull_request) Successful in 5m11s
Unit Tests / test-unit (pull_request) Successful in 2m4s
SDK Tests / sdk_tests_nameservice_expiry (pull_request) Successful in 9m42s
SDK Tests / sdk_tests_authority_auctions (pull_request) Successful in 15m24s
SDK Tests / sdk_tests (pull_request) Successful in 21m10s
All checks were successful
Integration Tests / test-integration (pull_request) Successful in 3m42s
Build / build (pull_request) Successful in 3m56s
E2E Tests / test-e2e (pull_request) Successful in 5m11s
Unit Tests / test-unit (pull_request) Successful in 2m4s
SDK Tests / sdk_tests_nameservice_expiry (pull_request) Successful in 9m42s
SDK Tests / sdk_tests_authority_auctions (pull_request) Successful in 15m24s
SDK Tests / sdk_tests (pull_request) Successful in 21m10s
This commit is contained in:
parent
60f416281c
commit
3c75f56512
@ -30,6 +30,11 @@ func (k *Keeper) InitGenesis(ctx sdk.Context, data *registry.GenesisState) error
|
||||
return err
|
||||
}
|
||||
}
|
||||
|
||||
readableRecord := record.ToReadableRecord()
|
||||
if err := k.processAttributes(ctx, readableRecord.Attributes, record.Id); err != nil {
|
||||
return err
|
||||
}
|
||||
}
|
||||
|
||||
for _, authority := range data.Authorities {
|
||||
|
Loading…
Reference in New Issue
Block a user