48 Commits

Author SHA1 Message Date
5f0f5853bf chore: upgrade to the latest go-f3 and allow F3 chain exchange topics (#12893)
Upgrade to the latest go-f3 and allow F3 chain exchange topics

Upgrade to the latest `go-f3` and add the F3 chain exchange topics to
the allowed topic list for both static and dynamic manifests.

Fixes https://github.com/filecoin-project/go-f3/issues/809
2025-02-12 14:43:23 +00:00
dee78a3857 chore(test): skip unfixed flaky gateway limits test (#12888) 2025-02-11 06:08:15 +00:00
e7db584232 feat(gateway): add F3GetCertificate & F3GetLatestCertificate to gateway (#12778) 2024-12-12 11:48:42 +00:00
a704e4710d chore: delete STM annotations (#12752)
Signed-off-by: Jakub Sztandera <oss@kubuxu.com>
2024-12-05 16:45:07 +11:00
a7b1db5f04 fix: address issues raised from code review 2024-08-09 11:03:28 +10:00
c4b699a051 feat!: make max-filters configurable, count combined subs+filters
* CLI takes --eth-max-filters-per-conn
* gateway.NewNode() now takes the API plus an optional list of Options
2024-08-09 11:03:28 +10:00
1fd00bcf22 feat: gateway: auto-cleanup of installed filters when ws connection ends 2024-08-09 11:03:28 +10:00
f8981cbe16 fix!: gateway: limit stateful calls to websockets
Ref: https://github.com/filecoin-project/go-jsonrpc/pull/118
Ref: https://github.com/filecoin-project/lotus/issues/11589
Ref: https://github.com/filecoin-project/lotus/issues/11153
2024-08-09 11:03:28 +10:00
c90cbbd35b fix!: gateway: fix rate limiting, general cleanup
Minor API changes:

* gateway.NewRateLimiterHandler and gateway.NewConnectionRateLimiterHandler have
  been replaced with gateway.NewRateLimitHandler.
* The handlers returned by both gateway.NewRateLimitHandler and the primary
  gateway.Handler return an http.Handler augmented with a Shutdown(ctx) method
  to be used for graceful cleanup of resources.

Fix:

* --per-conn-rate-limit was previously applied as a global rate limiter,
  effectively making it have the same impact as --rate-limit. This change fixes
  the behaviour such that --per-conn-rate-limit is applied as a API call
  limiter within a single connection (i.e. a WebSocket connection). The rate
  is specified as tokens-per-second, where tokens are relative to the expense
  of the API call being made.
2024-08-09 11:03:28 +10:00
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
b95e95f4d6 feat: SPTool (#11788)
* sptool: Initial structure

* sptool: Port lotus-miner actor withdraw

* sptool: Make cli docsgen happy

* actors are done

* info

* proving

* sptool the rest

* fixed gitignore

* lints

* oops

* 2

* terminate

* fixes

* sptool: improve sectors list

---------

Co-authored-by: Łukasz Magiera <magik6k@gmail.com>
2024-04-01 10:30:35 -05:00
1286d76988 gateway: eth_subscribe support 2023-01-31 10:28:12 +01:00
99e7c322eb More wip 2022-09-27 16:08:04 +00:00
08b22edd89 fix make gen 2022-08-29 16:25:30 +02:00
e65fae28de chore: fix imports 2022-06-14 17:00:51 +02:00
e645e8aa7c Merge branch 'master' into rate-limit-gateway 2022-06-01 00:58:23 -07:00
2b0d0ce224 fix itests 2022-05-23 14:59:57 -07:00
44264dccba fix integration test 2022-05-20 03:48:10 -07:00
c9d3652357 Merge branch 'master' into rate-limit-gateway 2022-05-19 14:25:36 -07:00
23378f8710 Fix flaky test 2022-05-04 15:48:44 -04:00
9fd3f3f73a fix itests 2022-04-20 20:51:15 -07:00
a64f2421d2 Annotate 'incoming' subsystem 2021-12-14 11:33:33 +01:00
0addca1070 Fix bad annotations 2021-12-13 13:41:04 +01:00
0169d0dafd Annotate state feature tests 2021-12-10 16:08:25 +01:00
95f86f9de0 Annotate feature syncer 2021-12-10 11:33:29 +01:00
566a9d5541 fix signature 2021-07-06 18:12:30 +02:00
4f0a96c9c7 resolved conflicts 2021-06-30 13:16:52 +02:00
f4d0db83d8 Merge branch 'raulk/circleci-dynamic' into raulk/itests-refactor-kit 2021-06-23 17:33:17 +01:00
21b51328f9 adding TestDealWithMarketAndMinerNode 2021-06-23 12:44:52 +02:00
7fb93d4585 refactor kit.NewDealHarness to include main miner and market node 2021-06-23 11:24:55 +02:00
539f8c1f61 fix test that references private symbols; avoid hacky test selection flags. 2021-06-22 21:39:20 +01:00
120dd14979 avoid double close. 2021-06-22 17:18:07 +01:00
71a7270c98 cleanup gateway RPC. 2021-06-22 16:36:06 +01:00
83ee345b1c Merge branch 'master' into raulk/itests-refactor-kit 2021-06-21 18:19:26 +01:00
8a418bf982 rename {kit2=>kit}. 2021-06-18 19:45:29 +01:00
3d8eb374bd cleaner instantiation of lite and gateway nodes + general cleanup. 2021-06-18 19:23:42 +01:00
16cad0e01a refactor: convert gateway tests to kit2 2021-06-15 11:46:32 +02:00
3d086dfb43 changes as per review 2021-06-14 09:40:34 +05:30
e84b8ab3a0 move new kit into kit2, re-enable unmigrated tests against kit1. 2021-06-11 18:26:25 +01:00
fd783a6862 fix gateway URL. 2021-06-10 00:15:29 +01:00
2bcedcf55f initial version of the new itest kit.
Still need to migrate all integration tests, add godocs,
and probably zap bugs.
2021-05-26 00:04:13 +01:00
75c88d0385 make gateway tests use gateway rpc setup methods. 2021-05-23 18:57:04 +01:00
63f929541f itests: fix gateway tests parameters. 2021-05-21 17:20:56 +01:00
bf36891972 fix lint errors. 2021-05-21 15:02:03 +01:00
25daa0c8e4 itests: create deal harness. 2021-05-20 16:12:42 +01:00
1902c4c687 itests: rename Builder methods. 2021-05-20 12:17:41 +01:00
06b8ee5b95 Merge branch 'master' into raulk/itests 2021-05-20 11:56:43 +01:00
2a70ff96bf move the gateway test to itests package. 2021-05-19 17:34:48 +01:00