Skip to content

Instantly share code, notes, and snippets.

View gballet's full-sized avatar
🗿

Guillaume Ballet gballet

🗿
View GitHub Profile
[package]
name = "keeper-host"
version = { workspace = true }
edition = { workspace = true }
default-run = "keeper-host"
publish = false
[dependencies]
serde = { version = "1.0.144", features = ["derive"] }
serde_json = "1.0"

What's Changed

This is a maintenance release to prepare for the Fusaka release next week. It contains a sate history rewrite, enabling new features, a fix for the Osaka devnets, performance improvements, and a few bug fixes.

Fusaka

  • Fix: use blob parameters from current header #32424
  • Convert legacy sidecar in Osaka #32347

Core

@gballet
gballet / gist:833e2d59bb6a475668c97fd26b4a42a8
Created September 17, 2024 18:54
v1.14.9 release draft
# Aegis (v1.14.9)
This is a maintenance release, but also introduces support for the new multicall spec, simplification in canonical chain management, and an improved verkle support.
## Command line
* Remove Goerli flag and config (https://github.com/ethereum/go-ethereum/pull/30289)
## Pectra

Geth v1.14.6 in a usual maintenance release, but it does ship with the experimental witness building validation code used in @karalabe's "cross validation" proposal.


Shipped features:

  • Add a stateless witness builder that does (self-)cross validator (#29719) and load all accounts/data using the prefetcher (#29807)
  • Trie tracer is not reset after calling Commit so that it's available for witness building (#30024)
  • upgrade trezor protobuf files so code can be generated with protoc 27.1 (#30058)
  • cleanup the trie logic by moving rollback code into pathdb package (#29861)
@gballet
gballet / genesis.json
Created February 22, 2024 10:25
Files to run conversion in CI
{
"config": {
"chainId": 69420,
"homesteadBlock": 0,
"eip150Block": 0,
"eip155Block": 0,
"eip158Block": 0,
"byzantiumBlock": 0,
"constantinopleBlock": 0,
"petersburgBlock": 0,
@gballet
gballet / genesis_kaustinen.dot
Created December 1, 2023 14:21
Dot representation of the kaustinen (verkle-gen-devnet-2) state tree at genesis
digraph D {
internal [label="I: 6e077a5ba3d6b0db91ed0c35b6bb6916981d1247a2b85e811a97f400ccc0ab1c"]
internal00 [label="I: 6804eb758a6834682402efd3306f40205d3e208914dc6242598c29334706e317"]
internal -> internal00
leaf0000 [label="L: 0f48b19a718164b3d498a9395e8d36152b1c6e5fdc7d0e786169f7162b8453f6
C: 2704c74a25b5eb42c3d886230166e58031f23efd0fc5e7ded0fd95835266d45f
Stem: 000014e2456692cfd9f86fece6e9b2e753e2d46c669326610a9634d0a99539
C₁: 62dbc83963aef42b5c6696695bbbf01e92ad6d0db9e565b687bc145b463ec46c
C₂:0000000000000000000000000000000000000000000000000000000000000000"]
internal00 -> leaf0000
@gballet
gballet / kaustinen_block_with_exec.md
Created May 25, 2023 11:53
The execution payload corresponding to three kaustinen blocks covering the deployment of a contract, a first call to its `store` function and then a second call with to that same function.

I deployed remix's default 'storage' contract at address 0x595B73830714F3cAaE764219A9919902af76f832, which corresponds to the stem

{
  "jsonrpc": "2.0",
  "method": "engine_newPayloadV1",
  "params": [
    {
      "baseFeePerGas": "0x8",
      "blockHash": "0xb528b8feb9f7c45dc76b1dab179567f3fcbba43069c0835e20e2080b9e1bf47d",
@gballet
gballet / README.tmpl
Created November 25, 2022 15:33
Template for generating the README of
[![Rust](https://github.com/gballet/verkle-block-sample/actions/workflows/rust.yml/badge.svg)](https://github.com/gballet/verkle-block-sample/actions/workflows/rust.yml)
# Example of a block root with a Verkle state root
## Purpose
In order to foster the implementation of verkle trees in clients, and to facilitate client interoperability, this repository provides:
* a sample block containing a verkle proof,
* a utility that decodes this block, verifies it, and displays some information.
35.42 10.353
30.754 10.522 average 36.3614814814815 10.6865720930233
34.275 9.481 max 100.28 70.711
29.308 7.573 min 19.063 4.151
26.364 8.974 count 108 215
29.767 16.895
26.904 8.63
30.911 14.788
35.47 8.031
44.779 7.369
@gballet
gballet / run_test.rb
Last active October 31, 2022 11:11
Verkle test transactions
#!/usr/bin/env ruby
require 'json'
txs = JSON.parse(File.open("transactions.json").read)
system "curl -X POST -d '#{txs[0].to_json}' -H 'Content-Type: application/json' http://localhost:8545"
count = 0