Skip to content

Instantly share code, notes, and snippets.

[global]
log_level = "info"
[mode.clients]
enabled = true
refresh = true
misbehaviour = true
[mode.connections]
enabled = false
@rootulp
rootulp / mocha-4.sh
Last active January 3, 2024 20:28
Script to start a Celestia consensus node on mocha-4
#!/bin/sh
# This script builds the celestia-app repo and attempts to connect to mocha-4.
# This script assumes that it is executed from the root of the celestia-app repo.
# ./scripts/mocha-4.sh
set -o errexit -o nounset
CELESTIA_APP_HOME="$HOME/.celestia-app"
NETWORKS_PATH="$HOME/git/rootulp/celestiaorg/networks"
@rootulp
rootulp / arabica-10.sh
Last active November 6, 2023 21:09
Script to start a celestia-app node on arabica-10
#!/bin/sh
# This script builds the celestia-app repo and attempts to connect to arabica-10.
# This script assumes that it is executed from the root of the celestia-app repo.
# ./scripts/arabica-10.sh
set -o errexit -o nounset
CELESTIA_APP_HOME="$HOME/.celestia-app"
NETWORKS_PATH="$HOME/git/rootulp/celestia/networks"
@rootulp
rootulp / README.md
Created August 11, 2023 21:15
How to submit a blob via Ledger

How to submit a blob via Ledger

This gist contains steps to submit a blob via a Ledger hardware wallet.

Steps

  1. Git clone celestia-app
  2. Install celestia-appd
@rootulp
rootulp / mocha-3.sh
Created August 11, 2023 14:49
A bash script to connect to mocha-3
#!/bin/sh
# This script builds the celestia-app repo and attempts to connect to mocha-3.
# This script assumes that it is executed from the root of the celestia-app repo.
# ./scripts/mocha-3.sh
set -o errexit -o nounset
CELESTIA_APP_HOME="$HOME/.celestia-app"
NETWORKS_PATH="$HOME/git/rootulp/celestia/networks"

Celestia Data Square

squareSize (k) extendedSquareSize (2k) numShares (k^2) blobCapacity (k^2 * shareSize)
64 128 4096 2 MiB
128 256 16384 8 MiB
256 512 65536 32 MiB
512 1024 262144 128 MiB
1024 2048 1048576 512 MiB
2048 4096 4194304 2048 MiB (2 GiB)
@rootulp
rootulp / rln-trusted-setup-ceremony_attestation.log
Created August 5, 2023 14:58
Attestation for RLN Trusted Setup Ceremony MPC Phase 2 Trusted Setup ceremony
Hey, I'm rootulp-3699047 and I have contributed to the RLN Trusted Setup Ceremony MPC Phase2 Trusted Setup ceremony.
The following are my contribution signatures:
Circuit # 1 (rln-withdraw)
Contributor # 29
Contribution Hash: 509a0e80 3afa6fde f2afccf6 724b015b
a5a223ab f7356959 539411b5 db8abf8d
151bdbc9 960f5fc2 b4698b22 6fc3ac56
1a5ce2d7 339f0af2 3809dfb6 5eba743c
@rootulp
rootulp / gov-audit.md
Last active June 30, 2023 20:31
`x/gov` audit

x/gov audit

The Celestia upgrade module should not have a message handler for legacy or non-legacy governance proposals.

Legacy gov proposal

I verified that it is possible to submit a legacy governance proposal via

$ celestia-appd tx gov submit-legacy-proposal --title="Test Proposal" --description="My awesome proposal" --type="Text" --deposit="10utia" --from validator --home $CELESTIA_APP_HOME --fees 21000utia
@rootulp
rootulp / README.md
Created June 13, 2023 18:46
How to increase the `GovMaxSquareSize` param on a Celestia testnet

GovMaxSquareSize

This gist will help you increase the GovMaxSquareSize param of the x/blob module on a Celestia testnet.

Prerequisites

  1. Download and install celestia-appd v1.0.0-rc2

  2. Run celestia-appd

namespaceSize: 1 len(data): 69
blockGeneric loop invocation
blockGeneric loop invocation
namespaceSize: 2 len(data): 73
blockGeneric loop invocation
blockGeneric loop invocation
namespaceSize: 3 len(data): 77
blockGeneric loop invocation
blockGeneric loop invocation
namespaceSize: 4 len(data): 81