11 Commits

Author SHA1 Message Date
312fa3a5cc Simplify code generation logic for a faster and better UX (#12493)
The changes here simplify the string of targets executed as part of
`make gen`. The simplifications include:
* parallelised code generation whenever possible
* re-implementation of documentation generation for a significant
  simplification and improved readability.
* unified mocks generation to avoid multiple slow calls to `go run` per
  package.

Note, the changes introduced here are purely mechanical and do not alter
the Lotus node functionality.

Fixes #8392
2024-09-20 16:32:54 +00:00
e51f3e9b15 fix: eth: incorrect struct tags (#10309) 2023-02-17 15:06:58 -08:00
6491becbe1 rpc: Switch eth_subscribe to reverse calls 2023-01-31 10:28:12 +01:00
0efca4d266 introduce v9 actors and nv17 2022-09-09 21:40:15 -04:00
89138bab4d Simplify retrieval APIs 2021-11-22 12:45:42 +01:00
76a9f4241b feat: Graceful error when api impl is nil 2021-07-26 13:51:37 +02:00
09c374cdde api stub codegen 2021-04-03 13:12:59 +02:00
c25190bd8c api: struct.go -> proxy_gen.go 2021-03-25 15:11:37 +01:00
7a23b411ae Merge apistruct with the api package 2021-03-25 15:10:08 +01:00
3fe4b50a13 apigen: Work with versioned apis 2021-03-23 17:01:56 +01:00
c41777dcd2 API proxy struct codegen (#5854)
* mostly working api proxy gen

* api: Consistent api names

* fix docsgen

* regenerate api struct

* api: expand external interfaces

* Add missing gen files

* apigen: fix perm detection

* api: Move perm tags to the interface

* gofmt

* worker perms

* docsgen

* docsgen: ignore tag comments

* apigen: add codegen warning

* gofmt

* missing actor type

* docsgen

* make linter happy

* fix lint

* apigen: use directives for tags

* docsgen

* regen openrpc docs
2021-03-23 13:42:56 +01:00