Reference implementation of the Filecoin protocol, written in Go
OTHER License
Bot releases are hidden (Show)
Published by arajasek over 1 year ago
This is the second release candidate for the upcoming feature release v1.23.3 of Lotus. This feature release includes numerous improvements and enhancements for node operators, ETH RPC-providers and storage providers.
LOTUS_EXEC_TRACE_CACHE_SIZE
to configure execution trace cache size (filecoin-project/lotus#10585)
For a full changelog, see here.
Published by arajasek over 1 year ago
This is the first candidate for the upcoming feature release v1.23.3 of Lotus. This feature release includes numerous improvements and enhancements for node operators, ETH RPC-providers and storage providers.
LOTUS_EXEC_TRACE_CACHE_SIZE
to configure execution trace cache size (filecoin-project/lotus#10585)
For a full changelog, see here.
Published by shrenujbansal over 1 year ago
This is a patch release on top of 1.22.1 containing the fix for https://github.com/filecoin-project/lotus/issues/10906
This fixes the syncing issue seen by many node operators/SPs, usually when performing actions which would result in msgs staying in their mpool for longer periods of time (ex. PSD) resulting in these msgs being republished multiple times and possibly lowering your peer scores. Please refer to the above issue for more details.
We'd recommend everyone to accept this fix to better overall network health
Published by shrenujbansal over 1 year ago
This is a patch release on top of 1.23.1 containing the fix for https://github.com/filecoin-project/lotus/issues/10906
This fixes the syncing issue seen by many node operators/SPs, usually when performing actions which would result in msgs staying in their mpool for longer periods of time (ex. PSD) resulting in these msgs being republished multiple times and possibly lowering your peer scores. Please refer to the above issue for more details.
We'd recommend everyone to accept this fix to better overall network health
Published by shrenujbansal over 1 year ago
This is an optional feature release of Lotus. This feature release includes numerous improvements and enhancements for node operators, ETH RPC-providers and storage providers.
☢️ Upgrade Warnings ☢️
If you are upgrading to this release candidate from Lotus v1.22.1, please make sure to read the upgrade warnings section in the v1.23.0 release first.
🛣 Execution Lanes 🛣
This feature release introduces VM Execution Lanes! Execution lanes efficiently divide the workload between system processes (chainsync) and RPC requests. This way syncing the chain will not be at the mercy of responding to users' requests and RPC providers nodes should have less problems catching up.
To take advantage of VM Execution Lanes, you need to set up two environment variables:
LOTUS_FVM_CONCURRENCY
- read more about how this value should be set to here
LOTUS_FVM_CONCURRENCY_RESERVED = 4
🧱 Aggregation / Batching fixes 🔨
Numerous aggregation and batching fixes has been included in the feature release. Large ProveCommitAggregate
and PreCommitBatching
messages that exceeds the block limit will now automatically be split into smaller messages when sent to the chain.
Additionally we have added a new feature that staggers the amount of ProveCommit messages sent simulatanously to the chain if a storage provider has been aggregating many sectors in ProveCommitAggregate message, but at the time of publishing the BaseFee is below the aggregation threshold. This stagger feature prevents issues where some of the ProveCommit messages fail with the SysErrorOutOfGas message. You can tweak how many messages will be staggered per epoch by changing MaxSectorProveCommitsSubmittedPerEpoch
in the sealing section of the config.toml file.
NB: While these fixes are great for the reliability of aggregation and batching on the Lotus side, it has been uncovered that aggregating ProveCommit messages for sectors containing verified deals are currently more expensive then single messages due to an issue on the actors side. We therefore do not reccomend our users to aggregate ProveCommit messages when doing verified deals until that issue has been resolved. You can follow the discussion on resolving the issue on the actors side here.
Unsealing CLI/API
This feature release adds a dedicated lotus-miner sectors unseal
command and API, allowing you to unseal specific sealed sectors easily.
lotus-miner sectors unseal
cmd, and a API-method to unseal a sector.net connect
to miner address work (filecoin-project/lotus#10599)file does not exists
(filecoin-project/lotus#10588)Contributors
Contributor | Commits | Lines ± | Files Changed |
---|---|---|---|
vyzo | 70 | +1990/-429 | 135 |
Alfonso de la Rocha | 25 | +814/-299 | 56 |
Steven Allen | 14 | +125/-539 | 28 |
Shrenuj Bansal | 13 | +482/-138 | 52 |
Aayush | 17 | +317/-301 | 90 |
Łukasz Magiera | 13 | +564/-26 | 16 |
Jennifer Wang | 7 | +401/-140 | 10 |
Fridrik Asmundsson | 14 | +315/-84 | 20 |
Jorropo | 2 | +139/-137 | 74 |
Mikers | 6 | +114/-43 | 14 |
Hector Sanjuan | 5 | +92/-44 | 5 |
Ales Dumikau | 1 | +117/-0 | 10 |
Mike Seiler | 4 | +51/-51 | 6 |
zenground0 | 6 | +33/-25 | 8 |
Phi | 8 | +32/-10 | 10 |
Aayush Rajasekaran | 1 | +1/-32 | 2 |
Ian Davis | 2 | +7/-10 | 3 |
Marcel Telka | 1 | +5/-7 | 1 |
ychiao | 1 | +8/-3 | 2 |
jennijuju | 1 | +4/-4 | 8 |
adlrocha | 2 | +2/-2 | 2 |
Jiaying Wang | 1 | +0/-4 | 1 |
ZenGround0 | 1 | +2/-1 | 2 |
Zeng Li | 1 | +1/-1 | 1 |
Published by shrenujbansal over 1 year ago
This is the 4th release candidate of the upcoming optional feature release of Lotus v1.23.1.
☢️ Upgrade Warnings ☢️
net connect
to miner address work (filecoin-project/lotus#10599)file does not exists
(filecoin-project/lotus#10588)Contributors
Contributor | Commits | Lines ± | Files Changed |
---|---|---|---|
vyzo | 70 | +1990/-429 | 135 |
Alfonso de la Rocha | 25 | +814/-299 | 56 |
Steven Allen | 14 | +125/-539 | 28 |
Shrenuj Bansal | 13 | +482/-138 | 52 |
Aayush | 17 | +317/-301 | 90 |
Łukasz Magiera | 13 | +564/-26 | 16 |
Jennifer Wang | 7 | +401/-140 | 10 |
Fridrik Asmundsson | 14 | +315/-84 | 20 |
Jorropo | 2 | +139/-137 | 74 |
Mikers | 6 | +114/-43 | 14 |
Hector Sanjuan | 5 | +92/-44 | 5 |
Ales Dumikau | 1 | +117/-0 | 10 |
Mike Seiler | 4 | +51/-51 | 6 |
zenground0 | 6 | +33/-25 | 8 |
Phi | 8 | +32/-10 | 10 |
Aayush Rajasekaran | 1 | +1/-32 | 2 |
Ian Davis | 2 | +7/-10 | 3 |
Marcel Telka | 1 | +5/-7 | 1 |
ychiao | 1 | +8/-3 | 2 |
jennijuju | 1 | +4/-4 | 8 |
adlrocha | 2 | +2/-2 | 2 |
Jiaying Wang | 1 | +0/-4 | 1 |
ZenGround0 | 1 | +2/-1 | 2 |
Zeng Li | 1 | +1/-1 | 1 |
Published by shrenujbansal over 1 year ago
This is the 3rd release candidate of the upcoming optional feature release of Lotus v1.23.1.
☢️ Upgrade Warnings ☢️
net connect
to miner address work (filecoin-project/lotus#10599)file does not exists
(filecoin-project/lotus#10588)Contributors
Contributor | Commits | Lines ± | Files Changed |
---|---|---|---|
vyzo | 70 | +1990/-429 | 135 |
Alfonso de la Rocha | 25 | +814/-299 | 56 |
Steven Allen | 14 | +125/-539 | 28 |
Shrenuj Bansal | 13 | +482/-138 | 52 |
Aayush | 17 | +317/-301 | 90 |
Łukasz Magiera | 13 | +564/-26 | 16 |
Jennifer Wang | 7 | +401/-140 | 10 |
Fridrik Asmundsson | 14 | +315/-84 | 20 |
Jorropo | 2 | +139/-137 | 74 |
Mikers | 6 | +114/-43 | 14 |
Hector Sanjuan | 5 | +92/-44 | 5 |
Ales Dumikau | 1 | +117/-0 | 10 |
Mike Seiler | 4 | +51/-51 | 6 |
zenground0 | 6 | +33/-25 | 8 |
Phi | 8 | +32/-10 | 10 |
Aayush Rajasekaran | 1 | +1/-32 | 2 |
Ian Davis | 2 | +7/-10 | 3 |
Marcel Telka | 1 | +5/-7 | 1 |
ychiao | 1 | +8/-3 | 2 |
jennijuju | 1 | +4/-4 | 8 |
adlrocha | 2 | +2/-2 | 2 |
Jiaying Wang | 1 | +0/-4 | 1 |
ZenGround0 | 1 | +2/-1 | 2 |
Zeng Li | 1 | +1/-1 | 1 |
Published by shrenujbansal over 1 year ago
This is the second release candidate of the upcoming optional feature release of Lotus v1.23.1.
☢️ Upgrade Warnings ☢️
net connect
to miner address work (filecoin-project/lotus#10599)file does not exists
(filecoin-project/lotus#10588)Contributors
Contributor | Commits | Lines ± | Files Changed |
---|---|---|---|
vyzo | 70 | +1990/-429 | 135 |
Alfonso de la Rocha | 25 | +814/-299 | 56 |
Steven Allen | 14 | +125/-539 | 28 |
Shrenuj Bansal | 13 | +482/-138 | 52 |
Aayush | 17 | +317/-301 | 90 |
Łukasz Magiera | 13 | +564/-26 | 16 |
Jennifer Wang | 7 | +401/-140 | 10 |
Fridrik Asmundsson | 14 | +315/-84 | 20 |
Jorropo | 2 | +139/-137 | 74 |
Mikers | 6 | +114/-43 | 14 |
Hector Sanjuan | 5 | +92/-44 | 5 |
Ales Dumikau | 1 | +117/-0 | 10 |
Mike Seiler | 4 | +51/-51 | 6 |
zenground0 | 6 | +33/-25 | 8 |
Phi | 8 | +32/-10 | 10 |
Aayush Rajasekaran | 1 | +1/-32 | 2 |
Ian Davis | 2 | +7/-10 | 3 |
Marcel Telka | 1 | +5/-7 | 1 |
ychiao | 1 | +8/-3 | 2 |
jennijuju | 1 | +4/-4 | 8 |
adlrocha | 2 | +2/-2 | 2 |
Jiaying Wang | 1 | +0/-4 | 1 |
ZenGround0 | 1 | +2/-1 | 2 |
Zeng Li | 1 | +1/-1 | 1 |
Published by shrenujbansal over 1 year ago
This is the first release candidate of the upcoming optional feature release of Lotus v1.23.1.
☢️ Upgrade Warnings ☢️
net connect
to miner address work (filecoin-project/lotus#10599)file does not exists
(filecoin-project/lotus#10588)Contributors
Contributor | Commits | Lines ± | Files Changed |
---|---|---|---|
vyzo | 70 | +1990/-429 | 135 |
Alfonso de la Rocha | 25 | +814/-299 | 56 |
Steven Allen | 14 | +125/-539 | 28 |
Shrenuj Bansal | 13 | +482/-138 | 52 |
Aayush | 17 | +317/-301 | 90 |
Łukasz Magiera | 13 | +564/-26 | 16 |
Jennifer Wang | 7 | +401/-140 | 10 |
Fridrik Asmundsson | 14 | +315/-84 | 20 |
Jorropo | 2 | +139/-137 | 74 |
Mikers | 6 | +114/-43 | 14 |
Hector Sanjuan | 5 | +92/-44 | 5 |
Ales Dumikau | 1 | +117/-0 | 10 |
Mike Seiler | 4 | +51/-51 | 6 |
zenground0 | 6 | +33/-25 | 8 |
Phi | 8 | +32/-10 | 10 |
Aayush Rajasekaran | 1 | +1/-32 | 2 |
Ian Davis | 2 | +7/-10 | 3 |
Marcel Telka | 1 | +5/-7 | 1 |
ychiao | 1 | +8/-3 | 2 |
jennijuju | 1 | +4/-4 | 8 |
adlrocha | 2 | +2/-2 | 2 |
Jiaying Wang | 1 | +0/-4 | 1 |
ZenGround0 | 1 | +2/-1 | 2 |
Zeng Li | 1 | +1/-1 | 1 |
Published by ZenGround0 over 1 year ago
This is the stable feature release for the upcoming MANDATORY network upgrade at 2023-04-27T13:00:00Z
, epoch 2809800
. This feature release delivers the nv19 Lighting and nv20 Thunder network upgrade for mainnet, and includes numerous improvements and enhancements for node operators, ETH RPC-providers and storage providers.
Please read carefully through the upgrade warnings section if you are upgrading from a v1.20.X release, or the v1.22.0 release. If you are upgrading from a v1.21.0-rcX these warnings should be familiar to you.
EnableSplitstore
option in your config.toml
file. To enable SplitStore, set EnableSplitstore=true
, and to disable it, set EnableSplitstore=false
. It's important to note that your Lotus node will not start unless this configuration is properly set. Set it to false if you are running a full archival node!
FFI_USE_OPENCL=1
flag when building from source. On the other hand, if you want to disable GPUs altogether, you can use the FFI_USE_GPU=0
environment variable when building from source.lotus-miner sectors extend
command has been refactored to the functionality of lotus-miner sectors renew
.lotus state exec-trace
, lotus state replay
, etc.), has changed to account for changes introduced by the by the FVM. Please make sure to read the Execution trace format change
section carefully, as these are interface breaking changes
LOTUS_FVM_CONCURRENCY
enviroment variable. It is set to 4 threads by default. Recommended formula for concurrency == YOUR_RAM/4 , but max during a network upgrade is 24. If you are a Storage Provider and are pushing many messages within a short period of time, exporting LOTUS_SKIP_APPLY_TS_MESSAGE_CALL_WITH_GAS=1
will also help with keeping in sync.Execution traces (returned from lotus state exec-trace
, lotus state replay
, etc.), has changed to account for changes introduced by the FVM. Specifically:
Msg
field no longer matches the Filecoin message format as many of the message fields didn't make sense in on-chain sub-calls. Instead, it now has the fields To
, From
, Value
, Method
, Params
, and ParamsCodec
where ParamsCodec
is a new field indicating the IPLD codec of the parameters.
Msg.CID
field has been removed. This field is still present in top-level invocation results, just not inside the execution trace itself.MsgRct
field no longer includes a GasUsed
field and now has a ReturnCodec
field to indicating the IPLD codec of the return value.Error
and Duration
fields have been removed as these are not set by the FVM. The top-level message "invocation result" retains the Error
and Duration
fields, they've only been removed from the trace itself.v...
) or source location information (loc
) as neither field is set by the FVM.A note on "codecs": FVM parameters and return values are IPLD blocks where the "codec" specifies the data encoding. The codec will generally be one of:
0x51
, 0x71
- CBOR or DagCBOR. You should generally treat these as equivalent.0x55
- Raw bytes.0x00
- Nothing. If the codec is 0x00
, the parameter and/or return value should be empty and should be treated as "void" (not specified).{
"Msg": {
"Version": 0,
"To": "f01234",
"From": "f04321",
"Nonce": 1,
"Value": "0",
"GasLimit": 0,
"GasFeeCap": "1234",
"GasPremium": "1234",
"Method": 42,
"Params": "<base64-data-or-null>",
"CID": {
"/": "bafyxyz....."
},
},
"MsgRct": {
"ExitCode": 0,
"Return": "<base64-data-or-null>",
"GasUsed": 12345,
},
"Error": "",
"Duration": 568191845,
"GasCharges": [
{
"Name": "OnMethodInvocation",
"loc": null,
"tg": 23856,
"cg": 23856,
"sg": 0,
"vtg": 0,
"vcg": 0,
"vsg": 0,
"tt": 0
},
{
"Name": "wasm_exec",
"loc": null,
"tg": 1764,
"cg": 1764,
"sg": 0,
"vtg": 0,
"vcg": 0,
"vsg": 0,
"tt": 0
},
{
"Name": "OnSyscall",
"loc": null,
"tg": 14000,
"cg": 14000,
"sg": 0,
"vtg": 0,
"vcg": 0,
"vsg": 0,
"tt": 0
},
],
"Subcalls": [
{
"Msg": { },
"MsgRct": { },
"Error": "",
"Duration": 1235,
"GasCharges": [],
"Subcalls": [],
},
]
}
{
"Msg": {
"To": "f01234",
"From": "f04321",
"Value": "0",
"Method": 42,
"Params": "<base64-data-or-null>",
"ParamsCodec": 81
},
"MsgRct": {
"ExitCode": 0,
"Return": "<base64-data-or-null>",
"ReturnCodec": 81
},
"GasCharges": [
{
"Name": "OnMethodInvocation",
"loc": null,
"tg": 23856,
"cg": 23856,
"tt": 0
},
{
"Name": "wasm_exec",
"loc": null,
"tg": 1764,
"cg": 1764,
"sg": 0,
"tt": 0
},
{
"Name": "OnSyscall",
"loc": null,
"tg": 14000,
"cg": 14000,
"sg": 0,
"tt": 0
},
],
"Subcalls": [
{
"Msg": { },
"MsgRct": { },
"GasCharges": [],
"Subcalls": [],
},
]
}
SplitStore
This feature release introduces numerous improvements and fixes to tackle SplitStore related issues that has been reported. With this feature release SplitStore is automatically activated by default on new nodes. However, for existing Lotus users, you need to explicitly configure SplitStore by uncommenting the EnableSplitstore
option in your config.toml
file. To enable SplitStore, set EnableSplitstore=true
, and to disable it, set EnableSplitstore=false
. It's important to note that your Lotus node will not start unless this configuration is properly set. Set it to false if you are running a full archival node!
SplitStore also has some new configuration settings that you can set in your config.toml file:
HotstoreMaxSpaceTarget
suggests the max allowed space (in bytes) the hotstore can take.HotstoreMaxSpaceThreshold
a moving GC will be triggered when total moving size exceeds this threshold (in bytes).HotstoreMaxSpaceSafetyBuffer
a safety buffer to prevent moving GC from an overflowing disk.The SplitStore also has two new commands:
lotus chain prune hot
is a much less resource-intensive GC and is best suited for situations where you don't have the spare disk space for a full GC.lotus chain prune hot-moving
will run a full moving garbage collection of the hotstore. This commands create a new hotstore before deleting the old one so you need working room in the hotstore directory. The current size of a fully GC'd hotstore is around 295 GiB so you need to make sure you have at least that available.You can read more about the new SplitStore commands in the documentation.
RPC API improvements
This feature release includes all the RPC API improvements made in the Lotus v1.20.x patch releases. It includes an updated FFI that sets the FVM parallelism to 4 by default.
Node operators with higher memory specs can experiment with setting LOTUS_FVM_CONCURRENCY to higher values, up to 48, to allow for more concurrent FVM execution.
Experimental scheduler assigners
In this release there are four new expirmental scheduler assigners:
experiment-spread-qcount
- similar to the spread assigner but also takes into account task counts which are in running/preparing/queued states.experiment-spread-tasks
- similar to the spread assigner, but counts running tasks on a per-task-type basisexperiment-spread-tasks-qcount
- similar to the spread assigner, but also takes into account task counts which are in running/preparing/queued states, as well as counting running tasks on a per-task-type basis. Check the results for this assigner on (storage-only lotus-workers here).experiment-random
- In each schedule loop the assinger figures a set of all workers which can handle the task and then picks a random one. Check the results for this assigner on (storage-only lotus-workers here).Graceful shutdown of lotus-workers
We have cleaned up some commands in the lotus-worker
to make it less confusing how to gracefully shutting down a lotus-worker
while there are incoming sealing tasks in the pipeline. To shut down a lotus-worker
gracefully:
lotus-worker tasks disable --all
and wait for the worker to finish processing its current tasks.lotus-worker stop
to detach it and do maintenance/upgrades.CLI speedups
The lotus-miner sector list
is now running in parallel - which should speed up the process from anywhere between 2x-10x+. You can tune it additionally with the check-parallelism
option in the command. The Lotus-Miner info
command also has a large speed improvement, as calls to the lotus legacy market has been removed.
lotus chain prune hot
command, to run the garbage collection of the hotstore in a user driven way.lotus filplus list-claims
. And lotus filplus remove-expired-claims
to remove expired claims.lotus-miner sector list
checks run in parallel.lotus evm bytecode
command to fetch a contract's bytecode.lotus-miner sectors extend
with FIP-0045 logic to include the ability to drop claims and set the maximum number of messages contained in a message.all
flag for the lotus-worker tasks enable/disable
cmds.lotus-shed
commands, lotus-shed cid bytes
and lotus-shed cid cbor
to serialize cid to cbor and cid to bytes.lotus-shed stat-actor
and lotus-shed stat-obj
that work with an offline lotus repo to report dag size stats.lotus-shed address encode
for encoding a filecoin address to hex bytes.lotus chain export-range
command that can create archival-grade ranged exports of the chain as quickly as possible.lotus-miner sectors extend
command to have the functionality of lotus-miner sectors renew
. The lotus-miner sectors renew
command has been deprecated.lotus-shed
. You can now use lotus-shed actor propose-change-beneficiary
and lotus-shed actor confirm-change-beneficiary
to change beneficiary addresses.lotus-miner proving compute window-post
paniced when trying to make skipped sectors human readable.lotus-miner proving compute window-post
human readable.lotus-worker set
command (filecoin-project/lotus#10384)
lotus-worker set
command. This command will be deprecated later.wait-quiet
cmd (filecoin-project/lotus#10331)
lotus-worker wait-quiet
command. This command will be deprecated later.lotus-miner backup
or lotus backup
commandlotus-miner sectors set-seal-delay
in secondslotus-miner sectors extend
command gets the correct sector number.StateNetworkName
, MpoolGetNonce
, StateCall
and StateDecodeParams
methods to Lotus Gateway.Lotus-Miner info
. Speeds up the command significantly.New Issue
(filecoin-project/lotus#10268)Contributor | Commits | Lines ± | Files Changed |
---|---|---|---|
Hannah Howard | 2 | +2909/-6026 | 84 |
Łukasz Magiera | 42 | +2967/-1848 | 95 |
Steven Allen | 20 | +1703/-1345 | 88 |
Alfonso de la Rocha | 17 | +823/-1808 | 86 |
Peter Rabbitson | 9 | +1957/-219 | 34 |
Geoff Stuart | 12 | +818/-848 | 29 |
hannahhoward | 5 | +507/-718 | 36 |
Hector Sanjuan | 6 | +443/-726 | 35 |
Kevin Li | 1 | +1124/-14 | 22 |
zenground0 | 30 | +791/-269 | 88 |
frrist | 1 | +992/-16 | 13 |
Travis Person | 4 | +837/-53 | 24 |
Phi | 20 | +622/-254 | 34 |
Ian Davis | 7 | +35/-729 | 20 |
Aayush | 10 | +378/-177 | 40 |
Raúl Kripalani | 15 | +207/-138 | 19 |
Arsenii Petrovich | 7 | +248/-94 | 30 |
ZenGround0 | 5 | +238/-39 | 15 |
Neel Virdy | 1 | +109/-107 | 58 |
ychiao | 1 | +135/-39 | 3 |
Jorropo | 2 | +87/-82 | 67 |
Marten Seemann | 8 | +69/-64 | 17 |
Rod Vagg | 1 | +55/-16 | 3 |
Masih H. Derkani | 3 | +39/-27 | 12 |
raulk | 2 | +30/-29 | 5 |
dependabot[bot] | 4 | +37/-17 | 8 |
beck | 2 | +38/-2 | 2 |
Jennifer Wang | 4 | +20/-19 | 19 |
Richard Guan | 3 | +28/-8 | 5 |
omahs | 7 | +14/-14 | 7 |
dirkmc | 2 | +19/-7 | 6 |
David Choi | 2 | +16/-5 | 2 |
Mike Greenberg | 1 | +18/-1 | 1 |
Adin Schmahmann | 1 | +19/-0 | 2 |
Phi-rjan | 5 | +12/-4 | 5 |
Dirk McCormick | 2 | +6/-6 | 3 |
Aayush Rajasekaran | 2 | +9/-3 | 2 |
Jiaying Wang | 5 | +6/-4 | 5 |
Anjor Kanekar | 1 | +5/-5 | 1 |
vyzo | 1 | +3/-3 | 2 |
0x5459 | 1 | +1/-1 | 1 |
Published by arajasek over 1 year ago
This is a MANDATORY hotfix release that fixes a consensus-critical bug that was in v1.22.0 -- the necessary fix is https://github.com/filecoin-project/ref-fvm/pull/1750 and it is integrated into lotus via https://github.com/filecoin-project/lotus/pull/10735.
You can NOT use 1.22.0 for the nv19 upgrade, you MUST be on 1.22.1 or higher.
This is the stable release of Lotus v1.22.1 for the upcoming MANDATORY network upgrade at 2023-04-27T13:00:00Z
, epoch 2809800
. This release delivers the nv19 Lighting and nv20 Thunder network upgrade for mainnet.
Note that you must be on a go version higher than Go 1.18.8, but lower than Go v1.20.0. We would recommend Go 1.19.7.
The Lighting and Thunder upgrade introduces the following Filecoin Improvement Proposals (FIPs), delivered by builtin-actors v11 (see actors v11.0.0):
In light of the recent degraded chain quality on the mainnet an expedited nv19 upgrade has been proposed and accepted to roll out the market cron mitigation (FIP0060) that will improve block validation times, and with that the delay in block production that is causing a decrease in the chain quality currently.
With this expedited roll out we want to inform you of some key changes and important dates:
The Lighting and Thunder upgrade now implements the following Filecoin Improvement Proposals (FIPs), delivered by builtin-actors v11 (see actors v11.0.0):
Make sure that your lotus actor bundle matches the v11 actors manifest by running after upgrading:
lotus state actor-cids --network-version 19
Network Version: 19
Actor Version: 11
Manifest CID: bafy2bzacecnhaiwcrpyjvzl4uv4q3jzoif26okl3m66q3cijp3dfwlcxwztwo
Actor CID
datacap bafk2bzacebslykoyrb2hm7aacjngqgd5n2wmeii2goadrs5zaya3pvdf6pdnq
init bafk2bzaceckwf3w6n2nw6eh77ktmsxqgsvshonvgnyk5q5syyngtetxvasfxg
reward bafk2bzacebwjw2vxkobs7r2kwjdqqb42h2kucyuk6flbnyzw4odg5s4mogamo
cron bafk2bzacebpewdvvgt6tk2o2u4rcovdgym67tadiis5usemlbejg7k3kt567o
ethaccount bafk2bzaceclkmc4yidxc6lgcjpfypbde2eddnevcveo4j5kmh4ek6inqysz2k
evm bafk2bzacediwh6etwzwmb5pivtclpdplewdjzphouwqpppce6opisjv2fjqfe
storagemarket bafk2bzaceazu2j2zu4p24tr22btnqzkhzjvyjltlvsagaj6w3syevikeb5d7m
storagepower bafk2bzaceaxgloxuzg35vu7l7tohdgaq2frsfp4ejmuo7tkoxjp5zqrze6sf4
system bafk2bzaced7npe5mt5nh72jxr2igi2sofoa7gedt4w6kueeke7i3xxugqpjfm
account bafk2bzacealnlr7st6lkwoh6wxpf2hnrlex5sknaopgmkr2tuhg7vmbfy45so
placeholder bafk2bzacedfvut2myeleyq67fljcrw4kkmn5pb5dpyozovj7jpoez5irnc3ro
eam bafk2bzaceaelwt4yfsfvsu3pa3miwalsvy3cfkcjvmt4sqoeopsppnrmj2mf2
multisig bafk2bzaceafajceqwg5ybiz7xw6rxammuirkgtuv625gzaehsqfprm4bazjmk
paymentchannel bafk2bzaceb4e6cnsnviegmqvsmoxzncruvhra54piq7bwiqfqevle6oob2gvo
storageminer bafk2bzacec24okjqrp7c7rj3hbrs5ez5apvwah2ruka6haesgfngf37mhk6us
verifiedregistry bafk2bzacedej3dnr62g2je2abmyjg3xqv4otvh6e26du5fcrhvw7zgcaaez3a
github.com/filecoin-project/go-state-types (v0.11.0-rc1 -> v0.11.1):
Published by ZenGround0 over 1 year ago
This is the sixth release candidate for the upcoming MANDATORY 1.22.0 release of Lotus. This release will deliver the nv19 Lighting and nv20 Thunder network upgrade.
Note that this release candidate sets the calibration upgrade epoch, and does NOT set the epoch at which mainnet will upgrade; that detail will be finalized in the 1.22.0 release. Note that go version must be 1.19 to build this release.
The Lighting and Thunder upgrade introduces the following Filecoin Improvement Proposals (FIPs), delivered by builtin-actors v11 (see actors v11.0.0):
As you may have noticed, that we are doing a two-stage incremental network upgrades in this release. This essentially means that there will be two network versions rolled out together -- nv19 and nv20.
The two stage roll out is required for FIP-0061 - which introduces a new proof that reduces the grindability of windowPoSt and furthur secures the network. At the first upgrade, the new proof type will start to be accepted by the protocol, while the second upgrade (nv20) marks the spot when the old proof type will no longer be accepted. This allows for a smooth rollover period during which both proof types are accepted. Lotus will start generating the new proof types immediately after the nv19 upgrade.
This is something we've safely done before. The second upgrade is something of a "ghost" upgrade -- no migration runs, and no code changes, except that clients will start reporting the new network version of nv20 to the FVM.
In light of the recent degraded chain quality on the mainnet an expedited nv19 upgrade has been proposed and accepted to roll out the market cron mitigation (FIP0060) that will improve block validation times, and with that the delay in block production that is causing a decrease in the chain quality currently.
With this expedited roll out we want to inform you of some key changes and important dates:
The Lighting and Thunder upgrade now implements the following Filecoin Improvement Proposals (FIPs), delivered by builtin-actors v11 (see actors v11.0.0-rc.2):
This release candidate sets:
489094
, 2023-04-20T14:00:00Z
492214
, 2023-04-21T16:00:00Z
You may also check that your lotus actor bundle matches the v11 actors manifest by running
./lotus state actor-cids --network-version 19 Tue Apr 18 11:07:40 2023
Network Version: 19
Actor Version: 11
Manifest CID: bafy2bzaceajj76ms4q2ka3ckzj2iiifl7ewxqdpolshcmhml32sqwolrmsh6e
Actor CID
eam bafk2bzacebq2zzzkcra7ahantiq7xlkgcrkoq2azmeqpwhoie5gxcxhurbdp2
multisig bafk2bzaceavnestm7obwlj3moeewcnuomzigfzys4lt26s3l3psjeligf4hju
paymentchannel bafk2bzaceb4vefsbgswrciqo26wnacvqwpicqjfyicwsdjmv4rbcc4zeae72g
storagepower bafk2bzacebdoeoiayvshg4zaxygmpuituux3ccd4gxfl3ile7ckpsyy7kpnms
cron bafk2bzacediqvwudrujh7ejowrcumrnara7k2fonr35vulnggpwwwh3o32pmu
datacap bafk2bzaceb7jkx5kxwwbkw5ehz63sq2b6urouegn4cdczlziaw5ea44u67ock
account bafk2bzacecsf7v7mm4osq7cqbygyudg5zkwqbpbkmi3iluakugzvbd2cuucfw
ethaccount bafk2bzacebrtwz4nyl3nkgjfpvtqjrjixnbujkr72fwzf5bqhpqfo4hgbjqo2
init bafk2bzacebwfs5wna2dculc4mpl4a25cjrmguoscbebeb5g5yft4ntfpku7cu
placeholder bafk2bzacedfvut2myeleyq67fljcrw4kkmn5pb5dpyozovj7jpoez5irnc3ro
storagemarket bafk2bzacechvhqru32tw7zii2raii3upjrkybiubepjtartyhzibnac57gxyo
storageminer bafk2bzacedu6tzfpxwzqym3z2j252d57gqj3jduap7ijf5mczvhmsirs6wxfs
verifiedregistry bafk2bzacecjshlgoyim3r2uvhtjthu5udxpq5fvjy4pmpi3sy4v6a4chjvb4k
evm bafk2bzacecoxcwxbukue76b4rrqhnjywgzjdlhbbemma4kqdzalpkgtdpog7q
reward bafk2bzacedyl4uerjbw3tu5mcgkn7ftvr3j3poy4uv5tuzyuvcdinjb75cz3w
system bafk2bzaceatn5cj3jqmrug65ur26jhrzcgmishv5hjfswvsyxsieccchhwies
github.com/filecoin-project/go-state-types (v0.11.0-rc1 -> v0.11.0-rc2):
Published by ZenGround0 over 1 year ago
This is the first release candidate of the upcoming optional but highly recommended feature release of Lotus. It includes numerous improvements and enhancements for node operators, ETH RPC-providers and storage providers.
Note: this release is bumped from the v1.21.0-rcx plus all the changes from v1.22.0 that supports the upcoming nv19 upgrade, scheduled on Apr 27th. You can find more details about the upgrade here
Before upgrading to this feature release read carefully through these bullet points:
EnableSplitstore
option in your config.toml
file. To enable SplitStore, set EnableSplitstore=true
, and to disable it, set EnableSplitstore=false
. It's important to note that your Lotus node will not start unless this configuration is properly set. Set it to false if you are running a full archival node!
FFI_USE_OPENCL=1
flag when building from source. On the other hand, if you want to disable GPUs altogether, you can use the FFI_NO_GPU=1
environment variable when building from source.lotus-miner sectors extend
command has been refactored to the functionality of lotus-miner sectors renew
.lotus state exec-trace
, lotus state replay
, etc.), has changed to account for changes introduced by the by the FVM. Please make sure to read the Execution trace format change
section carefully, as these are interface breaking changes
LOTUS_FVM_CONCURRENCY
enviroment variable. It is set to 4 threads by default. Recommended formula for concurrency == YOUR_RAM/4 , but max is 128. If you are a Storage Provider and are pushing many messages within a short period of time, exporting LOTUS_SKIP_APPLY_TS_MESSAGE_CALL_WITH_GAS=1
will also help with keeping in sync.Execution traces (returned from lotus state exec-trace
, lotus state replay
, etc.), has changed to account for changes introduced by the FVM. Specifically:
Msg
field no longer matches the Filecoin message format as many of the message fields didn't make sense in on-chain sub-calls. Instead, it now has the fields To
, From
, Value
, Method
, Params
, and ParamsCodec
where ParamsCodec
is a new field indicating the IPLD codec of the parameters.
Msg.CID
field has been removed. This field is still present in top-level invocation results, just not inside the execution trace itself.MsgRct
field no longer includes a GasUsed
field and now has a ReturnCodec
field to indicating the IPLD codec of the return value.Error
and Duration
fields have been removed as these are not set by the FVM. The top-level message "invocation result" retains the Error
and Duration
fields, they've only been removed from the trace itself.v...
) or source location information (loc
) as neither field is set by the FVM.A note on "codecs": FVM parameters and return values are IPLD blocks where the "codec" specifies the data encoding. The codec will generally be one of:
0x51
, 0x71
- CBOR or DagCBOR. You should generally treat these as equivalent.0x55
- Raw bytes.0x00
- Nothing. If the codec is 0x00
, the parameter and/or return value should be empty and should be treated as "void" (not specified).{
"Msg": {
"Version": 0,
"To": "f01234",
"From": "f04321",
"Nonce": 1,
"Value": "0",
"GasLimit": 0,
"GasFeeCap": "1234",
"GasPremium": "1234",
"Method": 42,
"Params": "<base64-data-or-null>",
"CID": {
"/": "bafyxyz....."
},
},
"MsgRct": {
"ExitCode": 0,
"Return": "<base64-data-or-null>",
"GasUsed": 12345,
},
"Error": "",
"Duration": 568191845,
"GasCharges": [
{
"Name": "OnMethodInvocation",
"loc": null,
"tg": 23856,
"cg": 23856,
"sg": 0,
"vtg": 0,
"vcg": 0,
"vsg": 0,
"tt": 0
},
{
"Name": "wasm_exec",
"loc": null,
"tg": 1764,
"cg": 1764,
"sg": 0,
"vtg": 0,
"vcg": 0,
"vsg": 0,
"tt": 0
},
{
"Name": "OnSyscall",
"loc": null,
"tg": 14000,
"cg": 14000,
"sg": 0,
"vtg": 0,
"vcg": 0,
"vsg": 0,
"tt": 0
},
],
"Subcalls": [
{
"Msg": { },
"MsgRct": { },
"Error": "",
"Duration": 1235,
"GasCharges": [],
"Subcalls": [],
},
]
}
{
"Msg": {
"To": "f01234",
"From": "f04321",
"Value": "0",
"Method": 42,
"Params": "<base64-data-or-null>",
"ParamsCodec": 81
},
"MsgRct": {
"ExitCode": 0,
"Return": "<base64-data-or-null>",
"ReturnCodec": 81
},
"GasCharges": [
{
"Name": "OnMethodInvocation",
"loc": null,
"tg": 23856,
"cg": 23856,
"tt": 0
},
{
"Name": "wasm_exec",
"loc": null,
"tg": 1764,
"cg": 1764,
"sg": 0,
"tt": 0
},
{
"Name": "OnSyscall",
"loc": null,
"tg": 14000,
"cg": 14000,
"sg": 0,
"tt": 0
},
],
"Subcalls": [
{
"Msg": { },
"MsgRct": { },
"GasCharges": [],
"Subcalls": [],
},
]
}
SplitStore
This feature release introduces numerous improvements and fixes to tackle SplitStore related issues that has been reported. With this feature release SplitStore is automatically activated by default on new nodes. However, for existing Lotus users, you need to explicitly configure SplitStore by uncommenting the EnableSplitstore
option in your config.toml
file. To enable SplitStore, set EnableSplitstore=true
, and to disable it, set EnableSplitstore=false
. It's important to note that your Lotus node will not start unless this configuration is properly set. Set it to false if you are running a full archival node!
SplitStore also has some new configuration settings that you can set in your config.toml file:
HotstoreMaxSpaceTarget
suggests the max allowed space (in bytes) the hotstore can take.HotstoreMaxSpaceThreshold
a moving GC will be triggered when total moving size exceeds this threshold (in bytes).HotstoreMaxSpaceSafetyBuffer
a safety buffer to prevent moving GC from an overflowing disk.The SplitStore also has two new commands:
lotus chain prune hot
is a much less resource-intensive GC and is best suited for situations where you don't have the spare disk space for a full GC.lotus chain prune hot-moving
will run a full moving garbage collection of the hotstore. This commands create a new hotstore before deleting the old one so you need working room in the hotstore directory. The current size of a fully GC'd hotstore is around 295 GiB so you need to make sure you have at least that available.You can read more about the new SplitStore commands in the documentation.
RPC API improvements
This feature release includes all the RPC API improvements made in the Lotus v1.20.x patch releases. It includes an updated FFI that sets the FVM parallelism to 4 by default.
Node operators with higher memory specs can experiment with setting LOTUS_FVM_CONCURRENCY to higher values, up to 48, to allow for more concurrent FVM execution.
Experimental scheduler assigners
In this release there are four new expirmental scheduler assigners:
experiment-spread-qcount
- similar to the spread assigner but also takes into account task counts which are in running/preparing/queued states.experiment-spread-tasks
- similar to the spread assigner, but counts running tasks on a per-task-type basisexperiment-spread-tasks-qcount
- similar to the spread assigner, but also takes into account task counts which are in running/preparing/queued states, as well as counting running tasks on a per-task-type basis. Check the results for this assigner on (storage-only lotus-workers here).experiment-random
- In each schedule loop the assinger figures a set of all workers which can handle the task and then picks a random one. Check the results for this assigner on (storage-only lotus-workers here).Graceful shutdown of lotus-workers
We have cleaned up some commands in the lotus-worker
to make it less confusing how to gracefully shutting down a lotus-worker
while there are incoming sealing tasks in the pipeline. To shut down a lotus-worker
gracefully:
lotus-worker tasks disable --all
and wait for the worker to finish processing its current tasks.lotus-worker stop
to detach it and do maintenance/upgrades.CLI speedups
The lotus-miner sector list
is now running in parallel - which should speed up the process from anywhere between 2x-10x+. You can tune it additionally with the check-parallelism
option in the command. The Lotus-Miner info
command also has a large speed improvement, as calls to the lotus legacy market has been removed.
lotus chain prune hot
command, to run the garbage collection of the hotstore in a user driven way.lotus filplus list-claims
. And lotus filplus remove-expired-claims
to remove expired claims.lotus-miner sector list
checks run in parallel.lotus evm bytecode
command to fetch a contract's bytecode.lotus-miner sectors extend
with FIP-0045 logic to include the ability to drop claims and set the maximum number of messages contained in a message.all
flag for the lotus-worker tasks enable/disable
cmds.lotus-shed
commands, lotus-shed cid bytes
and lotus-shed cid cbor
to serialize cid to cbor and cid to bytes.lotus-shed stat-actor
and lotus-shed stat-obj
that work with an offline lotus repo to report dag size stats.lotus-shed address encode
for encoding a filecoin address to hex bytes.lotus chain export-range
command that can create archival-grade ranged exports of the chain as quickly as possible.lotus-miner sectors extend
command to have the functionality of lotus-miner sectors renew
. The lotus-miner sectors renew
command has been deprecated.lotus-shed
. You can now use lotus-shed actor propose-change-beneficiary
and lotus-shed actor confirm-change-beneficiary
to change beneficiary addresses.lotus-miner proving compute window-post
paniced when trying to make skipped sectors human readable.lotus-miner proving compute window-post
human readable.lotus-worker set
command (filecoin-project/lotus#10384)
lotus-worker set
command. This command will be deprecated later.wait-quiet
cmd (filecoin-project/lotus#10331)
lotus-worker wait-quiet
command. This command will be deprecated later.lotus-miner backup
or lotus backup
commandlotus-miner sectors set-seal-delay
in secondslotus-miner sectors extend
command gets the correct sector number.StateNetworkName
, MpoolGetNonce
, StateCall
and StateDecodeParams
methods to Lotus Gateway.Lotus-Miner info
. Speeds up the command significantly.New Issue
(filecoin-project/lotus#10268)Contributor | Commits | Lines ± | Files Changed |
---|---|---|---|
Hannah Howard | 2 | +2909/-6026 | 84 |
Łukasz Magiera | 42 | +2967/-1848 | 95 |
Steven Allen | 20 | +1703/-1345 | 88 |
Alfonso de la Rocha | 17 | +823/-1808 | 86 |
Peter Rabbitson | 9 | +1957/-219 | 34 |
Geoff Stuart | 12 | +818/-848 | 29 |
hannahhoward | 5 | +507/-718 | 36 |
Hector Sanjuan | 6 | +443/-726 | 35 |
Kevin Li | 1 | +1124/-14 | 22 |
zenground0 | 30 | +791/-269 | 88 |
frrist | 1 | +992/-16 | 13 |
Travis Person | 4 | +837/-53 | 24 |
Phi | 20 | +622/-254 | 34 |
Ian Davis | 7 | +35/-729 | 20 |
Aayush | 10 | +378/-177 | 40 |
Raúl Kripalani | 15 | +207/-138 | 19 |
Arsenii Petrovich | 7 | +248/-94 | 30 |
ZenGround0 | 5 | +238/-39 | 15 |
Neel Virdy | 1 | +109/-107 | 58 |
ychiao | 1 | +135/-39 | 3 |
Jorropo | 2 | +87/-82 | 67 |
Marten Seemann | 8 | +69/-64 | 17 |
Rod Vagg | 1 | +55/-16 | 3 |
Masih H. Derkani | 3 | +39/-27 | 12 |
raulk | 2 | +30/-29 | 5 |
dependabot[bot] | 4 | +37/-17 | 8 |
beck | 2 | +38/-2 | 2 |
Jennifer Wang | 4 | +20/-19 | 19 |
Richard Guan | 3 | +28/-8 | 5 |
omahs | 7 | +14/-14 | 7 |
dirkmc | 2 | +19/-7 | 6 |
David Choi | 2 | +16/-5 | 2 |
Mike Greenberg | 1 | +18/-1 | 1 |
Adin Schmahmann | 1 | +19/-0 | 2 |
Phi-rjan | 5 | +12/-4 | 5 |
Dirk McCormick | 2 | +6/-6 | 3 |
Aayush Rajasekaran | 2 | +9/-3 | 2 |
Jiaying Wang | 5 | +6/-4 | 5 |
Anjor Kanekar | 1 | +5/-5 | 1 |
vyzo | 1 | +3/-3 | 2 |
0x5459 | 1 | +1/-1 | 1 |
Published by ZenGround0 over 1 year ago
This is the fifth release candidate for the upcoming MANDATORY 1.22.0 release of Lotus. This release will deliver the nv19 Lighting and nv20 Thunder network upgrade.
Note that this release candidate sets the calibration upgrade epoch, and does NOT set the epoch at which mainnet will upgrade; that detail will be finalized in the 1.22.0 release. Note that go version must be 1.19 to build this release.
The Lighting and Thunder upgrade introduces the following Filecoin Improvement Proposals (FIPs), delivered by builtin-actors v11 (see actors v11.0.0):
As you may have noticed, that we are doing a two-stage incremental network upgrades in this release. This essentially means that there will be two network versions rolled out together -- nv19 and nv20.
The two stage roll out is required for FIP-0061 - which introduces a new proof that reduces the grindability of windowPoSt and furthur secures the network. At the first upgrade, the new proof type will start to be accepted by the protocol, while the second upgrade (nv20) marks the spot when the old proof type will no longer be accepted. This allows for a smooth rollover period during which both proof types are accepted. Lotus will start generating the new proof types immediately after the nv19 upgrade.
This is something we've safely done before. The second upgrade is something of a "ghost" upgrade -- no migration runs, and no code changes, except that clients will start reporting the new network version of nv20 to the FVM.
In light of the recent degraded chain quality on the mainnet an expedited nv19 upgrade has been proposed and accepted to roll out the market cron mitigation (FIP0060) that will improve block validation times, and with that the delay in block production that is causing a decrease in the chain quality currently.
With this expedited roll out we want to inform you of some key changes and important dates:
The Lighting and Thunder upgrade now implements the following Filecoin Improvement Proposals (FIPs), delivered by builtin-actors v11 (see actors v11.0.0-rc.2):
This release candidate sets:
489094
, 2023-04-20T14:00:00Z
492214
, 2023-04-21T16:00:00Z
You may also check that your lotus actor bundle matches the v11 actors manifest by running
./lotus state actor-cids --network-version 19 Tue Apr 18 11:07:40 2023
Network Version: 19
Actor Version: 11
Manifest CID: bafy2bzaceajj76ms4q2ka3ckzj2iiifl7ewxqdpolshcmhml32sqwolrmsh6e
Actor CID
eam bafk2bzacebq2zzzkcra7ahantiq7xlkgcrkoq2azmeqpwhoie5gxcxhurbdp2
multisig bafk2bzaceavnestm7obwlj3moeewcnuomzigfzys4lt26s3l3psjeligf4hju
paymentchannel bafk2bzaceb4vefsbgswrciqo26wnacvqwpicqjfyicwsdjmv4rbcc4zeae72g
storagepower bafk2bzacebdoeoiayvshg4zaxygmpuituux3ccd4gxfl3ile7ckpsyy7kpnms
cron bafk2bzacediqvwudrujh7ejowrcumrnara7k2fonr35vulnggpwwwh3o32pmu
datacap bafk2bzaceb7jkx5kxwwbkw5ehz63sq2b6urouegn4cdczlziaw5ea44u67ock
account bafk2bzacecsf7v7mm4osq7cqbygyudg5zkwqbpbkmi3iluakugzvbd2cuucfw
ethaccount bafk2bzacebrtwz4nyl3nkgjfpvtqjrjixnbujkr72fwzf5bqhpqfo4hgbjqo2
init bafk2bzacebwfs5wna2dculc4mpl4a25cjrmguoscbebeb5g5yft4ntfpku7cu
placeholder bafk2bzacedfvut2myeleyq67fljcrw4kkmn5pb5dpyozovj7jpoez5irnc3ro
storagemarket bafk2bzacechvhqru32tw7zii2raii3upjrkybiubepjtartyhzibnac57gxyo
storageminer bafk2bzacedu6tzfpxwzqym3z2j252d57gqj3jduap7ijf5mczvhmsirs6wxfs
verifiedregistry bafk2bzacecjshlgoyim3r2uvhtjthu5udxpq5fvjy4pmpi3sy4v6a4chjvb4k
evm bafk2bzacecoxcwxbukue76b4rrqhnjywgzjdlhbbemma4kqdzalpkgtdpog7q
reward bafk2bzacedyl4uerjbw3tu5mcgkn7ftvr3j3poy4uv5tuzyuvcdinjb75cz3w
system bafk2bzaceatn5cj3jqmrug65ur26jhrzcgmishv5hjfswvsyxsieccchhwies
github.com/filecoin-project/go-state-types (v0.11.0-rc1 -> v0.11.0-rc2):
Published by filecoin-helper over 1 year ago
This is the fourth release candidate for the upcoming MANDATORY 1.22.0 release of Lotus. This release will deliver the nv19 Lighting and nv20 Thunder network upgrade.
Note that this release candidate sets the calibration upgrade epoch, and does NOT set the epoch at which mainnet will upgrade; that detail will be finalized in the 1.22.0 release.
The Lighting and Thunder upgrade introduces the following Filecoin Improvement Proposals (FIPs), delivered by builtin-actors v11 (see actors v11.0.0):
As you may have noticed, that we are doing a two-stage incremental network upgrades in this release. This essentially means that there will be two network versions rolled out together -- nv19 and nv20.
The two stage roll out is required for FIP-0061 - which introduces a new proof that reduces the grindability of windowPoSt and furthur secures the network. At the first upgrade, the new proof type will start to be accepted by the protocol, while the second upgrade (nv20) marks the spot when the old proof type will no longer be accepted. This allows for a smooth rollover period during which both proof types are accepted. Lotus will start generating the new proof types immediately after the nv19 upgrade.
This is something we've safely done before. The second upgrade is something of a "ghost" upgrade -- no migration runs, and no code changes, except that clients will start reporting the new network version of nv20 to the FVM.
In light of the recent degraded chain quality on the mainnet an expedited nv19 upgrade has been proposed and accepted to roll out the market cron mitigation (FIP0060) that will improve block validation times, and with that the delay in block production that is causing a decrease in the chain quality currently.
With this expedited roll out we want to inform you of some key changes and important dates:
The Lighting and Thunder upgrade now implements the following Filecoin Improvement Proposals (FIPs), delivered by builtin-actors v11 (see actors v11.0.0-rc.2):
This release candidate sets:
489094
, 2023-04-20T14:00:00Z
492214
, 2023-04-21T16:00:00Z
You may also check that your lotus actor bundle matches the v11 actors manifest by running
./lotus state actor-cids --network-version 19 Tue Apr 18 11:07:40 2023
Network Version: 19
Actor Version: 11
Manifest CID: bafy2bzaceajj76ms4q2ka3ckzj2iiifl7ewxqdpolshcmhml32sqwolrmsh6e
Actor CID
eam bafk2bzacebq2zzzkcra7ahantiq7xlkgcrkoq2azmeqpwhoie5gxcxhurbdp2
multisig bafk2bzaceavnestm7obwlj3moeewcnuomzigfzys4lt26s3l3psjeligf4hju
paymentchannel bafk2bzaceb4vefsbgswrciqo26wnacvqwpicqjfyicwsdjmv4rbcc4zeae72g
storagepower bafk2bzacebdoeoiayvshg4zaxygmpuituux3ccd4gxfl3ile7ckpsyy7kpnms
cron bafk2bzacediqvwudrujh7ejowrcumrnara7k2fonr35vulnggpwwwh3o32pmu
datacap bafk2bzaceb7jkx5kxwwbkw5ehz63sq2b6urouegn4cdczlziaw5ea44u67ock
account bafk2bzacecsf7v7mm4osq7cqbygyudg5zkwqbpbkmi3iluakugzvbd2cuucfw
ethaccount bafk2bzacebrtwz4nyl3nkgjfpvtqjrjixnbujkr72fwzf5bqhpqfo4hgbjqo2
init bafk2bzacebwfs5wna2dculc4mpl4a25cjrmguoscbebeb5g5yft4ntfpku7cu
placeholder bafk2bzacedfvut2myeleyq67fljcrw4kkmn5pb5dpyozovj7jpoez5irnc3ro
storagemarket bafk2bzacechvhqru32tw7zii2raii3upjrkybiubepjtartyhzibnac57gxyo
storageminer bafk2bzacedu6tzfpxwzqym3z2j252d57gqj3jduap7ijf5mczvhmsirs6wxfs
verifiedregistry bafk2bzacecjshlgoyim3r2uvhtjthu5udxpq5fvjy4pmpi3sy4v6a4chjvb4k
evm bafk2bzacecoxcwxbukue76b4rrqhnjywgzjdlhbbemma4kqdzalpkgtdpog7q
reward bafk2bzacedyl4uerjbw3tu5mcgkn7ftvr3j3poy4uv5tuzyuvcdinjb75cz3w
system bafk2bzaceatn5cj3jqmrug65ur26jhrzcgmishv5hjfswvsyxsieccchhwies
Published by jennijuju over 1 year ago
This is the third release candidate for the upcoming MANDATORY 1.22.0 release of Lotus. This release will deliver the nv19 Lighting and nv20 Thunder network upgrade.
Note that this release candidate sets the calibration upgrade epoch, and does NOT set the epoch at which mainnet will upgrade; that detail will be finalized in the 1.22.0 release.
The Lighting and Thunder upgrade introduces the following Filecoin Improvement Proposals (FIPs), delivered by builtin-actors v11 (see actors v11.0.0-rc.1):
As you may have noticed, that we are doing a two-stage incremental network upgrades in this release. This essentially means that there will be two network versions rolled out together -- nv19 and nv20.
The two stage roll out is required for FIP-0061 - which introduces a new proof that reduces the grindability of windowPoSt and furthur secures the network. At the first upgrade, the new proof type will start to be accepted by the protocol, while the second upgrade (nv20) marks the spot when the old proof type will no longer be accepted. This allows for a smooth rollover period during which both proof types are accepted. Lotus will start generating the new proof types immediately after the nv19 upgrade.
This is something we've safely done before. The second upgrade is something of a "ghost" upgrade -- no migration runs, and no code changes, except that clients will start reporting the new network version of nv20 to the FVM.
This release candidate sets the calibration-net nv19 Lighting upgrade at epoch 489394, 2023-04-20T16:30:00Z and nv20 Thunder upgrade will be triggered automatically 11520 epoch later. The bundle the network will be using is v10.0.0 actors
(located at build/actors/v11.tar.zst
) upon/post migration, manifest CID bafy2bzacedyne7vbddp2inj64ubztcvkmfkdnahwo353sltkqtsyzckioneuu
.
Published by ZenGround0 over 1 year ago
Release Candidate nv19 and nv20 upgrades
diff from rc1: small devnet fixes and set calibration epoch
nv19
FIP 0060 - Thirty day market deal maintenance interval
FIP 0061 - WindowPoSt grindability gix
FIP 0062 - Fallback method handler for multisig actor
FIP 0052 - Deals and sectors can be created and extended in 3.5 year intervals (+2 years from current params)
Activation bug fix - internal refactor of sector info fields fixing several outstanding bugs
nv20
Final part of FIP 0061 deprecating grindable window post proofs
Published by ZenGround0 over 1 year ago
Release Candidate nv19 and nv20 upgrades
nv19
FIP 0060 - Thirty day market deal maintenance interval
FIP 0061 - WindowPoSt grindability gix
FIP 0062 - Fallback method handler for multisig actor
FIP 0052 - Deals and sectors can be created and extended in 3.5 year intervals (+2 years from current params)
Activation bug fix - internal refactor of sector info fields fixing several outstanding bugs
nv20
Final part of FIP 0061 deprecating grindable window post proofs
Published by rjan90 over 1 year ago
This is an optional but highly recommended feature release of Lotus. It includes numerous improvements and enhancements for node operators, ETH RPC-providers and storage providers.
Before upgrading to this feature release read carefully through these bullet points:
EnableSplitstore
option in your config.toml
file. To enable SplitStore, set EnableSplitstore=true
, and to disable it, set EnableSplitstore=false
. It's important to note that your Lotus node will not start unless this configuration is properly set. Set it to false if you are running a full archival node!
FFI_USE_OPENCL=1
flag when building from source. On the other hand, if you want to disable GPUs altogether, you can use the FFI_NO_GPU=1
environment variable when building from source.lotus-miner sectors extend
command has been refactored to the functionality of lotus-miner sectors renew
.lotus state exec-trace
, lotus state replay
, etc.), has changed to account for changes introduced by the by the FVM. Please make sure to read the Execution trace format change
section carefully, as these are interface breaking changes
LOTUS_FVM_CONCURRENCY
enviroment variable. It is set to 4 threads by default. Recommended formula for concurrency == YOUR_RAM/4 , but max is 48. If you are a Storage Provider and are pushing many messages within a short period of time, exporting LOTUS_SKIP_APPLY_TS_MESSAGE_CALL_WITH_GAS=1
will also help with keeping in sync.SplitStore
This feature release introduces numerous improvements and fixes to tackle SplitStore related issues that has been reported. With this feature release SplitStore is automatically activated by default on new nodes. However, for existing Lotus users, you need to explicitly configure SplitStore by uncommenting the EnableSplitstore
option in your config.toml
file. To enable SplitStore, set EnableSplitstore=true
, and to disable it, set EnableSplitstore=false
. It's important to note that your Lotus node will not start unless this configuration is properly set. Set it to false if you are running a full archival node!
SplitStore also has some new configuration settings that you can set in your config.toml file:
HotstoreMaxSpaceTarget
suggests the max allowed space (in bytes) the hotstore can take.HotstoreMaxSpaceThreshold
a moving GC will be triggered when total moving size exceeds this threshold (in bytes).HotstoreMaxSpaceSafetyBuffer
a safety buffer to prevent moving GC from an overflowing disk.The SplitStore also has two new commands:
lotus chain prune hot
is a much less resource-intensive GC and is best suited for situations where you don't have the spare disk space for a full GC.lotus chain prune hot-moving
will run a full moving garbage collection of the hotstore. This commands create a new hotstore before deleting the old one so you need working room in the hotstore directory. The current size of a fully GC'd hotstore is around 295 GiB so you need to make sure you have at least that available.You can read more about the new SplitStore commands in the documentation.
RPC API improvements
This feature release includes all the RPC API improvements made in the Lotus v1.20.x patch releases. It includes an updated FFI that sets the FVM parallelism to 4 by default.
Node operators with higher memory specs can experiment with setting LOTUS_FVM_CONCURRENCY to higher values, up to 48, to allow for more concurrent FVM execution.
Experimental scheduler assigners
In this release there are four new expirmental scheduler assigners:
experiment-spread-qcount
- similar to the spread assigner but also takes into account task counts which are in running/preparing/queued states.experiment-spread-tasks
- similar to the spread assigner, but counts running tasks on a per-task-type basisexperiment-spread-tasks-qcount
- similar to the spread assigner, but also takes into account task counts which are in running/preparing/queued states, as well as counting running tasks on a per-task-type basis. Check the results for this assigner on (storage-only lotus-workers here).experiment-random
- In each schedule loop the assinger figures a set of all workers which can handle the task and then picks a random one. Check the results for this assigner on (storage-only lotus-workers here).Graceful shutdown of lotus-workers
We have cleaned up some commands in the lotus-worker
to make it less confusing how to gracefully shutting down a lotus-worker
while there are incoming sealing tasks in the pipeline. To shut down a lotus-worker
gracefully:
lotus-worker tasks disable --all
and wait for the worker to finish processing its current tasks.lotus-worker stop
to detach it and do maintenance/upgrades.CLI speedups
The lotus-miner sector list
is now running in parallel - which should speed up the process from anywhere between 2x-10x+. You can tune it additionally with the check-parallelism
option in the command. The Lotus-Miner info
command also has a large speed improvement, as calls to the lotus legacy market has been removed.
Execution traces (returned from lotus state exec-trace
, lotus state replay
, etc.), has changed to account for changes introduced by the FVM. Specifically:
Msg
field no longer matches the Filecoin message format as many of the message fields didn't make sense in on-chain sub-calls. Instead, it now has the fields To
, From
, Value
, Method
, Params
, and ParamsCodec
where ParamsCodec
is a new field indicating the IPLD codec of the parameters.
Msg.CID
field has been removed. This field is still present in top-level invocation results, just not inside the execution trace itself.MsgRct
field no longer includes a GasUsed
field and now has a ReturnCodec
field to indicating the IPLD codec of the return value.Error
and Duration
fields have been removed as these are not set by the FVM. The top-level message "invocation result" retains the Error
and Duration
fields, they've only been removed from the trace itself.v...
) or source location information (loc
) as neither field is set by the FVM.A note on "codecs": FVM parameters and return values are IPLD blocks where the "codec" specifies the data encoding. The codec will generally be one of:
0x51
, 0x71
- CBOR or DagCBOR. You should generally treat these as equivalent.0x55
- Raw bytes.0x00
- Nothing. If the codec is 0x00
, the parameter and/or return value should be empty and should be treated as "void" (not specified).{
"Msg": {
"Version": 0,
"To": "f01234",
"From": "f04321",
"Nonce": 1,
"Value": "0",
"GasLimit": 0,
"GasFeeCap": "1234",
"GasPremium": "1234",
"Method": 42,
"Params": "<base64-data-or-null>",
"CID": {
"/": "bafyxyz....."
},
},
"MsgRct": {
"ExitCode": 0,
"Return": "<base64-data-or-null>",
"GasUsed": 12345,
},
"Error": "",
"Duration": 568191845,
"GasCharges": [
{
"Name": "OnMethodInvocation",
"loc": null,
"tg": 23856,
"cg": 23856,
"sg": 0,
"vtg": 0,
"vcg": 0,
"vsg": 0,
"tt": 0
},
{
"Name": "wasm_exec",
"loc": null,
"tg": 1764,
"cg": 1764,
"sg": 0,
"vtg": 0,
"vcg": 0,
"vsg": 0,
"tt": 0
},
{
"Name": "OnSyscall",
"loc": null,
"tg": 14000,
"cg": 14000,
"sg": 0,
"vtg": 0,
"vcg": 0,
"vsg": 0,
"tt": 0
},
],
"Subcalls": [
{
"Msg": { },
"MsgRct": { },
"Error": "",
"Duration": 1235,
"GasCharges": [],
"Subcalls": [],
},
]
}
{
"Msg": {
"To": "f01234",
"From": "f04321",
"Value": "0",
"Method": 42,
"Params": "<base64-data-or-null>",
"ParamsCodec": 81
},
"MsgRct": {
"ExitCode": 0,
"Return": "<base64-data-or-null>",
"ReturnCodec": 81
},
"GasCharges": [
{
"Name": "OnMethodInvocation",
"loc": null,
"tg": 23856,
"cg": 23856,
"tt": 0
},
{
"Name": "wasm_exec",
"loc": null,
"tg": 1764,
"cg": 1764,
"sg": 0,
"tt": 0
},
{
"Name": "OnSyscall",
"loc": null,
"tg": 14000,
"cg": 14000,
"sg": 0,
"tt": 0
},
],
"Subcalls": [
{
"Msg": { },
"MsgRct": { },
"GasCharges": [],
"Subcalls": [],
},
]
}
lotus chain prune hot
command, to run the garbage collection of the hotstore in a user driven way.lotus filplus list-claims
. And lotus filplus remove-expired-claims
to remove expired claims.lotus-miner sector list
checks run in parallel.lotus evm bytecode
command to fetch a contract's bytecode.lotus-miner sectors extend
with FIP-0045 logic to include the ability to drop claims and set the maximum number of messages contained in a message.all
flag for the lotus-worker tasks enable/disable
cmds.lotus-shed
commands, lotus-shed cid bytes
and lotus-shed cid cbor
to serialize cid to cbor and cid to bytes.lotus-shed stat-actor
and lotus-shed stat-obj
that work with an offline lotus repo to report dag size stats.lotus-shed address encode
for encoding a filecoin address to hex bytes.lotus chain export-range
command that can create archival-grade ranged exports of the chain as quickly as possible.lotus-miner sectors extend
command to have the functionality of lotus-miner sectors renew
. The lotus-miner sectors renew
command has been deprecated.lotus-shed
. You can now use lotus-shed actor propose-change-beneficiary
and lotus-shed actor confirm-change-beneficiary
to change beneficiary addresses.lotus-miner proving compute window-post
paniced when trying to make skipped sectors human readable.lotus-miner proving compute window-post
human readable.lotus-worker set
command (filecoin-project/lotus#10384)
lotus-worker set
command. This command will be deprecated later.wait-quiet
cmd (filecoin-project/lotus#10331)
lotus-worker wait-quiet
command. This command will be deprecated later.lotus-miner backup
or lotus backup
commandlotus-miner sectors set-seal-delay
in secondslotus-miner sectors extend
command gets the correct sector number.StateNetworkName
, MpoolGetNonce
, StateCall
and StateDecodeParams
methods to Lotus Gateway.Lotus-Miner info
. Speeds up the command significantly.New Issue
(filecoin-project/lotus#10268)Contributor | Commits | Lines ± | Files Changed |
---|---|---|---|
Hannah Howard | 2 | +2909/-6026 | 84 |
Łukasz Magiera | 42 | +2967/-1848 | 95 |
Steven Allen | 20 | +1703/-1345 | 88 |
Alfonso de la Rocha | 17 | +823/-1808 | 86 |
Peter Rabbitson | 9 | +1957/-219 | 34 |
Geoff Stuart | 12 | +818/-848 | 29 |
hannahhoward | 5 | +507/-718 | 36 |
Hector Sanjuan | 6 | +443/-726 | 35 |
Kevin Li | 1 | +1124/-14 | 22 |
zenground0 | 30 | +791/-269 | 88 |
frrist | 1 | +992/-16 | 13 |
Travis Person | 4 | +837/-53 | 24 |
Phi | 20 | +622/-254 | 34 |
Ian Davis | 7 | +35/-729 | 20 |
Aayush | 10 | +378/-177 | 40 |
Raúl Kripalani | 15 | +207/-138 | 19 |
Arsenii Petrovich | 7 | +248/-94 | 30 |
ZenGround0 | 5 | +238/-39 | 15 |
Neel Virdy | 1 | +109/-107 | 58 |
ychiao | 1 | +135/-39 | 3 |
Jorropo | 2 | +87/-82 | 67 |
Marten Seemann | 8 | +69/-64 | 17 |
Rod Vagg | 1 | +55/-16 | 3 |
Masih H. Derkani | 3 | +39/-27 | 12 |
raulk | 2 | +30/-29 | 5 |
dependabot[bot] | 4 | +37/-17 | 8 |
beck | 2 | +38/-2 | 2 |
Jennifer Wang | 4 | +20/-19 | 19 |
Richard Guan | 3 | +28/-8 | 5 |
omahs | 7 | +14/-14 | 7 |
dirkmc | 2 | +19/-7 | 6 |
David Choi | 2 | +16/-5 | 2 |
Mike Greenberg | 1 | +18/-1 | 1 |
Adin Schmahmann | 1 | +19/-0 | 2 |
Phi-rjan | 5 | +12/-4 | 5 |
Dirk McCormick | 2 | +6/-6 | 3 |
Aayush Rajasekaran | 2 | +9/-3 | 2 |
Jiaying Wang | 5 | +6/-4 | 5 |
Anjor Kanekar | 1 | +5/-5 | 1 |
vyzo | 1 | +3/-3 | 2 |
0x5459 | 1 | +1/-1 | 1 |
Published by rjan90 over 1 year ago
This is an optional but highly recommended feature release of Lotus. It includes numerous improvements and enhancements for node operators, ETH RPC-providers and storage providers.
Before upgrading to this feature release read carefully through these bullet points:
EnableSplitstore
option in your config.toml
file. To enable SplitStore, set EnableSplitstore=true
, and to disable it, set EnableSplitstore=false
. It's important to note that your Lotus node will not start unless this configuration is properly set. Set it to false if you are running a full archival node!
FFI_USE_OPENCL=1
flag when building from source. On the other hand, if you want to disable GPUs altogether, you can use the FFI_NO_GPU=1
environment variable when building from source.lotus-miner sectors extend
command has been refactored to the functionality of lotus-miner sectors renew
. The issue where extions did not work has been fixed in this release candidate.lotus state exec-trace
, lotus state replay
, etc.), has changed to account for changes introduced by the by the FVM. Please make sure to read the Execution trace format change
section carefully, as these are interface breaking changes
LOTUS_FVM_CONCURRENCY
enviroment variable. It is set to 4 threads by default. Recommended formula for concurrency == YOUR_RAM/4 , but max is 48. If you are a Storage Provider and are pushing many messages within a short period of time, exporting LOTUS_SKIP_APPLY_TS_MESSAGE_CALL_WITH_GAS=1
will also help with keeping in sync.SplitStore
This feature release introduces numerous improvements and fixes to tackle SplitStore related issues that has been reported. With this feature release SplitStore is automatically activated by default on new nodes. However, for existing Lotus users, you need to explicitly configure SplitStore by uncommenting the EnableSplitstore
option in your config.toml
file. To enable SplitStore, set EnableSplitstore=true
, and to disable it, set EnableSplitstore=false
. It's important to note that your Lotus node will not start unless this configuration is properly set. Set it to false if you are running a full archival node!
SplitStore also has some new configuration settings that you can set in your config.toml file:
HotstoreMaxSpaceTarget
suggests the max allowed space (in bytes) the hotstore can take.HotstoreMaxSpaceThreshold
a moving GC will be triggered when total moving size exceeds this threshold (in bytes).HotstoreMaxSpaceSafetyBuffer
a safety buffer to prevent moving GC from an overflowing disk.The SplitStore also has two new commands:
lotus chain prune hot
is a much less resource-intensive GC and is best suited for situations where you don't have the spare disk space for a full GC.lotus chain prune hot-moving
will run a full moving garbage collection of the hotstore. This commands create a new hotstore before deleting the old one so you need working room in the hotstore directory. The current size of a fully GC'd hotstore is around 295 GiB so you need to make sure you have at least that available.You can read more about the new SplitStore commands in the documentation.
RPC API improvements
This feature release includes all the RPC API improvements made in the Lotus v1.20.x patch releases. It includes an updated FFI that sets the FVM parallelism to 4 by default.
Node operators with higher memory specs can experiment with setting LOTUS_FVM_CONCURRENCY to higher values, up to 48, to allow for more concurrent FVM execution.
Experimental scheduler assigners
In this release there are four new expirmental scheduler assigners:
experiment-spread-qcount
- similar to the spread assigner but also takes nto account task counts which are in running/preparing/queued states.experiment-spread-tasks
- similar to the spread assigner, but counts running tasks on a per-task-type basisexperiment-spread-tasks-qcount
- similar to the spread assigner, but also takes into account task counts which are in running/preparing/queued states, as well as counting running tasks on a per-task-type basis. Check the results for this assigner on (storage-only lotus-workers here).experiment-random
- In each schedule loop the assinger figures a set of all workers which can handle the task and then picks a random one. Check the results for this assigner on (storage-only lotus-workers here).Graceful shutdown of lotus-workers
We have cleaned up some commands in the lotus-worker
to make it less confusing how to gracefully shutting down a lotus-worker
while there are incoming sealing tasks in the pipeline. To shut down a lotus-worker
gracefully:
lotus-worker tasks disable --all
and wait for the worker to finish processing its current tasks.lotus-worker stop
to detach it and do maintenance/upgrades.CLI speedups
The lotus-Miner sector list
is now running in parallel - which should speed up the process from anywhere between 2x-10x+. You can tune it additionally with the check-parallelism
option in the command. The Lotus-Miner info
command also has a large speed improvement, as calls to the lotus legacy market has been removed.
lotus chain prune hot
command, to run the garbage collection of the hotstore in a user driven way.lotus filplus list-claims
. And lotus filplus remove-expired-claims
to remove expired claims.lotus-miner sector list
checks run in parallel.lotus evm bytecode
command to fetch a contract's bytecode.lotus-miner sectors extend
with FIP-0045 logic to include the ability to drop claims and set the maximum number of messages contained in a message.all
flag for the lotus-worker tasks enable/disable
cmds.lotus-shed
commands, lotus-shed cid bytes
and lotus-shed cid cbor
to serialize cid to cbor and cid to bytes.lotus-shed stat-actor
and lotus-shed stat-obj
that work with an offline lotus repo to report dag size stats.lotus-shed address encode
for encoding a filecoin address to hex bytes.lotus chain export-range
command that can create archival-grade ranged exports of the chain as quickly as possible.lotus-miner sectors extend
command to have the functionality of lotus-miner sectors renew
. The lotus-miner sectors renew
command has been deprecated.lotus-shed
. You can now use lotus-shed actor propose-change-beneficiary
and lotus-shed actor confirm-change-beneficiary
to change beneficiary addresses.lotus-miner proving compute window-post
paniced when trying to make skipped sectors human readable.lotus-miner proving compute window-post
human readable.lotus-worker set
command (filecoin-project/lotus#10384)
lotus-worker set
command. This command will be deprecated later.wait-quiet
cmd (filecoin-project/lotus#10331)
lotus-worker wait-quiet
command. This command will be deprecated later.lotus-miner backup
or lotus backup
commandlotus-miner sectors set-seal-delay
in secondslotus-miner sectors extend
command gets the correct sector number.StateNetworkName
, MpoolGetNonce
, StateCall
and StateDecodeParams
methods to Lotus Gateway.Lotus-Miner info
. Speeds up the command significantly.New Issue
(filecoin-project/lotus#10268)Execution traces (returned from lotus state exec-trace
, lotus state replay
, etc.), has changed to account for changes introduced by the FVM. Specifically:
Msg
field no longer matches the Filecoin message format as many of the message fields didn't make sense in on-chain sub-calls. Instead, it now has the fields To
, From
, Value
, Method
, Params
, and ParamsCodec
where ParamsCodec
is a new field indicating the IPLD codec of the parameters.
Msg.CID
field has been removed. This field is still present in top-level invocation results, just not inside the execution trace itself.MsgRct
field no longer includes a GasUsed
field and now has a ReturnCodec
field to indicating the IPLD codec of the return value.Error
and Duration
fields have been removed as these are not set by the FVM. The top-level message "invocation result" retains the Error
and Duration
fields, they've only been removed from the trace itself.v...
) or source location information (loc
) as neither field is set by the FVM.A note on "codecs": FVM parameters and return values are IPLD blocks where the "codec" specifies the data encoding. The codec will generally be one of:
0x51
, 0x71
- CBOR or DagCBOR. You should generally treat these as equivalent.0x55
- Raw bytes.0x00
- Nothing. If the codec is 0x00
, the parameter and/or return value should be empty and should be treated as "void" (not specified).{
"Msg": {
"Version": 0,
"To": "f01234",
"From": "f04321",
"Nonce": 1,
"Value": "0",
"GasLimit": 0,
"GasFeeCap": "1234",
"GasPremium": "1234",
"Method": 42,
"Params": "<base64-data-or-null>",
"CID": {
"/": "bafyxyz....."
},
},
"MsgRct": {
"ExitCode": 0,
"Return": "<base64-data-or-null>",
"GasUsed": 12345,
},
"Error": "",
"Duration": 568191845,
"GasCharges": [
{
"Name": "OnMethodInvocation",
"loc": null,
"tg": 23856,
"cg": 23856,
"sg": 0,
"vtg": 0,
"vcg": 0,
"vsg": 0,
"tt": 0
},
{
"Name": "wasm_exec",
"loc": null,
"tg": 1764,
"cg": 1764,
"sg": 0,
"vtg": 0,
"vcg": 0,
"vsg": 0,
"tt": 0
},
{
"Name": "OnSyscall",
"loc": null,
"tg": 14000,
"cg": 14000,
"sg": 0,
"vtg": 0,
"vcg": 0,
"vsg": 0,
"tt": 0
},
],
"Subcalls": [
{
"Msg": { },
"MsgRct": { },
"Error": "",
"Duration": 1235,
"GasCharges": [],
"Subcalls": [],
},
]
}
{
"Msg": {
"To": "f01234",
"From": "f04321",
"Value": "0",
"Method": 42,
"Params": "<base64-data-or-null>",
"ParamsCodec": 81
},
"MsgRct": {
"ExitCode": 0,
"Return": "<base64-data-or-null>",
"ReturnCodec": 81
},
"GasCharges": [
{
"Name": "OnMethodInvocation",
"loc": null,
"tg": 23856,
"cg": 23856,
"tt": 0
},
{
"Name": "wasm_exec",
"loc": null,
"tg": 1764,
"cg": 1764,
"sg": 0,
"tt": 0
},
{
"Name": "OnSyscall",
"loc": null,
"tg": 14000,
"cg": 14000,
"sg": 0,
"tt": 0
},
],
"Subcalls": [
{
"Msg": { },
"MsgRct": { },
"GasCharges": [],
"Subcalls": [],
},
]
}
Contributor | Commits | Lines ± | Files Changed |
---|---|---|---|
Hannah Howard | 2 | +2909/-6026 | 84 |
Łukasz Magiera | 42 | +2967/-1848 | 95 |
Steven Allen | 20 | +1703/-1345 | 88 |
Alfonso de la Rocha | 17 | +823/-1808 | 86 |
Peter Rabbitson | 9 | +1957/-219 | 34 |
Geoff Stuart | 12 | +818/-848 | 29 |
hannahhoward | 5 | +507/-718 | 36 |
Hector Sanjuan | 6 | +443/-726 | 35 |
Kevin Li | 1 | +1124/-14 | 22 |
zenground0 | 30 | +791/-269 | 88 |
frrist | 1 | +992/-16 | 13 |
Travis Person | 4 | +837/-53 | 24 |
Phi | 20 | +622/-254 | 34 |
Ian Davis | 7 | +35/-729 | 20 |
Aayush | 10 | +378/-177 | 40 |
Raúl Kripalani | 15 | +207/-138 | 19 |
Arsenii Petrovich | 7 | +248/-94 | 30 |
ZenGround0 | 5 | +238/-39 | 15 |
Neel Virdy | 1 | +109/-107 | 58 |
ychiao | 1 | +135/-39 | 3 |
Jorropo | 2 | +87/-82 | 67 |
Marten Seemann | 8 | +69/-64 | 17 |
Rod Vagg | 1 | +55/-16 | 3 |
Masih H. Derkani | 3 | +39/-27 | 12 |
raulk | 2 | +30/-29 | 5 |
dependabot[bot] | 4 | +37/-17 | 8 |
beck | 2 | +38/-2 | 2 |
Jennifer Wang | 4 | +20/-19 | 19 |
Richard Guan | 3 | +28/-8 | 5 |
omahs | 7 | +14/-14 | 7 |
dirkmc | 2 | +19/-7 | 6 |
David Choi | 2 | +16/-5 | 2 |
Mike Greenberg | 1 | +18/-1 | 1 |
Adin Schmahmann | 1 | +19/-0 | 2 |
Phi-rjan | 5 | +12/-4 | 5 |
Dirk McCormick | 2 | +6/-6 | 3 |
Aayush Rajasekaran | 2 | +9/-3 | 2 |
Jiaying Wang | 5 | +6/-4 | 5 |
Anjor Kanekar | 1 | +5/-5 | 1 |
vyzo | 1 | +3/-3 | 2 |
0x5459 | 1 | +1/-1 | 1 |