Andrew Jackson (Ajax)
81ba6ab6f0
feat: Curio - Easy Migration ( #11617 )
...
* feat: lp mig - first few steps
* lp mig: default tasks
* code comments
* docs
* lp-mig-progress
* shared
* comments and todos
* fix: curio: rename lotus-provider to curio (#11645 )
* rename provider to curio
* install gotext
* fix lint errors, mod tidy
* fix typo
* fix API_INFO and add gotext to circleCI
* add back gotext
* add gotext after remerge
* lp: channels doc
* finish easy-migration TODOs
* out generate
* merging and more renames
* avoid make-all
* minor doc stuff
* cu: make gen
* make gen fix
* make gen
* tryfix
* go mod tidy
* minor ez migration fixes
* ez setup - ui cleanups
* better error message
* guided setup colors
* better path to saveconfigtolayer
* loadconfigwithupgrades fix
* readMiner oops
* guided - homedir
* err if miner is running
* prompt error should exit
* process already running, miner_id sectors in migration
* dont prompt for language a second time
* check miner stopped
* unlock repo
* render and sql oops
* curio easyMig - some fixes
* easyMigration runs successfully
* lint
* review fixes
* fix backup path
* fixes1
* fixes2
* fixes 3
---------
Co-authored-by: LexLuthr <88259624+LexLuthr@users.noreply.github.com>
Co-authored-by: LexLuthr <lexluthr@protocol.ai>
2024-03-15 16:38:13 -05:00
Andrew Jackson (Ajax)
464e492fd2
srv cleanups
2023-12-30 09:37:04 -06:00
Andrew Jackson (Ajax)
56498f1fb4
fix circleci and fiximports
2023-11-13 18:09:11 -06:00
Andrew Jackson (Ajax)
3c4e22ff0c
gen fix
2023-11-13 17:59:34 -06:00
Andrew Jackson (Ajax)
c8c673435e
sql startup fix, better errors
2023-11-13 16:23:29 -06:00
Andrew Jackson (Ajax)
5b5ae80e30
renamed api config
2023-10-19 18:19:42 -05:00
Andrew Jackson (Ajax)
6695a2d936
why does proxygen crash
2023-10-18 16:47:00 -05:00
Andrew Jackson (Ajax)
e548b46dbf
lotus-provider-in-progress
2023-10-16 10:28:58 -05:00
Łukasz Magiera
965b1cf03c
itests: Fix TestEthSubscribeLogs
2023-01-31 10:28:12 +01:00
Łukasz Magiera
1286d76988
gateway: eth_subscribe support
2023-01-31 10:28:12 +01:00
Geoff Stuart
e6e50ee9f7
more linter
2022-11-25 17:05:41 -05:00
Ian Davis
9f85d3dca7
Address simple linter issues
2022-11-24 16:32:27 +00:00
Shrenuj Bansal
800d9de4d5
Address comments
2022-11-14 15:46:58 -05:00
Shrenuj Bansal
ad8b959880
Address more comments and add test for gorpc auth
2022-10-18 15:53:42 -04:00
Shrenuj Bansal
674427a8b2
fix lint and make gen
2022-10-17 22:44:00 -04:00
Shrenuj Bansal
900525f8c2
some cleanup
2022-10-17 16:13:30 -04:00
Shrenuj Bansal
139f8773de
fix some bugs and address some comments
2022-10-16 22:52:22 -04:00
Shrenuj Bansal
98481821d8
solution for mining loop hitting the same node
2022-10-05 16:52:49 +00:00
Shrenuj Bansal
dde204fb6a
Change Mpool push API to have an option to publish
2022-10-04 16:49:09 +00:00
Shrenuj Bansal
f89a682d98
Add Mpool ref to raft state and rearrange some APIs
2022-09-29 10:56:57 +00:00
Shrenuj Bansal
570f61438a
Retries within proxy working
2022-09-28 15:07:05 +00:00
Shrenuj Bansal
99e7c322eb
More wip
2022-09-27 16:08:04 +00:00
Anton Evangelatov
62e352ef88
move APIInfoEnvVars, RepoFlags, APIFlags under RepoType
2022-03-03 16:45:11 +01:00
Anton Evangelatov
acbfc879aa
config: extract DealmakingConfig and Sealing config from Lotus for Boost ( #8172 )
...
* refactor sealingCfg and dealmakingCfg to be able to abstract Config
* fix error messages
2022-03-03 15:37:23 +01:00
Anton Evangelatov
f1f878a000
unexport repo types; use a global var for every repo type
2022-03-03 15:37:23 +01:00
Anton Evangelatov
e3edab66e3
refactor RepoType
2022-03-03 15:37:23 +01:00
Nikola Divic
ae49729afb
test: chain sethead cli command
...
Also moved the mock definition to a separate file (mocks_test.go)
because it's gonna be used in other test files, and it didn't make sense
for it to stay inside chain_test.go.
2022-02-09 20:46:51 +01:00
Nikola Divic
811bc62d65
test: cli test setup & test chain head
...
CLI actions lack unit tests. I decided to use the approach similar to
what I found in `send_test.go` using gomock, but I don't rely on custom
"service" implementations but mock the whole FullNode API.
This first commit validates the test setup by testing the simplest method
of the chain category, e.g. `chain head`.
This requires a minor refactor of the CLI action code:
- The constructor (`GetFullNodeAPI`) checks if there's an injected mock
API in the app Metadata and uses that in unit tests.
- Actions shouldn't use raw `fmt.*` but instead write to the `app.Writer`
so the CLI output is testable
2022-02-08 17:15:45 +01:00
Anton Evangelatov
adcb8f3b15
improve get api error messages
2021-08-16 14:33:08 +03:00
ZenGround0
73a644f320
Review response
2021-08-12 13:09:43 -04:00
ZenGround0
3bb5d4eb8f
Strict major minor version checking on v0 and v1 apis
2021-08-11 16:40:14 -04:00
Anton Evangelatov
fa7e52dbda
add explicit error msg if repo dir does not exist
2021-08-01 00:22:55 -04:00
Raúl Kripalani
8433aae1af
use fallback api infos last; init service with markets-path.
2021-07-29 16:10:04 +01:00
Raúl Kripalani
b17fcfc4d1
bugfix.
2021-07-29 14:36:04 +01:00
Raúl Kripalani
3144da86f3
add RepoType#String; adjust repo parsing logic.
2021-07-29 13:49:51 +01:00
Raúl Kripalani
90427bc3af
fix docs, add flag.
2021-07-29 13:39:03 +01:00
Raúl Kripalani
8fae68a5ae
fix tests.
2021-07-29 13:21:55 +01:00
Raúl Kripalani
3b2c3a3f6b
polish.
2021-07-29 12:56:08 +01:00
Raúl Kripalani
22c0884f5f
target markets API for markets commands.
2021-07-29 12:37:29 +01:00
Raúl Kripalani
4e19d8d562
support MARKETS_API_INFO env var; support markets-repo, markets-api-url flags.
2021-07-29 10:55:37 +01:00
Raúl Kripalani
b04fb75a92
rename flag to very verbose.
2021-07-27 20:49:30 +01:00
Raúl Kripalani
48cddd3644
add a super verbose -vv flag to lotus and lotus-miner.
2021-07-27 14:25:28 +01:00
Łukasz Magiera
49e26cce7d
api: Separate the Net interface from Common
2021-07-15 11:41:30 +02:00
Łukasz Magiera
508e2d5c49
gateway: Fix api getter
2021-04-20 18:42:12 +02:00
Łukasz Magiera
cf96ad4fdb
fix lint
2021-04-06 14:30:49 +02:00
Łukasz Magiera
e8f28d7b9f
Fix tests
2021-04-06 12:24:58 +02:00
Łukasz Magiera
d8bff4d19f
Make gateway work with v1 api
2021-04-05 13:47:10 +02:00
Łukasz Magiera
64bf5b382b
cliutil: cast full api to the v0 interface
2021-04-02 13:20:31 +02:00
Łukasz Magiera
3cac23b4a7
cli: get raw full api correctly
2021-04-02 13:07:56 +02:00
Łukasz Magiera
ba49c6206e
cli: Default to v0 api for now
2021-04-01 14:17:22 +02:00