ref-fvm icon indicating copy to clipboard operation
ref-fvm copied to clipboard

fix:set sys code cid

Open hunjixin opened this issue 3 years ago • 3 comments

hunjixin avatar Aug 15 '22 09:08 hunjixin

Codecov Report

Merging #714 (75c2ed1) into master (7c1e9ab) will increase coverage by 0.01%. The diff coverage is n/a.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #714      +/-   ##
==========================================
+ Coverage   50.65%   50.66%   +0.01%     
==========================================
  Files         120      120              
  Lines        9742     9742              
==========================================
+ Hits         4935     4936       +1     
+ Misses       4807     4806       -1     
Impacted Files Coverage Δ
ipld/amt/src/node.rs 86.82% <0.00%> (+0.25%) :arrow_up:

codecov-commenter avatar Aug 15 '22 09:08 codecov-commenter

Context?

Stebalien avatar Aug 16 '22 04:08 Stebalien

in sdk, use this tester to run testing(include actor install and create), for install and create operation, this tester need to find init_code_cid actor cache. this cache was build when instantiate_machine from this code cid. so when running install actor, the message would got panic ( actor code not found).

only init_code_cid can also work, sys_code_cid,accounts_code_cid is just added by hand

hunjixin avatar Aug 16 '22 06:08 hunjixin