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:
@@ -475,7 +475,7 @@ Inputs:
|
||||
],
|
||||
"Bw==",
|
||||
10101,
|
||||
20
|
||||
21
|
||||
]
|
||||
```
|
||||
|
||||
|
||||
@@ -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.
|
||||
|
||||
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user