This repository has been archived by the owner on Sep 21, 2023. It is now read-only.
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(guildnet): added guildnet support and delete crashnet
Betanet test: ``` sandi@sandi-ThinkPad-X1-Carbon-7th ~/w/n/nearup (master)> nearup run betanet 2021-07-07 15:01:55.236 INFO nearup - run: Home directory is /home/sandi/.near/betanet... 2021-07-07 15:01:55.238 INFO nodelib - setup_and_run: Using officially compiled binary 2021-07-07 15:01:57.502 INFO util - download_binaries: Downloading latest deployed version for betanet 2021-07-07 15:01:57.503 INFO util - download_binaries: Downloading neard to /home/sandi/.nearup/near/betanet/neard from nearcore/Linux/master/b7c8a3b5d2bfaeb1d689972fd867d1c10afcc440/nightly/neard... 2021-07-07 15:08:33.410 INFO util - download_binaries: Downloaded neard to /home/sandi/.nearup/near/betanet/neard... 2021-07-07 15:08:33.411 INFO util - download_binaries: Making the neard executable... 2021-07-07 15:08:33.412 INFO nodelib - check_and_setup: Setting up network configuration. 2021-07-07 15:08:33.412 INFO nodelib - init_near: Initializing the node configuration using near binary... Jul 07 15:08:33.658 INFO neard: Version: 1.2.0, Build: b7c8a3b5, Latest Protocol: 114 Jul 07 15:08:33.701 INFO near: Downloading genesis file from: https://s3-us-west-1.amazonaws.com/build.nearprotocol.com/nearcore-deploy/betanet/genesis.json ... Jul 07 15:09:01.023 INFO near: Saved the genesis file to: /home/sandi/.near/betanet/genesis.json ... Jul 07 15:09:01.716 INFO near: Generated for betanet network node key and genesis file in /home/sandi/.near/betanet 2021-07-07 15:09:02.993 INFO nodelib - run: Node is running... 2021-07-07 15:09:02.994 INFO nodelib - run: To check logs call: `nearup logs` or `nearup logs --follow` 2021-07-07 15:09:02.994 INFO nodelib - run: Watcher is enabled. Starting watcher... 2021-07-07 15:09:02.994 INFO watcher - run_watcher: Starting the nearup watcher... sandi@sandi-ThinkPad-X1-Carbon-7th ~/w/n/nearup (master)> nearup logs 2021-07-07 15:09:20.256 INFO tailer - show_logs: 18654|neard|betanet tail: cannot open '' for reading: No such file or directory ==> /home/sandi/.nearup/logs/betanet.log <== Jul 07 15:09:17.956 DEBUG client: dropping block 7xRFoEf59GMBc3RHxRqdHSy7CW8EsB6azQWcbmaLVGHD that is too far ahead. Block height 29369096 current head height 28680172 Jul 07 15:09:17.962 DEBUG client: None Received block 7xRFoEf59GMBc3RHxRqdHSy7CW8EsB6azQWcbmaLVGHD <- G52y5g9kYVdetntdvwpbDcUvfU8SQ4BZxpga38qhgV4s at 29369096 from ed25519:AtxyywuiieiDCCH7c893rQSx3hrK8X6qr2kkkHTZWkT1, requested: false sandi@sandi-ThinkPad-X1-Carbon-7th ~/w/n/nearup (master) [1]> nearup stop 2021-07-07 15:09:23.227 WARNING nodelib - stop_nearup: Stopping the near daemon... 2021-07-07 15:09:23.228 INFO nodelib - stop_native: Near procces is neard with pid: 18654... 2021-07-07 15:09:23.228 INFO nodelib - stop_native: Stopping process neard with pid 18654... 2021-07-07 15:09:53.230 WARNING nodelib - stop_native: Timeout expired. Killing process 18654 2021-07-07 15:09:53.230 WARNING nodelib - stop_nearup: Stopping the nearup watcher... 2021-07-07 15:09:53.230 INFO watcher - stop_watcher: Stopping near watcher python3 with pid 18655... ``` Guildnet: ``` sandi@sandi-ThinkPad-X1-Carbon-7th ~/w/n/nearup (add-guildnet)> nearup run guildnet 2021-07-07 15:59:44.222 INFO nearup - run: Home directory is /home/sandi/.near/guildnet... 2021-07-07 15:59:44.222 INFO nodelib - setup_and_run: Using officially compiled binary 2021-07-07 15:59:46.528 INFO util - download_binaries: Downloading latest deployed version for guildnet 2021-07-07 15:59:46.530 INFO util - download_binaries: Downloading neard to /home/sandi/.nearup/near/guildnet/neard from nearcore/Linux/1.20.0/9655ff694e8c38277b184ca42dc3478bbd4fd86a/neard... 2021-07-07 16:00:14.955 INFO util - download_binaries: Downloaded neard to /home/sandi/.nearup/near/guildnet/neard... 2021-07-07 16:00:14.955 INFO util - download_binaries: Making the neard executable... 2021-07-07 16:00:16.016 INFO nodelib - genesis_changed: Remote genesis protocol version md5 3e2e8a1e31b85ed098feac0d32bdf2f8, ours is 727b8e66dc5619a035d08609cd6332aa 2021-07-07 16:00:16.016 INFO nodelib - check_and_update_genesis: Update genesis config and remove stale data for guildnet 2021-07-07 16:00:52.187 INFO nodelib - print_staking_key: Stake for user 'test.near' with 'ed25519:5CnhRRREbLEfPfHussAiMwUsxUkWmZQTZobgi43VmNdd' 2021-07-07 16:00:52.199 INFO nodelib - run: Node is running... 2021-07-07 16:00:52.200 INFO nodelib - run: To check logs call: `nearup logs` or `nearup logs --follow` 2021-07-07 16:00:52.200 INFO nodelib - run: Watcher is enabled. Starting watcher... 2021-07-07 16:00:52.201 INFO watcher - run_watcher: Starting the nearup watcher... sandi@sandi-ThinkPad-X1-Carbon-7th ~/w/n/nearup (add-guildnet) [1]> nearup logs 2021-07-07 16:02:07.079 INFO tailer - show_logs: 50962|neard|guildnet tail: cannot open '' for reading: No such file or directory ==> /home/sandi/.nearup/logs/guildnet.log <== Jul 07 16:00:52.212 INFO neard: Version: 1.20.0-rc.1, Build: 9655ff69, Latest Protocol: 46 Jul 07 16:00:53.223 INFO near: Did not find "/home/sandi/.near/guildnet/data" path, will be creating new store database Jul 07 16:00:59.378 INFO stats: Server listening at ed25519:KDVxu4oDnQ8mSXQJ63jBGwKYmrXqMbccDRgL8yKTtw2@0.0.0.0:24567 Jul 07 16:01:09.404 INFO stats: #29756287 Waiting for peers 0/0/40 peers ⬇ 0 B/s ⬆ 0 B/s 0.00 bps 0 gas/s CPU: 0%, Mem: 0 B Jul 07 16:01:19.408 INFO stats: #29756287 Waiting for peers 0/0/40 peers ⬇ 0 B/s ⬆ 0 B/s 0.00 bps 0 gas/s CPU: 0%, Mem: 42.9 MiB Jul 07 16:01:29.411 INFO stats: #29756287 Waiting for peers 0/0/40 peers ⬇ 0 B/s ⬆ 0 B/s 0.00 bps 0 gas/s CPU: 1%, Mem: 42.9 MiB Jul 07 16:01:39.414 INFO stats: #29756287 Waiting for peers 0/0/40 peers ⬇ 0 B/s ⬆ 0 B/s 0.00 bps 0 gas/s CPU: 2%, Mem: 42.9 MiB Jul 07 16:01:49.416 INFO stats: #29756287 Waiting for peers 0/0/40 peers ⬇ 0 B/s ⬆ 0 B/s 0.00 bps 0 gas/s CPU: 1%, Mem: 42.9 MiB Jul 07 16:01:59.418 INFO stats: #29756287 Waiting for peers 0/0/40 peers ⬇ 0 B/s ⬆ 0 B/s 0.00 bps 0 gas/s CPU: 1%, Mem: 42.9 MiB 2021-07-07 16:02:07.081 ERROR tailer - show_logs: Unable to read logs. Please try again. ```
- Loading branch information