diff --git a/DEVNETS.md b/DEVNETS.md index 7c598be..9cc0f3d 100644 --- a/DEVNETS.md +++ b/DEVNETS.md @@ -97,7 +97,7 @@ Now we can spin up a new network of 6 nodes with some defaults: The `default-spec` (and `apply`) command only provisions nodes, not Custom VMs. The Subnet and Custom VM installation are done via `install-subnet-chain` sub-commands that follow. -*NOTE*: The `--auto-regions 3` flag only lists the pre-defined regions and evenly distributes anchor and non-anchor nodes across regions in the default spec output. It is up to the user to change the regions and spec file based on the regional resource limits (e.g., pick the regions with higher EIP limits). To see what regions available in your AWS account, simply run the [`aws account list-regions`](https://docs.aws.amazon.com/cli/latest/reference/account/list-regions.html) command, or look at the dropdown menu of your AWS console. +*NOTE*: The `--auto-regions 3` flag only lists the pre-defined regions and evenly distributes anchor and non-anchor nodes across regions in the default spec output. It is up to the user to change the regions and spec file based on the regional resource limits (e.g., pick the regions with higher EIP limits). To see what regions are available in your AWS account, simply run the [`aws account list-regions`](https://docs.aws.amazon.com/cli/latest/reference/account/list-regions.html) command, or look at the dropdown menu of your AWS console. #### Profiling `avalanchego` If you'd like to profile `avalanchego`'s CPU and RAM, provide the following diff --git a/README.md b/README.md index 3fb4737..6ad47a6 100644 --- a/README.md +++ b/README.md @@ -45,7 +45,7 @@ _By default, this allocates all funds on the network to `token1rvzhmceq997zntgvravfagsks6w0ryud3rylh4cdvayry0dl97nsjzf3yp`. The private key for this address is `0x323b1d8f4eed5f0da9da93071b034f2dce9d2d22692c172f3cb252a64ddfafd01b057de320297c29ad0c1f589ea216869cf1938d88c9fbd70d6748323dbf2fa7`. -For convenience, this key has is also stored at `demo.pk`._ +For convenience, this key is also stored at `demo.pk`._ _If you don't need 2 Subnets for your testing, you can run `MODE="run-single" ./scripts/run.sh`._ @@ -205,7 +205,7 @@ docker-compose -f trace/zipkin.yml down ## Deploying to a Devnet _In the world of Avalanche, we refer to short-lived, test Subnets as Devnets._ -To programaticaly deploy `SeqVM` to a distributed cluster of nodes running on +To programmatically deploy `SeqVM` to a distributed cluster of nodes running on your own custom network or on Fuji, check out this [doc](DEVNETS.md). ## Future Work diff --git a/controller/controller.go b/controller/controller.go index e7f404f..9a5dd5f 100644 --- a/controller/controller.go +++ b/controller/controller.go @@ -114,7 +114,7 @@ func (c *Controller) Initialize( // Create handlers // - // hypersdk handler are initiatlized automatically, you just need to + // hypersdk handler are initialized automatically, you just need to // initialize custom handlers here. apis := map[string]*common.HTTPHandler{} jsonRPCServer := rpc.NewJSONRPCServer(c) diff --git a/sequencer/sequencer.go b/sequencer/sequencer.go index 891e231..a6af0ee 100644 --- a/sequencer/sequencer.go +++ b/sequencer/sequencer.go @@ -360,7 +360,7 @@ func (it *SequencerNewBlockIterator) Next() bool { if it.fail != nil { return false } - // If the iterator completed, deliver directly whatever's available + // If the iterator is completed, deliver directly whatever's available if it.done { select { case log := <-it.logs: diff --git a/types/sharded_map.go b/types/sharded_map.go index e860842..bc64e91 100644 --- a/types/sharded_map.go +++ b/types/sharded_map.go @@ -42,7 +42,7 @@ type hashable interface { ~string | ~int | ~uint | ~int64 | ~uint64 | ~int32 | ~uint32 | ~int16 | ~uint16 | ~int8 | ~uint8 } -// NewShardedMap returns a new sharded map with `numShards` shards. Each of the shards are pre-allocated +// NewShardedMap returns a new sharded map with `numShards` shards. Each of the shards is pre-allocated // with a length of `size` / `numShards`. `size` is not the max size by any means, but just an estimation. // hashFn is used to hash the key. func NewShardedMap[K comparable, V any](size, numShards int, hashFn HashFn[K]) *ShardedMap[K, V] {