Skip to content

Instantly share code, notes, and snippets.

View jcstein's full-sized avatar

Josh Stein jcstein

View GitHub Profile
@jcstein
jcstein / transaction-flow_prepared.jsonl
Created April 13, 2023 02:25
transaction-flow_prepared.jsonl
{"prompt": "What does a typical transaction on Celestia look like?", "completion": "A typical transaction on Celestia involves a user running a Celestia Light Node and a rollup Light Node. The user constructs a transaction (TX) on their local machine and sends it to a full node on the rollup network. The full nodes, which can be sequencers, sequence the transactions into rollup blocks. These rollup blocks have data commitments, which are Merkle trees containing the transaction data. The rollup sequencer then posts the block data into the Celestia network, and it gets included inside the Celestia block as a data blob."}
{"prompt": "What is the main purpose of the Celestia Light Node?", "completion": "The main purpose of the Celestia Light Node is to allow users to connect directly to the Celestia network and get information about the state of the network, like the latest blocks, without relying on a centralized service. This is important for trust minimization and making users first-class citizens of the netwo
11:23PM INF called eth.rpc.backend.ChainConfig module=polaris-geth
11:23PM INF called eth.rpc.backend.GetTd hash=0xac5a5a67ace0e510cf568979d036f6dd03149cfa3587c68d1b2f4db40abdf86f module=polaris-geth
11:23PM ERR eth.rpc.backend.StateAndHeaderByNumberOrHash err="cannot query with height in the future; please provide a valid height: invalid height" module=polaris-geth number=282
11:23PM ERR eth.rpc.backend.StateAndHeaderByNumberOrHash err="cannot query with height in the future; please provide a valid height: invalid height" module=polaris-geth number=282
11:23PM ERR eth.rpc.backend.StateAndHeaderByNumberOrHash err="cannot query with height in the future; please provide a valid height: invalid height" module=polaris-geth number=282
11:23PM INF Served eth_getCode conn=127.0.0.1:55829 duration=0.082708 err="cannot query with height in the future; please provide a valid height: invalid height" module=polaris-geth reqid=3
11:23PM INF Served eth_getTransactionCount conn=127.0.0.1:55830 duration=0.080084 err="cannot
mage start
Building solidity contracts with foundry...
Building the Cosmos SDK chain...
Building the Playground chain...
INFO [04-19|23:40:31.678] Gasprice oracle is ignoring threshold set threshold=2
INFO [04-19|23:40:31.678] called eth.rpc.backend.SubscribeChainHeadEvent ch=0x14001d1e0c0
{"app_message":{"auth":{"accounts":[],"params":{"max_memo_characters":"256","sig_verify_cost_ed25519":"590","sig_verify_cost_secp256k1":"1000","tx_sig_limit":"7","tx_size_cost_per_byte":"10"}},"authz":{"authorization":[]},"bank":{"balances":[],"denom_metadata":[],"params":{"default_send_enabled":true,"send_enabled":[]},"send_enabled":[],"supply":[]},"capability":{"index":"1","owners":[]},"consensus":null,"crisis":{"constant_fee":{"amount":"1000","denom":"stake"}},"distribution":{"delegator_starting_infos":[],"delegator_withdraw_infos":[],"fee_pool":{"community_pool":[]},"outstanding_rewards":[],"params":{"base_proposer_reward":"0.000000000000000000","bonus_proposer_reward":"0.000000000000000000","community_tax":"0.020000000
bash
root@jcs-optimism:~/optimism# make build-ts
# CI will checkout submodules on its own (and fails on these commands)
if [ -z "$GITHUB_ENV" ]; then \
git submodule init; \
git submodule update; \
fi
if [ -n "$NVM_DIR" ]; then \
. $NVM_DIR/nvm.sh && nvm use; \
fi
root@jcs-optimism:~/optimism# make build-ts
# CI will checkout submodules on its own (and fails on these commands)
if [ -z "$GITHUB_ENV" ]; then \
git submodule init; \
git submodule update; \
fi
if [ -n "$NVM_DIR" ]; then \
. $NVM_DIR/nvm.sh && nvm use; \
fi
yarn install
root@jcs-optimism:~/optimism# make devnet-up-deploy
PYTHONPATH=./bedrock-devnet python3 ./bedrock-devnet/main.py --monorepo-dir=.
[INFO|04-21-2023 08:34:43] Generating L1 genesis.
[INFO|04-21-2023 08:34:43] Starting L1.
Creating network "ops-bedrock_default" with the default driver
Creating volume "ops-bedrock_l1_data" with default driver
Creating volume "ops-bedrock_l2_data" with default driver
Creating volume "ops-bedrock_op_log" with default driver
Building l1
Sending build context to Docker daemon 34.82kB
root@jcs-optimism:~/optimism# make devnet-up-deploy
PYTHONPATH=./bedrock-devnet python3 ./bedrock-devnet/main.py --monorepo-dir=.
[INFO|04-21-2023 08:52:18] Generating L1 genesis.
[INFO|04-21-2023 08:52:18] Starting L1.
Creating network "ops-bedrock_default" with the default driver
Creating volume "ops-bedrock_l1_data" with default driver
Creating volume "ops-bedrock_l2_data" with default driver
Creating volume "ops-bedrock_op_log" with default driver
Building l1
Sending build context to Docker daemon 34.82kB
op-proposer_1 | t=2023-04-27T16:36:44+0000 lvl=warn msg="unable to publish tx to celestia" service=proposer err="Post \"/submit_pfb\": unsupported protocol scheme \"\""
op-proposer_1 | t=2023-04-27T16:36:45+0000 lvl=warn msg="unable to publish tx to celestia" service=proposer err="Post \"/submit_pfb\": unsupported protocol scheme \"\""
op-proposer_1 | t=2023-04-27T16:36:46+0000 lvl=warn msg="unable to publish tx to celestia" service=proposer err="Post \"/submit_pfb\": unsupported protocol scheme \"\""
op-proposer_1 | t=2023-04-27T16:36:47+0000 lvl=warn msg="unable to publish tx to celestia" service=proposer err="Post \"/submit_pfb\": unsupported protocol scheme \"\""
op-proposer_1 | t=2023-04-27T16:36:48+0000 lvl=warn msg="unable to publish tx to celestia" service=proposer err="Post \"/submit_pfb\": unsupported protocol scheme \"\""
op-proposer_1 | t=2023-04-27T16:36:49+0000 lvl=warn msg="unable to publish tx to celestia" s
op-batcher_1 | t=2023-04-27T16:36:29+0000 lvl=info msg="Channel closed" id=afbff254f03962fa8d2360d2e685f36a blocks_pending=0 num_frames=1 input_bytes=25662 output_bytes=12640 full_reason="channel full: max channel duration reached" compr_ratio=0.493
op-batcher_1 | t=2023-04-27T16:36:53+0000 lvl=info msg="Channel closed" id=a4d3c160527246b0253f0a9b96c122cf blocks_pending=0 num_frames=1 input_bytes=936 output_bytes=801 full_reason="channel full: max channel duration reached" compr_ratio=0.856
op-batcher_1 | t=2023-04-27T16:37:15+0000 lvl=info msg="Channel closed" id=fc150cf74831a1b3acf00b923624d6bc blocks_pending=0 num_frames=1 input_bytes=858 output_bytes=762 full_reason="channel full: max channel duration reached" compr_ratio=0.888
op-batcher_1 | t=2023-04-27T16:37:35+0000 lvl=info msg="Channel closed" id=ce26a2056fc39478e042fe122c6e67af blocks_pending=0 num_frames=1 input_byt
da | 2023-04-27T16:36:26.622Z INFO basichost basic/natmgr.go:93 DiscoverNAT error:no NAT found
l1_1 | INFO [04-27|16:35:53.803] Smartcard socket not found, disabling err="stat /run/pcscd/pcscd.comm: no such file or directory"
l1_1 | INFO [04-27|16:35:56.869] Smartcard socket not found, disabling err="stat /run/pcscd/pcscd.comm: no such file or directory"
l1_1 | INFO [04-27|16:35:57.929] Smartcard socket not found, disabling err="stat /run/pcscd/pcscd.comm: no such file or directory"
l2_1 | INFO [04-27|16:35:59.682] Smartcard socket not found, disabling err="stat /run/pcscd/pcscd.comm: no such file or directory"
l2_1 | INFO [04-27|16:36:04.335] Smartcard socket not found, disabling err="stat /run/pcscd/pcscd.comm: no such file or directory"
l2_1 | INFO [04-27|16:36:06.092] Smartcard socket not found, disabling err="stat /run/pcscd/pcscd.comm: no such file or d