Skip to content

Toolboxv/Avago in Docker: Map VM ID to standard Subnet-EVM binary name if different #2224

Open
@martineckardt

Description

@martineckardt

The Subnet-EVM image on docker hub packs AvalancheGo and Subnet-EVM in one image. The binary is named after the default VM ID defined here:

https://github.com/ava-labs/subnet-evm/blob/8d13faaa10287a1f02745e7b94835fedf865adae/scripts/constants.sh#L12

When chains are created on the P-Chain we specify the VM ID. If there is a chain with a different chain ID it can't use the default Subnet-EVM image.

When the user enters their SubnetID on the tool we should check the P-Chain what the VM ID is. If it's different from the standard, we need to add another Environment variable mapping the alias

Resources:
https://docs.onbeam.com/nodes/run_node/method2
https://avalancheavax.enterprise.slack.com/archives/C02Q5MD10SX/p1742396916715309
https://build.avax.network/docs/nodes/configure/configs-flags#--vm-aliases-file-string

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions