Skip to content

Releases: ava-labs/avalanche-network-runner

v1.2.0

05 Aug 17:52
1db7295
Compare
Choose a tag to compare

Some breaking changes were made to RPC protocol definition:

  • ClusterInfo's field custom_vms_healthy renamed to custom_chains_healthy
  • ClusterInfo's field custom_vms renamed to custom_chains, and type changed from map<string, CustomVmInfo> to map<string, CustomChainInfo>
  • CustomVmInfo renamed to CustomChainInfo
  • CustomChainInfo's field vm_name renamed to chain_name
  • CustomChainInfo's field blockchain_id renamed to chain_id
  • StartRequest's field custom_vms renamed to blockchain_specs, and type changed from map<string, string> to repeated BlockchainSpec
  • RestartNodeRequest's root_data_dir was removed
  • AddNodeRequest's StartRequest field was replaced with fields exec_path, node_config, chain_configs

The most expected changes from client's golang code are:

  • Replace rpcpb.ClusterInfo.CustomVms with rpcpb.ClusterInfo.CustomChains
  • Replace rpcpb.CustomVmInfo with rpcpb.CustomChainInfo
  • Replace rpcpb.CustomChainInfo.VmName with rpcpb.CustomChainInfo.ChainName
  • Repalce rpcpb.CustomChainInfo.BlochainId with rpcpb.CustomChainInfo.ChainId
  • Replace rpcpb.ClusterInfo.CustomVmsHealthy with rpcpb.ClusterInfo.CustomChainsHealthy
  • In client Start calls, Replace client.WithCustomVMs with client.WithBlockchainSpecs and pass a []*rpcpb.BlockchainSpec instead of a map[string]string, eg:
client.WithBlockchainSpecs([]*rpcpb.BlockchainSpec{
    {
        VmName: vmName,
        Genesis: genesisPath,
    },
})

The most expected changes from control command usage are:

  • replace start's flag custom-vms with blockchain-specs and change json content from to be slice [(VM name, genesis file path)]
  • create-blockchains now receives blockchain specs as unique positional argument, instead of a flag
  • remove-node now receives node name as unique positional argument, instead of a flag
  • add-node now receives node name as unique positional argument, instead of a flag
  • restart-node now receives node name as unique positional argument, instead of a flag
  • attach-peer now receives node name as unique positional argument, instead of a flag
  • send-outbound-message now receives node name as unique positional argument, instead of a flag

Changelog

  • 1db7295 Merge pull request #232 from ava-labs/bump-go-1.18
  • c84176a bump go version
  • 00543ab Merge pull request #221 from ava-labs/216-cleanup-control
  • bff9eda Merge pull request #231 from ava-labs/revert-229-remove-buildir-flag-reloaded
  • 4d824af Revert "Remove buildir flag reloaded"
  • 391f8e6 Merge branch '216-cleanup-control' of github.com:ava-labs/avalanche-network-runner-local into 216-cleanup-control
  • 382baf8 addressed PR comments
  • 8bbe155 Merge branch 'main' into 216-cleanup-control
  • de45ae7 first iteration

v1.1.4

19 Jul 17:39
0491301
Compare
Choose a tag to compare

