Fridrik Asmundsson
dcc72a43ee
Also report on json errors (not only http errors)
2023-05-27 10:55:10 +00:00
Fridrik Asmundsson
d0e9502bfe
small fixes
2023-05-27 10:55:10 +00:00
Fridrik Asmundsson
78d7ccd391
Add new RPC stress testing tool (lotus-bench rpc) with rich reporting
...
This benchmark is designed to stress test the rpc methods of a lotus node so that we can simulate real world usage and measure the performance of rpc methods on the node.
This benchmark has the following features:
* Can query each method both sequentially and concurrently
* Supports rate limiting
* Can query multiple different endpoints at once (supporting different concurrency level and rate limiting for each method)
* Gives a nice reporting summary of the stress testing of each method (including latency distribution, histogram and more)
* Easy to use
To use this benchmark you must specify the rpc methods you want to test using the --method options, the format of it is:
--method=NAME[:CONCURRENCY][:QPS][:PARAMS] where only METHOD is required.
Here are some real examples:
lotus-bench rpc --method='eth_chainId' // run eth_chainId with default concurrency and qps
lotus-bench rpc --method='eth_chainId:3' // override concurrency to 3
lotus-bench rpc --method='eth_chainId::100' // override to 100 qps while using default concurrency
lotus-bench rpc --method='eth_chainId:3:100' // run using 3 workers but limit to 100 qps
lotus-bench rpc --method='eth_getTransactionCount:::["0xd4c70007F3F502f212c7e6794b94C06F36173B36", "latest"]' // run using optional params while using default concurrency and qps
lotus-bench rpc --method='eth_chainId' --method='eth_getTransactionCount:10:0:["0xd4c70007F3F502f212c7e6794b94C06F36173B36", "latest"]' // run multiple methods at once`,
Fixes: https://github.com/filecoin-project/lotus/issues/10752
2023-05-27 10:55:10 +00:00
Friðrik Ásmundsson
b269a1ba35
Merge pull request #10877 from filecoin-project/lotus-shed-cancel-context
...
feat: run lotus-shed commands in context that is cancelled on sigterm
2023-05-27 10:30:52 +00:00
Fridrik Asmundsson
a4c94957e6
Update message when user hits CRTL+C to not imply handling SIGSTOP but SIGTERM/SIGKILL
2023-05-27 10:10:30 +00:00
Łukasz Magiera
4b5a665422
Merge remote-tracking branch 'origin/master' into feat/piecereader-perf
2023-05-26 13:00:42 +02:00
Łukasz Magiera
14f9770859
feat: miner cli: sectors list upgrade-bounds tool
2023-05-26 12:29:36 +02:00
Jianhui Xie
479018e3b3
set default data-cap same as MinVerifiedDealSize
2023-05-24 22:09:29 -07:00
Jianhui Xie
41203f7b8e
pass the right g-recaptcha data
2023-05-24 21:06:03 -07:00
Łukasz Magiera
6c62e6d8e2
fix tests/lint
2023-05-23 12:26:13 +02:00
Maciej Witowski
c233b4317d
Small UI improvements for faucet
2023-05-22 17:34:07 +02:00
Maciej Witowski
fff151f07e
Fix button color so it doesn't look disabled when hovering over
2023-05-22 17:16:30 +02:00
Phi-rjan
bd85a6a72f
Merge pull request #10860 from filecoin-project/phi-fix-args-redeclare
...
fix: cli: make redeclare cmd work properly
2023-05-18 19:13:07 +02:00
Phi
b08dbde2da
Update redeclare cmd on Lotus-Workers
...
Update redeclare cmd on Lotus-Workers
2023-05-18 18:04:10 +02:00
Jennifer Wang
de0726fcb0
make ledger sign work
2023-05-17 22:01:04 -04:00
Fridrik Asmundsson
0131781808
feat: run lotus-shed commands in context that is cancelled on sigterm
2023-05-16 11:25:57 +00:00
Phi
a29e8226c7
Set drop-missing to true
...
Set drop-missing to true
2023-05-15 11:51:43 +02:00
Jianhui Xie
4f3b6175c0
follow the new style for html from master branch
2023-05-12 10:59:28 -07:00
Jianhui Xie
9486aa98db
fixed the merged break for to->cmd/lotus-fountain/main.go
2023-05-12 10:48:18 -07:00
JesseXie
9b0cbbb0a8
Merge branch 'master' into lotus-fountain-add-datacap
2023-05-12 10:42:39 -07:00
Phi
f671654bdd
Make redeclare cmd work
...
- Fix an issue where `lotus-miner storage redeclare --all` required an argument
- Actually implement the logic to redeclare a single sectors in a single storage path
2023-05-12 16:35:00 +02:00
Jianhui Xie
96c1ab413f
run gofmt to clean the imports error
2023-05-11 00:06:05 -07:00
Jianhui Xie
0ec3d44276
add grant-datacap support for lotus fountain
2023-05-10 23:30:43 -07:00
Maciej Witowski
08e6e04145
Unify error handling
2023-05-10 22:21:15 -04:00
Maciej Witowski
dbb892d89f
lotus-fountain: make compatible with 0x addresses #10560
2023-05-10 22:21:15 -04:00
Łukasz Magiera
488b7966e7
Merge pull request #10785 from filecoin-project/maciej/fountain-ui
...
Make lotus-fountain UI slightly friendlier
2023-05-09 18:13:34 +02:00
Łukasz Magiera
3b4fa779ac
Merge pull request #10797 from filecoin-project/sealerFlagForDataCid3
...
feat: sealing: flag to run data_cid untied from addpiece
2023-05-09 16:26:00 +02:00
Andrew Jackson (Ajax)
313c701be6
nit: docs space
2023-05-08 15:39:47 -05:00
Andrew Jackson (Ajax)
30fae764ae
doc
2023-05-08 12:22:25 -05:00
Andrew Jackson (Ajax)
6a66a11e54
comment responses
2023-05-08 11:36:43 -05:00
Phi-rjan
5697645748
Merge pull request #10837 from filecoin-project/feat/ux-friendly-batch-cmd
...
feat: cli: More ux-friendly batching cmds
2023-05-08 17:40:01 +02:00
Phi
426bfb795a
Hide lotus-miner legacy markets cmds
...
Hide lotus-miner legacy markets cmds
2023-05-08 13:13:18 +02:00
Phi
059cbedb40
Add missing else bracket
...
Add missing else bracket
2023-05-05 15:21:44 +02:00
Phi
075d068ccd
Add errcheck
...
Add errcheck
2023-05-05 14:59:25 +02:00
Phi
93618c0687
cli: Add more ux-friendly batching cmd
...
cli: Add more ux-friendly batching cmd
2023-05-05 14:20:09 +02:00
Maciej Witowski
c6bda331b8
Make lotus-fountain UI slightly friendlier
...
CSS generated by ChatGTP
2023-05-05 13:23:08 +02:00
Phi
efdc32f60e
Change arg from minerAddress to minerID
...
Change arg from minerAddress to minerID
2023-05-04 15:21:05 +02:00
Łukasz Magiera
3ff8a09183
feat: worker: Ensure tempdir exists ( #10433 )
2023-05-03 10:59:41 -04:00
Aayush
49f5825296
feat: chainstore: batch writes of tipsets
2023-05-02 17:26:07 -04:00
Andrew Jackson (Ajax)
8c31ea1814
feat: sealing: data_cid flag untied from addpiece
2023-05-01 19:41:44 -05:00
Aayush
b4c2c249db
chore: deps: update to FVM 3.3.1
2023-05-01 10:37:43 -04:00
Aayush
0d8a3cbaf8
feat: shed tool to report on any consensus mismatches in history
2023-04-28 13:47:24 -04:00
Aayush Rajasekaran
cf8587522a
Merge pull request #10714 from filecoin-project/fix/tvx-post-fvm
...
fix: tvx: make extract-multiple support the FVM
2023-04-26 16:17:33 -04:00
Aayush Rajasekaran
2af8b6e30e
Merge pull request #10762 from filecoin-project/asr/add-reminder
...
shed: migrations: add reminder about continuity testing tool
2023-04-26 10:35:04 -04:00
Aayush
33ca0f1f79
shed: migrations: add reminder about continuity testing tool
2023-04-26 09:50:16 -04:00
Łukasz Magiera
71f184f5cb
feat: daemon: Auto-resume interrupted snapshot imports
2023-04-25 09:31:19 +02:00
Aayush
fd7a0e1922
feat: shed: refactor market cron-state command
2023-04-24 11:02:43 -04:00
zenground0
c8e78f7911
Fix lint after merge
2023-04-23 15:43:53 -06:00
Aayush
5a061e4677
Merge branch 'releases' into asr/merge-release-into-master
2023-04-23 14:58:50 -04:00
Steven Allen
7b6f6843a7
fix: tvx: correctly lookup actor codes in extract-many
2023-04-20 13:27:44 -07:00
Łukasz Magiera
0a46fc7e73
Merge pull request #10562 from Jorropo/boxo
...
chore: boxo: migrate from go-libipfs to boxo
2023-04-20 16:24:22 +02:00
ZenGround0
327760acff
chore: build: Merge/v22 into 21 for 23 ( #10702 )
...
* chore: update ffi to increase execution parallelism
* Don't enforce walking receipt tree during compaction
* fix: build: drop drand incentinet servers
* chore: release lotus v1.20.4
* Apply suggestions from code review
Co-authored-by: Jiaying Wang <42981373+jennijuju@users.noreply.github.com>
* feat: Introduce nv19 skeleton
Update to go-state-types v0.11.0-alpha-1
Introduce dummy v11 actor bundles
Make new actors adapters
Add upgrade to Upgrade Schedules
make jen
Update to go-state-types v0.11.0-alpha-2
* feat: vm: switch to the new exec trace format (#10372 )
This is now "FVM" native. Changes include:
1. Don't treat "trace" messages like off-chain messages. E.g., don't
include CIDs, versions, etc.
2. Include IPLD codecs where applicable.
3. Remove fields that aren't filled by the FVM (timing, some errors,
code locations, etc.).
* feat: implement FIP-0061
* Address review
* Add and test the FIP-0061 migration
* Update actors bundles to fip/20230406
* Update to go-state-types master
* Update to actors v11.0.0-rc1
* - Update go state types
- Keep current expiration defaults on creation, extension some tests
- Update ffi
* ffi experiment
* Integration nv19 migration
- Open splitstore in migration shed tool
- Update state root version
* Post rebase fixup
* Fix
* gen
* nv19 invariant checking
* Try fixig blockstore so bundle is loaded
* Debug
* Fix
* Make butterfly upgrades happen
* Another ffi experiment
* Fix copy paste error
* Actually schedule migration (#10656 )
Co-authored-by: zenground0 <ZenGround0@users.noreply.github.com>
* Butterfly artifacts
* Set calibration net upgrade height
* Review Response
* Fix state tree version assert
* Quick butterfly upgrade to sanity check (#10660 )
* Quick butterfly upgrade to sanity check
* Update butterfly artifacts
* Revert fake fix
* Give butterfly net correct genesis
* Butterfly artifacts
* Give time before upgrade
---------
Co-authored-by: zenground0 <ZenGround0@users.noreply.github.com>
* chore:releasepolish v1.22 release (#10666 )
* Update butterfly artifacts
* register actors v11
* Update calibration upgrade time
* State inspection shed cmds
* Fix
* make gen
* Fix swallowed errors
* Lint fixup
---------
Co-authored-by: zenground0 <ZenGround0@users.noreply.github.com>
* v1.22.0-rc3
* bundle fix
* Feat/expedite nv19 (#10681 )
* Update go-state-types
* Modify upgrade schedule and params
* Revert fip 0052
* Update gst
* docsgen
* fast butterfly migration to validate migration
* Correct epoch to match specified date
* Update actors v11
* Update changelog build version
* Update butterfly artifacts
* Fix lotus-miner init to work after upgrade
---------
Co-authored-by: zenground0 <ZenGround0@users.noreply.github.com>
* fix:deps:stable ffi for stable release (#10698 )
* Point to stable ffi for stable lotus release
* go mod tidy
---------
Co-authored-by: zenground0 <ZenGround0@users.noreply.github.com>
* Update CHANGELOG.md
Co-authored-by: Jiaying Wang <42981373+jennijuju@users.noreply.github.com>
---------
Co-authored-by: Aayush Rajasekaran <arajasek94@gmail.com>
Co-authored-by: zenground0 <ZenGround0@users.noreply.github.com>
Co-authored-by: Jiaying Wang <42981373+jennijuju@users.noreply.github.com>
Co-authored-by: Steven Allen <steven@stebalien.com>
Co-authored-by: jennijuju <jiayingw703@gmail.com>
2023-04-19 18:40:18 -04:00
Jorropo
fe42d974a2
chore: all: migrate from go-libipfs to boxo
...
github.com/ipfs/libipfs/blocks was unmigrated to github.com/ipfs/go-block-format due to compatibility issues with the rest of the IPLD stack.
2023-04-18 17:22:18 +02:00
Shrenuj Bansal
0befed7200
Add API and CLI to unseal sector ( #10626 )
2023-04-17 12:12:15 -04:00
Phi
d211b5eb69
fix: cli: Check if the sector exists
...
Check if the sector exists before running `SectorRemove`, and error out if the SectorID has not bee created.
2023-04-03 14:04:45 +02:00
Jennifer Wang
b82726f57f
make lint happy
2023-03-31 15:16:24 -04:00
Jennifer Wang
28fdc3abb8
docsgen
2023-03-31 15:13:13 -04:00
Jennifer Wang
4a1eccd447
add unique
2023-03-31 15:05:03 -04:00
Jennifer Wang
77883aa72b
add accounts
2023-03-31 15:05:00 -04:00
Jennifer Wang
07c9367467
wording
2023-03-31 15:04:27 -04:00
zenground0
1a5e8603c7
Fix dumb mistake
2023-03-31 15:04:27 -04:00
zenground0
3b0d8fdd29
P0 fix
2023-03-31 15:04:27 -04:00
Jennifer Wang
ec90ccf72e
point to the hot store
2023-03-31 15:04:27 -04:00
Jennifer Wang
661d8608bc
evm account balances
...
Please enter the commit message for your changes. Lines starting
2023-03-31 15:04:24 -04:00
Aayush Rajasekaran
13f73623a8
Merge pull request #10544 from filecoin-project/asr/fix-extend-sectors
...
fix: miner: correctly count sector extensions
2023-03-30 10:10:42 -04:00
Jiaying Wang
caa6dd9c41
Merge pull request #10594 from filecoin-project/phi/v1210-rc2
...
build: release: v1.21.0-rc2
2023-03-29 15:59:56 -04:00
Aayush
66fc6dc3e5
refactor: stop using deprecated io/ioutil
2023-03-29 15:40:49 -04:00
Aayush
a724a713da
refactor: stop using deprecated io/ioutil
2023-03-29 15:38:46 -04:00
Mikers
06294351fa
perf: eth: gas estimate set applyTsMessages false ( #10546 )
...
* have gas estimate call callInternal with applyTsMessages = false and other calls with applyTsMessages=true for gas caclulation optimization
* set applyTsMessages = true in CallWithGas call in shed
* update test with new callwithgas api optimization for eth call
* Update chain/stmgr/call.go
Co-authored-by: Łukasz Magiera <magik6k@users.noreply.github.com>
* env flag LOTUS_SKIP_APPLY_TS_MESSAGE_CALL_WITH_GAS must be 1 in order to have applyTsMessages change
* env flag LOTUS_SKIP_APPLY_TS_MESSAGE_CALL_WITH_GAS must be 1 in order to have applyTsMessages change
* make sure that even if we arent apply ts messages we grab ts messages from the particular user who is requesting gas estimation
---------
Co-authored-by: Jiaying Wang <42981373+jennijuju@users.noreply.github.com>
Co-authored-by: Łukasz Magiera <magik6k@users.noreply.github.com>
Co-authored-by: Ubuntu <ubuntu@ip-10-0-4-29.us-east-2.compute.internal>
2023-03-29 14:25:40 -04:00
Aayush Rajasekaran
687f0c070f
Merge pull request #10556 from filecoin-project/10537-populate-index-after-snapshot
...
feat: populate the index on snapshot import
2023-03-28 11:41:43 -04:00
Fridrik Asmundsson
83e2408f81
Only populate message index if config EnableMsgIndex is set
2023-03-28 16:28:47 +02:00
Aayush Rajasekaran
0b018e56cd
Merge pull request #10555 from filecoin-project/asr/fix-extend-sectors-backport
...
backport: fix: miner: correctly count sector extensions
2023-03-28 09:40:42 -04:00
Phi
8bb7272bb1
Initialize with same length as partition
...
Initialize the postParam.Partitions slice with the same length as i.Partitions before iterating over it in the loop.
2023-03-27 15:54:59 +02:00
Phi
0711fdc3dd
Initialize with same length as partition
...
Initialize the postParam.Partitions slice with the same length as i.Partitions before iterating over it in the loop.
2023-03-27 10:04:15 +02:00
Fridrik Asmundsson
59640a8b22
Populate the index on snapshot import
...
Fixes: https://github.com/filecoin-project/lotus/issues/10537
2023-03-24 11:41:27 +00:00
Mikers
41fce94db4
perf: eth: gas estimate set applyTsMessages false ( #10546 )
...
* have gas estimate call callInternal with applyTsMessages = false and other calls with applyTsMessages=true for gas caclulation optimization
* set applyTsMessages = true in CallWithGas call in shed
* update test with new callwithgas api optimization for eth call
* Update chain/stmgr/call.go
Co-authored-by: Łukasz Magiera <magik6k@users.noreply.github.com>
* env flag LOTUS_SKIP_APPLY_TS_MESSAGE_CALL_WITH_GAS must be 1 in order to have applyTsMessages change
* env flag LOTUS_SKIP_APPLY_TS_MESSAGE_CALL_WITH_GAS must be 1 in order to have applyTsMessages change
* make sure that even if we arent apply ts messages we grab ts messages from the particular user who is requesting gas estimation
---------
Co-authored-by: Jiaying Wang <42981373+jennijuju@users.noreply.github.com>
Co-authored-by: Łukasz Magiera <magik6k@users.noreply.github.com>
Co-authored-by: Ubuntu <ubuntu@ip-10-0-4-29.us-east-2.compute.internal>
2023-03-23 18:27:01 -04:00
Aayush Rajasekaran
4efc29aa64
Merge pull request #10513 from filecoin-project/feat/shed-chainwatch
...
feat: shed: incoming block-sub chainwatch tool
2023-03-23 17:50:41 -04:00
Aayush
7b55de21bd
fix: miner: call ExtendSectorExpiration2
2023-03-23 17:32:55 -04:00
Aayush
a467e1ab31
fix: miner: correctly count sector extensions
2023-03-23 17:32:51 -04:00
Aayush
3070227b00
fix: miner: call ExtendSectorExpiration2
2023-03-23 17:28:16 -04:00
Aayush
2d9412d97f
fix: miner: correctly count sector extensions
2023-03-23 17:28:16 -04:00
Łukasz Magiera
b484d72c80
Merge pull request #10323 from mtelka/info-noadmin
...
fix: state: lotus-miner info should show deals info without admin permission
2023-03-23 12:39:28 +01:00
Łukasz Magiera
e2ff9027f9
shed chainwatch: Appease the linter
2023-03-23 12:33:00 +01:00
vyzo
8abe0ea608
Merge pull request #10452 from filecoin-project/vyzo/feat/chain/msgindex
...
feat:chain: Message Index
2023-03-22 17:02:34 +02:00
ZenGround0
43da108466
feat:config:force existing users to opt into new defaults ( #10488 )
...
* Config default does not comment out EnableSplitstore
* Loadability check
* Remove test used for debugging
* regexp for properly safe check that config is set
* regexp for safely matching the EnableSpitstore field in the config
* Add instructions for undeleting config and remind users to set splitstore false for full archive
* UpdateConfig small docs and functional opts
* make gen
* Lint
* Fix
* nil pointer check on validate
* Unit testing of EnableSplitstore cases
* Address Review
---------
Co-authored-by: zenground0 <ZenGround0@users.noreply.github.com>
2023-03-20 12:19:14 -04:00
Łukasz Magiera
02db37bf37
feat: shed: incoming block-sub chainwatch tool
2023-03-20 10:37:48 +01:00
vyzo
1676d51484
shed: expand homedir in repo path for msgindex tools
2023-03-16 17:17:26 +02:00
Łukasz Magiera
7e414ac390
Merge remote-tracking branch 'origin/master' into feat/go-data-transfer-v2
2023-03-15 11:37:53 +01:00
Steven Allen
dcb49dc8ee
refactor: update cache to the new generic version ( #10463 )
...
- Adds type safety.
- Reduces allocations.
- Fixes the drand cache (was storing by value, but retrieving by pointer)
2023-03-13 15:29:09 -07:00
vyzo
6deec4c5f4
lint
2023-03-13 17:26:20 +02:00
vyzo
06f93861bc
make gen
2023-03-13 17:00:16 +02:00
vyzo
27dc4951eb
lotus-shed tools for msgindex
2023-03-13 16:51:21 +02:00
vyzo
88d7a4e610
more lint
2023-03-12 16:13:05 +02:00
vyzo
1415391988
lint
...
lint
lint
2023-03-12 15:50:10 +02:00
vyzo
171734ea31
hook the index into the rest of lotus
2023-03-12 15:25:07 +02:00
Travis Person
f641139bf2
Merge pull request #10282 from filecoin-project/feat/cache-migrated-stateroot
...
feat: stmgr: cache migrated stateroots
2023-03-09 11:47:43 -08:00
Łukasz Magiera
3e85591c6c
Merge pull request #10390 from beck-8/chore/compute-wdpost-human-readable
...
chore: make debugging windowPoSt-failures human readable
2023-03-09 11:08:40 +01:00
Łukasz Magiera
d114d8fe7e
deprecate MarketListRetrievalDeals, make gen
2023-03-08 17:15:16 +01:00
hannahhoward
16dad6342c
feat(deps): update to go-data-transfer v2, still wip
2023-03-07 11:44:29 -08:00
beck
f0ba0ebb64
indent output
2023-03-06 18:04:55 +08:00