Andrew Jackson (Ajax)
1cdca19a85
oops
2024-04-17 12:01:01 +02:00
Łukasz Magiera
c785e59371
feat: curio: storage index gc task ( #11884 )
...
* curio storage path gc: lay out the structure
* curio gc: Implement storage metadata gc
* move bored singleton task impl to harmonytask
* curio: run storage gc task on storage node
* make gen
2024-04-16 16:34:48 -05:00
Andrew Jackson (Ajax)
fd7f1a95e2
feat: curio: web based config edit ( #11822 )
...
* cfg edit 1
* jsonschema deps
* feat: lp mig - first few steps
* lp mig: default tasks
* code comments
* docs
* lp-mig-progress
* shared
* comments and todos
* fix: curio: rename lotus-provider to curio (#11645 )
* rename provider to curio
* install gotext
* fix lint errors, mod tidy
* fix typo
* fix API_INFO and add gotext to circleCI
* add back gotext
* add gotext after remerge
* lp: channels doc
* finish easy-migration TODOs
* out generate
* merging and more renames
* avoid make-all
* minor doc stuff
* cu: make gen
* make gen fix
* make gen
* tryfix
* go mod tidy
* minor ez migration fixes
* ez setup - ui cleanups
* better error message
* guided setup colors
* better path to saveconfigtolayer
* loadconfigwithupgrades fix
* readMiner oops
* guided - homedir
* err if miner is running
* prompt error should exit
* process already running, miner_id sectors in migration
* dont prompt for language a second time
* check miner stopped
* unlock repo
* render and sql oops
* curio easyMig - some fixes
* easyMigration runs successfully
* lint
* part 2 of last
* message
* merge addtl
* fixing guided setup for myself
* warn-on-no-post
* EditorLoads
* cleanups and styles
* create info
* fix tests
* make gen
* change layout, add help button
* Duration custom json
* mjs naming
---------
Co-authored-by: LexLuthr <88259624+LexLuthr@users.noreply.github.com>
Co-authored-by: LexLuthr <lexluthr@protocol.ai>
Co-authored-by: LexLuthr <lexluthr@curiostorage.org>
2024-04-16 09:30:27 -05:00
Łukasz Magiera
2dd7db20f5
curio: Fix tests
2024-04-16 12:16:33 +02:00
Andrew Jackson (Ajax)
ccf81ecee5
lint
2024-04-16 12:16:33 +02:00
Andrew Jackson (Ajax)
da92001c71
feat/boredom
2024-04-16 12:16:33 +02:00
LexLuthr
649a1b5153
fix: curio: common commands ( #11879 )
...
* fix common commands
* fix start log
* make gen
2024-04-15 19:29:56 -05:00
LexLuthr
3ebb92a976
fix: curio: fix incorrect null check for varchar column ( #11881 )
...
* err check empty string
* log skipped tasks
2024-04-15 19:27:31 -05:00
Łukasz Magiera
bc43bd6d69
fix: local storage reservations fixes ( #11866 )
...
* paths: Debugging local storage reservations
* paths: Log when individual reservation is less than on-disk space
* paths: fix debug reservations print
* paths: More reserve logs
* paths: More more reserve logs
* paths: add stacks to duplicate done call log
* curio: task storage: Release storage at most once
* curio: cleanup before restarting sdr
* address review
* paths: Simplify reservation release logic
2024-04-15 17:33:06 -05:00
Łukasz Magiera
50ed73de29
fix: curio: Check deal start epoch passed in PrecommitSubmit ( #11873 )
2024-04-15 10:48:45 -05:00
Łukasz Magiera
ae15eb1922
fix: curio: Start BoostAdapters before blocking rpc serve ( #11871 )
...
* fix: curio: Start BoostAdapters before blocking rpc serve
* curio/lmrpc: Override unspecified rpc address to localhost
2024-04-15 10:19:53 -05:00
Rod Vagg
11cdb27bbb
doc(release): minor doc updates to release process
2024-04-16 01:14:44 +10:00
Steven Allen
20de759aee
feat: fvm: optimize FVM lanes a bit ( #11875 )
...
This is showing up in profiles so I figured I'd optimize it a bit:
1. Avoid holding locks while recording metrics.
2. Slightly reduce allocations by re-using the metrics "mutators".
Also, use the passed context for better tracing.
This is unlikely to make a huge difference, but it may help RPC
providers a _tiny_ bit and doesn't really move the complexity needle.
2024-04-14 15:12:19 -05:00
Rod Vagg
cd39a09fa5
test(tipsetkey): add tests for derived CID forms
...
Sanity checking and making it easier for alternative implementation compatibility
2024-04-15 05:58:31 +10:00
Aloxaf
70f90612c2
fix: cli: json flag ( #11868 )
2024-04-12 14:27:55 -05:00
Łukasz Magiera
3931710c72
feat: curio/lmrpc: Ingest backpressure ( #11865 )
2024-04-11 21:36:38 -05:00
Łukasz Magiera
3cc62e04e9
feat: curio: Cleanup data copies after seal ops ( #11847 )
...
* feat: curio: Cleanup data copies after seal ops
* curio: make ensureOneCopy safer
* curio: Don't randomly remove cache files
* Address review
2024-04-11 11:35:09 -05:00
Łukasz Magiera
d7d849cf20
feat: curioweb: Sector info page ( #11846 )
...
* feat: curioweb: Sector info page
* Address review
2024-04-11 11:30:53 -05:00
Łukasz Magiera
afa9032833
fix: spcli: add reference to the terminate command ( #11851 )
...
* fix: spcli: add reference to the terminate command
* make gen
2024-04-10 16:59:23 -05:00
Nagaprasad V R
a67e7adf04
refactor: cli: Avoid disputing WindowedPoSt messages when the target miner has no balance to pay rewards ( #11800 )
...
In https://github.com/filecoin-project/lotus/issues/11703 , a user came across an edge case where an SP:
1. Submitted a bad PoSt.
2. Terminated their sectors.
3. Withdrew all funds (after paying all fees).
This left the SP's miner actor with a bad proof but without any funds to pay for disputes. On the other hand, given that the sectors have been terminated and termination fees were already paid we don't really care about fining the SP for the bad proofs anyways.
But... we still don't want to submit dispute messages in this case because doing so isn't free and doesn't really serve a purpose.
So add a check to fetch miner wallet balance and only send disputing messages if balance is non zero.
fixes https://github.com/filecoin-project/lotus/issues/11715
2024-04-10 09:16:04 -05:00
wersfeds
6d9bb2e0bf
chore: fix typos ( #11848 )
2024-04-10 09:01:29 -05:00
Rod Vagg
0d2942c4a4
fix(events): properly decorate events db errors ( #11856 )
2024-04-10 09:00:10 -05:00
Aarsh Shah
6443afa2bb
fix: api: fix EthSubscribe tipsets off by one ( #11858 )
...
Eth subscribe tipsets API should only return tipsets that have been executed.
We do this by only returning the parent tipset of the latest tipset received by ETH Subscribe from it's TipSetFilter subscription.
Closes #11807
Subsumes #11816
2024-04-09 13:32:02 -07:00
Steven Allen
8206954bb0
Merge branch 'releases'
2024-04-09 15:28:10 -05:00
Steven Allen
23b61c305a
test: eth: wait longer for chain to settle in block hash test ( #11863 )
...
I shrunk this down to 10 when I last deflaked this test, but I was too
optimistic. I'm bringing this back up to 50.
See https://gist.github.com/Stebalien/701039637361b3b9cb328d7c2d61beda
2024-04-09 13:20:59 -07:00
Rod Vagg
082a9159ce
doc: add 1.26.x notes in 1.26.2 changelog
2024-04-09 08:18:50 +10:00
Rod Vagg
099a754a74
doc: update changelog, retract 1.26.{0,1}, fix formatting
2024-04-09 08:18:50 +10:00
Rod Vagg
557c3c01f7
fix(build): disable phoenix drand upgrade if LOTUS_DISABLE_DRAGON
2024-04-09 07:45:45 +10:00
Phi
647aa48b11
Update changelog and upgrade epochs/date
2024-04-09 07:44:15 +10:00
Łukasz Magiera
65e89a08ca
fix: sealing: Use PRU3 After Nv22 ( #11831 )
2024-04-09 07:44:15 +10:00
Łukasz Magiera
ba11769228
fix: lmcli: make 'sectors list' DDO-aware
2024-04-09 07:44:15 +10:00
Phi
01e24969df
Update Changelog
...
Update Changelog
2024-04-09 07:44:15 +10:00
Łukasz Magiera
9cfdea3447
fix: piece: Don't return StartEport in PieceDealInfo.EndEpoch ( #11832 )
2024-04-09 07:44:15 +10:00
Phi
a3ce23cf3b
Make gen & Make docsgen-cli
...
Make gen & Make docsgen-cli
2024-04-09 07:44:15 +10:00
Jiaying Wang
cf7ef3823f
update deps ( #11819 )
2024-04-09 07:44:15 +10:00
beck
e68b762b40
fix rDataCap datacap ( #11811 )
2024-04-08 12:06:34 +04:00
Łukasz Magiera
dd6fef807b
fix: sealing: Use PRU3 After Nv22 ( #11831 )
2024-04-05 20:58:00 +02:00
Piotr Galar
8163e6a91e
ci: cancel in progress runs on pull requests only ( #11842 )
2024-04-05 09:45:04 -07:00
Łukasz Magiera
83421e2742
fix: lmcli: make 'sectors list' DDO-aware ( #11839 )
...
* fix: lmcli: make 'sectors list' DDO-aware
* lmcli: Add ddo info to sectors status
2024-04-05 11:39:49 -05:00
LexLuthr
c827cf1c0e
fix: sealing: improve gasEstimate logging ( #11840 )
...
* improve gasEstimate logging
* use fmt for hex
2024-04-05 16:23:41 +04:00
Łukasz Magiera
485050ee7c
fix: harmony: Try other tasks when storage claim fails
2024-04-05 13:00:50 +02:00
Phi-rjan
385fb7a054
fix: test: TestForkPreMigration hanging when env-var is set ( #11838 )
...
* Unset env-var for TestForkPreMigration
Unset LOTUS_DISABLE_PRE_MIGRATIONS env-var for TestForkPreMigration test, so it does not hang
* Err-check to make lint happy
Err-check to make lint happy
2024-04-05 10:37:58 +02:00
Rod Vagg
5d620a72f7
fix(events): harden tests to assert strict event entry order
2024-04-05 16:46:30 +11:00
Rod Vagg
f5100a2a1d
fix(events): order entries by insertion order when selecting
...
Fixes: https://github.com/filecoin-project/lotus/issues/11823
2024-04-05 16:46:30 +11:00
Łukasz Magiera
37c24bba4d
fix: piece: Don't return StartEport in PieceDealInfo.EndEpoch ( #11832 )
2024-04-04 16:16:34 -05:00
Łukasz Magiera
fd64e38b39
fix: paths/local: Fix on-disk storage accounting in new reservations ( #11825 )
2024-04-04 11:17:04 -05:00
LexLuthr
a24028c3c0
apply suggestions
2024-04-04 18:06:19 +02:00
LexLuthr
243bf1a0b3
refactor MinerFilter func, update comments
2024-04-04 18:06:19 +02:00
LexLuthr
d1a52cf04d
refactor filter decision code
2024-04-04 18:06:19 +02:00
LexLuthr
2951d038a8
add miner fliter
2024-04-04 18:06:19 +02:00