This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const {ssz} = require("@lodestar/types"); | |
const blobHex = | |
"0x0006eac4e2fac2ca844810be0dc9e398fa4961656c022b65e4af13728152980a00ed1c000300611e00831900d82a0002000c1700603b000400983100671900bb000c00da14000200ef0e00402600010004250001003e4b000200c523002d1100000400a40a001b1000691a009e140001003e18000100c136000200362200141000000100d812000200f42a003615000200692100090e0004008e2100361b006800210039100002003a20000514000300a01b007e2100961b0002004f2900491c00000100094d0001008b2400010090350003008038005c18003f22000200d8360000801d0004007b1900830b008d1d00651d000200d02000b116000400e60f0000fe1e009b1300560b000300db1100e519002f1d000200fa19004f2800000001002a911eff041badfc808ec1125a420a037a0041a625a04a097dc25d7281568000f757521ddd11cc53251f8458ca1c90f465a2d8bfe014d0536f4ac19865272c0019c8405c725e3288c47f9580c3ffc7c6305fc2603dff8e1d3dc7a4ac3fc7c000a75fe3808663bc390ff1f5564fc2c96c203c360c54146adca028d429a261380056ca6bc4e8f6351d3c9afe044f1ff99271f804bf98b5085900000be206066600101d0517d7f80c004ff001ff4417f000273d128c63dd47de997ac3a8877e3f |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"version": "0.2.0", | |
"configurations": [ | |
{ | |
"name": "Test Current File", | |
"type": "node", | |
"request": "launch", | |
"program": "${workspaceFolder}/node_modules/.bin/vitest", | |
"args": ["--run", "${file}", "-t", "${input:testName}"], | |
"cwd": "${workspaceFolder}/${input:packageName}", |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"data": { | |
"historical_roots": { | |
"0": "0x40cf2f3cffd63d9ffeb89999ee359926abfa07ca5eb3fe2a70bc9d6b15720b8c", | |
"1": "0x74a3850f3cbccce2271f7c99e53ab07dae55cd8022c937c2dde7a20c5a2b83f9", | |
"2": "0x76b05bfecf114e4ef967986ffeaccca8a26b4d863f9cf44d47841024e550b2b0", | |
"3": "0xf82d21ce7bb300a90f46eb5723d4ed84eebdd8fea9fd441eafdfeec844f52bcf", | |
"4": "0x4ec633af16db54c5401f4baa223f281c21cebdf21ccbed143ccf3170f615a0db", | |
"5": "0xeef402049efea3b72b44b6cd4ce2cf169bb66c8acb2681addf600e2f6aa51060", | |
"6": "0xce8f6ccd39880a25d750a917e3445657efde463a8a9ac6f0c4e832e8ac83de65", |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import fs from "fs"; | |
function deepSort(obj) { | |
if (Array.isArray(obj)) { | |
return obj.map(deepSort).sort((a, b) => JSON.stringify(a) > JSON.stringify(b)); | |
} else if (typeof obj === "object" && obj !== null) { | |
return Object.keys(obj) | |
.sort() | |
.reduce((result, key) => { | |
result[key] = deepSort(obj[key]); |
Stopped validator client end of epoch 184287 (slot=5897214) and started it in same epoch (slot=5897215)
Enabled log epoch=184287 slot=5897215
Jun-20 15:23:06.503[] info: doppelganger protection enabled detectionEpochs=1
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const ethers = require("ethers"); // v5.0.3 | |
(async () => { | |
[ | |
{ client: "Nethermind", url: "" }, | |
{ client: "Besu", url: "" }, | |
{ client: "Geth", url: "" }, | |
].forEach(({ client, url }) => estimateGas(client, url)); | |
})(); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function testCommit(commit) { | |
const conventionalCommit = commit.match(/^([a-z]+)(?:\((.*)\))?(?:(!))?: (.*)$/); | |
if (!conventionalCommit) { | |
console.log(`No match: ${commit}`); | |
return; | |
} | |
const [, type, scope, breaking, subject] = conventionalCommit; |
- add support for
justified
block id in Beacon Node API (#5459) (@acuarica) - skip serializing gossip block when persisting to db (#5426) (@tuyennhv)
- block network processor when processing current slot block (#5458) (@tuyennhv)
- cli: export slashing protection as interchange format v5 (#5472) (@nflaig)
NewerOlder