Ng Wei Han

Results 19 issues of Ng Wei Han

### Description This PR fixes a bug when importing blocks in an offline manner (i.e. `./bsc import block_data`). ### Rationale #### Expected Behaviour Command: `./bsc import block_data` ``` ... INFO...

### Description This PR adds additional fields (i.e. enodeID, ENR, ID) to the `node-info` metrics label. ### Rationale It's useful to have that information visible at all times, instead of...

### Description This PR adds new flags to allow users to exclude EOA accounts or contract accounts while dumping the snapshot data to a JSON file. ### Rationale Originally to...

This PR adds a safety check whenever looping through an `InternalNode`'s children. There are 2 parts to this PR: **1. Nil check** From my understanding, an `InternalNode`'s child should be...

### Description This PR adds a new CLI flag called `--instance `, used to configure ports when running multiple nodes on the same machine to avoid port conflicts. This is...

This PR adds the semantic version of the node to the user agent version such that it follows the appropriate format, as shown in the [Starknet P2P specifications](https://github.com/starknet-io/starknet-p2p-specs/blob/main/p2p/starknet-p2p.md#identifying-nodes). **Before**: `juno`...

### Description This PR adds filepath support to two existing P2P-related tools and flags, namely `genp2pkeypair` and `--p2p-private-key`. ### Example Command: `juno genp2pkeypair --file nodekey` - This would generate a...

### Description This PR adds a new CLI tool for database-related operations (i.e. `juno db [commands]`). Under the `db` category, there's currently one subcommand added which is `info` (i.e. `juno...

Given the following scenario: - `Node A` is a feeder node. - `Node B` is a regular P2P node. - `Node A` is online first. `Node B` syncs successfully from...