Skip to content

pallet-beefy-mmr: better logging on BEEFY key to ETH address conversion#1520

Merged
bkchr merged 1 commit into
paritytech:masterfrom
acatangiu:beefy-eth-conversion
Sep 13, 2023
Merged

pallet-beefy-mmr: better logging on BEEFY key to ETH address conversion#1520
bkchr merged 1 commit into
paritytech:masterfrom
acatangiu:beefy-eth-conversion

Conversation

@acatangiu

@acatangiu acatangiu commented Sep 12, 2023

Copy link
Copy Markdown
Contributor

Description

Each time the validator set changes, BEEFY validator keys are converted to ETH addresses and merkelised into a keyset_commitment to be used by light clients.

This commit downgrades error to debug when individual conversions from BEEFY keys to ETH addresses fail, and adds cumulative check that reports total number of failed conversions, if any, on error log-level.

Fixes #1305

Signed-off-by: Adrian Catangiu <adrian@parity.io>
@acatangiu acatangiu added the T2-pallets This PR/Issue is related to a particular pallet. label Sep 12, 2023
@acatangiu acatangiu self-assigned this Sep 12, 2023
@acatangiu acatangiu requested a review from a team September 12, 2023 16:22
@bkchr bkchr merged commit 35de1f2 into paritytech:master Sep 13, 2023
@acatangiu acatangiu deleted the beefy-eth-conversion branch September 13, 2023 08:47
@Polkadot-Forum

Copy link
Copy Markdown

This pull request has been mentioned on Polkadot Forum. There might be relevant details there:

https://forum.polkadot.network/t/polkadot-kusama-bridge/2971/5

bgallois pushed a commit to duniter/duniter-polkadot-sdk that referenced this pull request Mar 25, 2024
…on (paritytech#1520)

# Description

Each time the validator set changes, BEEFY validator keys are converted
to ETH addresses and merkelised into a `keyset_commitment` to be used by
light clients.

This commit downgrades `error` to `debug` when individual conversions
from BEEFY keys to ETH addresses fail, and adds cumulative check that
reports total number of failed conversions, if any, on `error`
log-level.

Fixes paritytech#1305

Signed-off-by: Adrian Catangiu <adrian@parity.io>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

T2-pallets This PR/Issue is related to a particular pallet.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Failed to convert BEEFY PublicKey to ETH address (westend & kusama)

6 participants