Aarsh Shah
469960ce0e
cleanup: Lotus client: remove markets and deal-making from Lotus Client ( #11999 )
...
* remove client CLI
* remove markets CLI from miner
* remove markets from all CLI
* remove client API
* update go mod
* changes as per review
2024-06-05 09:56:25 +04:00
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)
848c20d15f
Merge branch 'master' into feat/sturdypost
2023-11-06 16:10:57 -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
Friðrik Ásmundsson
26b35b7f8e
feat: Add ETA to lotus sync wait ( #11211 )
2023-09-15 10:29:27 -07:00
Aayush
66fc6dc3e5
refactor: stop using deprecated io/ioutil
2023-03-29 15:40:49 -04: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
Łukasz Magiera
11633ff1f7
fix: cliutil: Fix URL-based API endpoint parsing
2022-12-02 20:16:40 +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
2fa21ff091
Merge branch 'master' into sbansal/nonce-coordination-and-consensus-for-chain-nodes
2022-11-11 14:41:38 -05:00
Łukasz Magiera
b540d10b48
cli: Move ClientExport to cliutil
2022-11-08 09:37:43 +00:00
Łukasz Magiera
e66d5a0537
cli: Move EpochTime to cliutil
2022-11-08 09:37:43 +00: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