Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion DEVNETS.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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`._
Expand Down Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion controller/controller.go
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
2 changes: 1 addition & 1 deletion sequencer/sequencer.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion types/sharded_map.go
Original file line number Diff line number Diff line change
Expand Up @@ -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] {
Expand Down