Fridrik Asmundsson
f44fa5d96f
Use MessageIndex in WaitForMessage
2023-03-29 13:35:27 +02:00
Łukasz Magiera
841b7b8730
Merge pull request #10572 from filecoin-project/fix/itests-no-mineblk-terr
...
fix: itests: Don't call t.Error in MineBlocks goroutine
2023-03-28 23:57:04 +02:00
Aayush Rajasekaran
4b2e74a6df
Merge pull request #10535 from hsanjuan/filcryo-v1.20.0-branch
...
Fix: export-range: Ignore ipld Blocks not found in Receipts.
2023-03-28 16:01:11 -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
ecd13079e7
Address review comments
2023-03-28 17:08:53 +02:00
Friðrik Ásmundsson
b4d644e768
Merge pull request #10517 from filecoin-project/10504-cache-execution-traces
...
feat: Add small cache to execution traces
2023-03-28 14:59:33 +00:00
Fridrik Asmundsson
83e2408f81
Only populate message index if config EnableMsgIndex is set
2023-03-28 16:28:47 +02:00
Hector Sanjuan
39b27e709e
export-range: use debug log instead of warn for not found receipt events
2023-03-28 15:05:43 +02:00
Fridrik Asmundsson
2e45f6f778
Dont do locking using defer
2023-03-28 12:36:57 +02:00
Fridrik Asmundsson
f84f8a831a
Use TipSetKey as key in cache and return copies
2023-03-28 12:36:57 +02:00
Fridrik Asmundsson
1ea7e05cde
feat: Add small cache to execution traces
...
This PR adds a small cache to calls to ExecutionTrace which helps
improve performance for node operators like exchanges and block
explorers.
If items is in cache calls to this function will be 2-3x faster.
Fixes: https://github.com/filecoin-project/lotus/issues/10504
2023-03-28 12:36:52 +02:00
Łukasz Magiera
5aa6dd100c
Merge pull request #10550 from filecoin-project/asr/api-comment
...
docs: api: clarify MpoolClear params
2023-03-28 09:50:46 +02:00
Łukasz Magiera
6012e65319
debug batch deal test a bit more
2023-03-27 15:34:59 +02:00
Łukasz Magiera
aebe3d4cf7
fix: itests: Don't call t.Error in MineBlocks goroutine
2023-03-27 13:23:29 +02:00
Łukasz Magiera
2120fae2b6
Merge pull request #10569 from filecoin-project/fix/panic-index-oor
...
fix: proving: Initialize slice with with same length as partition
2023-03-27 13:03:42 +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
90171c8bab
Addressing lint errors
2023-03-25 11:17:54 +00:00
Fridrik Asmundsson
b8137f6b4d
Delete existing message index when loading from snapshot
2023-03-24 16:45:33 +00:00
Fridrik Asmundsson
48c57d394b
Improve performance when populating message indax
2023-03-24 15:36:31 +00: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 Rajasekaran
2cd3a052e3
Merge pull request #10553 from filecoin-project/asr/drop-genesis-marketfund
...
feat: stmgr: speed up calculation of genesis circ supply
2023-03-23 17:34:17 -04:00
Aayush
bc87017ea5
feat: supply: only grab genesis msig locks for writes
2023-03-23 17:04:59 -04:00
Aayush
dcdd1bc214
feat: supply: drop genesis market locked funds
2023-03-23 15:56:59 -04:00
Aayush
8bb5d985d4
docs: api: clarify MpoolClear params
2023-03-23 10:57:08 -04:00
Łukasz Magiera
ce17546a76
Merge pull request #10549 from filecoin-project/asr/gas-paych-special
...
fix: gas estimation: don't special case paych collects
2023-03-23 15:15:05 +01:00
Aayush
57d4c98d00
fix: gas estimation: don't special case paych collects
2023-03-23 09:50:28 -04:00
Łukasz Magiera
1022ac5e2b
Merge pull request #10271 from iand/iand/fix-tracer-pid
...
fix: tracer: emit raw peer ids for compatibility with libp2p tracer
2023-03-23 12:41:31 +01: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
Łukasz Magiera
dbd7ac5315
Merge branch 'feat/new-gw-methods'
2023-03-23 11:26:58 +01:00
Łukasz Magiera
4ebc408a5a
Merge remote-tracking branch 'origin/master' into feat/new-gw-methods
2023-03-23 11:26:25 +01:00
Łukasz Magiera
1152bb2e7b
Merge pull request #10531 from Jorropo/bump-go-libipfs
...
chore: bump go-libipfs
2023-03-23 10:28:06 +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
Jorropo
f48c6268f8
chore: all: bump go-libipfs
2023-03-22 03:26:34 +01:00
Hector Sanjuan
6942020253
Ignore blockstore.Get errors when the top-level-task is Receipts
2023-03-21 21:25:50 +01: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
ZenGround0
2b3a86eefb
Demote now common logs ( #10516 )
...
Co-authored-by: zenground0 <ZenGround0@users.noreply.github.com>
2023-03-20 10:54:30 -04:00
Łukasz Magiera
02db37bf37
feat: shed: incoming block-sub chainwatch tool
2023-03-20 10:37:48 +01:00
Aayush Rajasekaran
2a3dcf6cbd
Merge pull request #10502 from filecoin-project/fix/splitstore-handles-dangling-event-ptr
...
fix:splitstore:Don't enforce walking receipt tree during compaction
2023-03-17 13:29:48 -04:00
zenground0
252387768d
Don't enforce walking receipt tree during compaction
2023-03-17 09:29:18 -06:00
Łukasz Magiera
eed1a098c6
Merge pull request #10495 from filecoin-project/steb/fix-div-by-zero
...
fix: eth: handle a potential divide by zero in receipt handling
2023-03-17 11:32:27 +01:00
Steven Allen
2207ab3c93
fix: eth: handle a potential divide by zero in receipt handling
...
This isn't really possible to hit on-chain at this piont (message won't
be accepted) but we might as well be extra careful.
fixes #10471
2023-03-16 08:53:52 -07:00
vyzo
883bbf8701
add sanity check in SearchForIndexedMsg call site
...
Check that receipt is non nil, and the message was indeed found.
2023-03-16 17:51:28 +02:00
vyzo
3710768910
add TODO for WaitForMessage to use the index
2023-03-16 17:45:16 +02:00
vyzo
ef2f2b0f89
reword funny comment
2023-03-16 17:43:56 +02:00
vyzo
9c087cc52c
second error variable name to avoid confusing they yushie.
2023-03-16 17:42:09 +02:00
vyzo
1e7f5c6a1e
shut down the index if there is an error during head processing
2023-03-16 17:41:06 +02:00
vyzo
ff22a46253
complain if head change processing is building backlog
2023-03-16 17:38:46 +02:00