Skip to content

Instantly share code, notes, and snippets.

View gist:f22bec74d191b1e4f4bc410e117d63c4
✓ ~ curl -X POST -H "Content-Type: application/json" --data '{"jsonrpc":"2.0","method":"eth_getBlockByNumber","params":["0x1854d7","latest"],"id":1}' https://mainnet.optimism.io
{"jsonrpc":"2.0","id":1,"error":{"code":-32602,"message":"invalid argument 1: json: cannot unmarshal string into Go value of type bool"}}
✓ ~ curl -X POST -H "Content-Type: application/json" --data '{"jsonrpc":"2.0","method":"eth_getBlockByNumber","params":["0x1854d7",true],"id":1}' https://mainnet.optimism.io
{"jsonrpc":"2.0","id":1,"result":{"difficulty":"0x2","extraData":"0xd98301090a846765746889676f312e31352e3133856c696e7578000000000000de1b1e6e36b36c622af41489904a3187513c173aad0e9bd0708d7c6a3efa9e4f20220cd4d55dd89f595a7b885347f5af0eb6f77df62ca99c181a4db826218ae800","gasLimit":"0xa7d8c0","gasUsed":"0x2c024f","hash":"0xc365ee0054387dfcdb78f103634c0e99ac83df9949093cae7a80bc1c361ab9af","logsBloom":"0x00000002000000000000000000000000000000000000000000040000200000000000000000000100000080100000000100000000000020000080004000000000000000
View attestation.txt
I contributed to the clr.fund Trusted Setup Multi-Party Ceremony.
The following are my contribution signatures:
Circuit: qvt32
Contributor # 6
Hash: 17fd3789 491b544c e80360ea 0830b7da
dd44560d e494672f 12250fbc 43e08948
4854c70d a9abd2db 1c1de36e 0b77f602
498876d8 f0377f6e 2a20f7a5 c53a48cc
View gist:55321846dddf0f06553d53dca63e73b0
suggestFees()
[{
maxFeePerGas: 5000000000.875,
maxPriorityFeePerGas: 4999999993
}, {
maxFeePerGas: 5000000000,
maxPriorityFeePerGas: 4999999993
}, {
maxFeePerGas: 5000000000,
maxPriorityFeePerGas: 4999999993
View gist:83faf325a81416053f0aa5e217e32504
{
"types": {
"Order": [
{
"name": "sellToken",
"type": "address"
},
{
"name": "buyToken",
"type": "address"
@ligi
ligi / attestation.txt
Created Mar 26, 2021
zkparty phase2 tusted setup MPC contribution summary
View attestation.txt
{
"ceremony": "zk_transaction_1_3",
"ceremonyId": "k9CJHwJoeSRMGtjHUiF6",
"time": "2021-03-26T16:40:06.113Z",
"contributionNumber": 27,
"hash": "02d401cf 073ff9ee 41e1d2c5 72f75d0a\n 5ab0db32 2592fd6c abcbbf72 9f9a6630\n c2002afa a7ebe0b6 0ee7d626 e76905c2\n 323cd0d5 8cf572e2 760fc239 e5b72b2b\n"
}
@ligi
ligi / attestation.txt
Created Mar 26, 2021
zkparty phase2 tusted setup MPC contribution summary
View attestation.txt
{
"ceremony": "zk_transaction_1_2",
"ceremonyId": "3lHsQDxM4lQKxkwA0Oyj",
"time": "2021-03-26T16:33:07.415Z",
"contributionNumber": 30,
"hash": "ecb42b21 ac1c349a 2bbbe721 4eb5d4cd\n 5d1b2117 34e20826 55d5a8d5 34dc6192\n 59cb02c4 942ff600 6eea8e5e ca4205b9\n 3eecbf80 a50a363d d6f366b4 00cb5c51\n"
}
@ligi
ligi / attestation.txt
Created Mar 26, 2021
zkparty phase2 tusted setup MPC contribution summary
View attestation.txt
{
"ceremony": "zk_transaction_1_1",
"ceremonyId": "hIfLWePJPn6ldES7OZjB",
"time": "2021-03-26T16:26:57.700Z",
"contributionNumber": 32,
"hash": "c609e6ba e7e070ff 16c2bfed 22b59223\n 3657d629 27f1f470 f3aadeb8 4004da6d\n ccb941ce 3583f5cf 77f9404d 46b468ee\n 3943d729 f5fa48d7 5906ece5 8e5f9be9\n"
}
View gist:9630c552d82d7f80ada819b80931e47f
archive@archive:~/git/go-ethereum$ ./build/bin/geth --datadir /home/archive/geth_data/ repairtrie
INFO [12-24|09:27:33.403] Maximum peer count ETH=50 LES=0 total=50
INFO [12-24|09:27:33.403] Smartcard socket not found, disabling err="stat /run/pcscd/pcscd.comm: no such file or directory"
INFO [12-24|09:27:33.405] Set global gas cap cap=25000000
INFO [12-24|09:27:33.406] Allocated cache and file handles database=/home/archive/geth_data/geth/chaindata cache=512.00MiB handles=524288
INFO [12-24|09:28:18.772] Opened ancient database database=/home/archive/geth_data/geth/chaindata/ancient
INFO [12-24|09:28:19.006] Disk storage enabled for ethash caches dir=/home/archive/geth_data/geth/ethash count=3
INFO [12-24|09:28:19.006] Disk storage enabled for ethash DAGs dir=/home/archive/.ethash count=2
INFO [12-24|09:28:19.011] Loaded most recent local header number=11398934 hash="cd2331…b89d1f" td=19205552980017114699674
View gist:70f2766c03b87cd7a061b468f2382236
WARN [11-18|13:28:34.536] The flag --pprofaddr is deprecated and will be removed in the future, please use --pprof.addr
INFO [11-18|13:28:34.536] Starting pprof server addr=http://0.0.0.0:6060/debug/pprof
INFO [11-18|13:28:34.536] Starting Geth on Ethereum mainnet...
WARN [11-18|13:28:34.536] Sanitizing cache to Go's GC limits provided=16384 updated=10721
INFO [11-18|13:28:34.537] Enabling metrics collection
INFO [11-18|13:28:34.537] Enabling metrics export to InfluxDB
INFO [11-18|13:28:34.540] Maximum peer count ETH=5 LES=0 total=5
WARN [11-18|13:28:34.540] The flag --rpccorsdomain is deprecated and will be removed in the future, please use --http.corsdomain
WARN [11-18|13:28:34.540] The flag --rpcapi is deprecated and will be removed in the future, please use --http.api
INFO [11-18|13:28:34.540] Smartcard socket not found, disabling err="stat /run/pcscd/pcscd.comm: no such file or directory"
View gist:7fcf8114799e3d486198158dcc625ba9
WARN [11-18|02:42:31.965] The flag --pprofaddr is deprecated and will be removed in the future, please use --pprof.addr
INFO [11-18|02:42:31.965] Starting pprof server addr=http://0.0.0.0:6060/debug/pprof
INFO [11-18|02:42:31.965] Starting Geth on Ethereum mainnet...
WARN [11-18|02:42:31.965] Sanitizing cache to Go's GC limits provided=16384 updated=10721
INFO [11-18|02:42:31.966] Enabling metrics collection
INFO [11-18|02:42:31.967] Enabling metrics export to InfluxDB
INFO [11-18|02:42:31.971] Maximum peer count ETH=5 LES=0 total=5
WARN [11-18|02:42:31.972] The flag --rpccorsdomain is deprecated and will be removed in the future, please use --http.corsdomain
WARN [11-18|02:42:31.972] The flag --rpcapi is deprecated and will be removed in the future, please use --http.api
INFO [11-18|02:42:31.972] Smartcard socket not found, disabling err="stat /run/pcscd/pcscd.comm: no such file or directory"