Skip to content

Instantly share code, notes, and snippets.

View blazejkrzak's full-sized avatar

Blaise Krzakala blazejkrzak

View GitHub Profile
@blazejkrzak
blazejkrzak / kravitzCheck.MD
Last active December 28, 2021 17:42
kravitz-stability-check

Version of tags running

pandora: v0.1.0-rc.1 vanguard: v0.1.0-rc.3-kravitz validator: v0.1.0-rc.3-kravitz orchestrator: v0.1.0-rc.1

Node setup must be able to:

  • synchronize to any network of ours up to the head (dev, staging, prod)
  • produce blocks during network lifecycle
@blazejkrzak
blazejkrzak / SymbioticBlockCreation.md
Last active March 4, 2021 09:27
Symbiotic block creation with Pandora and Vanguard orchestrated

Block creation

Pandora and Vanguard orchestration when producing a new block.

Terminology

Orchestrator - client written in go. Its responsibility is to orchestrate the Pandora and Vanguard to produce block.

Pandora - modified fork of go-ethereum where Pandora engine exists. Its responsibility is to create valid execution layer block. P2P is enabled to txpool share and block propagation. Although it requires symbiotic connection with the vanguard. Also known as geth

Vanguard - modified fork of prysm client. Its responsibility is to run consensus algorithm (CASPER) with execution layer on shard0. Also known as beacon chain

@blazejkrzak
blazejkrzak / Casper 12M Gas Limit 4 nodes
Last active February 4, 2021 09:21
Casper 12m Gas Limit with 4 nodes
## This is the result of Chainhammer.
### 1k Transactions, all successful.
All of the transactions were sent to 1 node (teku-catalyst-1).
Date of experiment: 03.02.2021r.
Setup of experiment in each:
- Catalyst at least 1000M of RAM and 1 CPU unit
- Teku at least 1000M of RAM and 1 CPU unit
- Ethstats client 100mCpu (0.1 of CPU)
@blazejkrzak
blazejkrzak / swarm links to logs
Last active January 14, 2021 12:58
Logs of teku-catalyst network
@blazejkrzak
blazejkrzak / catalyst-multinet-0
Last active January 13, 2021 17:09
Log from multinet 0 teku-catalyst
[01-13|17:06:15.717] Ethereum handshake failed id=a36017a46588d14a conn=dyndial err=EOF
DEBUG[01-13|17:06:15.717] Removing p2p peer peercount=6 id=a36017a46588d14a duration=32.954ms req=true err="subprotocol error"
DEBUG[01-13|17:06:15.774] Ethereum handshake failed id=a365758f2ac2c608 conn=dyndial err="Genesis mismatch - 84337e882fad5883 (!= 3a3fdfc9ab6e17ff)"
TRACE[01-13|17:06:15.774] Protocol eth/63 failed id=a365758f2ac2c608 conn=dyndial err="Genesis mismatch - 84337e882fad5883 (!= 3a3fdfc9ab6e17ff)"
DEBUG[01-13|17:06:15.775] Removing p2p peer peercount=5 id=a365758f2ac2c608 duration=150.363ms req=false err="Genesis mismatch - 84337e882fad5883 (!= 3a3fdfc9ab6e17ff)"
TRACE[01-13|17:06:15.843] Failed p2p handshake id=29913cc1ca1b21e1 addr=35.182.164.174:30303 conn=dyndial err="too many peers"
TRACE[01-13|17:06:15.990] DNS discovery lookup na
{
"config": {
"chainId": 4004180,
"homesteadBlock": 0,
"daoForkBlock": 0,
"daoForkSupport": true,
"eip150Block": 0,
"eip150Hash": "0x2086799aeebeae135c246c65021c82b4e15a2c451340993aacfd2751886514f0",
"eip155Block": 0,
"eip158Block": 0,
{
"name": "DPoSChain",
"engine": {
"hbbft": {
"params": {
"minimumBlockTime": 1,
"transactionQueueSizeTrigger": 1
}
}
},
{
"name": "AWSEVMAuthorityRound",
"engine": {
"authorityRound": {
"params": {
"stepDuration": "15",
"validators": {
"list": [
"0x70ad1a5fba52e27173d23ad87ad97c9bbe249abf",
"0xafe443af9d1504de4c2d486356c421c160fdd7b1"
@blazejkrzak
blazejkrzak / awsevmauthorityround.json
Last active November 13, 2020 18:00
Parity authority round
{
"name": NAME_REPLACE_MARKER,
"engine": {
"authorityRound": {
"params": {
"stepDuration": "15",
"validators": {
"list": LIST_REPLACE_MARKER
}
}
@blazejkrzak
blazejkrzak / gist:61b6e96ddfbb8b8d0a0711371f62b218
Created November 13, 2020 11:15
mjolnir-poa-genesis.json
{
"name": "MjolnirTest",
"engine": {
"hbbft": {
"params": {
"minimumBlockTime": 1,
"transactionQueueSizeTrigger": 1
}
}
},