This file contains hidden or 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
| package fault | |
| import ( | |
| "context" | |
| "errors" | |
| "math/big" | |
| "slices" | |
| "sync" | |
| "testing" | |
| "time" |
This file contains hidden or 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
| #!/bin/bash | |
| set -euo pipefail | |
| SCRIPTS_DIR=$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd) | |
| STATES_DIR="${SCRIPTS_DIR}/../temp/states" | |
| BIN_DIR="${SCRIPTS_DIR}/../bin/" | |
| mkdir -p "${STATES_DIR}" | |
| cd "${SCRIPTS_DIR}/../../" |
This file contains hidden or 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
| Mar 17 19:41:01.323 WARN Peer sent invalid response to parent request., reason: ExtraBlocksReturned, peer_id: 16Uiu2HAmFq7aPgGKNQwmiNqEvsf51T6Yj7eL77y4YRVz46ohcnHZ, service: sync | |
| Mar 17 19:40:53.001 INFO Synced slot: 8656702, block: … empty, epoch: 270521, finalized_epoch: 270519, finalized_root: 0x3dfc…aeeb, exec_hash: 0x0fcf…2fe5 (verified), peers: 20, service: slot_notifier | |
| Mar 17 19:40:46.776 WARN Beacon chain re-org reorg_distance: 2, new_slot: 8656698, new_head: 0x281ade7abae27402007394990218517e50b30ac742a333c2fead84c9c6862a74, previous_slot: 8656699, previous_head: 0xd7cd8aebe5e04d21de102f0f48c5d678166db4b7a3fc67954da8ff522981fcad, service: beacon | |
| Mar 17 19:40:43.394 INFO New RPC block received hash: 0x281a…2a74, slot: 8656698 | |
| Mar 17 19:40:41.001 INFO Synced slot: 8656701, block: … empty, epoch: 270521, finalized_epoch: 270519, finalized_root: 0x3dfc…aeeb, exec_hash: 0x333a…cc2f (verified), |
This file contains hidden or 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
| SELECT validator, | |
| -- Calculate the score for inclusion distance in isolation | |
| COALESCE(SUM(0.875 / optimal_inclusion_distance) FILTER (WHERE optimal_inclusion_distance IS NOT NULL), 0) / (COUNT(*) * 0.00875) AS inclusion_distance_score, | |
| -- Calculate score for correct source in isolation | |
| (COALESCE(SUM(1) FILTER (WHERE correct_source), 0) - | |
| COALESCE(SUM(1) FILTER (WHERE NOT correct_source), 0)) / (COUNT(*) * 0.01) AS source_score, | |
| -- Calculate score for correct target in isolation |
This file contains hidden or 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
| 2022-04-23 09:04:14.364+00:00 | beaconchain-async-4 | WARN | teku-p2p-log | Rejecting invalid block at slot 7196 with root 0x92ca30ad606a98862102536afc7984c927209ee2720a157f11ff096e11fafccd because FAILED_STATE_TRANSITION. Full block data: 0x64000000a020e190150002c17f370cf8b0d9454827ae757de2e73c1299dcff0ea3697b78464de1184ea88e7940b77233d92b706b03f21cf1e3cdfbd246d39794449bcfee701a56fbb38ca65870445c280dd5cacc64ea6898e6f0360bb83c56bab288c4551c1c0000000000004d5c000000000000752c3f0eb0522ff5aeafd027ebc021f368705812f363948fe0a95f1e47d8fd6977536e6f422afb83e7605e467ea816025a38130ba1f413238aaba917c686567d540000008f36c0d37e2dceed3d639655deb70941764761aa9566b892daff249b91f42cf48ca0732becb45344923075a5b4026fbe13138c6aac174b4e53345468db85352400bc961aa038e1deb612b1d141f6dbdfc601483ee232ca152da7e08964e49b9fae72d2ba5818fac4ec1ce0ae75679b69a8bbcd79345a88db8d04d5c83ab9c96276b60500000000009bc862535d4592c7d997874be746f919162206acb0e08703bd7f6c422e8214fb6e696d6275732d6e65746865726d696e642df09f90bc000000000000000000008001000080010 |
This file contains hidden or 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
| ###################################### | |
| # Teku Application Alert Rules | |
| ###################################### | |
| groups: | |
| - name: Teku-Slot-Metrics | |
| rules: | |
| - alert: 'Teku Beacon Slot Increase' | |
| expr: sum (irate(beacon_slot{job="prod-teku-node"}[40s])) by (instance) == 0 | |
| for: 1m |
This file contains hidden or 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": [ | |
| { | |
| "slot": "2074112", | |
| "index": "0", | |
| "validators": [ | |
| "262116", | |
| "164445", | |
| "78337", | |
| "247952", |
This file contains hidden or 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
| # Extends the mainnet preset | |
| PRESET_BASE: 'mainnet' | |
| # For backwards compatibility in the config/spec API | |
| CONFIG_NAME: "prater" | |
| # Prater config | |
| # Genesis | |
| # --------------------------------------------------------------- | |
| # `2**14` (= 16,384) |
This file contains hidden or 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
| ###################################### | |
| # Teku Application Alert Rules | |
| ###################################### | |
| groups: | |
| - name: Teku-Slot-Metrics | |
| rules: | |
| - alert: 'Teku Beacon Slot Increase' | |
| expr: sum (irate(beacon_slot{job="prod-teku-node"}[40s])) by (instance) == 0 | |
| for: 1m |
This file contains hidden or 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
| 0x6400000096c203da93af6a3dfab08eda96d7740e7c1205c1cea62c977cb09c9bea6a4fc33ecf3553f8648ed449be0db9acfcad4c09ae32a19fce45f1da256f70fed3c9406d8dbe095b17d9128abd2aa56e8230af575494d583e3e31461e9c6d2a181782363cd0000000000002f02000000000000e2e80da60b648b566a798cd3d807000ffe99c3a17c0ed44663a6a02feb8ac6c1f84dbb36e6175bb0a25ab6fe4549207b3fbf9cf244f1d3c15c97f10b74d95ec054000000b1850641ed49edb9d7f31e053f73564e574f8a68ceaa79018e475009eb5b5721002f26d252885cee8c09a7818f7caa2604a9b388b72ce8a69d45eadb3ffa6564689aed264d4efe993390c04813cc6a36a81e77f17e47882ded54f1bd0127d800d70a234731285c6804c2a4f56711ddb8c82c99740f207854891028af34e27e5e000000000000000002a639204448dc1bab7a47dc4c0c0398b3c2b85c49b631fbdfcca6a15b23d214636861696e736166652f6c6f6465737461722d302e32362e312d6465762e32307c0100007c0100007c010000903b0000903b0000fffffffffffffffffffffffffffffffffffebdffe7b7ffcbbfcff0fdfb3effcfe74dbaef3717accd7bf5c7f3db76b16fffffffffffffffffffffffffffffffff9683ec3ea12a3dbbec6f4f7dba1ecfa62d4cc6952efe0be9af566a7d64f6b8804666f0a588b67312d3cdb9 |
NewerOlder