Skip to content

Conversation

@shekhirin
Copy link
Contributor

just localnet 1000 "true" dev
This will wipe your data directory (unless you have reset=false) - please confirm before proceeding (y/n): y
cargo run -p tempo-xtask --profile dev -- generate-genesis --output ./localnet/genesis.json -a 1000
   Compiling tempo-xtask v0.7.3 (/Users/shekhirin/projects/tempo/tempo/xtask)
    Finished `dev` profile [unoptimized + debuginfo] target(s) in 2.75s
     Running `target/debug/tempo-xtask generate-genesis --output ./localnet/genesis.json -a 1000`
Generating 1000 accounts
Initializing registry
Initializing TIP20Factory
Creating PathUSD through factory
Initializing TIP20 tokens
Initializing TIP20RewardsRegistry
generating consensus config for validators: []
no validator socket addresses provided; not generating consensus config
Initializing validator config
no consensus config passed; no validators to write to contract
Initializing fee manager
Initializing stablecoin exchange
Initializing nonce manager
Minting pairwise FeeAMM liquidity
Saving EVM state to allocation
no consensus config generated; likely didn't provide --validators flag
   Compiling tempo-node v0.7.3 (/Users/shekhirin/projects/tempo/tempo/crates/node)
   Compiling tempo-commonware-node v0.7.3 (/Users/shekhirin/projects/tempo/tempo/crates/commonware-node)
   Compiling tempo v0.7.3 (/Users/shekhirin/projects/tempo/tempo/bin/tempo)
    Finished `dev` profile [unoptimized + debuginfo] target(s) in 9.82s
     Running `target/debug/tempo node --chain ./localnet/genesis.json --dev --dev.block-time 1sec --datadir ./localnet/reth --http --http.addr 0.0.0.0 --http.port 8545 --http.api all --engine.disable-precompile-cache --engine.legacy-state-root --builder.gaslimit 3000000000 --builder.max-tasks 8 --builder.deadline 3 --log.file.directory ./localnet/logs --faucet.enabled --faucet.private-key 0xac0974bec39a17e36ba4a6b4d238ff944bacb478cbed5efcae784d7bf4f2ff80 --faucet.amount 1000000000000 --faucet.address 0x20c0000000000000000000000000000000000001`
error: Invalid value './localnet/genesis.json' for --chain <CHAIN_OR_PATH>: [Is a directory (os error 21)].
    [possible values: testnet]error: Recipe `localnet` failed with exit code 2

@shekhirin shekhirin added the C-Bug An unexpected or incorrect behavior label Dec 10, 2025
@vercel
Copy link

vercel bot commented Dec 10, 2025

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Preview Comments Updated (UTC)
tempo-docs Ready Ready Preview Comment Dec 10, 2025 7:04pm

@shekhirin shekhirin changed the title fix(xtask): generate genesis output path fix(xtask): genesis output path Dec 10, 2025
@shekhirin shekhirin changed the title fix(xtask): genesis output path fix(xtask): generate-genesis output path Dec 10, 2025
@shekhirin shekhirin marked this pull request as draft December 10, 2025 18:52
@SuperFluffy
Copy link
Collaborator

SuperFluffy commented Dec 10, 2025

It doesn't really make sense to do that anymore, because generate-genesis takes an output directory. The result of running generate-genesis is $OUTPUT/genesis.json and $OUTPUT/<validator>/<secrets> (one dir per validator you passed in --validators).

@shekhirin shekhirin changed the title fix(xtask): generate-genesis output path chore: Justfile localnet genesis path Dec 10, 2025
@shekhirin shekhirin force-pushed the alexey/generate-genesis-path branch from 28f14dc to 1bca403 Compare December 10, 2025 18:56
@shekhirin shekhirin marked this pull request as ready for review December 10, 2025 18:56
Copy link
Collaborator

@SuperFluffy SuperFluffy left a comment

Choose a reason for hiding this comment

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

just approve pull/1430

@shekhirin shekhirin enabled auto-merge (squash) December 10, 2025 19:01
@shekhirin shekhirin merged commit da432d1 into main Dec 10, 2025
18 checks passed
@shekhirin shekhirin deleted the alexey/generate-genesis-path branch December 10, 2025 19:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

C-Bug An unexpected or incorrect behavior

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants