Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove asset address check when support bytes32 address in assets field of genesis file #236

Open
cloud8little opened this issue Nov 7, 2024 · 1 comment

Comments

@cloud8little
Copy link
Contributor

cloud8little commented Nov 7, 2024

After adding solana token, then validate genesis.

Error: error validating genesis file genesis_v7_delegationfix.json: invalid stakerID: 0xf590705f01036905f4d208d1416e1bd6debca9b86675173d82817f3d4f7d340e_0x9ce8: the genesis data supplied is invalid: the genesis data supplied is invalid
Usage:
  imuad validate-genesis [file] [flags]

x/assets/types/genesis.go

		// build for 0x addresses only.
		// TODO: consider removing this check for non-EVM client chains.
		if !common.IsHexAddress(address) {
			return errorsmod.Wrapf(
				ErrInvalidGenesisData,
				"not hex address for token %s, address: %s",
				info.AssetBasicInfo.Name, address,
			)
		}
@cloud8little cloud8little changed the title remove asset address check when support bytes32 address in assets field of genesis file Remove asset address check when support bytes32 address in assets field of genesis file Nov 7, 2024
Copy link

This issue is stale because it has been open 45 days with no activity. Remove Status: Stale label or comment or this will be closed in 7 days.

@github-actions github-actions bot closed this as not planned Won't fix, can't repro, duplicate, stale Dec 30, 2024
@cloud8little cloud8little reopened this Feb 25, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant