Skip to content

Instantly share code, notes, and snippets.

View paulperegud's full-sized avatar

Paul Peregud paulperegud

  • Warsaw
View GitHub Profile
Setting - mev-boost is running with two relays configured: bloxroute.max-profit and relay.ultrasound.money.
Nimbus log:
[2023-11-14 22:50:58] [947537.172166] nimbus_beacon_node[782]: INF 2023-11-14 22:50:59.001+00:00 Slot start topics="beacnde" slot=7764853 epoch=242651 sync=synced peers=160 head=40ae72ca:7764852 finalized=242649:7c4b2ad9 delay=1ms19us661ns
[2023-11-14 22:50:59] Requesting engine payload topics="beacval" beaconHead=40ae72ca:7764852 executionHead=a6e731f7 validatorIndex=857819 feeRecipient=0xba1951df0c0a52af23857c5ab48b4c43a57e7ed1
[2023-11-14 22:50:59] Could not obtain blinded execution payload header topics="beacval" error="getBlindedExecutionPayload REST decoding error: Unable to decode REST response, error [Serialization error]" slot=7764853 validator_index=857819 head=40ae72ca:7764852
[2023-11-14 22:51:00] Block sent blockRoot=02eb7122 blck="(slot: 7764853, proposer_index: 857819, parent_root: \"40ae72ca\", state_root: \"14d98446\", eth1data: (deposit_root: 895ffef54b5b868517e390e287e
I contributed to the Semaphore Trusted Setup Multi-Party Ceremony.
The following are my contribution signatures:
Circuit: semaphore24
Contributor # 353
Hash: ed3797ef 69e091fe afd69e0f c3cdb498
0e58ec7b 50e9dca7 af296822 4a56f449
cbe8144c 8357eb34 4c691e0b 4ff7fd39
41830bc7 a272b871 e3c49525 4704ae43
@paulperegud
paulperegud / attestation.txt
Created September 27, 2021 14:53
Attestation
I contributed to the clr.fund Trusted Setup Multi-Party Ceremony.
The following are my contribution signatures:
Circuit: qvt32
Contributor # 2545
Hash: undefined
Circuit: batchUst 32
Contributor # 2087
Hash: 2858a1b0 83cb3fbb 36995234 4398c0d4
ca22d201 4e9cf879 387f9dcf 6412952f
let
pkgs = import (fetchTarball https://nixos.org/channels/nixos-19.09/nixexprs.tar.xz) {};
newpkgs = import pkgs.path { overlays = [ (pkgsself: pkgssuper: {
packageOverrides = self: super: {
erlang = super.erlangR20;
};
} ) ]; };
newpkgs.stdenv.mkDerivation {
name = "my_env";
@paulperegud
paulperegud / config.exs
Created October 22, 2018 12:54
config.exs syntax problem
use Mix.Config
config :logger,
handle_otp_reports: false,
handle_sasl_reports: false
config :logger, :console,
level: :info,
format: "$date $time [$level] $metadata⋅$message⋅\n",
metadata: [:module, :function, :request_id]
@paulperegud
paulperegud / ballot.sol
Created May 8, 2018 12:25
Created using remix-ide: Realtime Ethereum Contract Compiler and Runtime. Load this file by pasting this gists URL or ID at https://remix.ethereum.org/#version=soljson-v0.4.23+commit.124ca40d.js&optimize=false&gist=
pragma solidity ^0.4.18;
interface IRegistry {
event ProxyCreated(address proxy);
/**
* @dev This event will be emitted every time a new implementation is registered
* @param version representing the version name of the registered implementation
* @param implementation representing the address of the registered implementation
*/
- command-execute 46,470,145 76%
- call-interactively 46,470,145 76%
- byte-code 42,079,159 68%
- helm-M-x-read-extended-command 42,079,159 68%
- helm-comp-read 42,077,047 68%
- helm 41,812,669 68%
- apply 41,811,645 68%
- helm 41,811,645 68%
- apply 41,811,645 68%
- helm-internal 41,811,645 68%
@paulperegud
paulperegud / solc-0.4.10.bug
Created April 21, 2017 11:52
solc-0.4.10.bug
$ ls
LibContract.sol MainContract.sol
$ cat LibContract.sol
pragma solidity ^0.4.10;
contract LibContract {
uint256 public constant varA = 2;
uint256 public constant varB = varA;
function LibContract() {
@paulperegud
paulperegud / geth.full.log
Created March 6, 2017 11:59
geth: --light switch changing behavior of filters
Geth was started using `geth --testnet --rpc`
In eth_newFilter call "latest" is specified and logs contain non-null blockHash, as per documentation.
pawel@ppsh:~$ mv .ethereum/testnet/geth.ipc .ethereum/testnet/geth.ipc.original
pawel@ppsh:~$ socat -t1000 -x -v UNIX-LISTEN:/home/pawel/.ethereum/testnet/geth.ipc,mode=777,reuseaddr,fork UNIX-CONNECT:/home/pawel/.ethereum/testnet/geth.ipc.original
> 2017/03/06 12:37:42.323238 length=283 from=0 to=282
7b 22 6a 73 6f 6e 72 70 63 22 3a 20 22 32 2e 30 {"jsonrpc": "2.0
22 2c 20 22 70 61 72 61 6d 73 22 3a 20 5b 7b 22 ", "params": [{"
74 6f 70 69 63 73 22 3a 20 5b 22 30 78 64 64 66 topics": ["0xddf
#!/usr/sbin/nft -f
# to list rules: nft list table t
# to remove rules: nft flush table t
define nodes = { 200.69.141.134, 52.40.149.71, 45.32.83.15 }
add table t
add chain ip t input { type filter hook input priority 0; policy accept; }
add rule t input ip daddr $nodes drop