Comments (1)
Big Goals
- Update avalanchego and subnet-evm as soon as they’re released (without an avalanche-cli update)
- Load and run custom VMs (with custom genesis)
- Eventually, we can download other VMs from APM and store them appropriately
- We can load and use old versions of VMs
Commands
Create Subnet
avalanche subnet create <subnetName>
Edits
- In the subnet-evm creation flow, ask for a subnet-evm version, default to latest
- For the custom-vm flow, we need to prompt for a filepath of the custom vm binary
Flags
- -f, --force: overwrite the existing configuration if one exists
- --genesis: (RENAMED FROM --file) file path of genesis to use instead of the wizard
- --evm: use the Subnet-EVM as the base template
- --custom: use a custom VM template
- --vm: file path to custom vm binary
Technical Details
- We should query github to see what the latest release is (if github isn’t available, we can fall back to the latest installed version)
- We should remove our hardcoded subnet-evm version constants
- We are RENAMING --file to --genesis
- The vm flag should skip the custom vm prompt
- Similar to using a custom genesis, using a custom vm binary should copy the binary into one of our local directories
- When that subnet is deleted, we should delete the custom binary
Deploy Subnet
avalanche subnet deploy <subnetName>
Edits
- In the deploy flow, ask Github for the latest avago version, download it if not already available. If github is unavailable, use the latest installed version.
- Add a flag --avalanchego-version to manually override the avago version.
Technical Details
- We should query github to see what the latest release is (if github isn’t available, we can fall back to the latest installed version)
- We should remove our hardcoded avago version constants
Tickets
from avalanche-cli.
Related Issues (20)
- move AMI to separate AWS account from `experimental` HOT 2
- Need to replace teleporter object with teleporter SDK
- Commands to install avalanchego & subnetevm w/out starting a network or subnet
- Add API role to fuji clusters
- Improve language of Avalanche CLI UX revamp
- refactor instance provisioning to use tooling-sdk
- refactor teleporter code into sdk
- fix ledger dependence HOT 1
- enable deploying contracts from any teleporter commit
- refactor relayer setup code into separate command
- new ux for subnet deploy
- add TeleporterRegistryAddress/TeleporterManagerAddress setting to subnet import
- deploy registry downloaded from teleporter release HOT 1
- use fuji/mainnet c-chain teleporter info on deploy tools
- add a warning on allow list preview/confirm to warn the user if the allow list is empty
- Standarize subnet deploy and subnet describe output
- Upgrade Avalanche Go Notification in Prometheus
- refactor instance creation for aws and gcp to switch to sdk
- [sdk refactor] investigate if we should depricate NodeConfig model in faviour of sdk Host/CloudParams
- error trying to create a subnet from within subnet deploy command call HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from avalanche-cli.