Skip to content

Instantly share code, notes, and snippets.

View okdas's full-sized avatar
:shipit:

Dima K. okdas

:shipit:
View GitHub Profile
poktrolld 3:31AM INF Stored block hash at height 17227 EndBlock=SessionModuleEndBlock module=x/session
poktrolld 3:31AM INF found 0 expiring claims at block height 17227 method=SettlePendingClaims module=x/tokenomics
poktrolld 3:31AM INF settled 0 and expired 0 claims at block height 17227 method=SettlePendingClaims module=x/tokenomics
poktrolld 3:31AM INF settled 0 claims and expired 0 claims method=EndBlocker module=x/tokenomics
poktrolld 3:31AM INF successfully updated the relay mining difficulty for 0 services method=EndBlocker module=x/tokenomics
poktrolld 3:31AM INF finalized block block_app_hash=BA2B18FC517A10FEFF5B6F0D52C5C4F97CD02E4B49E30417C5E6AC9862D82B01 height=17227 module=state num_txs_res=0 num_val_updates=0
poktrolld 3:31AM INF executed block app_hash=BA2B18FC517A10FEFF5B6F0D52C5C4F97CD02E4B49E30417C5E6AC9862D82B01 height=17227 module=state
poktrolld 3:31AM INF committed state block_app_hash=545F38251E91B9E67E10085CFE831F9A8B17DEF57770EDBCBB93BF72EF3A6216 height=17227 module=state
poktrolld 3
INF committed state block_app_hash=3DD43AD076A55B43455D0C5953A814767EF179833C02AE92D593A222C3F46D43 height=17116 module=state
INF indexed block events height=17116 module=txindex
INF service start impl="Peer{MConn{198.7.121.217:55488} 1322a2d4798963fc292deb41ef44c2f7c2a9b6ad in}" module=p2p msg="Starting Peer service" [email protected]:55488
INF service start impl=MConn{198.7.121.217:55488} module=p2p msg="Starting MConnection service" [email protected]:55488
INF service start impl="Peer{MConn{45.77.208.227:42994} aa51ade3bf9d7de7f1167304178e604bfc530f56 in}" module=p2p msg="Starting Peer service" [email protected]:42994
INF service start impl=MConn{45.77.208.227:42994} module=p2p msg="Starting MConnection service" [email protected]:42994
INF commit is for a block we do not know about; set ProposalBlock=nil commit=F25423B532C30E4F515D66BF7287F
Autoscroll:On FullScreen:On Timestamps:Off Wrap:Off
poktrolld 8:03PM INF starting node with ABCI CometBFT in-process module=server
poktrolld 8:03PM INF service start impl=multiAppConn module=proxy msg="Starting multiAppConn service"
poktrolld 8:03PM INF service start connection=query impl=localClient module=abci-client msg="Starting localClient service"
poktrolld 8:03PM INF service start connection=snapshot impl=localClient module=abci-client msg="Starting localClient service"
poktrolld 8:03PM INF service start connection=mempool impl=localClient module=abci-client msg="Starting localClient service"
poktrolld 8:03PM INF service start connection=consensus impl=loc
Oct 08 19:05:43 testnet-validator2 cosmovisor[598432]: 7:05PM INF running app args=["start","--home=/home/poktroll/.poktroll","--halt-height=17139"] module=cosmovisor path=/home/poktroll/.poktroll/cosmovisor/genesis/bin/poktrolld
Oct 08 19:05:44 testnet-validator2 cosmovisor[598439]: 7:05PM INF starting node with ABCI CometBFT in-process module=server
Oct 08 19:05:44 testnet-validator2 cosmovisor[598439]: 7:05PM INF service start impl=multiAppConn module=proxy msg="Starting multiAppConn service"
Oct 08 19:05:44 testnet-validator2 cosmovisor[598439]: 7:05PM INF service start connection=query impl=localClient module=abci-client msg="Starting localClient service"
Oct 08 19:05:44 testnet-validator2 cosmovisor[598439]: 7:05PM INF service start connection=snapshot impl=localClient module=abci-client msg="Starting localClient service"
Oct 08 19:05:44 testnet-validator2 cosmovisor[598439]: 7:05PM INF service start connection=mempool impl=localClient module=abci-client msg="Starting localClient service"
Oct 08 19:05:4
INF Replay last block using real app module=consensus
INF Stored block hash at height 17140 EndBlock=SessionModuleEndBlock module=x/session
INF found 1 expiring claims at block height 17140 method=SettlePendingClaims module=x/tokenomics
INF claim does not require proof due to compute units (2) being less than the threshold (20) and random sample (0.91) being greater than probability (0.25) method=proofRequirementForClaim module=server
WRN Claim by supplier pokt1ytsx06dfxrp7cgt7t95jkxuyu2m97563zqz5pn EXCEEDS LIMITS for application pokt1gsufws4c5dhemd0z3njfh859xl0624xyyw5m87. Max claimable amount < Claim amount: 9upokt < 84 application=pokt1gsufws4c5dhemd0z3njfh859xl0624xyyw5m87 claim_settlement_upokt=84 helper=ensureClaimAmountLimits method=ProcessTokenLogicModules module=x/tokenomics num_relays=2 service_id=gatewaye2e session_id=af85b9dd2d49f1d5b133347eac2b65e7cd7a1a555fea742adba778f711207c6b supplier_operator=pokt1ytsx06dfxrp7cgt7t95jkxuyu2m97563zqz5pn
INF About to start processing TLMs for (2) relays, equa
errors: {}
issues:
- severity: 2
confidence: 1
cwe:
id: "338"
url: https://cwe.mitre.org/data/definitions/338.html
ruleid: G404
what: Use of weak random number generator (math/rand instead of crypto/rand)
file: /Users/dk/pocket/poktroll/pkg/crypto/rand/float.go
# TODO_CONSIDERATION: We don't need this now, but it would be beneficial if the
# logic handling this config file could be designed in such a way that it allows for
# "hot" config changes in the future, meaning changes without restarting a process.
# This would be useful for adding a new supplier without interrupting the service.
# Name of the key (in the keyring) used to sign transactions.
signing_key_name: supplier1
# Relative path (on the relayminer's machine) to the SMT KV store data on disk.
smt_store_path: smt_stores
@okdas
okdas / genesis.json
Created February 13, 2024 22:16
TestNet Genesis
{
"app_name": "poktrolld",
"app_version": "",
"genesis_time": "2024-02-08T20:44:06.415749Z",
"chain_id": "poktroll",
"initial_height": 1,
"app_hash": null,
"app_state": {
"application": {
"applicationList": [
/root/.pocket/config/priv_validator_key.json:
{
"address": "9E5032CAE5AEE2A57D9CEE0A2921970C09324759",
"pub_key": {
"type": "tendermint/PubKeyEd25519",
"value": "RJO6kuOHELMgXrpMMLz2hHlvE1Xb+EgKpTspSwDKADE="
},
"priv_key": {
"type": "tendermint/PrivKeyEd25519",
#!/bin/bash
TZ=Europe/London && ln -snf /usr/share/zoneinfo/$TZ /etc/localtime && echo $TZ > /etc/timezone
apt-get install -y -qq wget gcc make git nvme-cli nano unzip runit pv aria2 lz4
runsvdir -P /etc/service &
if [[ -n $SSH_PASS ]]
then
apt-get install -y ssh
echo 'PermitRootLogin yes' >> /etc/ssh/sshd_config && (echo $SSH_PASS; echo $SSH_PASS) | passwd root && service ssh restart
fi