Skip to content

Instantly share code, notes, and snippets.

@kuma-ir
kuma-ir / graphql-snapshots.csv
Created September 24, 2025 15:49
Created via gist_publisher.py
timestamp_epoch count iso8601_utc
1738679366 2 2025-02-04T14:29:26Z
1738699296 4 2025-02-04T20:01:36Z
1738771612 5 2025-02-05T16:06:52Z
1738794126 6 2025-02-05T22:22:06Z
1738809301 6 2025-02-06T02:35:01Z
1738839924 6 2025-02-06T11:05:24Z
1738843651 7 2025-02-06T12:07:31Z
1738847805 10 2025-02-06T13:16:45Z
1738853704 16 2025-02-06T14:55:04Z
@kuma-ir
kuma-ir / MustCompile-use-in-code.log
Created September 12, 2025 08:12
Created via gist_publisher.py
$ find . -type f | grep go$ | xargs grep 'MustCompile' | grep -v tge | grep -v test/ | grep -v _test
./internal/sulaco/model/common.go: re := regexp.MustCompile(
./internal/sulaco/service/config/config.go:var addrRE = regexp.MustCompile(`^(?i)0x[0-9a-f]{40}$`)
@kuma-ir
kuma-ir / panic-use-in-code.log
Last active September 12, 2025 07:53
Created via gist_publisher.py
$ find . -type f | grep go$ | xargs grep 'panic(' | grep -v tge | grep -v test/ | grep -v _test
./system/log/zerolog.go: panic(fmt.Sprintf("unsupported log level: %s", level))
./internal/keeper/base/keeper.go: panic(ErrorNilTransactor)
./internal/keeper/base/keeper.go: panic(ErrorTransactorNotRunning)
./eth/noncer/noncer.go: panic("noncer: client is nil")
./eth/tools/packer.go: panic("metadata cannot be nil")
./eth/dispatcher/utils.go: panic(fmt.Sprintf("trying to set nonce on unknown tx type (%d)", tx.Type()))
./eth/dispatcher/utils.go: panic(fmt.Sprintf("trying to bump gas on unknown tx type (%d)", tx.Type()))
@kuma-ir
kuma-ir / migrated-vaults-apr.log
Created September 9, 2025 11:25
Created via gist_publisher.py
ir_backend=> select * from discovery.migrated_vaults order by created_at DESC LIMIt 5;
old_address | new_address | created_at
--------------------------------------------+--------------------------------------------+----------------------------
0xfcd9b652f5463b6b20a4da14ef7fbfb5fe688e23 | 0x7db781135f3aca760882dd1eb8f15f13147cf089 | 2025-05-06 07:48:01.252763
0x8b8895ad5bc0379db1a921e3dd899a36ae89e283 | 0x86a399b793699e101f0b3c8e917cb39a2f8fa312 | 2025-04-24 21:07:35.4932
0xbdcfe56ec75135d21ae8735b432d343953426d87 | 0x62e63d88cd6074d2c601e40deec439a63151e879 | 2025-04-15 04:34:59.483002
0xd11561a09474b4878bbd2c2bae2215f621740e8f | 0x55a53d205b16101a15bb8733b6789a771cbea918 | 2025-04-07 10:44:59.484687
0x70c7bfd443399959728a3616b240a8730d7d0a50 | 0x5969494e13e8fa51f8223152a86f14c02860afd3 | 2025-04-03 15:11:38.014683
(5 rows)
@kuma-ir
kuma-ir / migrated-vaults.log
Created September 9, 2025 11:22
Created via gist_publisher.py
$ ssh ec2-user@3.66.32.234
A newer release of "Amazon Linux" is available.
Version 2023.8.20250908:
Run "/usr/bin/dnf check-release-update" for full release and version update info
, #_
~\_ ####_ Amazon Linux 2023
~~ \_#####\
~~ \###|
~~ \#/ ___ https://aws.amazon.com/linux/amazon-linux-2023
@kuma-ir
kuma-ir / mint-burn-data.log
Created September 3, 2025 07:24
Created via gist_publisher.py
SELECT t.*
FROM voyager.token_mint_burn_data t
JOIN (
SELECT token, MAX(data_ts) AS data_ts
FROM voyager.token_mint_burn_data
GROUP BY token
) latest
ON latest.token = t.token
AND latest.data_ts = t.data_ts
ORDER BY t.token;
@kuma-ir
kuma-ir / ibera-keeper.log
Created August 28, 2025 16:02
Created via gist_publisher.py
2025-08-28 15:54:52 | INFO | main :405 | ibera-keeper start
2025-08-28 15:54:52 | INFO | load_config :299 | Configuration loaded for network: mainnet
2025-08-28 15:54:52 | INFO | _setup_web3 :164 | Using keystore: /app/keystore.json
2025-08-28 15:54:52 | INFO | _setup_web3 :173 | Connected to network. Current block: 9734696
2025-08-28 15:54:52 | INFO | _setup_contracts :46 | Withdraw contract: 0x8c0E122960dc2E97dc0059c07d6901Dce72818E1
2025-08-28 15:54:52 | INFO | _setup_contracts :51 | Deposit contract: 0x04CddC538ea65908106416986aDaeCeFD4CAB7D7
2025-08-28 15:54:52 | INFO | _setup_contracts :56 | Infrared contract: 0x9b6761bf2397Bb5a6624a856cC84A3A14Dcd3fe5
2025-08-28 15:54:52 | INFO | _setup_validator_man:200 | Multi-validator mode enabled with /app/validators.mainnet.yaml
2025-08-28 15:54:52 | INFO | _setup_validator_man:203 | Refreshing validator states...
2025-08-28 15:54:53 | INFO | main :433 | ====
@kuma-ir
kuma-ir / ibera-keeper.log
Created August 28, 2025 05:24
Created via gist_publisher.py
2025-08-28 00:01:00 | INFO | run_keeper_cycle :319 | === Keeper Cycle Start ===
2025-08-28 00:01:00 | INFO | run_keeper_cycle :322 | Step 0: Recovery operations...
2025-08-28 00:01:00 | INFO | recover_failed_opera:1027 | === Starting Recovery Operations ===
2025-08-28 00:01:00 | INFO | recover_failed_opera:1032 | Phase 1: Checking for unprocessed withdrawal requests...
2025-08-28 00:01:00 | INFO | recover_failed_opera:1037 | Phase 2: Checking for unclaimed processed tickets...
2025-08-28 00:01:00 | INFO | _recover_unclaimed_t:1108 | Recovery: Scanning requests 627 to 677 for unclaimed tickets
2025-08-28 00:01:02 | INFO | recover_failed_opera:1042 | Phase 3: Verifying state consistency...
2025-08-28 00:01:02 | WARNING | _verify_state_consis:1192 | Inconsistency: requests_to_process (0) < requests_finalized (677)
2025-08-28 00:01:02 | WARNING | _verify_state_consis:1203 | Found 1 potential state consistency issues
2025-08-28 00:01:02 | WARNING | recover_failed_opera:1044 | State con
@kuma-ir
kuma-ir / ibera-keeper-errors.log
Created August 27, 2025 13:06
Created via gist_publisher.py
[0]:2025-08-27 13:01:02 | ERROR | _get_total_pending_w:1011 | Failed to get pending withdrawals: ('Connection aborted.', ConnectionResetError(104, 'Connection reset by peer'))
[1]:2025-08-27 13:01:02 | ERROR | auto_withdraw :200 | Auto-withdraw failed: Failed to connect to contract: Cannot proceed without accurate pending withdrawal data: ('Connection aborted.', ConnectionResetError(104, 'Connection reset by peer'))
[2]:2025-08-27 13:01:02 | ERROR | run_keeper_cycle :343 | error in step 2: executing withdrawals
[3]:2025-08-27 13:01:02 | ERROR | main :506 | Keeper cycle failed
@kuma-ir
kuma-ir / ibera-keeper.log
Created August 27, 2025 11:03
Created via gist_publisher.py
2025-08-27 10:58:57 | INFO | main :405 | ibera-keeper start
2025-08-27 10:58:57 | INFO | load_config :299 | Configuration loaded for network: mainnet
2025-08-27 10:58:57 | INFO | _setup_web3 :164 | Using keystore: /app/keystore.json
2025-08-27 10:58:57 | INFO | _setup_web3 :173 | Connected to network. Current block: 9682518
2025-08-27 10:58:57 | INFO | _setup_contracts :46 | Withdraw contract: 0x8c0E122960dc2E97dc0059c07d6901Dce72818E1
2025-08-27 10:58:57 | INFO | _setup_contracts :51 | Deposit contract: 0x04CddC538ea65908106416986aDaeCeFD4CAB7D7
2025-08-27 10:58:57 | INFO | _setup_contracts :56 | Infrared contract: 0x9b6761bf2397Bb5a6624a856cC84A3A14Dcd3fe5
2025-08-27 10:58:57 | INFO | _setup_validator_man:200 | Multi-validator mode enabled with /app/validators.mainnet.yaml
2025-08-27 10:58:57 | INFO | _setup_validator_man:203 | Refreshing validator states...
2025-08-27 10:58:58 | INFO | main :433 | ====