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
| ~ $ geth snapshot prune-state | |
| INFO [12-11|09:31:16.022] Config environment variable found envvar=GETH_DATADIR | |
| INFO [12-11|09:31:16.035] Maximum peer count ETH=50 total=50 | |
| INFO [12-11|09:31:16.038] Smartcard socket not found, disabling err="stat /run/pcscd/pcscd.comm: no such file or directory" | |
| INFO [12-11|09:31:16.042] Set global gas cap cap=50,000,000 | |
| INFO [12-11|09:31:16.043] Initializing the KZG library backend=gokzg | |
| INFO [12-11|09:31:16.176] Using leveldb as the backing database | |
| INFO [12-11|09:31:16.176] Allocated cache and file handles database=/celo/geth/chaindata cache=512.00MiB handles=524,288 | |
| INFO [12-11|09:31:17.228] Using LevelDB as the backing database | |
| INFO [12-11|09:31:17.228] Found legacy ancient chain path location=/celo/geth/chaindata/ancient |
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
| function getAverageTransactionSize() { | |
| var days = 90; | |
| var sampleSize = 50000; | |
| var lastBlock = eth.blockNumber; | |
| var firstBlock = lastBlock - Math.floor(days * 24 * 60 * 60 / 5); // Assuming 5 seconds per block | |
| var totalAverageTransactionSize = 0; | |
| for (var i = 0; i < sampleSize; i++) { | |
| var blockNumber = Math.floor(Math.random() * (lastBlock - firstBlock + 1)) + firstBlock; |
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
| var main = (blocks = 1000) => { | |
| const j = eth.blockNumber | |
| let i = j - blocks | |
| let gasAverage = 0 | |
| let gasMax = 0 | |
| let gasMin = 0 | |
| let txAverage = 0 | |
| let txMax = 0 | |
| let txMin = 0 | |
| let count = 0 |
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
| docker run -it --net=host -v /Users/jcortejoso/Projects/Celo/eigenda-proxy/resources:/data/resources --entrypoint=/bin/sh us-west1-docker.pkg.dev/devopsre/celo-blockchain-public/eigenda-proxy:v1.2.0 | |
| DOWNLOADED_FILE=false | |
| echo "Downloading srs resources" | |
| mkdir -p /data/resources | |
| cd /data | |
| if ! [ -f /data/resources/g1.point ]; then | |
| echo "g1.point does not exist." | |
| echo "Downloading g1 point. This could take upto 5 minutes" | |
| wget https://srs-mainnet.s3.amazonaws.com/kzg/g1.point --output-document=/data/resources/g1.point |
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
| # Global Testet | |
| ## Recreate/Restart the testnet | |
| To save costs, all the volumes and validator's services (static ip) were deleted. But we keep: | |
| - The five clusters | |
| - Helm deployments | |
| - Snapshot | |
| - Bootnode IP |
This file has been truncated, but you can view the full file.
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
| { | |
| "config": { | |
| "chainId": 22242220, | |
| "homesteadBlock": 0, | |
| "eip150Block": 0, | |
| "eip155Block": 0, | |
| "eip158Block": 0, | |
| "byzantiumBlock": 0, | |
| "constantinopleBlock": 0, | |
| "petersburgBlock": 0, |
This file has been truncated, but you can view the full file.
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
| {"jsonrpc":"2.0","id":"0","result":[{"result":{"gas":101832,"failed":false,"returnValue":"","structLogs":[{"pc":0,"op":"PUSH1","gas":143553,"gasCost":3,"depth":1,"stack":[]},{"pc":2,"op":"PUSH1","gas":143550,"gasCost":3,"depth":1,"stack":["0x80"]},{"pc":4,"op":"MSTORE","gas":143547,"gasCost":12,"depth":1,"stack":["0x80","0x40"]},{"pc":5,"op":"CALLVALUE","gas":143535,"gasCost":2,"depth":1,"stack":[]},{"pc":6,"op":"DUP1","gas":143533,"gasCost":3,"depth":1,"stack":["0x0"]},{"pc":7,"op":"ISZERO","gas":143530,"gasCost":3,"depth":1,"stack":["0x0","0x0"]},{"pc":8,"op":"PUSH2","gas":143527,"gasCost":3,"depth":1,"stack":["0x0","0x1"]},{"pc":11,"op":"JUMPI","gas":143524,"gasCost":10,"depth":1,"stack":["0x0","0x1","0x10"]},{"pc":16,"op":"JUMPDEST","gas":143514,"gasCost":1,"depth":1,"stack":["0x0"]},{"pc":17,"op":"POP","gas":143513,"gasCost":2,"depth":1,"stack":["0x0"]},{"pc":18,"op":"PUSH1","gas":143511,"gasCost":3,"depth":1,"stack":[]},{"pc":20,"op":"CALLDATASIZE","gas":143508,"gasCost":2,"depth":1,"stack":["0x4"]},{"p |
This file has been truncated, but you can view the full file.
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
| { | |
| "config": { | |
| "chainId": 9099000, | |
| "homesteadBlock": 0, | |
| "eip150Block": 0, | |
| "eip150Hash": "0x0000000000000000000000000000000000000000000000000000000000000000", | |
| "eip155Block": 0, | |
| "eip158Block": 0, | |
| "byzantiumBlock": 0, | |
| "constantinopleBlock": 0, |
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
| # TYPE chain_account_commits_count counter | |
| chain_account_commits_count 3243272 | |
| # TYPE chain_account_commits summary | |
| chain_account_commits {quantile="0.5"} 0 | |
| chain_account_commits {quantile="0.75"} 0 | |
| chain_account_commits {quantile="0.95"} 0 | |
| chain_account_commits {quantile="0.99"} 0 | |
| chain_account_commits {quantile="0.999"} 0 | |
| chain_account_commits {quantile="0.9999"} 0 |
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
| var blockLimit = 30000000 | |
| var blockChainParamentersAbi = [{"constant":true,"inputs":[],"name":"initialized","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[],"name":"renounceOwnership","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"blockGasLimit","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"intrinsicGasForAlternativeFeeCurrency","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"owner","outputs":[{"name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"isOwner","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"newOwner","type":"address" |
NewerOlder