feat: introduce local nv21 skeleton

Introduce nv21 skeleton for local testing:

- Use local go-state-types with actor_version_checklist changes: https://github.com/filecoin-project/go-state-types/blob/master/actors_version_checklist.md
- Imports mock v12-actors bundle
- Define upgrade heights
- Generate adapters
- Add upgrade schedule and migration
- Add actorstype to the NewActorRegistry in /chain/consensus/computestate.go
- Add upgrade field to api/types.go/ForkUpgradeParams
- Add upgrade to node/impl/full/state.go
- Add network version to chain/state/statetree.go
- make jen
- make docsgen-cli
This commit is contained in:
Phi
2023-07-13 15:47:18 +02:00
committed by Łukasz Magiera
parent 43ac79944f
commit c7b9633160
58 changed files with 3064 additions and 91 deletions
+1 -1
View File
@@ -475,7 +475,7 @@ Inputs:
],
"Bw==",
10101,
20
21
]
```
+5 -4
View File
@@ -4729,7 +4729,7 @@ Perms: read
Inputs:
```json
[
20
21
]
```
@@ -4744,7 +4744,7 @@ Perms: read
Inputs:
```json
[
20
21
]
```
@@ -5445,7 +5445,8 @@ Response:
"UpgradeSharkHeight": 10101,
"UpgradeHyggeHeight": 10101,
"UpgradeLightningHeight": 10101,
"UpgradeThunderHeight": 10101
"UpgradeThunderHeight": 10101,
"UpgradeWatermelonHeight": 10101
}
}
```
@@ -6370,7 +6371,7 @@ Inputs:
]
```
Response: `20`
Response: `21`
### StateReadState
StateReadState returns the indicated actor's state.
+5 -4
View File
@@ -6166,7 +6166,7 @@ Perms: read
Inputs:
```json
[
20
21
]
```
@@ -6181,7 +6181,7 @@ Perms: read
Inputs:
```json
[
20
21
]
```
@@ -6957,7 +6957,8 @@ Response:
"UpgradeSharkHeight": 10101,
"UpgradeHyggeHeight": 10101,
"UpgradeLightningHeight": 10101,
"UpgradeThunderHeight": 10101
"UpgradeThunderHeight": 10101,
"UpgradeWatermelonHeight": 10101
}
}
```
@@ -7890,7 +7891,7 @@ Inputs:
]
```
Response: `20`
Response: `21`
### StateReadState
StateReadState returns the indicated actor's state.