Skip to content

Commit

Permalink
fix: validator key not being used (#335)
Browse files Browse the repository at this point in the history
* chore: update documentation

* fix: missing validator key usage
  • Loading branch information
byte-bandit authored Nov 13, 2023
1 parent 0cb349e commit 4a8ea97
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -270,9 +270,9 @@ palomad keys add pigeon-operator-charlie
# Second, your new addresses will need to receive an active feegrant from your validator address.
# This step is very important. It's not enough to simply fund those addresses manually.
# The active feegrant is considered a "permission" to send transactions from your validator address".
palomad tx feegrant grant $VALIDATOR_ADDRESS pigeon-operator-alpha --fees 500ugrain -y
palomad tx feegrant grant $VALIDATOR_ADDRESS pigeon-operator-bravo --fees 500ugrain -y
palomad tx feegrant grant $VALIDATOR_ADDRESS pigeon-operator-charlie --fees 500ugrain -y
palomad tx feegrant grant $VALIDATOR_ADDRESS $(palomad keys show pigeon-operator-alpha-$(hostname) -a) --fees 500ugrain -y
palomad tx feegrant grant $VALIDATOR_ADDRESS $(palomad keys show pigeon-operator-bravo-$(hostname) -a) --fees 500ugrain -y
palomad tx feegrant grant $VALIDATOR_ADDRESS $(palomad keys show pigeon-operator-charlie-$(hostname) -a) --fees 500ugrain -y
```

After creating your signing keys, all you need to do is register them with Pigeon by adding the following to your pigeon config. Make sure to restart the service after making these changes.
Expand Down
2 changes: 1 addition & 1 deletion chain/paloma/client.go
Original file line number Diff line number Diff line change
Expand Up @@ -295,7 +295,7 @@ func (c *Client) GetSigner() string {
}

func getValidatorAddress(c *Client) sdk.Address {
address, err := getKeyAddress(c, c.PalomaConfig.SigningKey)
address, err := getKeyAddress(c, c.PalomaConfig.ValidatorKey)
if err != nil {
panic(err)
}
Expand Down

0 comments on commit 4a8ea97

Please sign in to comment.