mirror of
https://github.com/luxfi/cli.git
synced 2026-10-30 17:01:20 +00:00
Deep audit changes: - Replace stub signature aggregator with real SDK warp implementation - Remove dead pkg/lpm package (SDK lpmintegration used instead) - Fix fs imports: use local utils.FileExists, DirExists, ExpandHome - Fix secp256k1fx imports: use node/vms/secp256k1fx - Fix platformvm imports: use node/vms/platformvm - Fix e2e test TODOs: uncomment BootstrapValidators assertions - Improve localnet stub implementations with real logic - Fix node.go fs.FileExists reference Note: Build requires GOWORK=off due to workspace dependency issues
52 lines
1.8 KiB
Go
52 lines
1.8 KiB
Go
// Copyright (C) 2022-2025, Lux Industries Inc. All rights reserved.
|
|
// See the file LICENSE for licensing terms.
|
|
|
|
package utils
|
|
|
|
const (
|
|
baseDir = ".cli"
|
|
hardhatDir = "./tests/e2e/hardhat"
|
|
confFilePath = hardhatDir + "/dynamic_conf.json"
|
|
greeterFile = hardhatDir + "/greeter.json"
|
|
|
|
// Test blockchain and node names
|
|
BlockchainName = "test-blockchain"
|
|
TestLocalNodeName = "test-local-node"
|
|
|
|
// LPM related constants
|
|
LPMDir = ".lpm"
|
|
LPMPluginDir = "plugins"
|
|
|
|
BaseTest = "./test/index.ts"
|
|
GreeterScript = "./scripts/deploy.ts"
|
|
GreeterCheck = "./scripts/checkGreeting.ts"
|
|
SoloEVMKey1 = "soloEVMVersion1"
|
|
SoloEVMKey2 = "soloEVMVersion2"
|
|
SoloLuxKey = "soloLuxVersion"
|
|
SoloLuxdKey = "soloLuxdVersion"
|
|
OnlyLuxKey = "onlyLuxVersion"
|
|
MultiLuxEVMKey = "multiLuxEVMVersion"
|
|
MultiLux1Key = "multiLuxVersion1"
|
|
MultiLux2Key = "multiLuxVersion2"
|
|
LatestEVM2LuxKey = "latestEVM2Lux"
|
|
LatestLux2EVMKey = "latestLux2EVM"
|
|
OnlyLuxValue = "latest"
|
|
|
|
EVMGenesisPath = "tests/e2e/assets/test_evm_genesis.json"
|
|
EVMGenesis2Path = "tests/e2e/assets/test_evm_genesis_2.json"
|
|
EVMGenesisPoaPath = "tests/e2e/assets/test_evm_genesis.json" // POA uses same genesis for now
|
|
LocalKeyPath = "tests/e2e/assets/local_test_key.pk" // Test key for E2E tests (deprecated ewoq)
|
|
// Deprecated: Use LocalKeyPath instead
|
|
EwoqKeyPath = LocalKeyPath
|
|
EVMAllowFeeRecpPath = "tests/e2e/assets/test_evm_allowFeeRecps_genesis.json"
|
|
EVMGenesisBadPath = "tests/e2e/assets/test_evm_genesis_bad.json"
|
|
BootstrapValidatorPath = "tests/e2e/assets/test_bootstrap_validator.json"
|
|
BootstrapValidatorPath2 = "tests/e2e/assets/test_bootstrap_validator2.json"
|
|
|
|
PluginDirExt = "plugins"
|
|
|
|
// Parse types for ParsePublicDeployOutput
|
|
ChainIDParseType = "chainID"
|
|
BlockchainIDParseType = "blockchainID"
|
|
)
|