filecoin-project / filecoin-project/specs
On the state of StateTree and the emergence of ActorID's
Open
- Dominant language
- SCSS
- Stars
- 363
- Forks
- 164
- PR merge metrics
- No merged PRs in 30d
Description
- Why are there **two** maps on the `StateTree`?
- Why is the actor state map `Address -> ActorState` instead of `ActorID -> ActorState`
```go
// current StateTree on the spec
type StateTree struct {
SystemActors {ActorName: addr.Address}
ActorStates {addr.Address: actor.ActorState}
}
```
```go
// proposed
type StateTree struct {
ActorStates {actor.ActorID: actor.ActorState}
}
```
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.