-
Notifications
You must be signed in to change notification settings - Fork 115
Description
Hi,
When running a local network, the avalanche blockchain upgrade apply testchain does not work as intended.
By adding the flag --log-level DEBUG I could get a more detailed error:
[02-05|01:50:52.499] INFO ux/output.go:43 Error: 404 Not Found: 404 page not found
So I digged and re-compiled the avalanche-cli binary adding more logs to the code.
From what I found, it seems developers running a local network should change the following property in ./pkg/constants/constants.go:
LocalAPIEndpoint = "http://127.0.0.1:9650"
with the correct port (56269 in my case):
LocalAPIEndpoint = "http://127.0.0.1:56269"
I suggest we could add a custom flag to the upgrade apply command specifying the local api endpoint port?
Then it worked well and I moved on to the next error:
Looks like this blockchain has not been deployed to this network yet.
Maybe it's because of the other issue I opened -> #2594
Thank you for your help π
Operating System
MacOS
Intel Core i7
Thank you,
Metadata
Metadata
Assignees
Labels
Type
Projects
Status