Skip to content

Instantly share code, notes, and snippets.

View revofusion's full-sized avatar

Revofusion revofusion

View GitHub Profile
@revofusion
revofusion / poc0168-ssz.tar.gz.b64
Created October 7, 2026 15:54
Ethereum consensus PoC 0168 binary SSZ fixture payload (base64 deterministic tar.gz; no source)
H4sIAAAAAAAC/+y9CVxN3///u0+DBhqRRIMMJWLPQ6gMJUQZK1Ht0SwlFYVIg0JlKmWKlAapaCLJPDcIZciciDSQMbn79Pn8/v/f4+P+r8/Xpfu/9579OKdzOmedtfbe7/1ez/Vae6338mQW8qzP8uEkhSI4DsOMAOMCw5A8zGECSWAci3MQJH5FMgxN4DQMYrxAsAhFIAKMgSiMEAzM04i5Ob2Une/p7c4s9mQXDVu+fJX78qX0smUrAQAAxQ1H0Y5XcfvnKwjj2P943/E5jBI4ARiBQCdsK5b70N5i8cD/P7c2RQA4IQGCQtSZi6rvC4zpdwPGLe4z5kaE1ZSSnkVVG06eSJzeGOXsMeOEI9AukT6WSgBlRwkwRkH6zxYJoOWvvF0OUFQAuPYVQMQKIHBw9YEed2lAZ+1cyZKjRYrNbjnne0Y9Uqo6E1buOD9jc3F7MBARDDyVAA8eizsQlhcPLt4yVk3Z6eP5DDeT0rIvWsq3Rg6b+5EMmtWektS/h5jmn0/Z9ts2z7/9X2AgEhMEgmAElhZQFAEZkhRAGGJhigRRCgVZ8QOKRnAQBzmCYwWMZxmQ5XkKRmCa+B/+L7qTD/+f+D9EQCj4D//HEAiS+X9nbDdOSQBATRLYun8yfxWZMDLOsUtj6WHV68km5WXdwpTaNm5uZ99s7lGlZmIEdAEAiZL41NIUPd9SAgSutQnZNUI52WnhxiHvBukvm/PptIV79PCS9Pp5Xa+h3nJQ+zLActnf1cb/Gx/FEkDThgSAMavEk2Std1sDuCe+k9hrDZV0Uw6ZBaxH/2z5aySA3gjl/9OvxOqzR4gzAFxwbv8uqf8uabqi6AIAKaaj49Y49NszoyUvtf5C+1L/ZbbjVozEVtb5HlzQ50x/H6tNrJ96+Uczr1evuPutUWODV0ZNvm5SsvlGf8j1rfLEuH7v9jbYY402JxxXPtxWVzaBtaxfogHmdBs4dLsh7b742q7iptnpifW2a69dOW/U+qznyD1D3BNaLj2t+7DdM8R6
@revofusion
revofusion / README.md
Created September 25, 2026 09:39
sstore_tx fusion episode — execution-graded evidence pack (thegrill #61)

sstore_tx fusion episode — evidence pack

The four requested pieces from the discussion. Everything here is offline-replayable; no inference, no clients, no network.

1. What the model actually saw

  • prompt_seen.txt — the initial user prompt (19,086 chars): the lift instruction ("return exactly what THIS code computes, including any quirk or bug"), the target signature and its docstring semantics, the constants block, and line-ranged code excerpts from the EELS Amsterdam Python implementation (this is the "augmented v2" prompt: base kit prompt + 7 charging/storage helper bodies that had been identified as missing earlier — see provenance below).
  • Repair-round feedback: the first six failing points shown by python3 regrade.py seed_program.py (reproduced deterministically; they were presented as point … / yours: … / real: … triples with the instruction "Find the semantic mistake and fix it (do not special-case). READ anything you need.").
  • READ
@revofusion
revofusion / stale_exited_producer_votes_poc_test.go
Created June 24, 2026 21:52
phantom-VE PoC: stale exited validator power elects inactive producer pre-Zurich (heimdall-v2)
package keeper_test
import (
"encoding/hex"
"fmt"
"github.com/cometbft/cometbft/crypto/secp256k1"
sdk "github.com/cosmos/cosmos-sdk/types"
"github.com/golang/mock/gomock"
@revofusion
revofusion / crit_offensive_1_exit_stakeupdate_vp_restoration_poc_test.go
Created June 24, 2026 21:52
CRIT-OFFENSIVE-1 PoC: exit+stake-update VP restore pre-Zurich (heimdall-v2)
package keeper_test
import (
"math/big"
"testing"
cosmosmath "cosmossdk.io/math"
"github.com/cosmos/cosmos-sdk/codec/address"
"github.com/ethereum/go-ethereum/common"
ethTypes "github.com/ethereum/go-ethereum/core/types"
@revofusion
revofusion / rune.ts
Created September 27, 2023 01:13
Rune Scripts: PrefixVarint and Base 26 (A=1) Name
/**
Convert between rune symbols and values using Base 26 (A=1)
Similar rust implementation at https://github.com/ordinals/ord/blob/f3cae5400fdebf31bfd494a02c846a90ea12310d/src/sat.rs#L63
*/
class Rune {
constructor(public value: number) { }
public get name(): string {
let x = this.value;