lotus/documentation/misc/actors_version_checklist.md
2021-05-10 19:46:44 -04:00

672 B

Actor version integration checklist

  • Import new actors
  • Generate adapters
    • Add the new version in chain/actors/agen/main.go
    • Update adapter code in chain/actors/builtin if needed
  • Update chain/actors/policy/policy.go
  • Update chain/actors/version.go
  • Register in chain/vm/invoker.go
  • Register in chain/vm/mkactor.go
  • Update chain/types/state.go
  • Update chain/state/statetree.go
  • Update chain/stmgr/forks.go
    • Schedule
    • Migration
  • Define upgrade heights in build/params_
  • Update upgrade schedule in api/test/test.go
  • Register in init in chain/stmgr/utils.go