Mikers
4f0e2f3276
Added CPU profiling option to lotus-shed
...
This commit includes the following updates:
- Added a new 'pprof' flag to the command-line arguments in main.go. This flag allows the user to specify a file name for writing CPU profile information, enabling performance analysis.
- Implemented functionality to start CPU profiling in the 'Before' function. If a file name is provided via the 'pprof' flag, the function creates the specified file and begins CPU profiling.
- Added an 'After' function to stop CPU profiling once the program execution is finished.
These changes provide a way to analyze the CPU usage of the 'lotus-shed' application, which can be valuable for performance tuning and optimization.
2023-08-02 01:20:06 +00:00
Mikers
1eca520076
Added support for Filecoin network version 21 (v12 state types)
...
This commit includes the following updates:
- Imported v12 of the filecoin state types in migrations.go. This allows the system to interpret and operate on the latest structure of filecoin state information, ensuring compatibility with the latest version of the Filecoin network.
- Updated the 'getMigrationFuncsForNetwork' function to include a case for network.Version21, enabling the use of the UpgradeActorsV12 and PreUpgradeActorsV12 functions for network migration. These changes ensure the system correctly handles migrations when the network upgrades to version 21.
- Implemented a new 'checkNv21Invariants' function to check the invariants for version 21 of the Filecoin network. This function:
1. Loads the new state root from the actor store.
2. Retrieves the actor code IDs for the current state version (v12).
3. Loads the actor tree from the state root and checks state invariants using the actor code IDs.
4. Logs any error messages generated during the invariant check.
5. Finally, prints a message with the time taken to complete the checks.
By checking these invariants, we can ensure the system's state is consistent and valid after migrating to network version 21.
2023-08-01 14:23:55 -10:00
Aayush
3b9139d01e
feat: changelog: add consensus slasher as a highlight
2023-08-01 16:54:19 -04:00
Aayush Rajasekaran
46ad7476af
Merge pull request #11127 from filecoin-project/asr/backport-slasher
...
chore: backport improvements to the consensus slasher
2023-08-01 15:23:02 -04:00
Łukasz Magiera
fbac220208
feat: chain node: Move consensus slasher to internal service
2023-08-01 12:06:18 -04:00
Aayush
50a86f2161
feat: improvements to the consensus slasher
2023-08-01 12:05:06 -04:00
Aayush
a413a53be2
feat: refactor slashfilter to return bool indicating fault
2023-08-01 12:05:02 -04:00
Aayush
0f6207a755
feat: slasher: print error on failure
2023-08-01 12:04:57 -04:00
Aayush Rajasekaran
d082940d54
Merge pull request #11126 from filecoin-project/feat/move-cons-slasher
...
feat: chain node: Move consensus slasher to internal service
2023-08-01 11:59:40 -04:00
Łukasz Magiera
fe7cf0c39a
feat: chain node: Move consensus slasher to internal service
2023-08-01 17:34:44 +02:00
Łukasz Magiera
6636da1299
itests: Use Must-Post mining in TestDealsWithSealingAndRPC
2023-08-01 16:34:21 +02:00
Aayush
286482fd99
fix: failing test: Tweak TestWindowPostV1P1NV20 test condition
2023-08-01 09:34:44 -04:00
Łukasz Magiera
9b4992b834
Merge pull request #11123 from mtrisic/fix/sector-import-randomness-mismatch
...
sector import: fix evaluating randomness when importing a sector
2023-08-01 04:40:18 -07:00
Mladen Trišić
9459c612fb
sector import: fix evaluating randomness when importing a sector passing SubmitCommit state
2023-08-01 12:05:39 +02:00
Łukasz Magiera
8ce69d1397
Merge pull request #11121 from filecoin-project/asr/fix-test
...
fix: failing test: Tweak TestWindowPostV1P1NV20 test condition
2023-08-01 01:59:08 -07:00
ZenGround0
d900acc506
Merge pull request #11078 from filecoin-project/shed/zip-partition-info
...
feat:shed:gather partition metadata
2023-07-31 18:18:16 -04:00
Aayush
b88e4abe05
fix: failing test: Tweak TestWindowPostV1P1NV20 test condition
2023-07-31 16:07:09 -04:00
Aayush
4872ad66a7
feat: FVM: do not error on unsuccessful implicit messages
2023-07-31 15:37:54 -04:00
Aayush Rajasekaran
8e56357450
Merge pull request #11120 from filecoin-project/asr/shut-up-disputer
...
feat: FVM: do not error on unsuccessful implicit messages
2023-07-31 15:37:12 -04:00
Aayush Rajasekaran
e567b27ec3
Merge pull request #11098 from filecoin-project/asr/tracer-deets
...
feat: changelog: add details of tracer experiment
2023-07-31 15:29:51 -04:00
Aayush
cd958e4f6e
feat: FVM: do not error on unsuccessful implicit messages
2023-07-31 15:26:37 -04:00
Aayush Rajasekaran
6635833aec
Update CHANGELOG.md
...
Co-authored-by: Friðrik Ásmundsson <fridrik01@gmail.com>
2023-07-31 15:19:23 -04:00
zenground0
482c90412d
Lint
2023-07-31 11:12:56 -06:00
zenground0
6a07def34a
gen
2023-07-31 10:53:07 -06:00
Łukasz Magiera
bf36ca93bb
legacy syscalls: Cleanup ComputeUnsealedSectorCID
2023-07-31 12:43:47 +02:00
simlecode
c3f421a9cd
feat: add Eip155ChainID to StateGetNetworkParams
2023-07-28 16:03:59 +08:00
Andrew Jackson (Ajax)
1d58bf09ca
Merge pull request #11069 from filecoin-project/clusterdb
...
feat/clusterdb
2023-07-27 18:43:06 -05:00
Andrew Jackson (Ajax)
0a57b84898
cleanup: itest removed from harmonydb
2023-07-27 18:42:16 -05:00
Aayush Rajasekaran
1e019da56b
Merge pull request #11107 from filecoin-project/asr/releasev1.23.3
...
chore: release v1.23.3
2023-07-27 19:30:43 -04:00
Aayush
9177b84602
chore: release v1.23.3
2023-07-27 18:38:50 -04:00
Friðrik Ásmundsson
3f93b86ebe
Merge pull request #11088 from filecoin-project/backfill-events-cli
...
Add new lotus-shed command for backfillling actor events
2023-07-25 10:43:40 +00:00
Aayush
02a0c9c6f3
feat: changelog: add details of tracer experiment
2023-07-24 10:49:37 -04:00
Fridrik Asmundsson
719215122b
Address PR feedback and move each epoch inside own tx
2023-07-24 14:18:31 +00:00
Fridrik Asmundsson
8a5950b3e9
Add new lotus-shed command for backfillling actor events
2023-07-24 11:37:30 +00:00
zenground0
df17f709a4
Record faulty status of sectors
2023-07-21 13:07:25 -06:00
Aayush Rajasekaran
977390e3c0
Merge pull request #11082 from filecoin-project/asr/fixup-rlpdecode
...
fix: ethtypes: handle length overflow case
2023-07-21 12:37:20 -04:00
Aayush
990b5a0bad
fix: ethtypes: handle length overflow case
2023-07-21 12:26:29 -04:00
zenground0
8c4e705df3
Count all precommit sector numbers that we are checking
2023-07-21 09:30:45 -06:00
zenground0
2776e29042
Gather info about overhead operations in deadline summary
2023-07-21 08:53:24 -06:00
ZenGround0
15faab8412
Merge pull request #11075 from filecoin-project/bench/amt-churn
...
feat:lotus-bench:AMT benchmarking
2023-07-20 19:27:27 -04:00
zenground0
4d8f8d2600
Review Response
2023-07-20 16:59:11 -06:00
Phi-rjan
9624dc53f8
Merge pull request #11032 from filecoin-project/feat/remove-existing-chain
2023-07-20 18:41:25 +02:00
Łukasz Magiera
0a83896589
sealing pipeline: Better retry for soft errors
2023-07-19 09:51:59 -07:00
Andrew Jackson (Ajax)
d39e699e1f
harmonydb: better API
2023-07-18 14:51:26 -07:00
Łukasz Magiera
d127208b85
sealing pipeline: Fix PC1 retry loop
2023-07-18 13:04:06 -07:00
Aayush Rajasekaran
2ddb52e103
feat: daemon: import: only setup stmgr if validating chain ( #11084 )
2023-07-18 08:03:34 -10:00
Łukasz Magiera
7adf8237f6
add synthPoRep support to bench simple
2023-07-18 10:27:40 -07:00
Aayush Rajasekaran
d40946fb8c
Merge pull request #11081 from filecoin-project/steb/bare-cbor
...
feat: vm: allow raw "cbor" in state and use the new go-multicodec
2023-07-18 12:53:44 -04:00
Aayush Rajasekaran
9e5e77b778
Merge pull request #11083 from filecoin-project/asr/shut-up
...
chore: stmgr: migrations: do not log noisily on cache misses
2023-07-18 10:33:39 -04:00
Aayush
e17af657da
chore: stmgr: migrations: do not log noisily on cache misses
2023-07-18 10:22:30 -04:00