Changelog

  • 0491301 Merge pull request #183 from ava-labs/go-install-example-in-readme
  • f329c75 address PR comments
  • a079fff fix install from source cmd
  • a956d41 Merge branch 'main' into go-install-example-in-readme
  • 6dab749 Merge pull request #186 from ava-labs/updateInstall
  • a2d4fda address PR comments
  • 18a677b Fixed lower case
  • 3d62885 Merge branch 'main' into updateInstall
  • 5d67571 Merge pull request #182 from ava-labs/addVersion
  • f9cb6e8 Added install script
  • b1c2678 Updated build script to take custom location
  • 3ace2a0 Fixed version
  • 3a10e5d add go install instruction to README
  • 80bc385 Fixed e2e test
  • 407c901 Added version and moved to CLI format
  • ca5ed43 Merge pull request #176 from ava-labs/http-host
  • dfb15e9 README: add an example with global node config
  • df4ef9d Merge pull request #180 from ava-labs/add-0.0.0.0-notification
  • 307d5ce Merge branch 'main' into add-0.0.0.0-notification
  • 451758d GetURL() to return 0.0.0.0 if http-host is set so
  • 87781a1 Merge pull request #179 from ava-labs/add-global-node-config-to-load-snapshots
  • dca70aa minor fix
  • 008b0a8 add global node config flags to load snapshot
  • 91f8e92 Merge pull request #178 from ava-labs/bump-versions
  • 3ec7a72 downgrade to coreth v0.8.13-rc.5
  • feeaa8a fix unit tests
  • 7676d0d basic version bump
  • a8d25fe [AV-1829]: Add node process failure management (#150)

v1.1.3

07 Jul 16:10
a2c960c
Compare
Choose a tag to compare

Changelog

  • a2c960c Merge pull request #130 from ava-labs/fastsync-e2e-add-chainconf
  • dd3abb5 Merge branch 'main' into fastsync-e2e-add-chainconf
  • 609534b Merge pull request #174 from ava-labs/reload-vms-plugins
  • 7ec223c Merge branch 'main' into reload-vms-plugins
  • 294fa0a Merge pull request #173 from ava-labs/fix-cli-fmadero
  • 77d3034 add call to LoadVMs for all nodes, so as to load new binaries if present
  • 9130c76 improve comments
  • 35d4c95 fix nil map treatment
  • 6ebf69e add chain configs support when loading snapshots
  • b1017a0 add chain config option to control
  • a70a5c9 rm useless code from addnode
  • 8b8facc fix nit
  • 5d300a3 get default chain configs from network
  • fd22727 check for nil maps and update default conf
  • 327c260 lint
  • f1919f4 Merge branch 'main' into fastsync-e2e-add-chainconf
  • 1275fca remove invalid flag
  • a4ae9f1 merge w/ compiler instead of github ui
  • 2df0ac8 Merge branch 'fram-296-addnode' into fastsync-e2e-add-chainconf
  • cb7a71c address PR comments
  • 0a6bcde additional plumbing for chainconfigs
  • 779c0c3 log chainConfigs
  • ecd18ff more wip
  • 91079ab wip: add cchain conf support
  • 9092ade fix merge issues
  • 4c1a071 first iteration

v1.1.2

30 Jun 22:18
5ac8afe
Compare
Choose a tag to compare

Changelog

  • 5ac8afe Merge pull request #170 from ava-labs/refresh-validators
  • 8244ddc Merge branch 'main' into refresh-validators
  • ec09b37 add validation start offset constant
  • 8c69fb9 replace clientURI, add comment for constants
  • 6290ad4 address PR comments
  • 21ac411 use NodeIDSet
  • 2039ae6 add function specs
  • a9ed7dc add constant for log freq check and rm Printlns
  • 89609e9 add comment and constant for locktime-startime magic number
  • e0e25ac Update server/custom_vms.go
  • ff7207f Update local/network.go
  • dc01ae7 Merge pull request #172 from ava-labs/multiple-chain-config-support
  • 64c43d5 Merge branch 'main' into multiple-chain-config-support
  • 886c4d3 Merge pull request #171 from ava-labs/change-rootdir-timestamp-format
  • 0e8a2ad Merge branch 'main' into change-rootdir-timestamp-format
  • 2c5831e Merge pull request #169 from ava-labs/add-buildir-query-to-node
  • 2bcd5c2 address PR comments
  • ba46bbe address PR comments
  • f68c06b fix unit tests
  • 209be74 add support for multiple chain configs
  • e23440f change format for root dir
  • 3ecfde2 address PR comment
  • 174f570 lint
  • 2a984d6 rm old comment
  • ae7fd6f add wait for subnet validators to subnet creation
  • ddf5405 add check for subnet validators started
  • 2b5eee8 update genesis validation start time for network creation
  • 4b3a69c start modification of local genesis
  • e73f1bf minor stuff
  • c51588c add subnet re validation if missing
  • 9ddc3e8 fix start time for primary validators
  • f005318 set subnet validators based of primary validators info
  • 0a30811 make subnet validation add more dynamic only adding if needed
  • c34dc56 use build dir from node to get plugin dir
  • c1ed66b add build dir query for node

v1.1.1

15 Jun 19:20
ca7889c
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v1.1.0...v1.1.1

v1.1.0

31 May 13:42
6b526ff
Compare
Choose a tag to compare

Changelog

  • 6b526ff Merge pull request #160 from ava-labs/bump-to-avalanchego-1.7.11
  • 44fda79 Merge branch 'main' into bump-to-avalanchego-1.7.11
  • 3a00f48 Merge pull request #159 from ava-labs/return-on-ctx-timeout
  • 4f0052d use blocking msg queue at peer
  • bba6b37 fix lock
  • d7c1de8 Merge pull request #161 from ava-labs/return-on-ctx-timeout-felipe
  • ef324aa fix lint
  • 70caa35 remove check of cluster info from stop, only check for network value
  • 8fc3cba move startCtxCancel to network
  • cb38084 dont check cluster info on stop
  • f68baa1 addressed PR comments
  • 5ce9dec cancel start context
  • 664b5c5 address PR comments
  • 03a5f70 nit
  • 7f66bd8 update validator structs
  • 3b00141 update logging stuff
  • 0d17ab5 update peer stuff
  • 3afb6d8 partial update to 1.7.11

v1.0.17

27 May 17:00
d2baf83
Compare
Choose a tag to compare

Changelog

  • d2baf83 Merge pull request #155 from ava-labs/snapshots
  • d1df557 address PR comments
  • 2441920 address PR comments
  • 8799bc9 address PR comments
  • 58c0e5f update readme
  • b62be98 fix unit tests
  • 3b07750 add path return to save snapshots
  • 47d9a8a add snapshot path to proto
  • d3214d8 nit
  • b4b0ec5 remove obsolete comment
  • fc0598a remove defined field from local network
  • 92114e1 added New functions for creating networks from config, default config, snapshot
  • fa2fb2e start moving network start to New functions
  • ca24300 address PR comments
  • 9a37e46 address PR comments
  • ea29f30 address PR comments
  • 4f932f8 fix unit tests
  • 6997c1d address PR comments
  • f63ff4f use names StartFromConfig, StartFromSnapshot
  • a0c4116 Merge branch 'main' into snapshots
  • f5bd4eb Merge pull request #156 from ava-labs/fix-av-1625
  • 8081476 Merge branch 'main' into snapshots
  • 705ac63 unification of node naming convention. search for next node name.
  • 5916eae avoid segmentation violation
  • e3d6e53 Make healthy block (#154)
  • 14fe114 improve network interface comments. avoid using ioutil.
  • 3c35ad6 rm commented code
  • 2d120a1 misc cleanup
  • 6e9f2e2 fix e2e
  • 1af8e0a fix unit tests
  • 2341b81 some cleanup
  • 6fb94a5 fix json updating function to always replace value
  • d8e0354 centralize all in node tmp dir
  • 9913f5a normalize node info generation at server
  • ace2126 nit
  • 0641de8 fix msg/err issues
  • ef242b9 add option to configure server on snapshots dir
  • 7479f63 better update subnet info and pluging/whitelisted info for snapshot load
  • 4f66382 fix plugindir/builddir issue
  • 4f55c9e add subnet info to loaded snapshot
  • be49de9 improve comments
  • e38090c add function to node to query config
  • 149cb7f add to local fields required by server
  • ed821a7 add basic snapshot load/save to server
  • 8801257 remove reference to logs in snapshot
  • 3762c6c finish removing log from snapshot
  • 9d90a0b not copy logs to snapshot
  • 4ec9961 add save snapshot to client/server
  • b3d3505 add client/server functions to remove snapshot and get snapshot names
  • 2559f2a update proto
  • c02fe63 add snapshot calls to cmd control and client
  • 2cc70db start adding snapshot functions to server
  • b7e6a98 move check for existent snapshot previously to stop network
  • 3953db0 improve places where snapshot information in keeped inside the struct
  • cb8a6d2 Merge branch 'main' into snapshots
  • 74b3f5a Merge pull request #152 from ava-labs/server-stop-misc
  • b8066a1 address PR comments
  • 3467ac9 fix unit tests
  • 70ad8a2 update examples
  • e4d64a8 modify server for new network instantiation
  • b1abcf3 lint
  • 700c82c add snapshot rm and list functions
  • 39c44a8 implement snapshot loading
  • c43c1b0 add LoadConfig function to network
  • 0826ec7 mv load of network configuration to its own function
  • a22b7c5 fix bug in individual node db save
  • 702a036 add db+log saving to snapshot save
  • 665c8a4 start saving network config to snapshot
  • fa2bc43 fix unit test
  • bf3f519 backup
  • 8baf530 update nodesConfig when node is removed
  • cb99b57 keep track of used node config + dbpath + logdir
  • 3291952 Merge branch 'main' into snapshots
  • 963bf6e nit
  • 590d3b4 fix names
  • 16a21e7 improve server stop handing readability
  • 5d0785c Merge pull request #149 from ava-labs/control-nodes-log
  • 9a778be remove node-log-level param
  • fdb6c91 fix unit tests
  • d993e72 unify config file generation
  • 9e1cf70 fix e2e problem
  • 6725d6c add missing file
  • e1de6c1 fixes to get appropiate node error msg management
  • 74e0eda Merge branch 'main' into control-nodes-log
  • 7cc5319 mid work
  • 05fc7e7 add new network functions for snapshot

v1.0.16-beta

13 May 12:25
Compare
Choose a tag to compare

Changelog

  • cf1cfdd server: fix gRPC gateway server close

v1.0.16

13 May 12:36
2cef457
Compare
Choose a tag to compare

Changelog

  • 2cef457 Merge pull request #148 from ava-labs/fix-gw-close
  • cf1cfdd server: fix gRPC gateway server close

v1.0.15

12 May 14:16
ecd5c55
Compare
Choose a tag to compare

Changelog

  • ecd5c55 Merge pull request #146 from ava-labs/stop-network-on-server-signal
  • b247191 Merge branch 'main' into stop-network-on-server-signal
  • db2dd03 address PR comment
  • c68d6c1 Merge pull request #141 from ava-labs/fix-healthy-race
  • 6918dc3 fix comment
  • 1ba0d8a Merge branch 'main' into fix-healthy-race
  • a25148b address PR comments
  • 4681ae8 lint
  • 5749fc3 add network stop on server kill signal
  • 6c76801 added TODO note about locking
  • f841e84 addressed PR comments
  • b6f20fe Merge pull request #139 from ava-labs/fix-missing-log-level-bug
  • d55b736 Merge branch 'main' into fix-missing-log-level-bug
  • 1a1283a fix health call race condition while installing vms
  • 977b192 fix missing loglevel bug in control