chore: bump seismic-node - #77
Merged
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Bootstrapped a network succesfully with this version.
Instructions for reproducibility
Set identifiers for this run:
This uses the current example chain spec but the newly generated image measurements:
Optionally review the generated Summit parameters:
cat "$NET/summit-template.toml"Then assemble and validate:
This inherits the VHD URL and other settings from your modified Pulumi.dev.yaml:
uv run seismic-tee-network up \ --count "$COUNT" \ --stack-prefix "$PREFIX" \ --config tee/pulumi/seismic_node/Pulumi.dev.yaml \ --network "$NET"Descriptors will be written to:
Pulumi will prompt for the stack passphrase if PULUMI_CONFIG_PASSPHRASE is not set.
Node 1 is genesis (mints root_key); nodes 2–4 join. reth wires up devp2p
gossip from the
[network].bootnodesenode list, and tdx-init derives eachnode’s root_key fetch peer (
http://<host>:7878) from that same list — so thejoiners fetch root_key from node 1 over the attested handshake, with no second
peer list that could skew from the bootnode set:
uv run seismic-tee-network configure \ --genesis "$NET/nodes/${PREFIX}-1.json" \ --join "$NET/nodes/${PREFIX}-2.json" \ --join "$NET/nodes/${PREFIX}-3.json" \ --join "$NET/nodes/${PREFIX}-4.json" \ --manifest "$NET/network-manifest.json"Greenfield bootstrap is two-stage: a node’s enode isn’t known until reth is up,
so configure brings up the genesis node first (empty bootnodes), polls its
seismic_nodeInfofor the enode, then configures the joiners bootnoded off it.Both stages watch each node’s first-boot LUKS provisioning, so this takes a
while.
On success it collects every node’s enode and persists the founding set to:
A later configure run (e.g. after a reboot wipes the tmpfs config dir) reuses
that file and reconfigures the whole cohort in one parallel pass.
uv run seismic-tee-network genesis-ceremony \ --manifest "$NET/network-manifest.json"It reads all node descriptors from
$NET/nodes(skipping thebootnodes.jsonthat step 3 writes there), verifies every node’s block-0 hash, gathers Summit
keys, builds genesis.toml, and sends it to the cohort.
Check block production and the shared tx_io_pk:
All four tx_io_pk values should match, and block numbers should advance.
Cleanup
uv run seismic-tee-network down \ --count "$COUNT" \ --stack-prefix "$PREFIX" \ --network "$NET"Because this is a throwaway identity, remove its artifacts afterward if they are not needed:
rm -rf "$NET"