Skip to content

Commit

Permalink
docs: add docs for actors/types
Browse files Browse the repository at this point in the history
  • Loading branch information
simlecode committed Jan 31, 2023
1 parent 866d788 commit dfceae8
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions venus-shared/actors/types/docs.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
[`venus/venus-shared/actors/builtin/multisig/message.v0.go`](#https://github.com/filecoin-project/venus/blob/master/venus-shared/actors/builtin/multisig/message.v0.go#L27) 需要引用结构体 `Message`[`venus/venus-shared/actors/builtin/init/actor.go`](#https://github.com/filecoin-project/venus/blob/master/venus-shared/actors/builtin/init/actor.go#L41) 需要引用结构体 `Actor`,若把 `Message``Actor` 定义在 `venus/venus-shared/types` 包中,会导致 `venus/venus-shared/actors``venus/venus-shared/types`**循环引用问题**,所以把一些类型的定义放到了本包中。

0 comments on commit dfceae8

Please sign in to comment.