Skip to content

Instantly share code, notes, and snippets.

View jcstein's full-sized avatar

joshcs.eth jcstein

View GitHub Profile
--> Generating OpenRPC spec
{
"openrpc": "1.2.6",
"info": {
"title": "Celestia Node API",
"description": "The Celestia Node API is the collection of RPC methods that can be used to interact with the services provided by Celestia Data Availability Nodes.",
"version": "v0.13.2-14-g8b569ad9"
},
"externalDocs": {
"description": "Celestia Node GitHub",
2024-04-18T20:42:09.140-0400 INFO das das/worker.go:148 sampled header {"type": "recent", "height": 1639315, "hash": "3814D708A07D4E0D8C79E9746E890CA7BD6A47FE530AA4CEBD7413C5A4EC2B7D", "square width": 64, "data root": "E5614F3603EE4756988131DC4C70D88CFEC8248768AA3AB2AEAB29B4A60E3238", "finished (s)": 0.000005333}
2024-04-18T20:42:12.629-0400 INFO bitswap-server server/server.go:547 Bitswap Client ReceiveError: stream reset
2024-04-18T20:42:21.209-0400 INFO header/store store/store.go:375 new head {"height": 1639316, "hash": "71B6A851ECAA30DB380D5F9CF8994DE9CCB279AF669C212CF17E55A3EBED92CC"}
2024-04-18T20:42:21.210-0400 INFO das das/worker.go:148 sampled header {"type": "recent", "height": 1639316, "hash": "71B6A851ECAA30DB380D5F9CF8994DE9CCB279AF669C212CF17E55A3EBED92CC", "square width": 64, "data root": "8193BF804F997D0AC790259F9195B57C72B457FE4DE49EDAFDD870BE9612F7A0", "finished (s)": 0.000019167}
goroutine 24761 [running]:
runtime/debug.Stack()
/Users/joshstein/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.2
$ docker logs orbit-setup-script-nitro-1 | grep 'unsupported block number'
INFO [03-28|19:12:38.652] using existing jwt file filename=/home/user/.arbitrum/jwtsecret
INFO [03-28|19:12:38.652] Running Arbitrum nitro node revision=development vcs.time=development
INFO [03-28|19:12:39.146] connected to l1 chain l1url=wss://rpc.ankr.com/arbitrum_sepolia/ws/445df1f903517e3ce3e857b99cd7a489f473107292b15844f9c2ea68063c674f l1chainid=421,614
INFO [03-28|19:12:39.171] retaining ability to lookup full transaction history as archive mode is enabled
INFO [03-28|19:12:39.213] Using leveldb as the backing database
INFO [03-28|19:12:39.213] Allocated cache and file handles database=/home/user/.arbitrum/TiatoxJosho/nitro/l2chaindata cache=16.00MiB handles=16 readonly=true
INFO [03-28|19:12:39.216] Using LevelDB as the backing database
INFO [03-28|19:12:39.217] Opened ancient database database=/home/user/.arbitrum/TiatoxJosho/nitro/l2chaindata/ancient/ch
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
20a8730f79ee nginx "/docker-entrypoint.…" 19 hours ago Up 19 hours 0.0.0.0:80->80/tcp, :::80->80/tcp, 0.0.0.0:8080-8081->8080-8081/tcp, :::8080-8081->8080-8081/tcp proxy
40badbbaba8a ghcr.io/blockscout/frontend:v1.21.2 "./entrypoint.sh nod…" 19 hours ago Up 19 hours 3000/tcp frontend
f76a41d1237a ghcr.io/blockscout/stats:latest "./stats-server" 19 hours ago Up 19 hours stats
eb03b075fe31 blockscout/blockscout:6.0.0 "sh -c 'bin/blocksco…" 19 hours ago Up 19 hours
2024-03-27 22:34:04 INFO [03-28|02:34:04.359] Blockchain stopped
2024-03-28 09:59:38 INFO [03-28|13:59:38.663] using existing jwt file filename=/home/user/.arbitrum/jwtsecret
2024-03-28 09:59:38 INFO [03-28|13:59:38.664] Running Arbitrum nitro node revision=development vcs.time=development
2024-03-28 09:59:38 INFO [03-28|13:59:38.948] connected to l1 chain l1url=wss://arb-sepolia.g.alchemy.com/v2/VTu35LXi1jMXgZmHj67QutaoSi1IlA41 l1chainid=421,614
2024-03-28 09:59:39 INFO [03-28|13:59:39.003] retaining ability to lookup full transaction history as archive mode is enabled
2024-03-28 09:59:39 INFO [03-28|13:59:39.067] Using leveldb as the backing database
2024-03-28 09:59:39 INFO [03-28|13:59:39.067] Allocated cache and file handles database="/home/user/.arbitrum/Arbitrum L3 Rollup/nitro/l2chaindata" cache=16.00MiB handles=16 readonly=true
2024-03-28 09:59:39 INFO [03-28|13:59:39.078] Using LevelDB as the backing database
2024-03-28 09:59:39 INFO [03-2
2024-03-27 19:41:53 INFO [03-27|23:41:53.438] created jwt file filename=/home/user/.arbitrum/jwtsecret
2024-03-27 19:41:53 INFO [03-27|23:41:53.439] Running Arbitrum nitro node revision=development vcs.time=development
2024-03-27 19:41:53 INFO [03-27|23:41:53.785] connected to l1 chain l1url=wss://arb-sepolia.g.alchemy.com/v2/VTu35LXi1jMXgZmHj67QutaoSi1IlA41 l1chainid=421,614
2024-03-27 19:41:53 INFO [03-27|23:41:53.856] retaining ability to lookup full transaction history as archive mode is enabled
2024-03-27 19:41:53 INFO [03-27|23:41:53.931] Using leveldb as the backing database
2024-03-27 19:41:53 INFO [03-27|23:41:53.932] Allocated cache and file handles database="/home/user/.arbitrum/Arbitrum L3 Rollup/nitro/l2chaindata" cache=16.00MiB handles=16 readonly=true
2024-03-27 19:41:53 INFO [03-27|23:41:53.933] Using leveldb as the backing database
2024-03-27 19:41:53 INFO [03-27|23:41:53.933] Allocated cache and file handles database=
2024-03-27 19:41:53 INFO [03-27|23:41:53.438] created jwt file filename=/home/user/.arbitrum/jwtsecret
2024-03-27 19:41:53 INFO [03-27|23:41:53.439] Running Arbitrum nitro node revision=development vcs.time=development
2024-03-27 19:41:53 INFO [03-27|23:41:53.785] connected to l1 chain l1url=wss://arb-sepolia.g.alchemy.com/v2/VTu35LXi1jMXgZmHj67QutaoSi1IlA41 l1chainid=421,614
2024-03-27 19:41:53 INFO [03-27|23:41:53.856] retaining ability to lookup full transaction history as archive mode is enabled
2024-03-27 19:41:53 INFO [03-27|23:41:53.931] Using leveldb as the backing database
2024-03-27 19:41:53 INFO [03-27|23:41:53.932] Allocated cache and file handles database="/home/user/.arbitrum/Arbitrum L3 Rollup/nitro/l2chaindata" cache=16.00MiB handles=16 readonly=true
2024-03-27 19:41:53 INFO [03-27|23:41:53.933] Using leveldb as the backing database
2024-03-27 19:41:53 INFO [03-27|23:41:53.933] Allocated cache and file handles database=
This file has been truncated, but you can view the full file.
2024-03-26 12:45:03 INFO [03-26|16:45:03.554] using existing jwt file filename=/home/user/.arbitrum/jwtsecret
2024-03-26 12:45:03 INFO [03-26|16:45:03.556] Running Arbitrum nitro node revision=development vcs.time=development
2024-03-26 12:45:03 INFO [03-26|16:45:03.794] connected to l1 chain l1url=https://sepolia-rollup.arbitrum.io/rpc l1chainid=421,614
2024-03-26 12:45:03 INFO [03-26|16:45:03.913] retaining ability to lookup full transaction history as archive mode is enabled
2024-03-26 12:45:04 INFO [03-26|16:45:04.047] Using leveldb as the backing database
2024-03-26 12:45:04 INFO [03-26|16:45:04.048] Allocated cache and file handles database="/home/user/.arbitrum/My Arbitrum L3 Chain with Celestia underneath/nitro/l2chaindata" cache=16.00MiB handles=16 readonly=true
2024-03-26 12:45:04 INFO [03-26|16:45:04.061] Using LevelDB as the backing database
2024-03-26 12:45:04 INFO [03-26|16:45:04.070] Opened ancient database database="/
graph TD
    A(Start: I released a new version of software) --> B{Is the update minor or major?}
    B -->|Minor| C{Does the engineer have the necessary knowledge and permissions?}
    C -->|Yes| D[Engineer updates the documentation]
    C -->|No| E[Engineer pings the responsible person/team]
    B -->|Major| F{Is there a designated documentation team or person?}
    F -->|Yes| G[Ping the documentation team/person]
    F -->|No| H{Does the engineer have the necessary knowledge?}
 H -->|Yes| I[Engineer updates the documentation with a peer review]
@jcstein
jcstein / openrpc-spec-with-sample-value-output.json
Created February 8, 2024 18:59
openrpc-spec-with-sample-value.json
--> Generating OpenRPC spec
{
"openrpc": "1.2.6",
"info": {
"title": "Celestia Node API",
"description": "The Celestia Node API is the collection of RPC methods that can be used to interact with the services provided by Celestia Data Availability Nodes.",
"version": "v0.11.0"
},
"externalDocs": {
"description": "Celestia Node GitHub",