Releases: ava-labs/avalanche-cli
v1.3.5
⭐ Features
With this release , you can now launch Avalanche Validators in multiple regions at once!
Simply use --region and --num-nodes flags (or not if you want to go through interactive mode), for example:
avalanche node create multiRegionCloud --region=us-east-1,us-west-2 --num-nodes=2,2
In addition, this release also enhances ledger user experience in Avalanche-CLI! It will now automatically search for the first index with sufficient funds for a transaction.
Multi Region PRs && Cloud Server Enchancements
- Multi region and custom instance size by @arturrez in #1228
- Add config authorize-cloud-access command by @arturrez in #1229
Ledger Improvement PR
- Automatic discovery of funded ledger index by @felipemadero in #1248
🛠 Improvements
- Use avago that uses extended public key by @felipemadero in #1128
- Set full ip:port esp on grpc connection so proxy avoidance is obtained by @felipemadero in #1227
- GCP cloud access verification and minor refactoring by @arturrez in #1242
- Fix genesis mainnet issues by @felipemadero in #1236
- Move apm setup to the command we need it by @arturrez in #1233
- Use latest ANR by @felipemadero in #1247
- Update snapshot to cchain genesis changes for local network by @felipemadero in #1256
- Fix snapshot loc by @felipemadero in #1259
- Allow remote api calls on container by @felipemadero in #1252
- Improve http response parsing for ssh forwarding by @felipemadero in #1270
- Fix panic after impl change by @felipemadero in #1273
- Avoid one Github api call per node on compatibility check by @felipemadero in #1274
- Bump github.com/supranational/blst from 0.3.11-0.20220920110316-f72618070295 to 0.3.11 by @dependabot in #922
- Bump get-func-name from 2.0.0 to 2.0.2 in /tests/e2e/hardhat by @dependabot in #1063
- Bump browserify-sign from 4.2.1 to 4.2.2 in /tests/e2e/hardhat by @dependabot in #1119
- Bump github.com/spf13/afero from 1.9.5 to 1.11.0 by @dependabot in #1244
- Bump github.com/docker/docker from 24.0.5+incompatible to 24.0.7+incompatible by @dependabot in #1114
- Bump undici from 5.19.1 to 5.26.3 in /tests/e2e/hardhat by @dependabot in #1083
- Version 1.3.5 by @sukantoraymond in #1280
Full Changelog: v1.3.4...v1.3.5
v1.3.4
⭐ Features
Say hello to DevNets! DevNet (Developer Network) is an isolated public network version of avalancheGo. Think of DevNet as being the intermediate step in the developer testing process after local network and before Fuji network. Explore the DevNet functionality by calling avalanche node devnet
.
This release also deprecates use of Ansible in our cloud deployment command suite and replaces it with ssh calls, resulting in ~20x speed improvements!
DevNet PRs
- Create DevNets by @felipemadero in #1151
- DevNet subnet sync by @felipemadero in #1157
- Add validators to a subnet in a DevNet by @felipemadero in #1160
- Stop asking for DevNet endpoint on node create by @felipemadero in #1213
- Devnet wiz: one command for devnet + subnet flow by @felipemadero in #1205
- Node deploy cmd by @felipemadero in #1154
Ansible Replacements PRs
- First PR to deprecate Ansible by @arturrez in #1186
- Second PR to deprecate Ansible by @arturrez in #1209
- Reuse ssh connections during all cmd execution + fix timeouts + fix intermitent connection errors by @felipemadero in #1221
- Node ssh command by @felipemadero in #1155
- Fix on ssh command by @felipemadero in #1165
- Ssh fixes by @felipemadero in #1215
🛠 Improvements
- CLI creates and distributes staking certs now by @arturrez in #1115
- Go 1.20 by @arturrez in #1118
- Add lead time for add primary validator cmd by @sukantoraymond in #1126
- Improve user flow with default credentials by @arturrez in #1127
- Add flags so as node create and node stop can be called without user by @felipemadero in #1130
- Generate nodeid from local file by @felipemadero in #1144
- Add update creds msg also to node stop by @felipemadero in #1149
- Suggestions for config encapsulation by @felipemadero in #1152
- Add timeout to pchain ops by @felipemadero in #1124
- Upgrade avago and subnetevm by @sukantoraymond in #1107
- Config migrate by @arturrez in #1100
- AWS auth profiles by @arturrez in #1136
- Improve node status command by @felipemadero in #1156
- Backwards compatibility of clusters config file by @felipemadero in #1173
- Fix write of metrics info by @felipemadero in #1180
- Update snapshot validator times by @felipemadero in #1210
- Add source code repo prompts to custom vm create by @felipemadero in #1161
- Use ipv4 loopback for bootstrap by @felipemadero in #1194
- One node local network by @felipemadero in #1177
- Give key info for imported keys, not for new keys by @felipemadero in #1196
- Remove default security group permissions for 9650 by @sukantoraymond in #1222
- Add boolean to consts to control if compiling cli from source by @felipemadero in #1224
- v1.3.4 by @sukantoraymond in #1225
Full Changelog: v1.3.3...v1.3.4
v1.3.3
⭐ Features
GCP joins 1-Command Cloud Node Setup!
You can now create your own Avalanche Node on GCP with 1 command on Avalanche CLI.
Note: Fuji only, Mainnet support is on the roadmap.
With this release, you can now deploy your Subnet on Fuji and have a mix of AWS and GCP Avalanche Nodes validating it!
This release also enables users to create Avalanche nodes without static Public IPs. Simply add --use-static-ip=false flag to launch Avalanche nodes without static Public IPs.
Finally, this release also adds a new command for users to add Avalanche node as a Primary Network validator with addPermissionlessValidatorTx. Simply call avalanche primary addValidator
GCP PRs
- Multi Cloud Automatic Cloud Deployment - GCP by @sukantoraymond in #1047
- Stop GCP instance by @sukantoraymond in #1075
Cloud Deployment Enhancement PRs
- Ansible parallelization by @felipemadero in #1094
- Add primary network validator command by @sukantoraymond in #1043
- Automatic cloud deploy multi nodes without Elastic IP by @sukantoraymond in #1029
- Use add permissionless validator in Cloud Deployment by @sukantoraymond in #1052
- Update ubuntu when build env by @sukantoraymond in #1070
- Add versions to status output by @arturrez in #1072
- Add ssh connection string by @arturrez in #1073
- Fix eip deprication warn ref:https://registry.terraform.io/providers/… by @arturrez in #1074
- Better ansible inventory parsing by @arturrez in #1076
- Fix primary validator by @sukantoraymond in #1064
- Append new host to ansible inventory when creating new node by @sukantoraymond in #1085
- Fix ansible ssh commands failure by @felipemadero in #1093
- Add colored table to node status output by @felipemadero in #1106
- Faster Ansible by @felipemadero in #1101
- Ansible Inventory parsing improvements by @arturrez in #1099
- Fix Ansible Inventory write issues by @sukantoraymond in #1108
- Edit status message by @sukantoraymond in #1109
- version 1.3.3 by @sukantoraymond in #1110
🛠 Improvements
- Avago bump 1.10.13 by @felipemadero in #1098
- Checkout@v3 by @arturrez in #1084
- Fix subnet auth bug + improves multisig e2e by @felipemadero in #1060
- Add err checks to input hexas by @felipemadero in #1058
- Update backstage system to platform by @dasconnor in #1057
New Contributors
Full Changelog: v1.3.2...v1.3.3
v1.3.2
🛠 Improvements
- Fix e2e issue related to docker on macos by @felipemadero in #1049
- Properly display tx type on cast error by @felipemadero in #1048
- Copy BLS Signer Key during node creation by @sukantoraymond in #1050
- Use kill to terminate vm process after rpc protocol query by @felipemadero in #1051
- Replace ledger sim wait seconds with interaction end notification channel by @felipemadero in #1053
- v.1.3.2 by @sukantoraymond in #1055
Full Changelog: v1.3.1...v1.3.2
v1.3.1
⭐ Features
Say hello to multi-nodes cloud deployment and custom VM Subnet deployment!
Avalanche-CLI now supports multi-nodes cloud deployment. With 1 command, you can spin up multiple Avalanche nodes on AWS and also have multiple nodes validate the Primary Network / Subnet!
This release also supports Custom VM Subnet deployment. You can now deploy your customized Subnet-EVM, HyperSDK VM, MorpheusVM, TokenVM and Rust VMs!
All you need is a public repo to the custom vm source code and a build script to generate the binary.
More info can be found at Avalanche docs!
Multi Node & Custom VM PRs
- Multi nodes creation for cloud deployment by @sukantoraymond in #991
- Multi Nodes Validate Primary Network & Subnets by @sukantoraymond in #993
- Custom VM cloud feature branch by @felipemadero in #1011
- Custom VM cloud deployment merge with Multi Cloud by @felipemadero in #1037
- Update node status by @sukantoraymond in #1035
- Get RPC protocol version number for custom bins by @felipemadero in #992
- Save custom vm repo+branch+build_script on sidecar on subnet export by @felipemadero in #998
- Stagger primary validation time for multi nodes by @sukantoraymond in #1000
- Add repository download + binary build to subnet import for custom vms by @felipemadero in #999
- Fix ansible err msgs + fix workflow to get import done for custom vms subnets by @felipemadero in #1004
- Node update command to update subnet configurations + vm by @felipemadero in #1014
- Adds avago node config customization for subnets by @felipemadero in #1021
🛠 Improvements
- Stop using empty global subnetName variable on node validate subnet and node sync by @felipemadero in #1010
- Improve ansible user msgs when having errors on node status by @felipemadero in #1007
- Update version to v1.3.1 by @sukantoraymond in #1040
- Disable apm test that uses spacesvm by @felipemadero in #1002
- Fix typo in ledger-simulator.md by @eltociear in #1001
- Bump github.com/onsi/ginkgo/v2 from 2.8.1 to 2.12.0 by @dependabot in #952
- Filter valid (non 404 error code) subnet-evm versions on e2e by @felipemadero in #994
New Contributors
- @eltociear made their first contribution in #1001
Full Changelog: v1.2.7...v1.3.1
v1.3.0
⭐ Features
Introducing 1-Command Cloud Node Setup!
You can now create your own Avalanche Node on AWS with 1 command on Avalanche CLI.
Note: Fuji only, Mainnet support coming soon!
Once the node is bootstrapped to Primary Network, you can then have the node validate the Avalanche Primary Network and also validate a Subnet of your choice.
Create your first Avalanche Node by calling avalanche node create <clusterName>
!
Pre-req:
- Create an AWS account and have an AWS
credentials
file in home directory, More info can be
found here - Install Terraform
- Install Ansible
More info can be found at Avalanche docs!
1-Command Cloud Node Setup PRs
- Automatic cloud deploy - Create Node by @sukantoraymond in #865
- Automatic cloud deploy - Validate Subnet by @sukantoraymond in #920
- Check terraform and ansible installation by @felipemadero in #912
- Use custom region and get corresponding AMI ID by @sukantoraymond in #931
- Get node status by @sukantoraymond in #933
- Stop cloud server by @sukantoraymond in #938
- Check avalanchego compatibility with subnet evm rpc when tracking subnet by @sukantoraymond in #943
- Delete instance without public ip if account limit reached by @sukantoraymond in #954
- List cloud activities on AWS auth by @sukantoraymond in #948
- Create nodes dir on node create command by @felipemadero in #961
- Add check for cluster existence by @felipemadero in #963
- Add node list cmd by @felipemadero in #966
- Make subnet a required positional argument in node sync by @felipemadero in #964
- Fix avago compatibility function by @felipemadero in #972
- Add subnet as positional arg to validate by @felipemadero in #965
- Fix node status output by @sukantoraymond in #975
🛠 Improvements
- Fix git ignore for ledgerSim related stuff by @felipemadero in #915
- Improve completion install by @felipemadero in #892
- Fix local network start msgs by @felipemadero in #939
- Downgrade qemu for macos by @felipemadero in #946
- Increase lint timeout to 5m by @felipemadero in #950
- Update version 1.3.0 by @sukantoraymond in #976
- Nit in cmd description by @felipemadero in #977
- Add subnet-evm genesis verification by @felipemadero in #979
Full Changelog: v1.2.6...v1.3.0
v1.2.6
🛠 Improvements
- Remove workflow in favor of project workflow by @dasconnor in #897
- Add backstage tracking and docs by @dasconnor in #893
- Change service type by @dasconnor in #903
- Remove extra newlines by @dasconnor in #904
- Fix subnet config on local deploy + avago + subnet-evm bump by @felipemadero in #901
- add ledger simulator to backstage by @felipemadero in #910
- Bump github.com/go-git/go-git/v5 from 5.7.0 to 5.8.1 by @dependabot in #889
- Bump google.golang.org/protobuf from 1.30.0 to 1.31.0 by @dependabot in #894
- Version 1.2.6 by @felipemadero in #913
Full Changelog: v1.2.5...v1.2.6
v1.2.5
⭐ Features
- Users can now deploy their Subnets on Mainnet using a different ChainID from the Subnet deployed on Fuji. A new genesis will be created for the Mainnet Subnet @sukantoraymond in #843
🐞 Bug Fixes
- Remove Github API rate limit error by limiting checking Github for CLI version update once every 24 hours @sukantoraymond in #848
🛠 Improvements
- Users should now call addValidator before calling join command when adding a subnet validator as a validator on a permissioned subnet @sukantoraymond in #846
- Fix cmd help command @felipemadero in #857
- Implement Elastic Subnet usage analytics @sukantoraymond in #860
- Automatically sums multiple airdrops amount for a single address in the subnet creation process @najeal in #839
- Implement Multisig end to end testing @felipemadero in #883
- Use ledger simulator for Mainnet e2e test in CI by @felipemadero in #851
- Implement Precompile usage analytics @sukantoraymond in #863
- Update version to v1.2.5 @sukantoraymond in #884
- Bump github.com/docker/docker from 24.0.1+incompatible to 24.0.5+incompatible by @dependabot in #882
- Bump word-wrap from 1.2.3 to 1.2.4 in /tests/e2e/hardhat by @dependabot in #864
New Contributors
Full Changelog: v1.2.4...v1.2.5
v1.2.4
What's Changed
- change to ecosystem license by @felipemadero in #822
- Add key transfer command 2 by @felipemadero in #824
- Add Permissionless Validator Fuji by @sukantoraymond in #817
- Add delegator by @sukantoraymond in #816
- One command deploy and elastic command by @sukantoraymond in #825
- Bump github.com/spf13/viper from 1.15.0 to 1.16.0 by @dependabot in #809
- Bump github.com/go-git/go-git/v5 from 5.6.1 to 5.7.0 by @dependabot in #801
- fix GetFujiKeyOrLedger args in one call by @felipemadero in #826
- Add delegator public by @sukantoraymond in #820
- add precompile address check by @sukantoraymond in #835
- update version by @sukantoraymond in #838
Full Changelog: v1.2.3...v1.2.4