- builtin-actors
allinone: all-bundles bundle-wallaby bundle-devnet-wasm
cd ./output && \
tar -cf v8.tar.zst --use-compress-program zstd -- *.car && \
cp -f v8.tar.zst ../../lotus/build/actors/v8.tar.zst && \
cp -f builtin-actors-butterflynet.car ../../lotus/build/genesis/butterflynet.car && \
cp -f builtin-actors-calibrationnet.car ../../lotus/build/genesis/calibnet.car && \
cp -f builtin-actors-devnet-wasm.car ../../lotus/build/genesis/devnet.car && \
cp -f builtin-actors-mainnet.car ../../lotus/build/genesis/mainnet.car && \
rm ./*.car ./*.zst && \
cd ../../lotus && \
(make gen 2>/dev/null || make gen) && \
git checkout chain/state && \
make clean 2k
.PHONY: allinone
- lotus
export LOTUS_USE_FVM_CUSTOM_BUNDLE=1
export LOTUS_VM_ENABLE_TRACING=1
// chain/state/statetree.go
case network.Version13, network.Version14, network.Version15, network.Version16:=>case network.Version13, network.Version14, network.Version15, network.Version16, network.Version(18):
# 如果出错,修改api/proxy_gen.go 解决冲突, 重新编译
make gen
- 查看当前节点所有的 actors
lotus state list-actors
- 查看当前节点所有的 miner
lotus state list-miners
- 查看 miner 信息
lotus state miner-info miner-id
- 产看当前所部署的 builtin-actors cid
lotus state actor-cids
- 查看 actor 信息
lotus state get-actor actor-id
- install actor
lotus chain install-actor
- create actor
lotus chain create-actor cid
- invoke actor
lotus chain invoke actor-id method-id params
- miner peer id
lotus-miner net id
- 创建 miner
- 变更 owner
- 变更 woker