这是indexloc提供的服务,不要输入任何密码
Skip to content

Conversation

@gregnazario
Copy link
Contributor

Motivation

Combine all genesis keys into one file, and output waypoint and
genesis blob in one command.

Have you read the Contributing Guidelines on pull requests?

Yes

Test Plan

$ aptos genesis generate-keys
{
  "Result": "./private-keys.yml"
}

$ cat ./private-keys.yml 
---
account_address: 76e5d5fcdabefaad1287c8429ec4ffe0e4baea5ba38983b5096ba4fcefaf9b0f
account_key: "redacted"
consensus_key: "redacted"
network_key: "redacted"

$ aptos genesis generate-genesis --local-repository-dir genesis
{
  "Result": [
    "./genesis.blob",
    "./waypoint.txt"
  ]
}

$ cat waypoint.txt 
0:4260cb13db8177ad000ece906363ad5f3d80b425e8f350ba45cdfb0369dfacc3

Related issues

#889

@gregnazario gregnazario added the tooling For tooling related issues label May 10, 2022
@gregnazario gregnazario requested review from davidiw and sherry-x May 10, 2022 08:08
@gregnazario
Copy link
Contributor Author

/land

Combine all genesis keys into one file, and output waypoint and
genesis blob in one command.

Closes: aptos-labs#892
@aptos-bot
Copy link
Contributor

Forge run: https://circleci.com/gh/aptos-labs/aptos-core/16116
Forge test result: all up : 1387 TPS, 3144 ms latency, 4700 ms p99 latency,no expired txns

@aptos-bot aptos-bot force-pushed the update-genesis-commands branch from 8dc5b6e to 982ff5f Compare May 10, 2022 17:37
@aptos-bot aptos-bot closed this in 982ff5f May 10, 2022
@aptos-bot aptos-bot merged commit 982ff5f into aptos-labs:main May 10, 2022
@gregnazario gregnazario deleted the update-genesis-commands branch October 5, 2022 22:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

tooling For tooling related issues

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants