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

refactor: omit address field in chain spec parsing #1641

Merged
merged 2 commits into from
Dec 18, 2023
Merged

Conversation

KaoImin
Copy link
Contributor

@KaoImin KaoImin commented Dec 18, 2023

What this PR does / why we need it?

This PR:

  1. Rename Validator as ConsensusValidator
  2. Omit address field in chain spec and it will calculate before executing genesis.

What is the impact of this PR?

No Breaking Change

PR relation:

CI Settings

CI Usage

Tip: Check the CI you want to run below, and then comment /run-ci.

CI Switch

  • Web3 Compatible Tests
  • OpenZeppelin tests
  • v3 Core Tests

CI Description

CI Name Description
Web3 Compatible Test Test the Web3 compatibility of Axon
v3 Core Test Run the compatibility tests provided by Uniswap V3
OpenZeppelin tests Run the compatibility tests provided by OpenZeppelin, including OCT 1-5 | 6-10 | 11 | 12-15 | 16-19

@KaoImin KaoImin requested a review from a team as a code owner December 18, 2023 09:16
@KaoImin KaoImin requested review from jjyr and blckngm December 18, 2023 09:16
@KaoImin KaoImin requested review from Flouse and driftluo and removed request for jjyr December 18, 2023 09:17
Copy link
Contributor

@blckngm blckngm left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'll update metadata-cli to also derive address from pubkey.

@Flouse Flouse added this pull request to the merge queue Dec 18, 2023
Merged via the queue into main with commit 2af06c3 Dec 18, 2023
26 checks passed
@KaoImin KaoImin deleted the refactor-chain-spec branch December 28, 2023 05:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

For a same verifier (based on its BLS private key), the address in metadata and consensus could be different.
4 participants