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

Gateway (wormchaind) unexpected output from show-allowlist #3289

Open
mcf-rocks opened this issue Aug 15, 2023 · 1 comment
Open

Gateway (wormchaind) unexpected output from show-allowlist #3289

mcf-rocks opened this issue Aug 15, 2023 · 1 comment
Assignees
Labels
bug Something isn't working

Comments

@mcf-rocks
Copy link

Listing all allowlists looks correct... picking a random validator and grepping out their allows here:

$ wormchaind query wormhole list-allowlists | grep -B2 wormhole1eg9kajxr5x25h0t94570mn79j3a00emphnwt3p
- allowed_address: wormhole1jyxc28f8m0h7uz5zwqxc0s6p5za7eu30xnrmq8
  name: ChainodeRelay
  validator_address: wormhole1eg9kajxr5x25h0t94570mn79j3a00emphnwt3p
--
- allowed_address: wormhole1qf0p0pvkznqtwrdwyp3p9ymuhjv3cvyrqq8r6p
  name: ChainodeAcc
  validator_address: wormhole1eg9kajxr5x25h0t94570mn79j3a00emphnwt3p

I would have expected similar output when running the following command for that same specific validator -- but it gives something strange:

$ wormchaind query wormhole show-allowlist wormhole1eg9kajxr5x25h0t94570mn79j3a00emphnwt3p
allowlist:
- allowed_address: wormhole1yre8d0ek4vp0wjlec407525zjctq7t32z930fp
  name: w7-prodops
  validator_address: wormhole1cm4lqyl5j5t9ewd79vrnsrga2cnml8ca29r0sz
- allowed_address: wormhole1yre8d0ek4vp0wjlec407525zjctq7t32z930fp
  name: w7-prodops
  validator_address: wormhole1cm4lqyl5j5t9ewd79vrnsrga2cnml8ca29r0sz
pagination: null
validator_address: wormhole1eg9kajxr5x25h0t94570mn79j3a00emphnwt3p

Bug?

Steps to reproduce

run the above commands

pretty low priority i would think.

@mcf-rocks mcf-rocks added the bug Something isn't working label Aug 15, 2023
@nik-suri
Copy link
Contributor

Thanks @mcf-rocks! Looks like the show-allowlist command filters by allowed address instead of validator address. We'll fix this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants
@nik-suri @mcf-rocks and others