Update distribution JSON structure in add-genesis-lockup-account cmd (#75)
All checks were successful
Integration Tests / test-integration (push) Successful in 55s
E2E Tests / test-e2e (push) Successful in 2m8s
Unit Tests / test-unit (push) Successful in 50s
SDK Tests / sdk_tests_nameservice_expiry (push) Successful in 5m0s
SDK Tests / sdk_tests_authority_auctions (push) Successful in 10m41s
SDK Tests / sdk_tests (push) Successful in 14m28s
Publish on release / Run docker build and publish (release) Successful in 1m21s
All checks were successful
Integration Tests / test-integration (push) Successful in 55s
E2E Tests / test-e2e (push) Successful in 2m8s
Unit Tests / test-unit (push) Successful in 50s
SDK Tests / sdk_tests_nameservice_expiry (push) Successful in 5m0s
SDK Tests / sdk_tests_authority_auctions (push) Successful in 10m41s
SDK Tests / sdk_tests (push) Successful in 14m28s
Publish on release / Run docker build and publish (release) Successful in 1m21s
Reviewed-on: #75 Co-authored-by: Nabarun <nabarun@deepstacksoft.com> Co-committed-by: Nabarun <nabarun@deepstacksoft.com>
This commit is contained in:
parent
e02d221dea
commit
a8ebc0aceb
@ -39,7 +39,7 @@ func AddGenesisLockupAccountCmd() *cobra.Command {
|
||||
moduleName := args[0]
|
||||
distributionFilePath := args[1]
|
||||
|
||||
var distribution map[string]interface{}
|
||||
var distribution []interface{}
|
||||
distributionBytes, err := os.ReadFile(distributionFilePath)
|
||||
if err != nil {
|
||||
return fmt.Errorf("failed to read %s file: %w", distributionFilePath, err)
|
||||
|
Loading…
Reference in New Issue
Block a user