Jakub Sztandera
cad743ec54
Appease the linter
...
Signed-off-by: Jakub Sztandera <kubuxu@protocol.ai>
2023-05-19 20:02:47 +02:00
Jakub Sztandera
dfa7fc7723
feat: chainstore: sharded mutex for filling chain height index
...
This PR introduces as sharded mutex within the ChainIndex#GetTipsetByHeight.
It also replaces a go map with xsync.Map which doesn't require locking.
The lock is taken when it appears that ChainIndex filling work should be
started. After claiming the lock, the status of the cache is rechecked,
if the entry is still missing, the fillCache is started.
Thanks to @snissn and @arajasek for debugging and taking initial stabs at this.
Supersedes #10866 and 10885
Signed-off-by: Jakub Sztandera <kubuxu@protocol.ai>
2023-05-19 19:49:22 +02:00
Łukasz Magiera
9321e0fd14
Merge pull request #10894 from filecoin-project/feat/lotus-info-alerting
...
Add alerts to `Lotus info` cmd
2023-05-19 15:59:03 +02:00
Phi
40e51baadc
Add alerts to Lotus info
cmd
...
Add alerts to `Lotus info` cmd
2023-05-19 14:31:40 +02:00
simlecode
3207c69528
opt: cli: If present, print Events Root
2023-05-19 16:56:11 +08: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
e65de697f0
make docsgen-cli
...
make docsgen-cli
2023-05-18 18:27:53 +02:00
Phi
b08dbde2da
Update redeclare cmd on Lotus-Workers
...
Update redeclare cmd on Lotus-Workers
2023-05-18 18:04:10 +02:00
Łukasz Magiera
6ced5e2944
Merge pull request #10880 from filecoin-project/jen/makedeephappy
...
fix: shed remove datacap not working with ledger
2023-05-18 16:10:17 +02:00
Jennifer Wang
de0726fcb0
make ledger sign work
2023-05-17 22:01:04 -04:00
gammazero
0a0f540189
mod tidy
2023-05-17 11:42:34 -07:00
gammazero
f35fa5757a
Replace use of storetheindex with go-libipni
2023-05-17 11:41:00 -07:00
cortze
fa8792a65e
make CI happpy with format
2023-05-17 14:58:53 +02:00
cortze
d400d33b1e
go format code changes
2023-05-17 14:44:19 +02:00
cortze
c2e2725855
update traces, es transport with batches and fasthttp
2023-05-17 11:54:59 +02:00
Łukasz Magiera
aaa376c5e4
Merge pull request #10878 from filecoin-project/sbansal/neg-epoch-check
...
Check if epoch is negative in GetTipsetByHeight
2023-05-17 11:07:14 +02:00
Shrenuj Bansal
b0d1385273
Check if epoch is negative in GetTipsetByHeight
2023-05-16 21:19:03 -04:00
Łukasz Magiera
0e7f9cf99b
Merge pull request #10867 from filecoin-project/refactor/gfm-v1.28.0
...
chore: update go-fil-markets
2023-05-17 00:13:36 +02:00
Łukasz Magiera
34ebb257e8
Merge pull request #10868 from filecoin-project/feat/add-legacy-markets-alert
...
feat: alerts: Add lotus-miner legacy-markets alert
2023-05-16 23:41:24 +02: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
7519f9fdf1
fix: Add lotus-miner legacy-markets alert
...
fix: Add lotus-miner legacy-markets alert
2023-05-15 13:13:06 +02:00
Phi
a29e8226c7
Set drop-missing to true
...
Set drop-missing to true
2023-05-15 11:51:43 +02:00
Jacob Heun
af0303ff7d
chore: update go-fil-markets
2023-05-15 10:27:13 +02:00
Yolan Romailler
0d7d906abf
Adding extra data check on DecodeBlockMsg
...
fix: types: error out on decoding BlockMsg with extraneous data
Fixes OSS-fuzz issue 48208: lotus:fuzz_block_msg
Signed-off-by: Yolan Romailler <anomalroil@users.noreply.github.com>
2023-05-12 21:32:44 +02:00
JesseXie
bc6017194d
Merge pull request #10856 from filecoin-project/lotus-fountain-add-datacap
...
feat⛲ add grant-datacap support
2023-05-12 11:20:26 -07: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
Jiaying Wang
befc82d3cd
Merge pull request #10861 from filecoin-project/asr/deflake-logs
...
feat: itests: add logs to blockminer.go failure case
2023-05-12 13:47:03 -04:00
JesseXie
9b0cbbb0a8
Merge branch 'master' into lotus-fountain-add-datacap
2023-05-12 10:42:39 -07:00
Aayush Rajasekaran
1dd24fe18f
Merge pull request #10782 from filecoin-project/10781-add-blockhash-param-to-ethgetLogs
...
feat: eth: Add support for blockHash param in eth_getLogs
2023-05-12 12:58:46 -04:00
Aayush Rajasekaran
b3d0b1803f
Merge pull request #10784 from filecoin-project/maciej/fountain
...
lotus-fountain: make compatible with 0x addresses #10560
2023-05-12 12:17:56 -04:00
Aayush
760a27dd4b
feat: itests: add logs to blockminer.go failure case
2023-05-12 12:17:31 -04:00
Aayush Rajasekaran
2bbc098bff
Merge pull request #10858 from filecoin-project/asr/deflake-sector-import
...
feat: deflake sector_import_simple
2023-05-12 11:09:06 -04: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
Aayush Rajasekaran
a0ebd8bb16
Merge pull request #10857 from filecoin-project/asr/feat-deadlock-2
...
fix: splitstore: remove deadlock around waiting for sync
2023-05-11 16:36:04 -04:00
Aayush
f39478140a
feat: deflake sector_import_simple
2023-05-11 15:08:12 -04:00
Aayush
f4a3207ede
fix: splitstore: remove deadlock around waiting for sync
2023-05-11 09:32:40 -04: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
Shrenuj Bansal
5a1738c9ba
Merge pull request #10853 from filecoin-project/sbansal/1.23.1-rc2
...
Changelog and build version for 1.23.1-rc2
2023-05-10 17:38:27 -04:00
Fridrik Asmundsson
4ca30abeef
Add support for blockHash param in eth_getLogs
2023-05-10 16:43:25 -04:00
Łukasz Magiera
825564a994
itests: Deflake TestNetBlockIPAddr
2023-05-10 22:35:36 +02:00
Łukasz Magiera
b412d8c179
Revert "Revert "libp2p: add QUIC and WebTransport to default listen addresses""
2023-05-10 22:28:09 +02:00
Shrenuj Bansal
5aea90776c
update changelog
2023-05-10 16:25:05 -04:00
Friðrik Ásmundsson
b4ea0db04f
Merge pull request #10719 from filecoin-project/10622-add-eth-syncing
...
feat: Add eth_syncing RPC method
2023-05-10 16:21:11 -04:00
Shrenuj Bansal
a1a012039a
Merge pull request #10852 from filecoin-project/sbansal/revert-10848
...
Revert "libp2p: add QUIC and WebTransport to default listen addresses"
2023-05-10 16:17:49 -04:00
Shrenuj Bansal
67df60f26f
Changelog and build version for 1.23.1-rc2
2023-05-10 16:14:42 -04:00
Fridrik Asmundsson
2bc205ed62
feat: Add eth_syncing RPC method
...
This commit adds eth_syncing RPC method which returns an object
with data about the sync status or false.
2023-05-10 16:08:18 -04:00