Skip to content

Instantly share code, notes, and snippets.

View adaszko's full-sized avatar
:bowtie:

Adam Szkoda adaszko

:bowtie:
View GitHub Profile
@adaszko
adaszko / PKGBUILD
Created December 15, 2022 13:18
radicle-cli PKGBUILD
pkgname=radicle-cli
pkgver=0.6.1
pkgrel=1
pkgdesc="Command-line tooling for Radicle"
arch=('x86_64')
url="https://github.com/radicle-dev/radicle-cli"
license=('GPL3')
provides=('rad')
source_x86_64=("https://github.com/radicle-dev/radicle-cli/releases/download/v${pkgver}/radicle-cli-x86_64-unknown-linux-musl.tar.gz")

radicle-cli Release Guide

  1. Select a tip commit for the release to point to
  2. Edit the Cargo.toml and bump the version number there
  3. Run cargo build to ensure everything builds (this should modify Cargo.lock too automatically).
  4. Commit the changes to Cargo.toml and Cargo.lock.
  5. Create a git tag with the same version number as in Cargo.toml via a command: git tag vx.x.x
  6. Push the newly-created tag: git push origin vx.x.x
  7. Wait for the GitHub Actions to complete. It should create a new release at https://github.com/radicle-dev/radicle-cli/releases/
  8. Go to the latest release under https://github.com/radicle-dev/radicle-cli/releases/ and download radicle-cli-x86_64-apple-darwin.tar.gz from there.
Aug 11 07:43:24.949 WARN Ethereum 2.0 is pre-release. This software is experimental.
Aug 11 07:43:24.949 INFO Configured for testnet name: medalla
Aug 11 07:43:24.949 INFO Data directory initialised datadir: /home/adaszko/.lighthouse
Aug 11 07:43:25.044 INFO Starting beacon chain method: resume, service: beacon
Aug 11 07:43:25.247 INFO Block production enabled method: json rpc via http, endpoint: http://localhost:8545
Aug 11 07:43:25.312 DEBG No new eth1 blocks imported cached_blocks: 4096, latest_block: 3203500, service: eth1_rpc
Aug 11 07:43:25.318 DEBG No new deposits found total_deposits: 32705, latest_block: 3203443, service: eth1_rpc
Aug 11 07:43:25.318 DEBG Updated eth1 cache deposits: DepositCacheUpdateOutcome { logs_imported: 0 }, blocks: BlockCacheUpdateOutcome { blocks_imported: 0, head_block_number: Some(3203500) }, retry_millis: 7000, service: eth1_rpc
Aug 11 07:43:25.318 INFO Beacon

This document lists differences between the current state of the Lighthouse ReST API and the official Eth2 spec.

/beacon/genesis

  • Exists in Lighthouse at /beacon/state/genesis
  • Lighthouse response payload includes genesis_time in the body
  • Lighthouse response payload does not return the genesis_validators_root attribute, but instead, returns details about validators participating in

This document lists differences between the current state of the Lighthouse ReST API and the minimal official Eth2 spec.

/beacon/genesis

  • Exists in Lighthouse at /beacon/state/genesis
  • Lighthouse response payload includes genesis_time in the body
  • Lighthouse response payload does not return the genesis_validators_root
PID/THRD SYSCALL(args) = return
running 10 tests
67244/0xb7cd09: open("/dev/dtracehelper\0", 0x2, 0xFFFFFFFFE918AD10) = 3 0
dyld`open+0xa
dyld`ImageLoader::link(ImageLoader::LinkContext const&, bool, bool, bool, ImageLoader::RPathChain const&, char const*)+0x24b
dyld`dyld::link(ImageLoader*, bool, bool, ImageLoader::RPathChain const&, unsigned int)+0xa1
dyld`dyld::_main(macho_header const*, unsigned long, int, char const**, char const**, char const**, unsigned long*)+0x1826
dyld`dyldbootstrap::start(dyld3::MachOLoaded const*, int, char const**, dyld3::MachOLoaded const*, unsigned long*)+0x1c5
90552/0x95c629: open("/dev/dtracehelper\0", 0x2, 0xFFFFFFFFEB188E40) = 3 0
90552/0x95c629: close(0x3) = 0 0
90552/0x95c629: open("/usr/share/terminfo/73/screen-256color\0", 0x1000000, 0x1B6) = 3 0
90552/0x95c629: open("/dev/urandom\0", 0x1000000, 0x1B6) = 4 0
90552/0x95c629: close_nocancel(0x4) = 0 0
90552/0x95c629: close_nocancel(0x3) = 0 0
90552/0x95c633: open("/dev/urandom\0", 0x1000000, 0x1B6) = 15 0
90552/0x95c633: close_nocancel(0xF) = 0 0
90552/0x95c634: open("/dev/urandom\0", 0x1000000, 0x1B6) = 16 0
90552/0x95c634: close_nocancel(0x10) = 0 0
test eth1_cache::big_skip ... FAILED
test deposit_tree::updating ... FAILED
test eth1_cache::double_update ... FAILED
test deposit_tree::double_update ... FAILED
test eth1_cache::pruning ... FAILED
test fast::deposit_cache_query ... FAILED
test eth1_cache::simple_scenario ... FAILED
test http::incrementing_deposits ... FAILED
test persist::test_persist_caches ... FAILED
test deposit_tree::cache_consistency ... FAILED

Keybase proof

I hereby claim:

  • I am adaszko on github.
  • I am adaszko (https://keybase.io/adaszko) on keybase.
  • I have a public key ASDDUulkDisE0se3fbut-msHp9lt9Wdjtkj51CgdcznHVQo

To claim this, I am signing this object:

{
"type" : "block-traces-report",
"traces" : [
{
"source" : "new\n rl(`rho:registry:lookup`), RevVaultCh,\n vaultCh, balanceCh,\n stdout(`rho:io:stdout`)\nin {\n\n rl!(`rho:rchain:revVault`, *RevVaultCh) |\n for (@(_, RevVault) <- RevVaultCh) {\n\n stdout!((\"2.check_balance.rho\")) |\n\n // REPLACE THE REV ADDRESS HERE vvv\n match \"1111245Ys2gmqKfp9vGmMBFND9tK9ngJVSxTCu79JgutGUVSLN5FrJ\" {\n revAddress => {\n\n stdout!((\"Accessing vault at RevAddress\", revAddress)) |\n\n // most RevVault methods return an `Either[String, A] = (false, String) \\/ (true, A)`\n @RevVault!(\"findOrCreate\", revAddress, *vaultCh) |\n for (@(true, vault) <- vaultCh) {\n\n stdout!(\"Obtained vault, checking balance\") |\n\n @vault!(\"balance\", *balanceCh) |\n for (@balance <- balanceCh) {\n\n stdout!((\"Balance is\", balance))\n }\n }\n }\n }\n\n }\n\n}\n",
"events" : [
{