Ian Norden
0c3e6feeaa
Merge pull request #4 from vulcanize/ian_update
...
Add indexes to `event.emitter_addr` and `event_entry.key`
2023-12-01 10:03:15 -06:00
i-norden
f1017b18d8
add index to event.emitter_addr
2023-11-30 13:03:36 -06:00
i-norden
ab151d6708
add index to event_entry.key
2023-11-30 13:00:34 -06:00
Ian Norden
658884f7e7
fix: api: exclude reverted events in eth_getLogs results ( #11318 )
...
* exclude reverted events from results returned by eth_getLogs
* unit test
* update CHANGELOG.md
2023-11-20 10:48:16 -06:00
Jiaying Wang
44c27f7ea2
Merge pull request #11425 from filecoin-project/phi-v1250rc5
...
chore: release: update changelog and version for v1.25.0
2023-11-17 04:02:36 +08:00
jennijuju
f467be7345
update changelog
2023-11-17 03:47:00 +08:00
Jiaying Wang
8f9da34ad0
Merge pull request #11422 from filecoin-project/asr/backport-calib-25
...
chore: backport calibnet lightweight patch
2023-11-17 00:56:25 +08:00
Phi
a71ad24127
chore: release: update changelog and version for v1.25.0
...
chore: release: update changelog and version for v1.25.0
2023-11-16 12:07:31 +01:00
7b310ba253
feat: chain: light-weight patch to fix calibrationnet again by removing move_partitions from built-in actors ( #11409 )
...
* upgrade calibnet by removing move_partitions from miner actor in actor v12
* cids for buggy bundles
* revert changes to v12 tar
* upgrade system actor state
* update based on manifest
* nit: clean up some comments
* chore: rename param to oldBuggyMinerCID
* refactor, ensure both buggy bundles are loaded
* update to actors v12.0.0-rc.3
* fix: load second buggy bundle for UpgradeWatermelonFixHeight
* add calibration fix2 upgrade epcoh
* update mainnet upgrade epoch
---------
Co-authored-by: Aayush <arajasek94@gmail.com >
Co-authored-by: jennijuju <jiayingw703@gmail.com >
2023-11-15 13:10:31 -05:00
Aayush Rajasekaran
11b21d59b2
Merge pull request #11414 from filecoin-project/phi-backport-11408-v1250
...
chore: backport #11408 to release/v1.25.0
2023-11-14 10:36:04 -05:00
Phi
1234a6ef00
Revert move-partitions cmd
...
Revert move-partitions cmd
2023-11-13 18:46:41 +01:00
Aayush Rajasekaran
ce6cbcbf2b
Merge pull request #11397 from filecoin-project/phi-backport-11395-v1250
...
chore: backport #11395 to release/v1.25.0
2023-11-08 11:48:44 -05:00
Phi-rjan
f02062b8c7
Merge pull request #11400 from filecoin-project/phi/v1250rc4
...
build: Calib hot fix: v1.25.0-rc4
2023-11-08 17:47:18 +01:00
Phi
c95802adba
Push correct *.json.gz
...
Push correct *.json.gz
2023-11-08 17:35:59 +01:00
Phi
677dfde7de
Correct rc-version in changelog
...
Correct rc-version in changelog
2023-11-08 17:20:48 +01:00
Phi
e5792897bd
Update changelog
...
Update changelog
2023-11-08 17:17:13 +01:00
Aayush
65591841f9
skip migration cache correctly
2023-11-08 17:14:02 +01:00
Aayush
ba98d63c41
fix: nv21fix migration: correctly upgrade system actor
2023-11-08 17:13:55 +01:00
jennijuju
160b9d381f
calib hot fix patch prep
2023-11-08 17:13:29 +01:00
Phi
5f3eb793ed
Move premigration to 90 minutes
...
Move premigration to 90 minutes before upgrade epoch.
2023-11-08 10:27:29 +01:00
Jiaying Wang
2ca16ccb9b
Merge pull request #11377 from filecoin-project/jen/25rc
...
release: v1.25.0-rc3
2023-11-02 08:27:54 +08:00
jennijuju
4bdcba8b60
docs gen
2023-11-02 08:09:40 +08:00
jennijuju
892308020f
bump the version
2023-11-02 08:00:15 +08:00
Steven Allen
65085d17c0
fix: api: compute gasUsedRatio based on max gas in the tipset ( #11354 )
...
We were computing this based on the max block gas, but this is
incorrect. The new value isn't entirely correct either (we should
probably compute an average of the gas used in each block in the
tipset?), but it's good enough.
fixes #10515
2023-11-02 07:57:54 +08:00
Steven Allen
b8f7109988
fix: api: compute the effective gas cost with the correct base-fee ( #11357 )
...
fixes #11252
2023-11-02 07:57:40 +08:00
Aayush Rajasekaran
b7a3da4319
fix: sync: iterate over returned messages directly ( #11373 )
2023-11-02 07:57:22 +08:00
Mikers
290f35a24f
add support for v12 check invariants and also a default case to reduce future confusion ( #11371 )
2023-11-02 07:57:11 +08:00
Jiaying Wang
bbe28536d4
update both mainnet and calib upgrade epoch
2023-11-02 07:56:48 +08:00
Phi
fb8e89674d
Bump version and changelog
...
Bump version and changelog
2023-10-31 18:41:54 -04:00
Aayush Rajasekaran
ce0c1d834f
feat: chain: light-weight patch to fix calibrationnet ( #11363 )
...
* refactor: make GetEmbeddedBuiltinActorsBundle take network bundle name
* update calibnet actor bundle to v12.0.0-rc.2, but include v12.0.0-rc.1 as calibrationnet-buggy.car
* wip: calibnet unbork migration
* calibnet: add buggy miner actor CID to actorMeta
* fix incorrect buggy calibnet manifest
* make UpgradeWatermelonFixHeight a build param
* calibnet patch: check whether network is calibration from init actor state
* add sanity checks to the v12 calibnet patch upgrade
* address review
2023-10-31 18:36:05 -04:00
Phi-rjan
c9d4f0eefe
Merge pull request #11369 from filecoin-project/phi-backport-11365-v1250
...
chore: backport #11365 to release/v1.25.0
2023-10-31 20:32:55 +00:00
Aayush
3e1d1803bf
chore: deps: update to builtin-actors v12.0.0-rc.2
2023-10-31 20:10:15 +00:00
Phi-rjan and Łukasz Magiera
2451469558
storage: Return soft err when sector alloc fails in acquire ( #11350 )
...
Co-authored-by: Łukasz Magiera <magik6k@gmail.com >
2023-10-24 12:12:06 -07:00
Aayush Rajasekaran
991cc473f8
feat: miner: defensive check for equivocation ( #11328 )
2023-10-24 10:16:48 -07:00
Phi-rjan
4acf337e62
Merge pull request #11343 from filecoin-project/phi-v1250-rc1
...
build: release: v1.25.0-rc1
2023-10-18 16:22:23 +01:00
Phi
f3ab0bb03a
Merge branch 'phi-v1250-rc1' of https://github.com/filecoin-project/lotus into phi-v1250-rc1
2023-10-18 15:16:36 +01:00
Phi
f7917f6f4d
Add backport to the changelog
...
Add backport to the changelog
2023-10-18 15:16:28 +01:00
Phi
ef0bc1854c
build: release: v1.25.0-rc1
...
Update the changelog for v1.25.0-rc1
2023-10-18 15:16:28 +01:00
Phi
98cc7123df
Add backport to the changelog
...
Add backport to the changelog
2023-10-18 15:16:19 +01:00
Aayush Rajasekaran
620c5a78dd
Merge pull request #11344 from filecoin-project/phi-backport-cachefiles-SynthPoRep-Layers
...
backport: fix: cachefiles: add SynthPorep layers
2023-10-18 10:11:10 -04:00
Aayush
a132f57b12
fix: cachefiles: add SynthPorep layers
2023-10-18 14:29:02 +01:00
Phi
b722ea436f
build: release: v1.25.0-rc1
...
Update the changelog for v1.25.0-rc1
2023-10-18 11:15:49 +01:00
Andrew Jackson (Ajax)
58ff87ff24
Merge pull request #11342 from filecoin-project/v1.25-nogen
...
V1.25 nogen
2023-10-17 14:49:32 -05:00
Andrew Jackson (Ajax)
6c4af9bdaa
changelog 1.25
2023-10-17 14:29:42 -05:00
Andrew Jackson (Ajax)
62ea560832
tidy
2023-10-17 14:06:53 -05:00
Andrew Jackson (Ajax)
85fd3f2f99
changelog
2023-10-17 13:59:57 -05:00
Andrew Jackson (Ajax)
ea71d05e8e
build fixed
2023-10-17 13:55:34 -05:00
Andrew Jackson (Ajax)
2bc4951d79
Merge branch 'release/v1.24.0' into release/v1.25.0
2023-10-17 10:19:51 -05:00
Phi-rjan
60f78c7922
Merge pull request #11340 from filecoin-project/phi/update-changelog
...
build: release: v1.24.0-rc2
2023-10-17 15:45:29 +01:00
Phi
409060546b
Merge branch 'phi/update-changelog' of https://github.com/filecoin-project/lotus into phi/update-changelog
2023-10-17 15:26:54 +01:00
Phi
0ae4f7d449
Add #11339 to the changelog
...
Add #11339 to the changelog
2023-10-17 15:26:41 +01:00
Phi
064ffeb3f0
Bump version and Changelog
...
Bump version and Changelog
2023-10-17 15:26:41 +01:00
Phi
2dae731de9
Add updated rc1-changelog to in-code changelog
...
Add updated changelog to in-code changelog
2023-10-17 15:26:41 +01:00
Aayush Rajasekaran
c7bcb2bda5
Merge pull request #11339 from filecoin-project/asr/bump-gst
...
chore: deps: update to go-state-types v0.12.5
2023-10-17 10:24:48 -04:00
Phi
6ecea9e661
Add #11339 to the changelog
...
Add #11339 to the changelog
2023-10-17 14:52:03 +01:00
Phi
e1b43416a4
Bump version and Changelog
...
Bump version and Changelog
2023-10-17 14:47:02 +01:00
Phi
72dc3d9536
Add updated rc1-changelog to in-code changelog
...
Add updated changelog to in-code changelog
2023-10-17 14:28:45 +01:00
Aayush
2c0468a33b
chore: deps: update to go-state-types v0.12.5
2023-10-17 09:13:31 -04:00
Andrew Jackson (Ajax)
02a65a69bf
Update for v1.25
2023-10-16 18:10:23 -05:00
Aayush Rajasekaran
4d760e61ea
Merge pull request #11333 from filecoin-project/chore/butterfly-assets
...
chore: build: Butterfly assets
2023-10-16 13:37:36 -04:00
Phi
35d247a540
chore: butterfly assets
...
chore: butterfly assets
2023-10-13 09:34:08 +01:00
Aayush Rajasekaran
630e58fae4
Merge pull request #11332 from filecoin-project/asr/release-prep
...
chore: build: bump version to 1.24.0-rc1
2023-10-12 21:19:21 -04:00
Aayush
fd65ad5da7
feat: docs: add 1.24.0-rc1 changelog
2023-10-12 21:19:11 -04:00
Aayush
d498036aba
chore: build: bump version to 1.24.0-rc1
2023-10-12 19:31:05 -04:00
Aayush Rajasekaran
0e0b553c91
Merge pull request #11331 from filecoin-project/feat/set-calibration-height
...
chore: release: Set calibration upgrade height
2023-10-12 19:23:49 -04:00
Aayush Rajasekaran
5c68afa90d
Update build/params_calibnet.go
2023-10-12 19:23:43 -04:00
Aayush Rajasekaran
2ebd8cd8ad
Merge pull request #11330 from filecoin-project/asr/update-deps
...
chore: deps: update to latest actors and FFI
2023-10-12 19:21:13 -04:00
Phi
5fa44b12e8
chore: build: set calibration upgrade height
...
chore: build: set calibration upgrade height
2023-10-12 21:42:33 +01:00
Aayush
973cbc30bc
chore: deps: update to latest actors and FFI
2023-10-12 16:20:33 -04:00
Aayush Rajasekaran
a7f4976ab1
Merge pull request #11314 from filecoin-project/fix/sector-commitment-comment
...
fix: docs: Update SectorLifetime to be in line with FIP-0052
2023-10-11 15:50:10 -04:00
Aayush Rajasekaran
6ddc674424
Merge pull request #11327 from filecoin-project/asr/limit-partitions
...
feat: limit PoSted partitions to 3
2023-10-11 13:05:22 -04:00
Aayush
2a644e2c04
feat: limit PoSted partitions to 3
2023-10-11 12:41:55 -04:00
Phi
db96bc0143
Update comment
...
Make clear that 1278 days are applicable in nv21 not before.
2023-10-11 16:30:30 +01:00
Phi
ce27d5fcf2
fix: config: update sector lifetime comment
...
Update SectorLifetime duration comment to be in line with FIP-0052: https://fips.filecoin.io/FIPS/fip-0052.html
2023-10-09 11:17:03 +01:00
Phi-rjan
d09d549db7
Merge pull request #11312 from filecoin-project/phi-butterfly-assets
...
chore: butterfly: Update Butterfly Assets
2023-10-04 17:20:13 +01:00
Phi
276f8bf35c
chore: butterfly: Add nv21 assets
...
Add nv21 butterfly assets
2023-10-04 16:49:35 +01:00
Aayush Rajasekaran
d26e734c8e
Merge pull request #11310 from filecoin-project/asr/updates
...
chore: deps: update FFI, FVM, and actors
2023-10-04 09:43:11 -04:00
Aayush
25757a197e
chore: deps: update actors to v12.0.0-dev.3
2023-10-03 16:19:51 -04:00
Aayush
59394febe1
chore: deps: update to FFI v1.24.0-rc.1
2023-10-03 16:05:22 -04:00
Jie Hou
e81e5a751c
Merge pull request #11301 from filecoin-project/move-partition
...
Feat: Lotus cli: actor: Support move partition command to move partitions' deadline
2023-10-02 09:27:26 -07:00
Jie Hou
3ca769c3c3
Update go mod
2023-10-02 16:56:56 -07:00
Jie Hou
7f3b2b8bc3
Add doc
2023-10-02 16:56:56 -07:00
Jie Hou
5e1e426882
Add really-do-it
2023-10-02 16:56:56 -07:00
Jie Hou
513ebd2de3
Update go-state-types commit
2023-10-02 16:56:56 -07:00
Jie Hou
66dee78508
Resume filecoin-ffi to right commit
2023-10-02 16:56:56 -07:00
Jie Hou
6f03936678
Remove unnecessary changes
2023-10-02 16:56:56 -07:00
Jie Hou
0a25e90dc8
WIP: Able to make call
...
WIP: further improve
CHANGELOG
Go mod switch dependency
2023-10-02 16:56:56 -07:00
Phi-rjan
0d240d1c58
Merge pull request #11297 from filecoin-project/fix-update-todo-nv21
...
chore: config: Update todo in UseSyntheticPoRep
2023-10-02 13:39:05 +01:00
Phi
f0fce8f4a5
Remove sentence
...
Remove sentence about additional computation costs
2023-10-02 13:19:13 +01:00
Phi
3d8324d0f8
Remove precomputing line
...
Remove precomputing line
2023-09-27 08:59:40 +01:00
Phi-rjan
6c8a0eabfc
Merge pull request #11295 from filecoin-project/phi-worker-connect-backport
...
chore: backport #11294 into `release/v1.23.4`
2023-09-26 08:31:12 +02:00
Phi
e7b0fb3de3
Update todo in config
...
Updates the TODO in the synthetic config.
2023-09-26 08:22:25 +02:00
Phi
8c30e06eb6
Handle both IPv4 and IPv6
...
use net.JoinHostPort(minerIP, minerPort) to handle both IPv4 and IPv6 addresses.
2023-09-25 15:12:07 +02:00
Phi
65638ae0c1
Connect to newAddress
...
Connect to newAddress
2023-09-25 15:11:59 +02:00
Aayush Rajasekaran
a0e38c905e
Merge pull request #11293 from filecoin-project/phi-butterfly-assets
...
chore: butterfly: Add preliminary nv21 assets
2023-09-24 10:03:39 -04:00
Phi
ba68d09294
Add butterfly assets
...
Add butterfly assets
2023-09-24 09:05:56 +02:00
Aayush
6801b1c3e9
feat: set butterflynet to upgrade to nv21 at epoch 400
2023-09-23 18:25:16 -04:00
Aayush Rajasekaran
527cba8922
Merge pull request #11291 from filecoin-project/asr/updates
...
chore: deps: update bulitin-actors, FVM, and go-state-types
2023-09-23 18:23:51 -04:00
Aayush
72cd622221
fix: storage: only check CommD if sector has deals
2023-09-23 17:54:44 -04:00
Steven Allen
c6debaadf0
make gen
2023-09-23 17:54:44 -04:00
Steven Allen
2fa5422581
fix: use VerifyDealForActivation in StateComputeCID
...
Unfortunately, ComputeDataCommitement was deprecated.
2023-09-23 17:54:39 -04:00
Steven Allen
92844c8921
fix recursive test
2023-09-23 14:32:53 -04:00
Aayush
04ebd5177c
refactor: GetMaxSectorExpirationExtension depends on network version
2023-09-23 14:09:25 -04:00
Aayush
9b40880a2e
chore: deps: update to FFI v1.24.0-dev.1
2023-09-23 12:20:57 -04:00
Aayush
b876a2f090
chore: deps: update to builtin-actors v12.0.0-dev.2
2023-09-22 17:15:07 -04:00
Aayush
d7d97e7b23
chore: deps: update to go-state-types v0.12.2
2023-09-22 17:13:39 -04:00
Andrew Jackson (Ajax)
4fd6eb6e87
Merge pull request #11258 from filecoin-project/feat/implement-SyntheticPoRep
...
feat: implement Synthetic PoRep
2023-09-19 12:05:04 -05:00
Łukasz Magiera
5ce0285457
bundle-gen
2023-09-19 18:21:22 +02:00
Łukasz Magiera
efd1e47004
itests: remove obsolete nv12 pledge test
2023-09-19 16:43:34 +02:00
Łukasz Magiera
935fbc53c2
ci: get params in pledge tests
2023-09-19 15:58:02 +02:00
Łukasz Magiera
3cebd99d4c
pipeline: debugging C2 with synth porep
2023-09-19 15:09:46 +02:00
Łukasz Magiera
a016f4cbe8
mod tidy
2023-09-19 12:28:20 +02:00
Łukasz Magiera
01de96d230
fix lint
2023-09-19 12:12:04 +02:00
Łukasz Magiera
3f076bfc16
fix exec traces with new ffi
2023-09-19 11:58:13 +02:00
Łukasz Magiera
ea81c05669
update ffi
2023-09-19 10:55:50 +02:00
Aayush Rajasekaran and Steven Allen
b9c29d6ee5
chore: backport #11262 ( #11265 )
...
* fix: networking: avoid dialing when trying to handshake peers
Also, avoid handshaking with peers that don't support the handshake
protocol.
* drop unused imports
---------
Co-authored-by: Steven Allen <steven@stebalien.com >
2023-09-15 10:36:48 -07:00
Phi
024dd5e08e
Merge branch 'feat/nv21' into feat/implement-SyntheticPoRep
2023-09-08 16:41:39 +02:00
Andrew Jackson (Ajax)
c7b3d84cc2
Merge pull request #11248 from filecoin-project/changelog-1234rc1
...
chore: release: 1.23.4rc1 prep
2023-09-05 12:55:06 -05:00
Andrew Jackson (Ajax)
3309222a62
fixes
2023-09-05 12:34:22 -05:00
Andrew Jackson (Ajax)
c852f1d351
1.23.4 rc1
2023-09-05 12:28:12 -05:00
Andrew Jackson (Ajax)
70895afa3e
Merge pull request #11011 from filecoin-project/fix/snap-unseal
...
Snapdeals unsealing fixes
2023-09-05 10:25:34 -05:00
Phi-rjan
37b8afd197
Merge pull request #11224 from filecoin-project/fix/DataCid-env-check
...
fix: worker: Convert `DC_[SectorSize]_[ResourceRestriction]` if set
2023-09-05 12:44:35 +02:00
Jiaying Wang
4ded4cf49e
Merge pull request #11232 from filecoin-project/update-changelog-pr-template
...
docs: Update PR template to callout remembering to update CHANGELOG
2023-09-01 18:33:35 -04:00
Andrew Jackson (Ajax)
b73c016f6d
unseal - comments
2023-09-01 17:15:56 -05:00
Aayush Rajasekaran
d590c53400
Merge pull request #11157 from filecoin-project/asr/add-time-to-base
...
feat: miner: implement FRC-0051
2023-09-01 15:30:41 -04:00
Aayush
114a3bbf3f
add some logs
2023-09-01 15:02:13 -04:00
Aayush
b68ced7b19
address review
2023-09-01 15:01:22 -04:00
Aayush
43d1d62fc6
Make EquivocationDelaySecs a build param
2023-09-01 15:01:22 -04:00
Aayush
668d615be6
Add comments, re-select messages if refreshing base
2023-09-01 15:01:22 -04:00
Aayush
91d2c02765
feat: miner: implement FRC-0051
2023-09-01 15:01:22 -04:00
Fridrik Asmundsson
5fb41d7098
Update PR template to callout remembering to update CHANGELOG
2023-09-01 18:17:28 +00:00
Jennifer Wang
7e6da3d76f
rebase
2023-08-31 09:51:52 -04:00
Jennifer Wang
0d5c99cb3c
revert some ffi updates
2023-08-31 09:46:10 -04:00
Łukasz Magiera
077f3f0c33
ffiwrapper: Fix sector key regen
2023-08-31 09:46:10 -04:00
Łukasz Magiera
8ea44e82d1
ffiwrapper: Correctly create unsealed file when doesn't exist
2023-08-31 09:46:10 -04:00
Łukasz Magiera
e74eb6af09
make the linter happy
2023-08-31 09:46:10 -04:00
Jennifer Wang
ad6b0575c1
make gen, mod tidy
2023-08-31 09:46:10 -04:00
Łukasz Magiera
a965fc660e
fix build
2023-08-31 09:46:10 -04:00
Jennifer Wang
4b78c4ea1e
ffiwrapper: Fix sector acquire logic in unsealing
2023-08-31 09:46:10 -04:00
Łukasz Magiera
6167bcc8ce
ffiwrapper: Fix sector acquire logic in unsealing
2023-08-31 09:46:10 -04:00
Łukasz Magiera
fa0f117edd
ffiwrapper: Fix multiple bugs in snapdeals unsealing
2023-08-31 09:46:10 -04:00
Łukasz Magiera
bcc2d7fd10
ffiwrapper: Fix RegenerateSectorKey
2023-08-31 09:46:10 -04:00
Jennifer Wang
b0b39424e4
ffiwrapper: Test lower-level GenerateSDR
2023-08-31 09:46:10 -04:00
Aayush Rajasekaran
d71d647aaf
Merge pull request #11100 from filecoin-project/traceapi
...
Add new tracing API
2023-08-30 11:34:06 -04:00
Phi
f3da600b28
Make lint-happy
...
Make lint-happy
2023-08-30 11:32:20 +02:00
Phi
20fe979857
Check if DC_[SectorSize]_[ResourceRestriction] is set
...
Check if DC_[SectorSize]_[ResourceRestriction] is set and convert to DC_[ResourceRestriction] to make sure its enforced by the scheduler.
2023-08-30 11:14:13 +02:00
Łukasz Magiera
cf0ff92008
Merge pull request #11214 from filecoin-project/rvagg/one-and-only-one-ROOT
...
fix(client): single-root error message
2023-08-30 09:37:40 +02:00
Aayush Rajasekaran
9d9de747a9
Merge pull request #11221 from filecoin-project/ci/go1.20
...
fix: dockerfile: Bump to Go 1.20.7 image
2023-08-29 14:24:05 -04:00
Łukasz Magiera
1e8e63e39e
fix: dockerfile: Bump to Go 1.20.7 image
2023-08-29 18:58:36 +02:00
Łukasz Magiera
a9396624a7
Merge pull request #11215 from filecoin-project/backport/nv21/feat/act-precommv2
...
Backport: feat: sealing: Switch to calling PreCommitSectorBatch2
2023-08-29 16:06:27 +02:00
Łukasz Magiera
d3b31d5b39
Merge pull request #11216 from filecoin-project/chore/actor-type-proxies
...
chore: chain/actors: Use type proxies instead of versioned GST imports
2023-08-29 16:06:03 +02:00
Łukasz Magiera
4ee20965fa
chore: chain/actors: Use type proxies instead of versioned GST imports
2023-08-29 15:28:16 +02:00
Fridrik Asmundsson
0096d521c3
fix decoding toplevel output in trace_replayBlockTransactions
2023-08-29 12:27:08 +00:00
Łukasz Magiera
2ebd080d5e
itests: Port deadline-toggling itest to nv20
2023-08-29 13:47:20 +02:00
Łukasz Magiera
d94b1ca721
itests: Drop sealing itests for legacy network versions
2023-08-29 13:47:20 +02:00
Łukasz Magiera
3887bf97a4
sealing pipeline: Only set pc commd when deals are present
2023-08-29 13:47:20 +02:00
Łukasz Magiera
556815f844
sealing pipeline: Set commd in precommit params
2023-08-29 13:47:20 +02:00
Łukasz Magiera
1c447b265b
sealing pipeline: Fix unit tests
2023-08-29 13:47:18 +02:00
Łukasz Magiera
ecb6deea09
sealing pipeline: Drop legacy single-pc1 submit path
2023-08-29 13:46:29 +02:00
Łukasz Magiera
79b6ffe651
ci: Drop legacy cc-replace itests
2023-08-29 13:46:29 +02:00
Łukasz Magiera
d6aed7ba83
pc batch: drop individual precommit processing
2023-08-29 13:46:29 +02:00
Łukasz Magiera
7db6f31cca
sealing: pc batch: Call PreCommitSectorBatch2
2023-08-29 13:46:29 +02:00
Fridrik Asmundsson
144bbdfd3b
Added trace api as experimental feature to changelog
2023-08-29 11:26:52 +00:00
Phi
37f6cd3ca5
Register SynthPoRep in ResourceTable
...
Register SynthPoRep in ResourceTable such that task-resource limitations are also applied to SynthPoRep-sectors (i.e PC1_32G_MAX_CONCURRENT)
2023-08-29 13:08:00 +02:00
Fridrik Asmundsson
13e1b4b3df
Added todo to support native actors calling another when created
2023-08-29 10:38:21 +00:00
Rod Vagg
b6fe914748
fix(client): single-root error message
2023-08-29 14:46:39 +10:00
Fridrik Asmundsson
930e9b957c
fix lint
2023-08-28 18:47:45 +00:00
Fridrik Asmundsson
57e825901e
Update FFI
2023-08-28 17:51:47 +00:00
Fridrik Asmundsson
aef0ecf2d2
Run make gen
2023-08-28 17:48:22 +00:00
Fridrik Asmundsson
ed407689e6
Parse input/output for delegate call + other smaller things
2023-08-28 17:48:22 +00:00
Fridrik Asmundsson
029a4a72b8
Address most recent comments
2023-08-28 17:48:22 +00:00
Fridrik Asmundsson
10a5480895
Decode output using top level trace
2023-08-28 17:48:22 +00:00
Fridrik Asmundsson
ee3cdf0e97
Fix use filecoin addr + other small refactor
...
After changing in prev commit to use to ethereum addresses the
comparison does not make sense against builtin actors. This
fixes that by storing also the filecoin addresses in each trace
Also renamed filecoin related fields to Filecoin prefix.
Also remove requirement call to InvokeContract needed to come
from a evm actor
2023-08-28 17:48:22 +00:00
Fridrik Asmundsson
cf255127a4
Decode eth param/return values and change them to ethbytes type
2023-08-28 17:48:22 +00:00
Fridrik Asmundsson
cb5e6e0cd1
The From/To address should be in eth format
2023-08-28 17:48:22 +00:00
Fridrik Asmundsson
8d8891a431
Moved tracing types to ethtypes to address circular dependencies
2023-08-28 17:48:22 +00:00
Fridrik Asmundsson
ef7bcfec06
Do not compute message index as traces should be in message execution order
2023-08-28 17:48:22 +00:00
Fridrik Asmundsson
a1b890c8c7
return wrapped errors
2023-08-28 17:48:22 +00:00
Fridrik Asmundsson
4068e0710d
Do not return interface{} from trace api methods
2023-08-28 17:48:22 +00:00
Fridrik Asmundsson
ebb54bc381
fix naming lint
2023-08-28 17:48:22 +00:00
Fridrik Asmundsson
ba1ee60d1b
Refactor eth.go
2023-08-28 17:48:22 +00:00
Fridrik Asmundsson
7f99d15071
Small refactor and cleanup
2023-08-28 17:48:22 +00:00
Fridrik Asmundsson
fd69f8bbd8
Check all errors
2023-08-28 17:48:22 +00:00
Fridrik Asmundsson
abeb842d93
Address lint errors
2023-08-28 17:48:22 +00:00
Fridrik Asmundsson
392ef1beb7
Handle delegatecall
2023-08-28 17:48:22 +00:00
Fridrik Asmundsson
2c902db0e1
Handle more edge cases
2023-08-28 17:48:22 +00:00
Fridrik Asmundsson
c1eaa2f864
Translate call input/output into Solidity ABI
2023-08-28 17:48:22 +00:00
Fridrik Asmundsson
1b0f54a61b
Add new tracing API
2023-08-28 17:48:22 +00:00
Aayush Rajasekaran
c4214e23bf
Merge pull request #11206 from AnomalRoil/fix/ctxonlongops
...
fix: chain: cancel long operations upon ctx cancelation
2023-08-28 13:33:08 -04:00
Aayush Rajasekaran
a79f96a531
Merge pull request #11212 from filecoin-project/fix/master-cli-ci
...
ci: Use larger executor for cli tests
2023-08-28 10:28:50 -04:00
Łukasz Magiera
f8faa85cba
make gen
2023-08-28 16:12:14 +02:00
Łukasz Magiera
d83956aa6d
ci: Ensure params in sealer tests
2023-08-28 13:43:50 +02:00
Łukasz Magiera
4223e411b6
ci: Use larger executer for cli tests
2023-08-28 13:24:00 +02:00
Łukasz Magiera
bce5535679
Merge pull request #11182 from filecoin-project/TestSealerDLBefore
...
Take Download out of Sealer time
2023-08-25 10:27:42 +02:00
Aayush Rajasekaran
1c9344d805
Merge pull request #11202 from gammazero/fix/update-cached-message-sequence
...
fix: chain: Do not update message info cache until after message validation
2023-08-24 10:59:47 -04:00
Łukasz Magiera
ae2ae3b9ed
Merge pull request #11189 from filecoin-project/update-go-libp2p-v0300
...
update go-libp2p to v0.30.0
2023-08-24 16:15:26 +02:00
Yolan Romailler
13ade62e27
fix: cancel long operations upon ctx cancelation
2023-08-24 15:30:33 +02:00
Aayush Rajasekaran
50cd87e953
Merge pull request #11201 from filecoin-project/asr/merge-nv21
...
chore: merge feat/nv21 into master
2023-08-24 09:25:45 -04:00
Łukasz Magiera
366329b085
Merge pull request #11087 from filecoin-project/fix/pc1-retr-loop
...
fix: sealing pipeline: Fix PC1 retry loop
2023-08-24 11:08:39 +02:00
gammazero
03826aac87
fix doc check
2023-08-23 19:05:21 -07:00
gammazero
7774ca0179
Add sequence number DoS test
2023-08-23 16:53:21 -07:00
gammazero
ca23a4406c
Do not update message info cache until after message validation
...
The sequence number used for replay detection was being updated before message validation confirmed that the message originated from the correct host. This would allow one host A to create a message with the ID of another host B that could then update the cached sequence number for B. While the message from A would fail validation and be ignored, the cached sequence number for B would get updated. This would lead to a temporary DoS for host B as its messages were incorrectly rejected as replays.
This fixes the issue by setting the cached sequence number after message validation.
2023-08-23 14:30:22 -07:00
Aayush
5bfea36a17
Merge branch 'feat/nv21' into asr/merge-nv21
2023-08-23 11:44:59 -04:00
Łukasz Magiera
882f00fbf3
sealing: retrySoftErr: Better comment on ctx handling
2023-08-23 17:29:18 +02:00
Phi-rjan
c1304dee25
Merge pull request #11176 from filecoin-project/nv-skeleton
...
chore: nv-skeleton for feat/nv21-branch
2023-08-23 09:11:26 +02:00
Marten Seemann
413008a98f
bump qtls to v0.3.3
2023-08-23 11:43:02 +07:00
Aayush
60dc1458ce
chore: stmgr: migrations: do not log noisily on cache misses
2023-08-22 17:03:02 -04:00
Aayush
49b1235d69
update test-vectors
2023-08-22 17:01:58 -04:00
Aayush Rajasekaran
0ff655a0a0
Merge pull request #11196 from filecoin-project/chore/update-test-vectors
...
chore: test-vectors: update
2023-08-22 16:59:01 -04:00
Steven Allen
d581f58896
chore: test-vectors: update
...
Update the test-vectors repo to the "last" release. This release deletes
most of the code (that depended on an ancient version of lotus anyways)
as we now rely on the "fvm" test vectors for all but historical tests.
2023-08-22 13:17:46 -07:00
Aayush
41bad60e9e
update to go-state-types v0.12.1
2023-08-22 15:48:25 -04:00
Aayush Rajasekaran
62f52c672c
Merge pull request #11194 from filecoin-project/steb/fix-tagged-releases
...
fix: build: use tagged releases
2023-08-22 15:37:15 -04:00
Steven Allen
eae61009b0
fix: build: use existing upstream branches
...
Unfortunately, we can't _yet_ merge the schema branch. But we will in a
moment. But this at least fixes go-state-types
These dependencies were based on branches which no longer exist.
2023-08-22 11:56:37 -07:00
Aayush
53ba50f58f
update test-vectors
2023-08-22 14:52:59 -04:00
Aayush
3b15661f98
update FFI to support nv21
2023-08-22 13:42:07 -04:00
Aayush
5a901b5eb6
fix tvx
2023-08-22 13:17:31 -04:00
Aayush
89f66dde93
refactor: move vm.Rand to rand.Rand
2023-08-22 12:32:43 -04:00
Aayush
947384041a
fixup conformance tests to incorporate randomness changes
2023-08-22 12:32:37 -04:00
Aayush
3ea3e49bdd
wip: 2 more randomness fetching APIs
2023-08-22 12:32:25 -04:00
Aayush
a6213f8825
fix: refactor rand_replay
2023-08-22 12:32:21 -04:00
Aayush
2e9f4dc2ae
Refactor: Rand: Return randomness digest to VM
2023-08-22 12:32:13 -04:00
Aayush
5ff0db9650
Refactor: Rand: Rename DrawRandomness to DrawRandomnessFromBase
2023-08-22 12:32:00 -04:00
Aayush
7cfcaf0f8f
Refactor: Rand: return randomness base without hashing
2023-08-22 12:31:56 -04:00
Aayush
8e69ebb1f6
update FFI to support nv21
2023-08-22 12:28:44 -04:00
Aayush Rajasekaran
7491956197
Merge pull request #11167 from filecoin-project/asr/randomness
...
feat: refactor: return randomness base to FVM without hashing
2023-08-22 12:15:24 -04:00
Aayush
2f113e58ca
fix tvx
2023-08-22 12:03:26 -04:00
Aayush
7e6ed09628
refactor: move vm.Rand to rand.Rand
2023-08-22 11:34:28 -04:00
Aayush
c90faf0754
fixup conformance tests to incorporate randomness changes
2023-08-22 10:08:38 -04:00
Łukasz Magiera
5281a6d307
Merge pull request #11188 from filecoin-project/shed-msg-add-exec-trace
...
feat: shed: Add exec traces to `lotus-shed msg`
2023-08-22 13:50:29 +02:00
Łukasz Magiera
5f5c6a08a4
Merge pull request #11191 from filecoin-project/nonsense/remove-trace-goroutine
...
fix: markets/dagstore: remove trace goroutine for dagstore wrapper
2023-08-22 12:30:13 +02:00
Phi
825064669d
Continue if msg not found on-chain
...
Continue if msg not found on-chain
2023-08-22 10:56:50 +02:00
Aayush
034f6cf832
wip: 2 more randomness fetching APIs
2023-08-21 16:32:27 -04:00
Aayush
91ee13b461
fix: refactor rand_replay
2023-08-21 16:28:59 -04:00
Aayush
e5fbba7958
Refactor: Rand: Return randomness digest to VM
2023-08-21 15:44:49 -04:00
Aayush
98a82d3dfe
Refactor: Rand: Rename DrawRandomness to DrawRandomnessFromBase
2023-08-21 15:03:46 -04:00
Aayush
05ac9453cd
Refactor: Rand: return randomness base without hashing
2023-08-21 15:03:46 -04:00
Andrew Jackson (Ajax)
cb7231cb8a
Merge pull request #11177 from filecoin-project/sbansal/unseal-background
...
fix: sealing: Run unsealing in the background for better ux
2023-08-21 11:37:59 -05:00
Anton Evangelatov
9028df409c
fix: markets/dagstore: remove trace goroutine for dagstore wrapper
2023-08-21 17:55:45 +02:00
Łukasz Magiera
1fe7493897
Merge pull request #11183 from LexLuthr/lexluthr/ddo-gateway
...
#11181 : feat: Lotus Gateway: add allocation and claim related GET APIs to gateway
2023-08-21 16:06:15 +02:00
Phi
e1ed24ddd0
Put exec-trace behind flag
...
Put exec-trace behind flag
2023-08-21 13:55:49 +02:00
Łukasz Magiera
92f31ee0be
Merge pull request #11187 from filecoin-project/fix/lotus-wallet-build
...
fix: build: Allow lotus-wallet to be built independently
2023-08-21 13:39:31 +02:00
Łukasz Magiera
2ee879d1ec
Merge pull request #11190 from filecoin-project/fix/wallet-sigint
...
fix: wallet: Make import handle SIGINT/SIGTERM
2023-08-21 13:38:23 +02:00
Phi
5edc7dcdb3
Consider SIGTERM as well
...
Consider SIGTERM as well
2023-08-21 10:37:42 +02:00
Marten Seemann
c42e57b51c
downgrade go.mod to Go 1.19
2023-08-21 15:02:37 +07:00
Marten Seemann
93f95d2ef9
Revert "stop using deprecated functions from the math/rand package"
...
This reverts commit d50cf4eb64 .
2023-08-21 15:02:06 +07:00
Phi
c1fd48a14b
Make lotus wallet import respect sigint
...
Make `lotus wallet import` respect sigint
2023-08-21 09:10:47 +02:00
Marten Seemann
d50cf4eb64
stop using deprecated functions from the math/rand package
2023-08-21 13:53:46 +07:00
Marten Seemann
bca0ec4f9c
update go-libp2p v0.30.0
2023-08-21 10:44:37 +07:00
Phi
539a524271
Make exec-trace human readable
...
Make exec-trace human readable
2023-08-20 20:11:27 +02:00
Phi
51be40291a
Add BUILD_DEPS to lotus-wallet
...
Add BUILD_DEPS to lotus-wallet
2023-08-20 19:58:33 +02:00
Phi
c1231125e9
Print receipt
...
Print receipt
2023-08-20 19:54:17 +02:00
Phi
925498f938
Add exec-trace and receipt
...
Add exec-trace and receipt to the lotus-shed msg command
2023-08-20 10:06:00 +02:00
LexLuthr
bcc8b9d02f
add allocation and claim APIs
2023-08-18 11:28:01 +04:00
Andrew Jackson (Ajax)
c48bf864a4
Take Download out of Sealer time
2023-08-17 22:34:08 -05:00
Aayush
c5bece66df
update FFI to support nv21
2023-08-17 10:21:08 -04:00
Aayush
44e20681cd
make jen
2023-08-17 10:01:50 -04:00
Phi
d680475486
go-mod tidy
...
go-mod tidy
2023-08-17 15:51:17 +02:00
Aayush Rajasekaran
cbbb76b2f0
Merge pull request #11169 from filecoin-project/asr/client-can-allocate
...
feat: test: Test that verified clients can directly transfer datacap, creating allocations
2023-08-17 09:51:12 -04:00
Aayush Rajasekaran
1eec81622c
Merge pull request #11168 from filecoin-project/asr/more-migration-check
...
feat: test: Add more post-migration sanity checks
2023-08-17 09:42:05 -04:00
Aayush
e8020e8f4e
feat: test: Test that verified clients can directly transfer datacap, creating allocations
2023-08-17 09:40:29 -04:00
Łukasz Magiera
23cd5832c7
Merge pull request #11180 from filecoin-project/macSealTest
...
mac seal test
2023-08-17 15:10:37 +02:00
Andrew Jackson (Ajax)
76bca6c392
mac seal test
2023-08-17 07:30:19 -05:00
Shrenuj Bansal
9e69576410
log unseal failures
2023-08-16 17:40:27 -04:00
Shrenuj Bansal
38350b8d8a
Run unsealing in the background for better ux
2023-08-16 17:20:39 -04:00
Łukasz Magiera
3189ea942c
fix deps
2023-08-16 20:11:15 +02:00
Phi
dde30a125f
Set local devnet-genesis to nv20
...
Set local devnet-genesis to nv20
2023-08-16 20:02:11 +02:00
Phi
8b5da86727
feat: introduce local nv21 skeleton
...
Introduce nv21 skeleton for local testing:
- Use local go-state-types with actor_version_checklist changes: https://github.com/filecoin-project/go-state-types/blob/master/actors_version_checklist.md
- Imports mock v12-actors bundle
- Define upgrade heights
- Generate adapters
- Add upgrade schedule and migration
- Add actorstype to the NewActorRegistry in /chain/consensus/computestate.go
- Add upgrade field to api/types.go/ForkUpgradeParams
- Add upgrade to node/impl/full/state.go
- Add network version to chain/state/statetree.go
- make jen
- make docsgen-cli
2023-08-16 20:01:48 +02:00
Łukasz Magiera
80928586d1
Merge pull request #11140 from filecoin-project/fix/wallet-balance-cmd
...
fix: cli: Only display `warning` if behind sync
2023-08-16 15:57:34 +02:00
Łukasz Magiera
22f490132e
Merge pull request #11141 from filecoin-project/fix/worker-IPv6
...
fix: worker: Support IPv6 formatted API-keys
2023-08-16 15:55:05 +02:00
Łukasz Magiera
c46aea6a36
Merge pull request #11164 from filecoin-project/go-libp2p-v029
...
update go-libp2p to v0.29.2
2023-08-16 12:15:52 +02:00
Aayush Rajasekaran
b226a7dbff
Merge pull request #11159 from filecoin-project/asr/fix-frc-0051
...
fix: chainstore: do not get stuck in unhappy equivocation cases
2023-08-15 13:58:26 -04:00
Aayush
e6b0231ab5
Add more post-migration sanity checks
2023-08-14 18:11:47 -04:00
Aayush Rajasekaran
fa0e512510
Merge pull request #11149 from filecoin-project/feat/nv21-migrations-optimized-tree
...
Feat/nv21 migrations optimized tree diff algorithm
2023-08-14 17:05:27 -04:00
Łukasz Magiera
33182967eb
Merge pull request #11142 from filecoin-project/feat/act-precommv2
...
sealing: Switch to calling PreCommitSectorBatch2
2023-08-14 21:31:24 +02:00
Łukasz Magiera
b11fba3561
itests: Port deadline-toggling itest to nv20
2023-08-14 20:25:36 +02:00
Marten Seemann
2f0fbe26f8
update go-libp2p to v0.29.2
2023-08-14 18:46:28 +07:00
Aayush
12e076e9ea
fix: chainstore: do not get stuck in unhappy equivocation cases
2023-08-11 17:32:39 -04:00
Aayush Rajasekaran
7b43f90a3b
Merge pull request #11158 from filecoin-project/asr/miner-refactors
...
feat: miner: 2 minor refactors
2023-08-11 13:20:25 -04:00
Aayush
3566e96b55
refactor: pass more specialized params to computeTicket
2023-08-11 09:52:26 -04:00
Aayush
20e831b9ea
refactor: drop unused param from IsRoundWinner
2023-08-11 09:48:09 -04:00
Łukasz Magiera
2c7c4ee845
Merge pull request #11155 from filecoin-project/asr/deflake
...
feat: deflake: TestGetBlockByNumber
2023-08-11 12:52:59 +02:00
Aayush Rajasekaran
49010a9b9a
Merge pull request #11104 from filecoin-project/asr/frc-0051
...
feat: chainstore: FRC-0051: Remove all equivocated blocks from tipsets
2023-08-09 21:50:10 -04:00
Aayush
69f3580ca2
add more test cases covering chainstore equivocation
2023-08-09 21:00:50 -04:00
Mikers
f57b5bdedc
spelling
2023-08-09 14:28:29 -10:00
Mikers
0b68348738
initial skeleton for nv21 migrations test. migration succesfully executes. todo @aayush and @zen add relevant tests
2023-08-09 14:18:05 -10:00
Aayush Rajasekaran
1da18e8058
Merge pull request #10987 from simlecode/feat/add-Eip155ChainID
...
feat: add Eip155ChainID to StateGetNetworkParams
2023-08-09 20:02:05 -04:00
Aayush
2cbdedc209
add more test cases covering chainstore equivocation
2023-08-09 19:40:53 -04:00
Aayush
0ff334912b
Address review
2023-08-09 19:28:24 -04:00
Aayush
52657c5cb0
feat: chainstore: FRC-0051: Remove all equivocated blocks from tipsets
2023-08-09 19:28:24 -04:00
Aayush
62032e7c2a
feat: deflake: TestGetBlockByNumber
2023-08-09 19:25:32 -04:00
Aayush Rajasekaran
93b0ea2108
Merge pull request #11154 from filecoin-project/asr/merge-releases-into-master
...
chore: merge releases into master
2023-08-09 18:23:55 -04:00
Aayush
32f21258a1
Merge branch 'releases' into asr/merge-releases-into-master
2023-08-09 18:11:18 -04:00
Aayush Rajasekaran
7bb1f98ac6
Merge pull request #11109 from filecoin-project/release/v1.23.3
...
release: v1.23.3
2023-08-09 18:02:15 -04:00
Aayush Rajasekaran
bcde3bd60e
Merge pull request #11152 from filecoin-project/steb/eth-gateway-filter-id-error
...
fix: gateway: return an error when an Eth filter is not found
2023-08-09 17:25:03 -04:00
Phi
3cec54f774
Make TestWalletBalance happy
...
Set up an expected call to ChainHead
2023-08-09 21:25:52 +02:00
Steven Allen
a626b3e62c
fix: gateway: return an error when an Eth filter is not found
...
Previously, we'd just return nothing.
2023-08-09 12:14:45 -07:00
Aayush
9c27d675db
fix: docker: use correct golang 1.19.12 tag
2023-08-09 12:23:51 -04:00
Aayush
34104d05d0
Update Changelog to mention bump in minimum Go version
2023-08-09 11:18:58 -04:00
Aayush
5ee435d7d3
Update Changelog to remove references to ProbeLab experiment
2023-08-09 11:17:48 -04:00
Phi
18ae6bd18b
Unify IsSyncDone
...
Unify IsSyncDone in cli/sync.go and cli/wallet.go
2023-08-09 17:13:25 +02:00
Aayush Rajasekaran
46233e41f7
Merge pull request #11151 from filecoin-project/mikers/go-1.19.12
...
fix: v1.23.3: go version increase
2023-08-09 10:41:37 -04:00
Mikers
70b1bca173
remove deprecated structchecklinter, TOOD add support for linter named "unused"
2023-08-08 13:29:29 -10:00
Mikers
2a9506d7a3
increase golang version to 1.19.12
2023-08-08 13:12:53 -10:00
Aayush Rajasekaran
9310cd6036
Merge pull request #11147 from filecoin-project/asr/fix-test-rest
...
fix: CI: make test-unit-rest actually be the rest of the tests
2023-08-08 15:38:29 -04:00
Aayush Rajasekaran
0c34deb884
fix: CI: make test-unit-rest actually be the rest of the tests
2023-08-08 14:13:44 -04:00
Łukasz Magiera
aa7220d9e8
itests: Drop sealing itests for legacy network versions
2023-08-08 18:51:30 +02:00
Aayush Rajasekaran
87458af858
Merge pull request #11145 from filecoin-project/update-logging
...
fix: downgrade harmless warning to debug
2023-08-08 12:22:09 -04:00
Aayush Rajasekaran
4aeae936d9
Merge pull request #11146 from filecoin-project/asr/bump-libp2p
...
chore: deps: update to go-libp2p 0.27.9
2023-08-08 12:14:53 -04:00
Aayush Rajasekaran
a1c27038ed
chore: deps: update to go-libp2p 0.27.9
2023-08-08 11:41:14 -04:00
nemo
c6d31c0d6d
fix: downgrade harmless warning to debug
2023-08-08 10:52:35 -04:00
Aayush Rajasekaran
4359b2bea9
Merge pull request #11137 from filecoin-project/asr/libp2p-bump
...
chore: deps: update go-libp2p to v0.27.8
2023-08-08 10:37:58 -04:00
Łukasz Magiera
98aff9dcc6
sealing pipeline: Only set pc commd when deals are present
2023-08-08 15:35:19 +02:00
Łukasz Magiera
40cfe626b8
sealing pipeline: Set commd in precommit params
2023-08-08 15:12:50 +02:00
Łukasz Magiera
41fac326b1
sealing pipeline: Fix unit tests
2023-08-08 15:06:43 +02:00
Łukasz Magiera
a4d22f585f
sealing pipeline: Drop legacy single-pc1 submit path
2023-08-08 14:43:00 +02:00
Łukasz Magiera
bb2ac5c22d
ci: Drop legacy cc-replace itests
2023-08-08 13:53:24 +02:00
Phi
94e48ae860
Add IPv6 check and format appropriately
...
Add IPv6 check and format appropriately
2023-08-08 13:18:36 +02:00
Łukasz Magiera
1c73ac69b4
pc batch: drop individual precommit processing
2023-08-08 13:04:21 +02:00
Phi
c4798a604a
Make lint happy
...
Address the errcheck lint error by checking the return from conn.Close()
2023-08-08 12:49:04 +02:00
Łukasz Magiera
ef2be0b546
sealing: pc batch: Call PreCommitSectorBatch2
2023-08-08 12:40:08 +02:00
Phi
b6ba3b23bb
fix: worker: Support IPv6
...
Add support for IPv6 in MINER_API_INFO env.
2023-08-08 12:21:59 +02:00
Phi
826ef40626
Only display chain sync in progress if behind sync
...
Only display `chain sync in progress` if behind sync
2023-08-08 10:06:19 +02:00
Mikers
cd9fdcf781
update go state types to use the experiment speed up branch in order to test and validate it
2023-08-07 11:12:30 -10:00
Łukasz Magiera
884246677b
Merge pull request #11046 from filecoin-project/fix/fsm-commfail-loop
...
fix: sealing: Fix RetryCommitWait loop when sector cron activation fails
2023-08-07 12:11:57 -07:00
Phi
9539f59e09
Add new butterfly-assets
...
Add new butterfly-assets
2023-08-07 16:29:29 +02:00
Phi
dbb166b840
Set upgrade epoch on Butterfly earlier
...
Set upgrade epoch on Butterfly earlier
2023-08-07 14:59:23 +02:00
Aayush
443620bcbf
chore: deps: update go-libp2p to v0.27.8
2023-08-04 13:49:11 -04:00
Mike Seiler
7f4d8b3052
add go-state-types with nv21 migration code
2023-08-03 23:59:30 +00:00
Phi
607e8cc84c
Updated Butterfly-assets
...
Updated Butterfly-assets as the butterfly-network has been reset.
2023-08-03 16:14:17 +02:00
Łukasz Magiera
c8f8095601
update ffi with synth porep fixes
2023-08-03 10:29:02 +02:00
Łukasz Magiera
f620310bfe
address review
2023-08-02 17:04:58 +02:00
Łukasz Magiera
683432e6e0
Merge pull request #11119 from filecoin-project/chore/cleanup-compunscid
...
chore: legacy syscalls: Cleanup ComputeUnsealedSectorCID
2023-08-02 06:45:35 -07:00
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 and Friðrik Ásmundsson
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
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
Ł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
Phi
c4b469bf86
Update butterfly-bootstraps
...
Update butterfly-bootstraps
2023-07-18 13:38:33 +02:00
Phi
9aaa00b32d
Add butterfly artifacts
...
Add butterfly artifacts
2023-07-17 22:54:17 +02:00
Steven Allen
1fc47eb7d8
feat: vm: allow raw "cbor" in state and use the new go-multicodec
...
1. Switch to go-multicodec as the source of multicodec code information.
This gives us a central, generated source of multicodec codes.
2. Use this library inside the VM and shapshot logic to consistently
allow CBOR, in addition to DagCBOR.
3. Remove the hard-coded CBOR constant.
2023-07-17 11:24:01 -07:00
Aayush Rajasekaran
3af9fde0b4
Merge pull request #11080 from filecoin-project/asr/fix-drand-sched
...
fix: daemon: set real beacon schedule when importing chain
2023-07-17 14:13:47 -04:00
Phi
4534416aa3
Update butterfly-schedule
...
Update butterfly-schedule
2023-07-17 17:56:59 +02:00
Aayush
09b566dde1
fix: daemon: set real beacon schedule when importing chain
2023-07-17 09:36:41 -04:00
Aayush Rajasekaran
a1ded51024
Merge pull request #10998 from filecoin-project/update-libp2p-v028
...
chore: update go-libp2p to v0.28.1
2023-07-17 09:33:10 -04:00
Aayush
e197d27f20
chore: deps: update go-libp2p to v0.28.1
2023-07-15 11:39:17 -04:00
Friðrik Ásmundsson
23d705e33b
Merge pull request #11079 from filecoin-project/11053-decoderlp-panic
...
fix: DecodeRLP can panic
2023-07-15 11:13:14 +00:00
Fridrik Asmundsson
871d1ba547
fix: DecodeRLP can panic
2023-07-14 11:49:50 +00:00
Łukasz Magiera
03078cdb56
Merge pull request #11059 from filecoin-project/asr/deflake
...
feat: deflake: Use MockProofs
2023-07-14 09:19:18 +02:00
Steven Allen
5743ed0151
test: fix fevm recursive call
...
We've now lost 2 recursive calls, but that really shouldn't make a
difference.
2023-07-13 22:26:25 -07:00
Łukasz Magiera
9eb4bb8559
make gen
2023-07-13 17:44:14 +02:00
zenground0
38b21a713a
Lint
2023-07-13 08:41:34 -06:00
Łukasz Magiera
85b78f9ffd
update ffi to use lowercased synth challenges file name
2023-07-13 15:48:20 +02:00
Łukasz Magiera
34996df465
update state-types to include fixed MaxProveCommitDuration policy
2023-07-13 15:48:20 +02:00
Łukasz Magiera
a39694741e
ffiwrapper: Test synth porep
2023-07-13 15:48:20 +02:00
Łukasz Magiera
b649ebddd5
TestPledgeSynth: must-post mining
2023-07-13 15:48:20 +02:00
Łukasz Magiera
f7d51da567
docsgen
2023-07-13 15:48:20 +02:00
Łukasz Magiera
85efa3ef51
Use state-types with correct v12 migration
2023-07-13 15:48:20 +02:00
Łukasz Magiera
50cf19722a
Make Synthetic PoRep work
2023-07-13 15:48:20 +02:00
Łukasz Magiera
c58ab3e582
more correct actor bundles
2023-07-13 15:48:20 +02:00
Łukasz Magiera
f8c151094f
itests: Add test for synth-porep pledge
2023-07-13 15:48:20 +02:00
Łukasz Magiera
2f19a5f66d
gen, fix build with new state-types
2023-07-13 15:48:19 +02:00
Łukasz Magiera
518c2cdf6e
rename synth porep config to a shorter name
2023-07-13 15:48:16 +02:00
Łukasz Magiera
c7dd001c64
ffiwrapper: Synth cleanup fixes
2023-07-13 15:48:16 +02:00
Łukasz Magiera
a43f066b55
fix deps
2023-07-13 15:48:15 +02:00
Andrew Jackson (Ajax)
1a799aec37
fixes
2023-07-13 15:48:08 +02:00
Andrew Jackson (Ajax)
8281b26f94
Synthetic PoRep provider interface solution
2023-07-13 15:47:59 +02:00
Andrew Jackson (Ajax)
7f306a5b02
Synthetic PoRep Impl
2023-07-13 15:47:59 +02:00
Andrew Jackson (Ajax)
5ed8a5c0ac
clearSynthProofs
2023-07-13 15:47:59 +02:00
Andrew Jackson (Ajax)
08038540e4
Impl synthPoRep
2023-07-13 15:47:59 +02:00
Andrew Jackson (Ajax)
f4fe4cae9c
synthetic porep config
2023-07-13 15:47:59 +02:00
Andrew Jackson (Ajax)
b43665a3c1
synthPoRep in PreferredSeal..()
2023-07-13 15:47:58 +02:00
Andrew Jackson (Ajax)
1db45f46ae
synthetic-porep subpackages
2023-07-13 15:47:20 +02:00
Phi
68a03c4181
Set local devnet-genesis to nv20
...
Set local devnet-genesis to nv20
2023-07-13 15:47:20 +02:00
Phi
c7b9633160
feat: introduce local nv21 skeleton
...
Introduce nv21 skeleton for local testing:
- Use local go-state-types with actor_version_checklist changes: https://github.com/filecoin-project/go-state-types/blob/master/actors_version_checklist.md
- Imports mock v12-actors bundle
- Define upgrade heights
- Generate adapters
- Add upgrade schedule and migration
- Add actorstype to the NewActorRegistry in /chain/consensus/computestate.go
- Add upgrade field to api/types.go/ForkUpgradeParams
- Add upgrade to node/impl/full/state.go
- Add network version to chain/state/statetree.go
- make jen
- make docsgen-cli
2023-07-13 15:47:18 +02:00
zenground0
6eadc0ee57
gen
2023-07-13 07:37:51 -06:00
zenground0
eaf0200fe1
amt bench in good state
2023-07-12 23:58:02 -06:00
Aayush Rajasekaran
5aeb27ed94
Merge pull request #11063 from storswiftlabs/slasher
...
feat: daemon: improvemens to the consensus slasher
2023-07-12 16:59:30 -04:00
Aayush Rajasekaran
43ac79944f
Merge pull request #11067 from filecoin-project/asr/releasev1.23.3
...
chore: build: release v1.23.3-rc2
2023-07-11 13:50:51 -04:00
Aayush
19160d2343
chore: build: release v1.23.3-rc2
2023-07-11 11:53:14 -04:00
Aayush Rajasekaran
67406a817b
Merge pull request #11066 from filecoin-project/asr/backport
...
Add tmp indices to events table while performing migration to V2
2023-07-11 11:41:53 -04:00
Aayush Rajasekaran
807a5dbaa8
Merge pull request #11016 from filecoin-project/sbansal/invert-validation-switch-checks
...
refactor: Make all validation error actions explicit
2023-07-11 11:31:40 -04:00
Fridrik Asmundsson
655ea1e0b5
Add tmp indices to events table while performing migration to V2
...
After the migration we also perform db administration on the
events DB to reduce its file size on disk.
(cherry picked from commit 0d7621be56 )
2023-07-11 10:25:32 -04:00
Aayush Rajasekaran
25c591fd6c
Merge pull request #11064 from filecoin-project/11056-speedup-event-migration
...
fix: events: Improve performance of event migration from V1 to V2
2023-07-11 10:23:14 -04:00
Fridrik Asmundsson
0d7621be56
Add tmp indices to events table while performing migration to V2
...
After the migration we also perform db administration on the
events DB to reduce its file size on disk.
2023-07-11 10:16:47 +00:00
mx
e9f57ae77f
feat: daemon: improvemens to the consensus slasher
2023-07-11 16:40:28 +08:00
zenground0
9bd0e9ed58
Fix classic bug
2023-07-10 16:32:37 -06:00
zenground0
3f4429a5ef
match json parsing
2023-07-10 16:00:03 -06:00
zenground0
921bdb85ab
correct json parsing of addr
2023-07-10 15:54:07 -06:00
zenground0
921e5520ea
debug
2023-07-10 15:32:19 -06:00
zenground0
cff7716707
Tool for measuring partition summaries
2023-07-10 15:28:14 -06:00
Aayush Rajasekaran
3e905d9532
Merge pull request #11055 from filecoin-project/asr/v1.23.3
...
fix: docs: correct 1.23.3 CHANGELOG
2023-07-10 17:16:33 -04:00
Shrenuj Bansal
d463abae2f
Merge pull request #11000 from filecoin-project/sbansal/update-release-template
...
chore: Extract stable release and post release portion outside of RC testing in template
2023-07-10 10:54:45 -04:00
Aayush Rajasekaran
3f71298c4b
Merge pull request #11054 from filecoin-project/asr/max-event-length
...
feat: types: apply a max length when decoding events
2023-07-10 10:37:30 -04:00
Aayush Rajasekaran
7a93a70e6e
Merge pull request #11060 from filecoin-project/asr/slasher-improvements
...
feat: slasher: improve UX
2023-07-10 10:30:18 -04:00
Aayush
5d072409f8
feat: deflake: Use MockProofs
2023-07-10 10:26:51 -04:00
Shrenuj Bansal
cbbd7dea0c
Merge pull request #11058 from filecoin-project/sbansal/add-prune-metrics
...
feat: Add a metric to display pruning of the node's peer
2023-07-10 09:45:41 -04:00
Aayush
4bc032430b
feat: slasher: improve UX
2023-07-08 13:40:38 -04:00
Aayush Rajasekaran
e58b1dfda2
Merge pull request #10979 from filecoin-project/asr/slasher-improvements
...
feat: daemon: improvemens to the consensus slasher
2023-07-08 13:05:34 -04:00
Aayush
7180b52d2c
feat: improvements to the consensus slasher
2023-07-08 11:21:35 -04:00
Aayush
802a9f0a78
feat: refactor slashfilter to return bool indicating fault
2023-07-08 11:14:41 -04:00
Aayush
4cfdf8e83c
feat: slasher: print error on failure
2023-07-08 11:14:41 -04:00
Aayush
07965467ee
feat: fvm: apply a max length when decoding events
2023-07-08 11:05:01 -04:00
Shrenuj Bansal
e54b32208c
fix
2023-07-07 14:17:21 -04:00
Shrenuj Bansal
1b61d13733
Add temp debug logging
2023-07-07 13:51:15 -04:00
Shrenuj Bansal
60ee56a23e
Add a metric to display pruning of the node's peer
2023-07-07 10:41:36 -04:00
ZenGround0
1358d70128
Merge pull request #11012 from filecoin-project/feat/stat-snapshot
...
feat:profiling:state summary and visualization
2023-07-06 16:28:05 -04:00
Aayush
40198535c5
fix: docs: correct 1.23.3 CHANGELOG
2023-07-06 09:42:45 -04:00
Łukasz Magiera
537d31416e
Merge pull request #11031 from filecoin-project/feat/shed-block-json
...
feat: shed: command for decoding block headers
2023-07-06 11:55:02 +02:00
Łukasz Magiera
e30f8af2d1
make gen
2023-07-06 09:35:10 +02:00
Łukasz Magiera
402895fdf0
itests: Test too-slow sector sealing cleanup
2023-07-06 09:27:09 +02:00
Łukasz Magiera
a5f66b5605
Merge pull request #11045 from filecoin-project/fix/tune-down-log-lvl
...
fix: stores: Tune down StorageDeclareSector` log-lvl
2023-07-06 08:21:13 +02:00
Łukasz Magiera
a03746c5df
Merge pull request #11047 from filecoin-project/arajasek-patch-2
...
feat: docs: include FFI steps in lotus RELEASE_ISSUE_TEMPLATE
2023-07-06 08:19:39 +02:00
Shrenuj Bansal
bc5637c60a
keep default action as reject and make all error actions explicit
2023-07-05 12:13:01 -04:00
Aayush Rajasekaran
5a45410884
Merge pull request #11051 from filecoin-project/asr/v1.23.3
...
chore: build: release v1.23.3-rc1
2023-07-04 17:33:38 -04:00
Aayush Rajasekaran and Jiaying Wang
0c5400f7f6
fix: changelog: v1.23.1-rc1 is a release candidate
...
Co-authored-by: Jiaying Wang <42981373+jennijuju@users.noreply.github.com >
2023-07-04 17:22:18 -04:00
Aayush Rajasekaran
4240990c6c
Merge pull request #11049 from filecoin-project/asr/v1.23.4
...
chore: build: update to v1.23.4-dev
2023-07-04 17:21:35 -04:00
Aayush
ab72562a68
chore: build: release v1.23.3-rc1
2023-07-04 17:00:23 -04:00
Jiaying Wang
1a2a2314b3
Update and rename epic.md to task.md
2023-07-04 16:26:15 -04:00
Jiaying Wang
8ad89188fe
Create epic.md
2023-07-04 16:24:30 -04:00
Aayush
13a65fdf56
feat: docs: add more steps to the release template
2023-07-04 16:08:21 -04:00
Aayush
126869ed98
chore: build: update to v1.23.4-dev
2023-07-04 15:51:09 -04:00
Aayush Rajasekaran
d5ae0905f9
feat: docs: include FFI steps in lotus RELEASE_ISSUE_TEMPLATE
2023-07-04 15:03:58 -04:00
Aayush Rajasekaran
a5791ff963
Merge pull request #11040 from filecoin-project/steb/update-ffi
...
chore: update ffi & fvm
2023-07-04 14:57:56 -04:00
Łukasz Magiera
9b52b06ea9
fix: sealing: Fix RetryCommitWait loop when sector cron activation fails
2023-07-04 13:35:49 +02:00
Phi
2061c32a2e
Check error
...
Check error
2023-07-04 11:53:28 +02:00
Phi
dedfa143ce
Extract removeExistingChain to seperate func
...
Extract removeExistingChain to seperate func
2023-07-04 11:30:06 +02:00
Phi
13224e3e0b
Remove unused function
...
Remove unused clearSplitStoreDir function
2023-07-04 11:07:50 +02:00
Phi
8220e7f82f
Tune down log-lvl
...
Tune down log-lvl
2023-07-04 09:35:49 +02:00
Steven Allen
75383cf57d
chore: ffi: update fvm
...
- Updates to wasmtime 10.
- Unifies some dependencies between fvm v2 and v3 (slightly smaller
binary).
- Supports instance pool oversubscription when FVM concurrency is
enabled. This should allow users to specify high concurrency values
without running out of address space.
2023-06-30 12:23:09 -07:00
Shrenuj Bansal
017f20c346
Merge pull request #11039 from filecoin-project/sbansal/build-version
...
chore: Update build version to 1.23.3-dev
2023-06-30 15:01:46 -04:00
Aayush Rajasekaran
225cf0fa7f
Merge pull request #11038 from filecoin-project/sbansal/merge-releases-into-master
...
chore: merge releases back into master
2023-06-30 12:53:18 -04:00
Shrenuj Bansal
3e36893537
Merge branch 'releases' into sbansal/merge-releases-into-master
2023-06-30 12:33:38 -04:00
Shrenuj Bansal
05b2e2196f
Update build version to 1.23.3-dev
2023-06-30 12:16:30 -04:00
Łukasz Magiera
7b21420831
feat: shed: command for decoding block headers
2023-06-30 14:24:07 +02:00
Phi
5201744199
feat: snapshot: remove existing chain
...
Remove existing chain on a snapshot-import
log info instead of print
log info instead of print
Remove defer lock
Remove defer lock, and explicitly close the lockedRepo instead
2023-06-30 14:14:16 +02:00
Friðrik Ásmundsson
8577dcb475
Merge pull request #11015 from filecoin-project/fix-dedup
...
feat: Make sure we don't store duplidate actor events caused to reorgs in events.db
2023-06-30 11:56:20 +00:00
Fridrik Asmundsson
b80c0828b9
feat: Make sure we dont store duplidate actor events caused by reorgs
2023-06-30 11:20:57 +00:00
zenground0
3f0ddcc553
Cleanup plotting script
2023-06-29 13:22:16 -06:00
zenground0
ab72f2e230
Lint
2023-06-28 22:35:28 -06:00
Aayush Rajasekaran
30a9f63165
Merge pull request #11002 from filecoin-project/feat/dealbounds-calc
...
sealing: Use only non-assigned deals when selecting snap sectors
2023-06-28 16:13:33 -04:00
Aayush Rajasekaran
2df1697be8
Merge pull request #11006 from beck-8/not_display_privatekey
...
chore: not display privatekey
2023-06-28 16:11:46 -04:00
Aayush Rajasekaran
49f8b030da
Merge pull request #11020 from filecoin-project/mikers/chore/update-state-invariants
...
chore: shed: update actor version
2023-06-28 16:11:09 -04:00
mike seiler
a1bfdfbc04
Refactor state invariant checks for different actor versions
...
This commit refactors the code in `invariants.go` to support state invariant checks for different actor versions. The code now includes checks for versions 10 and 11 of the actors. The `CheckStateInvariants` function is invoked based on the actor version, passing the appropriate parameters. This change ensures that state invariant checks are performed correctly for different actor versions.
The changes made are as follows:
- Added imports for actor versions 10 and 11.
- Added `case` statements for versions 10 and 11 in the switch statement.
- Invoked `CheckStateInvariants` function with the correct parameters for each version.
- Handled errors returned by the `CheckStateInvariants` function.
These changes enhance the flexibility and compatibility of the code with different actor versions, improving the accuracy of state invariant checks.
2023-06-28 12:50:15 -07:00
Shrenuj Bansal
8347235b55
Merge pull request #11018 from filecoin-project/sbansal/merge-1.23.2-into-releases
...
chore: merge release/v1.23.2 into releases
2023-06-28 15:35:12 -04:00
Shrenuj Bansal
9f73150e4d
Merge pull request #11014 from filecoin-project/sbansal/1.23.2-cl-and-build-version
...
chore: build version and changelog for 1.23.2
2023-06-28 14:37:49 -04:00
Shrenuj Bansal
2c3282d4ba
small typo
2023-06-28 14:08:11 -04:00
Shrenuj Bansal
bd43d9fdfe
Update CHANGELOG.md
2023-06-28 13:52:19 -04:00
Shrenuj Bansal
be3281bdcf
Invert msg validation check to explicitly specify reject errors
2023-06-28 13:35:21 -04:00
Shrenuj Bansal
1337d83b8f
chore: build version and changelog for 1.23.2
2023-06-28 12:59:52 -04:00
Aayush
dbf944b488
fix: pubsub: do not treat ErrExistingNonce as Reject
2023-06-28 12:50:52 -04:00
zenground0
d2b2fba799
Remove debug pprof serving
2023-06-28 10:11:47 -06:00
zenground0
3cacbdfa18
Lint fixes
2023-06-28 09:52:47 -06:00
zenground0
016661b657
More cleanup
2023-06-28 09:17:57 -06:00
zenground0
3897bf14d1
Cleanup
2023-06-28 09:15:38 -06:00
zenground0
0cfdc9b5b6
Refactor for cleanup + measure top level HAMT churn
2023-06-27 17:57:00 -06:00
beck
2cf19d41af
not display privatekey
2023-06-28 03:29:58 +08:00
zenground0
77ea7ef90d
Tweak path stuff
2023-06-27 11:29:14 -06:00
zenground0
4aa977f119
Touch up pathing
2023-06-27 11:00:20 -06:00
zenground0
8f3123d75b
Churn json output is working
2023-06-27 00:54:02 -06:00
zenground0
36a88f45fc
Output is buggy but halfway there
2023-06-25 17:36:21 -06:00
zenground0
d599833b64
WIP
2023-06-25 15:55:41 -06:00
Łukasz Magiera
c79acf9ca4
sealing: Use only non-assigned deals when selecting snap sectors
2023-06-23 18:40:46 +02:00
Friðrik Ásmundsson
a2431ff70a
Merge pull request #10815 from filecoin-project/10814-eip-1891
...
Add EIP-1898 support needed for The Graph compatibility
2023-06-23 08:29:45 +00:00
Fridrik Asmundsson
dda2d7e023
Refactor EthBlockNumberOrHash and remove the number field
2023-06-22 17:18:50 +00:00
Łukasz Magiera
168d022018
Merge pull request #10921 from Jorropo/boxo2
...
chore: migrate to boxo
2023-06-22 10:44:05 -05:00
Łukasz Magiera
b8b9158074
make gen
2023-06-22 10:43:56 +02:00
Shrenuj Bansal
8b849e6ad9
Merge pull request #10999 from filecoin-project/sbansal/merge-releases-to-master-20230621
...
chore: merge releases back into master
2023-06-21 16:43:43 -04:00
Fridrik Asmundsson
eed38a3c21
Fix lint errors
2023-06-21 15:34:39 +00:00
Shrenuj Bansal
5f6977af1a
Extract stable release and post release portion outside of RC testing in template
2023-06-21 09:44:37 -04:00
Shrenuj Bansal
e4b8425656
Merge branch 'releases' into sbansal/merge-releases-to-master-20230621
2023-06-21 09:34:57 -04:00
Shrenuj Bansal
26dbe515d7
Merge pull request #10996 from filecoin-project/sbansal/1.23.1_to_releases
...
merge v1.23.1 to releases
2023-06-20 23:34:47 -04:00
Shrenuj Bansal
b68e3a1bc1
Merge pull request #10990 from filecoin-project/sbansal/1.23.1-final-cut
...
chore: Update build version and changelog for final 1.23.1 cut
2023-06-20 16:11:38 -04:00
Phi
a4271f2f51
Link to LOTUS_FVM_CONCURRENCY docs
...
Add link to LOTUS_FVM_CONCURRENCY docs
2023-06-20 18:17:55 +02:00
Phi
bd22319418
Remove old upgrade warnings
...
Remove old upgrade warnings. Instead call-out that users should read the upgrade warnings section in the v1.23.0 release if upgrading from v1.22.1
2023-06-20 18:15:09 +02:00
Phi
1cd7c44346
Update changelog
...
Update changelog before publishing
2023-06-20 14:29:41 +02:00
Fridrik Asmundsson
f358160cd5
Add EIP-1898 support needed for The Graph compatibility
...
Fixes : #10814
This PR updates the following RPC methods according to EIP-1898
specs.
The following RPC methods are affected:
- eth_getBalance
- eth_getStorageAt
- eth_getTransactionCount
- eth_getCode
- eth_call
Note that eth_getBlockByNumber was not included in this list in
the spec although it seems it should be affected also?
Currently these methods all accept a blkParam string which can be
one of "latest", "earliest", "pending", or a block number (decimal
or hex). The spec enables caller to additionally specify a json
hash which can include the following fields:
- blockNumber EthUint64: A block number (decimal or hex) which is
similar to the original use of the blkParam string
- blockHash EthHash: The block hash
- requireCanonical bool) If true we should make sure the block is
in the canonical chain
Since the blkParam needs to support both being a number/string and
a json hash then this to properly work we need to introduce a new
struct with pointer fields to check if they exist. This is done
in the EthBlockParamByNumberOrHash struct which first tries to
unmarshal as a json hash (according to eip-1898) and then fallback
to unmarshal as string/number.
2023-06-20 09:38:00 +00:00
hannahhoward
cc207ede88
refactor(deps): use forked kubo-api-client
2023-06-19 14:45:06 -07:00
hannahhoward
95383c1235
chore(deps): upgrade kubo to rc
2023-06-19 14:45:06 -07:00
hannahhoward
96699fae92
chore(deps): update to tagged go-fil-markets
2023-06-19 14:45:06 -07:00
hannahhoward
cf10e290d4
chore(deps): update to v0.10.0 boxo
2023-06-19 14:45:06 -07:00
Adin Schmahmann
73f09878e1
chore(blockstore): switch ipfs blockstore from go-ipfs-http-api to kubo/client/rpc
2023-06-19 14:45:06 -07:00
Jorropo
6c01310728
chore: migrate to boxo
...
This migrates everything except the `go-car` librairy: https://github.com/ipfs/boxo/issues/218#issuecomment-1529922103
I didn't migrated everything in the previous release because all the boxo code wasn't compatible with the go-ipld-prime one due to a an in flight (/ aftermath) revert of github.com/ipfs/go-block-format. go-block-format has been unmigrated since slight bellow absolutely everything depends on it that would have required everything to be moved on boxo or everything to optin into using boxo which were all deal breakers for different groups.
This worked fine because lotus's codebase could live hapely on the first multirepo setup however boost is now trying to use boxo's code with lotus's (still on multirepo) setup: https://filecoinproject.slack.com/archives/C03AQ3QAUG1/p1685022344779649
The alternative would be for boost to write shim types which just forward calls and return with the different interface definitions.
Btw why is that an issue in the first place is because unlike what go's duck typing model suggest interfaces are not transparent https://github.com/golang/go/issues/58112 , interfaces are strongly typed but they have implicit narrowing. The issue is if you return an interface from an interface Go does not have a function definition to insert the implicit conversion thus instead the type checker complains you are not returning the right type.
Stubbing types were reverted https://github.com/ipfs/boxo/issues/218#issuecomment-1478650351
Last time I only migrated `go-bitswap` to `boxo/bitswap` because of the security issues and because we never had the interface return an interface problem (we had concrete wrappers where the implicit conversion took place).
2023-06-19 14:45:05 -07:00
Shrenuj Bansal
63d631ddf5
Changelog
2023-06-19 17:25:24 -04:00
Shrenuj Bansal
ff10fb9c21
Update build version and changelog for final 1.23.1 cut
2023-06-19 11:35:13 -04:00
Aayush Rajasekaran
517c0a53b1
Merge pull request #10978 from filecoin-project/asr/deflake-finalize-early
...
feat: deflake TestDealsWithFinalizeEarly
2023-06-15 09:56:08 -04:00
Aayush
44aadb7962
feat: deflake TestDealsWithFinalizeEarly
2023-06-14 11:29:14 -04:00
Aayush Rajasekaran
4ca5b0ede9
Merge pull request #10973 from filecoin-project/asr/fix-existing-nonce
...
fix: pubsub: do not treat ErrExistingNonce as Reject
2023-06-13 09:25:11 -05:00
Aayush Rajasekaran
24b958cffd
Merge pull request #10928 from storswiftlabs/slashfilter
...
Implement a tooling for slasher
2023-06-13 09:15:22 -05:00
Aayush
2a6d0e5f6e
fix: pubsub: do not treat ErrExistingNonce as Reject
2023-06-13 10:13:24 -04:00
mx
48912e8f09
fix: chain error
2023-06-13 09:46:36 +08:00
Aayush Rajasekaran
1ba0e4b997
feat: deflake TestDMLevelPartialRetrieval ( #10972 )
2023-06-12 16:49:13 -07:00
Aayush Rajasekaran
1e29616832
Merge pull request #10971 from filecoin-project/fix/10910
...
fix: eth: ensure that the event topics are non-nil
2023-06-12 16:37:41 -05:00
Steven Allen
739d61c698
fix: eth: ensure that the event topics are non-nil
...
Even when empty.
fixes #10910
2023-06-12 14:25:02 -07:00
Shrenuj Bansal
a81bb4a6f4
Merge pull request #10969 from filecoin-project/sbansal/msgindex-comment-rel
...
Add comment stating msgIndex is an experimental feature
2023-06-09 12:58:36 -05:00
Shrenuj Bansal
5b31b79d58
Merge pull request #10968 from filecoin-project/sbansal/msgindex-comment
...
Add comment stating msgIndex is an experimental feature
2023-06-09 12:53:40 -05:00
Shrenuj Bansal
5e8cae9b5c
Add comment stating msgIndex is an experimental feature
2023-06-09 11:49:52 -05:00
Shrenuj Bansal
fc719e710f
Add comment stating msgIndex is an experimental feature
2023-06-09 11:46:27 -05:00
Łukasz Magiera
28951e5919
Merge pull request #10965 from filecoin-project/steb/use-ts-from-height
...
feat: cli(compute-state) default to the tipset at the given epoch
2023-06-09 09:19:50 -05:00
huangxinheng@storswift.com
173dad45ed
fix: docs gen
2023-06-09 02:34:10 +00:00
mx
36b5f485cd
Merge branch 'slashfilter' of https://github.com/storswiftlabs/lotus into slashfilter
2023-06-09 10:18:45 +08:00
mx
2fca475dd4
fix: supply extra params for ReportConsensusFaultParams
2023-06-09 10:15:14 +08:00
Steven Allen
dfd3b10182
feat: cli(compute-state) default to the tipset at the given epoch
...
Previously, we'd use the current head if not otherwise specified, even
when the user specified a epoch. Now:
1. If the user specifies nothing, we use head head's epoch.
2. If the user specifies a tipset and no epoch, we use that tipset and
the epoch of that tipset.
3. If the user specifies an epoch and no tipset, use the tipset at that
epoch (based on the current head).
4. Finally, if the user species both, use both (allowing the
epoch/tipset to disagree).
2023-06-08 13:53:17 -05:00
swift-mx
e3c796c848
Merge branch 'master' into slashfilter
2023-06-08 18:56:49 +08:00
mx
16b9787db9
fix: handle the parent-grinding mining fault
2023-06-08 18:49:39 +08:00
Friðrik Ásmundsson
594c52b965
Merge pull request #10950 from filecoin-project/upgrade-urface-dependency
...
Upgrade urfave dependency which now supports DisableSliceFlagSeparato…
2023-06-07 16:31:02 -05:00
Fridrik Asmundsson
b6c1400d21
Run go mod tidy to remove unused dependencies
2023-06-07 15:47:58 -05:00
Fridrik Asmundsson
4d90d0475f
Upgrade urfave dependency which now supports DisableSliceFlagSeparator flag
2023-06-07 15:47:58 -05:00
Friðrik Ásmundsson
9e4f1a4d23
Add new lotus-shed command for computing eth hash for a given message cid ( #10961 )
2023-06-06 17:53:04 -05:00
Friðrik Ásmundsson
7fea1795d6
Merge pull request #10955 from filecoin-project/prefill-skiplist-on-lotus-startup
...
Prefill GetTipsetByHeight skiplist cache on lotus startup
2023-06-06 15:29:47 -05:00
Fridrik Asmundsson
a27e0a8b41
Prefill GetTipsetByHeight skiplist cache on lotus startup
2023-06-06 15:17:34 -05:00
Aayush Rajasekaran
424bab336c
Merge pull request #10932 from filecoin-project/backfill-txhash
...
Add lotus-shed command for backfilling txhash.db
2023-06-06 12:17:47 -04:00
Łukasz Magiera
86c3a69904
Merge pull request #10948 from filecoin-project/asr/update-libp2p
...
chore: deps: update to go-libp2p 0.27.5
2023-06-06 10:06:49 -05:00
Shrenuj Bansal
e2d784132f
Merge pull request #10956 from filecoin-project/sbansal/1.23.1-rc4
...
chore: update changelog title and comments
2023-06-05 19:07:07 -04:00
Shrenuj Bansal
11b17e7e9e
update changelog
2023-06-05 18:06:15 -05:00
Aayush Rajasekaran
b5e2ee7d2f
Merge pull request #10954 from filecoin-project/sbansal/1.23.1-rc4
...
chore: update build version and changelog for 1.23.1-rc4
2023-06-05 18:01:33 -04:00
Shrenuj Bansal
aa0237949e
chore: update build version and changelog for 1.23.1-rc4
2023-06-05 16:18:23 -05:00
ZenGround0
fc0df4afb8
Merge pull request #10951 from filecoin-project/update-makefile-gen
...
Small improvement to make gen output
2023-06-05 11:57:35 -04:00
Fridrik Asmundsson
5daaa3fe46
Small improvement to make gen output
2023-06-03 12:59:50 -05:00
Fridrik Asmundsson
26b4866841
Move back to lotus-shed and add subcategory for indexes
2023-06-03 12:22:25 -05:00
Fridrik Asmundsson
e414acb1f5
Address review comments
2023-06-03 11:20:47 -05:00
Fridrik Asmundsson
4e55147895
Run docsgen-cli
2023-06-03 11:20:47 -05:00
Fridrik Asmundsson
c38193af73
Add lotus evm command for backfilling txhash.db
2023-06-03 11:20:47 -05:00
Jiaying Wang
8b2814bd89
Merge pull request #10949 from filecoin-project/asr/update-libp2p-backport
...
chore: deps: update to go-libp2p 0.27.5
2023-06-03 11:08:36 -04:00
Aayush Rajasekaran
324807a86d
chore: deps: update to go-libp2p 0.27.5
2023-06-03 10:09:17 -04:00
Aayush Rajasekaran
de64fda524
chore: deps: update to go-libp2p 0.27.5
2023-06-03 10:08:03 -04:00
Aayush Rajasekaran
cc66654a6c
Merge pull request #10941 from filecoin-project/fix-msgindex-backfill
...
fix: improve perf of msgindex backfill
2023-06-01 17:00:12 -04:00
Fridrik Asmundsson
9240776237
fix: improve perf of msgindex backfill
2023-06-01 14:36:05 +00:00
Shrenuj Bansal
f8b05f98a1
Merge pull request #10938 from filecoin-project/sbansal/v1.23.1-rc3
...
Update changelog and build version
2023-05-31 16:47:08 -04:00
Shrenuj Bansal
a750f29a30
Update changelog and build version
2023-05-31 16:23:48 -04:00
Aayush Rajasekaran
f4f0dd9ee3
Merge pull request #10937 from filecoin-project/jen/libp2p2
...
devs: update libp2p
2023-05-31 15:21:00 -04:00
jennijuju
7831ec64d7
update libp2p
2023-05-31 14:32:33 -04:00
Marten Seemann
3a7b52a66f
update go-libp2p to v0.27.3
2023-05-31 14:32:33 -04:00
Marten Seemann
48365f4f08
return all the public addresses in NatInfo
2023-05-31 14:32:33 -04:00
Marten Seemann
80d39f6616
chore: update go-libp2p to v0.27.1
2023-05-31 14:32:33 -04:00
Łukasz Magiera
6e7dc9532a
Merge pull request #10933 from filecoin-project/feat/fvm-concurrency-alert
...
feat: alert: Add FVM_CONCURRENCY alert
2023-05-31 20:14:45 +02:00
Łukasz Magiera
84535ca6fe
Merge pull request #10936 from filecoin-project/jen/libp2p
...
deps: update libp2p
2023-05-31 20:14:06 +02:00
jennijuju
eeac1aa17d
update libp2p
2023-05-31 13:40:25 -04:00
Shrenuj Bansal
05d3dc811a
Merge pull request #10934 from filecoin-project/sbansal/backport-v1.23.1-rc3
...
feat: chainstore: sharded mutex for filling chain height index
2023-05-31 13:38:21 -04:00
Jakub Sztandera
80aa96ec25
Appease the linter
...
Signed-off-by: Jakub Sztandera <kubuxu@protocol.ai >
2023-05-31 12:48:34 -04:00
Jakub Sztandera
b65c93b2b4
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-31 12:48:25 -04:00
Phi
db673ef28d
Alert if higher then 24
...
Alert if higher then 24
2023-05-31 09:43:26 -04:00
Phi
2310740584
Add FVM_CONCURRENCY alert
...
Add FVM_CONCURRENCY alert if its set higher then 24
2023-05-31 09:39:03 -04:00
swift-mx
2fd8602c5a
Merge branch 'master' into slashfilter
2023-05-31 10:02:01 +08:00
Łukasz Magiera
6cc506f5cf
Merge pull request #10923 from filecoin-project/feat/sectors-upgradebounds-cli
...
feat: miner cli: sectors list upgrade-bounds tool
2023-05-30 20:34:38 +02:00
Łukasz Magiera
120502408c
Merge pull request #10761 from filecoin-project/10752-bench-rpc
...
Add new RPC stress testing tool (lotus-bench rpc) with rich reporting
2023-05-30 19:37:38 +02:00
Łukasz Magiera
b997f4acec
Merge pull request #10854 from filecoin-project/revert-10852-sbansal/revert-10848
...
Revert "Revert "libp2p: add QUIC and WebTransport to default listen addresses""
2023-05-30 19:34:44 +02:00
Aayush Rajasekaran
ce5e242d76
Merge pull request #10915 from filecoin-project/fix/upgrade-sector-selection
...
sealing: Improve upgrade sector selection
2023-05-30 13:32:52 -04:00
Łukasz Magiera
96fa081ca6
Merge pull request #10913 from filecoin-project/feat/piecereader-perf
...
feat: piecereader: Allow parallel access
2023-05-30 18:49:41 +02:00
swift-mx
196cd0b739
fix: add more log for error
2023-05-31 00:06:50 +08:00
Łukasz Magiera
042bbfa415
deps: Update go-fil-markets to v1.28.2
2023-05-30 17:59:29 +02:00
swift-mx and Aayush Rajasekaran
42aa8451f8
fix: error log
...
Co-authored-by: Aayush Rajasekaran <arajasek94@gmail.com >
2023-05-30 23:54:07 +08:00
Łukasz Magiera
3c67d0f720
Merge pull request #10929 from filecoin-project/protofire-more-methods
...
#10559 : feat: Lotus Gateway: add MpoolPending, ChainGetBlock and MinerGetBaseInfo
2023-05-30 17:38:30 +02:00
Łukasz Magiera
3d0e6d0363
Merge remote-tracking branch 'origin/master' into protofire-more-methods
2023-05-30 17:16:32 +02:00
Łukasz Magiera
fa36613a5e
Merge branch 'more-methods' of github.com:protofire/lotus into protofire-more-methods
2023-05-30 17:01:52 +02:00
Łukasz Magiera
87ae60a2bc
Merge pull request #10650 from filecoin-project/vyzo/test/mpool-select
...
Add timing test for mpool select with a large mpool dump
2023-05-30 17:00:06 +02:00
Łukasz Magiera
183e35f7b7
Merge pull request #10925 from filecoin-project/asr/drop-orange-check
...
feat: slashfilter: drop outdated near-upgrade check
2023-05-30 16:56:43 +02:00
Łukasz Magiera
8be9e5345b
Merge pull request #10927 from simlecode/opt/add_PendingOwnerAddress
...
opt: MinerInfo adds the PendingOwnerAddress field
2023-05-30 16:55:50 +02:00
Łukasz Magiera
047898f64d
Merge pull request #10926 from filecoin-project/asr/deflake-miningloop
...
feat: itest: force PoSt more aggressively around deadline closure
2023-05-30 16:54:03 +02:00
Aayush Rajasekaran
3d061ba0ae
Merge pull request #10649 from filecoin-project/asr/test-gas-reward
...
test: messagepool: gas rewards are negative if GasFeeCap too low
2023-05-30 10:25:35 -04:00
Łukasz Magiera
2636815311
Merge remote-tracking branch 'origin/master' into revert-10852-sbansal/revert-10848
2023-05-30 15:53:31 +02:00
Łukasz Magiera
1c10a6e238
update go-fil-markets
2023-05-30 15:49:59 +02:00
huangxinheng@storswift.com
d365f7b0a1
fix: docs gen
2023-05-30 07:01:24 +00:00
mx
425661772d
style:Refactoring slashfilter
2023-05-30 14:33:35 +08:00
swift-mx
99c98b5de0
Merge pull request #2 from filecoin-project/master
...
merge latest Code
2023-05-30 14:21:25 +08:00
simlecode
3bed440d2d
chore: make docsgen
2023-05-30 13:25:44 +08:00
simlecode
10130a32d7
opt: MinerInfo adds the PendingOwnerAddress field
2023-05-30 13:04:11 +08:00
Aayush Rajasekaran
b76b5ef4b7
Merge pull request #10863 from AnomalRoil/fix/fuzz/48208
...
fix: types: error out on decoding BlockMsg with extraneous data
2023-05-29 16:58:41 -04:00
Aayush Rajasekaran
a12dbaac8e
Merge pull request #10879 from filecoin-project/jen/fixinterop
...
update interop upgrade schedule
2023-05-29 16:57:02 -04:00
Jennifer Wang
f5daf95261
update interop
2023-05-29 16:46:02 -04:00
Aayush Rajasekaran
7b921c6761
Merge pull request #10732 from filecoin-project/tests/test-postv11-worker
...
itests: Test PoSt V1_1 on workers
2023-05-29 16:45:29 -04:00
Aayush
782e09a37d
feat: itest: force PoSt more aggressively around deadline closure
2023-05-29 16:32:49 -04:00
Aayush Rajasekaran
e25d834a17
Merge pull request #10924 from parthibanb224/patch-1
...
Update gas_balancing.md
2023-05-29 13:26:58 -04:00
Aayush Rajasekaran
84bba333c4
Merge pull request #9070 from filecoin-project/asr/batch-clever
...
feat: cli: Make compact partitions cmd better
2023-05-29 13:19:14 -04:00
Aayush
c0942ebc2c
feat: cli: Make compact partitions cmd better
2023-05-29 13:06:25 -04:00
Aayush Rajasekaran
867a7b1c01
Merge pull request #10628 from filecoin-project/asr/exec-trace-compute
...
fix: include extra messages in ComputeState InvocResult output
2023-05-29 12:56:43 -04:00
Aayush
10ed18ba12
test: messagepool: gas rewards are negative if GasFeeCap too low
2023-05-29 12:54:04 -04:00
Aayush Rajasekaran
0ec2acbf20
Merge pull request #10652 from filecoin-project/asr/mpool-fee-too-low
...
feat: pubsub: treat ErrGasFeeCapTooLow as ignore, not reject
2023-05-29 12:53:38 -04:00
Aayush
228b306370
feat: slashfilter: drop outdated near-upgrade check
2023-05-29 11:12:19 -04:00
Łukasz Magiera
17915dce5a
sealing: Don't select sectors with no deals lined up for upgrading
2023-05-27 13:03:21 +02:00
Fridrik Asmundsson
e1b69f84d6
Cleanup after removing urface upgrade
2023-05-27 10:55:10 +00:00
Fridrik Asmundsson
b563a36a99
Address review comments
2023-05-27 10:55:10 +00:00
Fridrik Asmundsson
4b0ca30daf
Add --watch option to see progress while benchmark is running
2023-05-27 10:55:10 +00:00
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
PARTHIBAN
7af42796db
Update gas_balancing.md
...
correct the sentences
2023-05-26 20:12:10 +05:30
Łukasz Magiera
4b5a665422
Merge remote-tracking branch 'origin/master' into feat/piecereader-perf
2023-05-26 13:00:42 +02:00
Łukasz Magiera
090b98ad33
sealing: Attempt to improve upgrade sector selection
2023-05-26 12:31:35 +02:00
Łukasz Magiera
14f9770859
feat: miner cli: sectors list upgrade-bounds tool
2023-05-26 12:29:36 +02:00
Łukasz Magiera
fdd013c103
Merge pull request #10920 from filecoin-project/lotus-fountain-dealsize
...
fix:lotus-fountain:set default data-cap same as MinVerifiedDealSize
2023-05-26 09:35:13 +02:00
Jiaying Wang
9900dbe1de
Merge pull request #10918 from filecoin-project/asr/backport
...
Check if epoch is negative in GetTipsetByHeight
2023-05-25 19:28:43 -04:00
Łukasz Magiera
b58daf5340
piecereader: address review
2023-05-25 16:05: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
Shrenuj Bansal
a509ca23ec
Check if epoch is negative in GetTipsetByHeight
2023-05-24 12:38:44 -04:00
Andrew Jackson (Ajax)
aef2ab6315
Merge pull request #10405 from cortze/feat/upgrade-elastic-search-traces-transport
...
feat: tracer: upgrade elastic search transport for pubsub traces
2023-05-24 10:01:37 -05:00
Łukasz Magiera
8c8e287be0
Merge pull request #10896 from filecoin-project/feat/chainindex-sharded-mutex
...
feat: chainstore: sharded mutex for filling chain height index
2023-05-24 12:49:16 +02:00
Aayush Rajasekaran
f99fbc1e87
Merge pull request #10912 from simlecode/fix/not-unlock
...
fix: not call RUnlock
2023-05-23 17:17:14 -04:00
Łukasz Magiera
5e58f64380
piecereader: Fix double buffer free
2023-05-23 16:45:46 +02:00
Łukasz Magiera
f0fec13ec9
piecereader: Metrics fixes
2023-05-23 14:15:46 +02:00
Łukasz Magiera
326a0356a4
piecereader: Add metrics
2023-05-23 13:32:17 +02:00
Łukasz Magiera
6c62e6d8e2
fix tests/lint
2023-05-23 12:26:13 +02:00
Łukasz Magiera
587c3fde58
piecereader: Fix parallel buffer access, close readers in readInto
2023-05-23 12:26:13 +02:00
Łukasz Magiera
cd75ea0fe4
piecereader: Retune to allow parallel ReadAt calls
2023-05-23 12:26:13 +02:00
Łukasz Magiera
8b2ef40f4e
storage: Weave end offset into unsealed reader code
2023-05-23 12:26:13 +02:00
Łukasz Magiera
6b4a46d273
Merge pull request #10893 from simlecode/opt/output-events-root
...
opt: cli: If present, print Events Root
2023-05-23 11:50:21 +02:00
Łukasz Magiera
17d2c71c0f
Merge pull request #10905 from filecoin-project/maciej/fountain-fix
...
Calibration faucet UI improvements
2023-05-23 11:49:18 +02:00
simlecode
6ec413b7ad
fix: not call RUnlock
2023-05-23 17:43:39 +08:00
Yolan Romailler
00e34436b3
Addressing code review comments
...
Signed-off-by: Yolan Romailler <AnomalRoil@users.noreply.github.com >
2023-05-22 21:47:55 +02:00
ZenGround0
2922959f0b
Merge pull request #10841 from gammazero/use-go-libipni
...
chore: chain: replace storetheindex with go-libipni
2023-05-22 14:16:30 -04: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
cortze
d9a65223ab
tidy dependencies
2023-05-22 11:59:39 +02:00
cortze
42d2f4d7e4
tracer: move es transport to net/http + format
2023-05-22 09:43:07 +02:00
cortze
bb92984dca
tracer: simplify the valid Iwant logic
2023-05-22 09:13:10 +02:00
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:fountain: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
Shrenuj Bansal
86f32d1c1f
Merge pull request #10851 from filecoin-project/sbansal/backport-1.23.1-rc2
...
Backport changes for 1.23.1-rc2
2023-05-10 16:04:48 -04:00
Shrenuj Bansal
da2e155b72
Revert "libp2p: add QUIC and WebTransport to default listen addresses"
...
This reverts commit 0a064c1b3d .
2023-05-10 15:58:30 -04:00
Łukasz Magiera and Steffen Butzer
60d576241c
fix: sched: Address GET_32G_MAX_CONCURRENT regression ( #10850 )
...
* Fix 1.21 regression: GET_32G_MAX_CONCURRENT + mixed prepared/executing leads to stuck scheduler
If you have 12 GET tasks and GET_32G_MAX_CONCURRENT=1, sealing jobs will only show assigned tasks for GET of the miner
and is stuck.
I believe this to be a regression of 1.21 unifying the counters, in the case of GETs where PrepType and TaskType
both being seal/v0/fetch leading to a state where tasks are blocked since already counted towards the limit.
* itests: Repro issue from PR #10633
* make counters int (non-working)
* fix: worker sched: Send taskDone notifs after tasks are done
* itests: Make TestPledgeMaxConcurrentGet actually reproduce the issue
* make the linter happy
---------
Co-authored-by: Steffen Butzer <steffen.butzer@outlook.com >
2023-05-10 15:45:50 -04:00
Łukasz Magiera and Steffen Butzer
6fd93ed170
fix: sched: Address GET_32G_MAX_CONCURRENT regression ( #10850 )
...
* Fix 1.21 regression: GET_32G_MAX_CONCURRENT + mixed prepared/executing leads to stuck scheduler
If you have 12 GET tasks and GET_32G_MAX_CONCURRENT=1, sealing jobs will only show assigned tasks for GET of the miner
and is stuck.
I believe this to be a regression of 1.21 unifying the counters, in the case of GETs where PrepType and TaskType
both being seal/v0/fetch leading to a state where tasks are blocked since already counted towards the limit.
* itests: Repro issue from PR #10633
* make counters int (non-working)
* fix: worker sched: Send taskDone notifs after tasks are done
* itests: Make TestPledgeMaxConcurrentGet actually reproduce the issue
* make the linter happy
---------
Co-authored-by: Steffen Butzer <steffen.butzer@outlook.com >
2023-05-10 15:43:42 -04:00
Phi
f03c06964f
Make docsgen-cli
...
Make docsgen-cli
2023-05-10 15:27:45 -04:00
Phi
4e49b8b671
Hide lotus-miner legacy markets cmds
...
Hide lotus-miner legacy markets cmds
2023-05-10 15:27:39 -04:00
Łukasz Magiera
0cfb69b95a
ci: run release on ci/ branches, include m1
2023-05-10 15:21:34 -04:00
Łukasz Magiera
9558df7cda
temp drop m1 from releases
2023-05-10 15:21:27 -04:00
Łukasz Magiera
779975c3a9
ci: Debugging m1 build
2023-05-10 15:21:19 -04:00
Aayush Rajasekaran
298b2b4785
Merge pull request #10840 from filecoin-project/asr/splitstore-warm
...
feat: fix deadlock in splitstore-mpool interaction
2023-05-10 14:57:49 -04:00
Aayush
52e7546e98
address review: make warmupEpoch an atomic.Int64
2023-05-10 14:46:26 -04:00
Aayush
fb228ebbff
feat: mempool: reintroduce ForEachPendingMessage
2023-05-10 14:19:33 -04:00
Aayush
92dcfe530b
feat: splitstore: access warmupepoch atomically instead of locking
2023-05-10 14:19:33 -04:00
Łukasz Magiera
86723a3223
Merge pull request #10671 from filecoin-project/update-libp2p-v027
...
chore: update go-libp2p to v0.27.3
2023-05-10 13:52:58 +02:00
Łukasz Magiera
4a155a9e1f
Merge pull request #10848 from filecoin-project/libp2p-quic-webtransport
...
libp2p: add QUIC and WebTransport to default listen addresses
2023-05-10 12:23:17 +02:00
Łukasz Magiera
ea9a8bf83f
Merge pull request #10749 from filecoin-project/ci/1.23-release-artifacts
...
fix: ci: Debugging m1 build
2023-05-10 11:20:07 +02:00
Marten Seemann
0a064c1b3d
libp2p: add QUIC and WebTransport to default listen addresses
2023-05-10 12:07:20 +03:00
Marten Seemann
85e76f925e
update go-libp2p to v0.27.3
2023-05-10 11:54:48 +03:00
Marten Seemann
ca9c873858
return all the public addresses in NatInfo
2023-05-10 11:54:48 +03:00
Marten Seemann
b414124e5e
chore: update go-libp2p to v0.27.1
2023-05-10 11:54:47 +03:00
Łukasz Magiera
4302bc02d6
ci: run release on ci/ branches, include m1
2023-05-10 10:32:21 +02:00
Łukasz Magiera
dc805eb749
temp drop m1 from releases
2023-05-10 10:32:21 +02:00
Łukasz Magiera
9617fb6899
ci: Debugging m1 build
2023-05-10 10:32:21 +02:00
Friðrik Ásmundsson
ceb3f1e41e
Validate that FromBlock/ToBlock epoch is indeed a hex value ( #10780 )
...
* Validate that FromBlock/ToBlock epoch is indeed a hex value
* Adding tests
2023-05-09 17:17:23 -04:00
Łukasz Magiera
70d2899ead
itests: wdpost: Address review
2023-05-09 19:11:15 +02:00
Łukasz Magiera
8fcf59facc
itests: Test PoSt V1_1 on workers
2023-05-09 19:02:51 +02:00
Łukasz Magiera
5c26a3da1f
Merge pull request #10772 from simlecode/fix/remove-invalid-field
...
fix: remove invalid field UpgradePriceListOopsHeight
2023-05-09 19:01:24 +02:00
Aayush Rajasekaran
7c98160b81
Merge pull request #10847 from filecoin-project/asr/deflake-ethbalance
...
feat: deflake eth_balance_test
2023-05-09 12:48:45 -04:00
Aayush
a4235e2b3d
feat: deflake eth_balance_test
2023-05-09 12:35:09 -04:00
Aayush Rajasekaran
ff8d81d0bc
Merge pull request #10846 from filecoin-project/fix/tests-storage-unit-syncds
...
fix: tests: Use mutex-wrapped datastore in storage tests
2023-05-09 12:20:30 -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
07e5abbd3e
Merge pull request #10825 from filecoin-project/10682-read-perm-for-subscribe-and-filter-methods
...
Make (un)subscribe and filter RPC methods require only read perm
2023-05-09 18:11:30 +02:00
Łukasz Magiera
2f469c2f58
fix: tests: Use mutex-wrapped datastore in storage tests
2023-05-09 18:06:41 +02:00
Aayush Rajasekaran
ea7bbbc4ae
Merge pull request #10845 from filecoin-project/deps/jsonrpc-v0.3.1
...
deps: Update go-jsonrpc to v0.3.1
2023-05-09 11:23:58 -04:00
Łukasz Magiera
02163fbc92
Merge branch 'master' of github.com:filecoin-project/lotus
2023-05-09 17:20:43 +02:00
Łukasz Magiera
bdd339d4ed
Merge branch 'ianconsolata-id/remove-dockerfile.lotus'
2023-05-09 17:20:13 +02:00
Łukasz Magiera
ad73b312e1
Merge branch 'id/remove-dockerfile.lotus' of github.com:ianconsolata/lotus into ianconsolata-id/remove-dockerfile.lotus
2023-05-09 17:19:55 +02:00
Łukasz Magiera
bd29359d12
Merge pull request #10838 from ianconsolata/id/fix-dockerignore
...
_build_ Add checked in file to dockerignore ignore list
2023-05-09 17:14:09 +02:00
Łukasz Magiera
73315c45fb
deps: Update go-jsonrpc to v0.3.1
2023-05-09 17:11:07 +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
simlecode
f24d669cff
fix: remove invalid field UpgradePriceListOopsHeight
2023-05-09 09:21:05 +08:00
Andrew Jackson (Ajax)
313c701be6
nit: docs space
2023-05-08 15:39:47 -05:00
Aayush Rajasekaran
106d354689
Merge pull request #10843 from filecoin-project/asr/deflake-paych
...
feat: deflake paych_api_test
2023-05-08 14:48:31 -04:00
Aayush
c6fb2b416a
feat: deflake paych_api_test
2023-05-08 14:36:43 -04: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
ZenGround0
ed7d1ef493
Merge pull request #10534 from filecoin-project/raulk/fix-parse-block-param-error
...
fix: Eth RPC: do not occlude block param errors.
2023-05-08 11:51:39 -04: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-rjan
0476632282
Merge pull request #10842 from filecoin-project/fix/hide-legacy-markets-cmd
...
fix: cli: Hide legacy markets cmds
2023-05-08 17:39:01 +02:00
Phi
55a8cbd22c
Make docsgen-cli
...
Make docsgen-cli
2023-05-08 13:42:53 +02:00
Phi
426bfb795a
Hide lotus-miner legacy markets cmds
...
Hide lotus-miner legacy markets cmds
2023-05-08 13:13:18 +02:00
Aayush Rajasekaran
fc71ba507f
Merge pull request #10839 from filecoin-project/asr/deflake-observers
...
feat: chainstore: exit early in MaybeTakeHeavierTipset
2023-05-05 14:08:01 -04:00
Aayush
596b01fba2
feat: chainstore: exit early in MaybeTakeHeavierTipset
2023-05-05 13:56:48 -04:00
Aayush Rajasekaran
9ae42929d7
Merge pull request #10829 from filecoin-project/steb/fix-deploy-flake
...
fix: itest: fix eth deploy test flake
2023-05-05 09:58:39 -04:00
Aayush Rajasekaran
49e1910050
Merge pull request #10836 from filecoin-project/mikers/messagepool/nitfix2
...
style: mempool: chain errors using xerrors.Errorf
2023-05-05 09:54:42 -04: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
Mike Seiler
9c05a1f734
chain errors using xerrors.Errorf
2023-05-04 23:50:07 -10:00
Steven Allen
d7deb9a3eb
fix: itest: fix eth deploy test flake
...
This fixes the flakyness by:
1. Disconnecting the client from the miner before submitting the
message. That way, we force it to get stuck in the message pool.
2. Removing the logic that asks lotus for the "latest" block. We have
other tests that exercise "latest".
fixes #10824
2023-05-04 14:51:25 -07:00
Ian Davis
5343b0f508
Add checked in file to dockerignore ignore list
2023-05-04 20:05:29 +01:00
Friðrik Ásmundsson
e6c8072f50
Merge pull request #10827 from filecoin-project/10585-address-review-comments
...
10585 address review comments
2023-05-04 18:32:04 +00:00
Ian Davis
d566620de8
Remove previously DEPRECATED Dockerfile.lotus
...
It was replaced by Dockerfile
2023-05-04 19:31:46 +01:00
Fridrik Asmundsson
171f1f716a
Update changelog
2023-05-04 17:50:25 +00:00
Aayush Rajasekaran
45f3e694a0
Merge pull request #10826 from filecoin-project/asr/deflake-msgindex
...
feat: deflake msgindex_test.go
2023-05-04 13:39:46 -04:00
Aayush Rajasekaran
9da534c75c
Merge pull request #10816 from filecoin-project/asr/deflake-ethhistory
...
feat: deflake TestEthFeeHistory
2023-05-04 13:38:09 -04:00
Fridrik Asmundsson
4e8ee737fc
Address review comments
2023-05-04 17:10:26 +00:00
Aayush Rajasekaran
c940f597a4
Merge pull request #10817 from filecoin-project/asr/log-eth-api
...
feat: make RunClientTest louder when deals fail
2023-05-04 12:59:40 -04:00
Fridrik Asmundsson
6574213914
Make (un)subscribe and filter RPC methods require only read perm
2023-05-04 16:09:57 +00:00
Aayush
b45409262f
feat: deflake msgindex_test.go
2023-05-04 12:04:28 -04:00
Friðrik Ásmundsson
dec3af7d7f
Merge pull request #10585 from filecoin-project/10584-make-execution-cache-size-configurable
...
feat: Make execution trace configurable via env variable
2023-05-04 14:07:35 +00:00
Aayush
b6b3998864
feat: deflake TestEthFeeHistory
2023-05-04 10:01:40 -04:00
Aayush Rajasekaran
1c1a28e1c3
Merge pull request #10823 from filecoin-project/fix/beneficiary-clearer-args-input
...
fix: cli: Change arg wording in change-beneficiary cmd
2023-05-04 09:57:59 -04:00
Phi
efdc32f60e
Change arg from minerAddress to minerID
...
Change arg from minerAddress to minerID
2023-05-04 15:21:05 +02:00
Shrenuj Bansal
e8dcf9f838
update cl ( #10819 )
2023-05-03 19:07:15 -04:00
Shrenuj Bansal
a03535ae20
Update changelog.md for release/v1.23.1
2023-05-03 18:32:10 -04:00
Shrenuj Bansal
fadc94f253
Update build version for release/v1.23.1
2023-05-03 17:20:57 -04:00
Mikers
c1d22d8b32
refactor: streamline error handling in CheckPendingMessages ( #10818 )
2023-05-03 11:12:47 -10:00
Shrenuj Bansal
a4685b7bac
update build version on master to 1.23.2-dev
2023-05-03 17:01:13 -04:00
Aayush
6a1b523ba1
feat: make RunClientTest louder when deals fail
2023-05-03 16:49:23 -04:00
Shrenuj Bansal
c7bdf61fb1
Disable lotus markets by default ( #10809 )
2023-05-03 16:42:23 -04:00
Mikers
742062f84c
perf: mempool: lower priority optimizations ( #10693 )
...
* release the read lock earlier as it is not needed for chaincomputebasefee
* chain/messagepool/selection.go change to read lock in SelectMessages
* tighten up locks in chain/messagepool/repub.go and two questions on whether curTsLks are needed as comments
* include suggestion from @Jorropo to preallocate our msgs array so that we only need to make a single allocation
* mp.pending should not be accessed directly but through the getter
* from @arajasek: just check whether the sender is a robust address (anything except an ID address is robust) here, and return if so. That will:
be faster
reduce the size of this cache by half, because we can drop mp.keyCache.Add(ka, ka) on line 491.
* do not need curTslk and clean up code comments
2023-05-03 16:31:39 -04:00
Phi-rjan
093d350df3
Merge pull request #10812 from filecoin-project/fix/set-head-cmd
...
Change args check
2023-05-03 20:52:52 +02:00
Phi
7b72968968
Update args
...
Update args
2023-05-03 19:37:08 +02:00
Phi
034888c58e
Changing to if args.present
...
Changing to if args.present
2023-05-03 19:03:54 +02:00
Łukasz Magiera
ab0e261e1b
Merge pull request #10810 from filecoin-project/asr/batch-deal-stop
...
chore: drop flaky TestBatchDealInput subcase
2023-05-03 19:02:32 +02:00
Shrenuj Bansal and Jacob Crowther
78800a4e77
fix: sealing: Make lotus-worker report GPU usage to miner during ReplicaUpdate task ( #10806 )
...
* Make lotus-worker report GPU usage to miner during ReplicaUpdate task
* make gen
---------
Co-authored-by: Jacob Crowther <jcrowthe@users.noreply.github.com >
2023-05-03 12:28:03 -04:00
ZenGround0
a3a429edad
Merge pull request #10811 from filecoin-project/fix/no-yielding-with-txnlock
...
fix:splitstore:Don't block when potentially holding txnLk as writer
2023-05-03 12:07:20 -04:00
Phi
f094e61b4a
Remove args check
...
Remove args check in `lotus chain set`
2023-05-03 17:56:34 +02:00
zenground0
bca0023756
Don't block when potentially holding txnLk as writer
2023-05-03 09:55:22 -06:00
Aayush
17c43caacf
chore: drop flaky TestBatchDealInput subcase
2023-05-03 11:51:42 -04:00
Łukasz Magiera
3ff8a09183
feat: worker: Ensure tempdir exists ( #10433 )
2023-05-03 10:59:41 -04:00
Aayush Rajasekaran
76776e5cc1
Merge pull request #10800 from filecoin-project/asr/speedup-persist
...
feat: chainstore: batch writes of tipsets
2023-05-02 17:54:33 -04:00
Aayush
49f5825296
feat: chainstore: batch writes of tipsets
2023-05-02 17:26:07 -04:00
Aayush Rajasekaran
f189256a62
Merge pull request #10744 from filecoin-project/jennijuju-patch-4
...
chore: changelog clean up
2023-05-02 16:36:12 -04:00
Jiaying Wang
3390e3536d
Update CHANGELOG.md
2023-05-02 14:23:24 -04:00
Aayush Rajasekaran
ff0fa3471f
chore: refactor: drop unused IsTicketWinner ( #10801 )
2023-05-02 11:22:02 -07:00
Andrew Jackson (Ajax)
a884bb15bd
docs: lotus-worker data-cid
2023-05-02 13:05:21 -05:00
Aayush Rajasekaran
76f231618a
Merge pull request #10777 from filecoin-project/steb/revert-cb
...
Revert #9858 (consistent broadcast changes)
2023-05-02 10:51:22 -04:00
Andrew Jackson (Ajax)
8c31ea1814
feat: sealing: data_cid flag untied from addpiece
2023-05-01 19:41:44 -05:00
Aayush Rajasekaran
c05204f1d8
Merge pull request #10786 from filecoin-project/asr/calibnet-hack
...
chore: deps: update to FVM 3.3.1
2023-05-01 12:37:59 -04:00
Aayush
b4c2c249db
chore: deps: update to FVM 3.3.1
2023-05-01 10:37:43 -04:00
Aayush Rajasekaran
e291da9adc
Merge pull request #10728 from filecoin-project/sbansal/stagger-commits-set-default
...
Set default for MaxSectorProveCommitsSubmittedPerEpoch
2023-05-01 10:25:28 -04:00
Aayush
0d8a3cbaf8
feat: shed tool to report on any consensus mismatches in history
2023-04-28 13:47:24 -04:00
Steven Allen
bb5ba64cca
Revert "Merge pull request #9858 from adlrocha/adlrocha/consistent-bcast"
...
This reverts commit 8b2208fd9a , reversing
changes made to 2db6b12b78 .
Unfortunately, this is rather tricky code. We've found several issues so
far and, while we've fixed a few, there are outstanding issues that
would require complex fixes we don't have time to tackle right now.
Luckily, this code isn't actually needed by the main Filecoin chain
which relies on consensus fault reporting to handle equivocation. So we
can just try again later.
2023-04-27 12:25:30 -07:00
Aayush Rajasekaran
727a71186b
Merge pull request #10764 from filecoin-project/asr/flaky-tests
...
fix: deflake: use 2 miners for flaky tests
2023-04-27 11:14:57 -04:00
Aayush
e91bb642e7
fix: deflake: use 2 miners for flaky tests
2023-04-27 08:43:03 -04:00
Łukasz Magiera
9d2d53b58e
fix: prover: Propagate skipped sectors in local PoSt
2023-04-27 09:26:12 +02:00
Steven Allen
e351d77ff8
test: eth: deflake multiblock lookup test ( #10769 )
...
- Increase epoch times to give the miners a chance to see each other's
blocks.
- Wait longer for a multi-block tipset.
- Reduce the initial wait (we're increasing the block times and I don't
really feel like waiting around).
2023-04-26 15:10:43 -07:00
Steven Allen
d2c3e84d54
feat: sync: harden chain sync ( #10756 )
...
* fix: sync: fail sync instead of logging if we sync the wrong chain
* fix: sync: write headers in the correct order
Just in case. This shouldn't be necessary, but we might as well.
* fix: minus minus
* fix: do put the tipset
Put != Persist
2023-04-26 14:12:45 -07: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
7903224ae5
Merge pull request #10680 from filecoin-project/steb/blockstore-has-check
...
feat: badger: add a has check before writing to reduce duplicates
2023-04-26 16:17:16 -04:00
Aayush Rajasekaran
eb0b1c986b
Merge pull request #10713 from filecoin-project/steb/fix-event-subscription
...
fix: events: don't set GC confidence to 1
2023-04-26 16:14:20 -04:00
Aayush Rajasekaran
88ff21a211
Merge pull request #10759 from filecoin-project/steb/reduce-log-spam
...
fix: sync: reduce log from error to info
2023-04-26 15:47:55 -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
Steven Allen
a97dae8f46
fix: sync: reduce log from error to info
...
And fix the message to account for the fact that we now reject _old_
blocks along with new ones.
We frequently receive "out of date" blocks in hello messages from
syncing and/or out of sync nodes. This isn't an error.
2023-04-25 14:34:13 -07:00
Steven Allen
7162c656cc
fix: chain: record heaviest tipset before notifying ( #10694 )
...
Clearly this hasn't caused any issues, but I'm pretty sure we should be
updating the current head _before_ notifying about it.
2023-04-25 11:56:26 -07:00
Łukasz Magiera
aeee542fb9
Merge pull request #10696 from filecoin-project/fix/nil-terminate-wait
...
fix: sealing pipeline: Allow nil message in TerminateWait
2023-04-25 19:28:52 +02:00
Łukasz Magiera
7e34b49b5d
Merge pull request #10661 from filecoin-project/fix/cleanup-temp-failed-fetch
...
fix: storage: Remove temp fetching files after failed fetch
2023-04-25 19:28:33 +02:00
Łukasz Magiera
1e04ccb342
Merge pull request #10636 from filecoin-project/feat/snapimport-resume
...
feat: daemon: Auto-resume interrupted snapshot imports
2023-04-25 18:38:43 +02:00
Łukasz Magiera
24945a906a
httpreader: Make linter happy
2023-04-25 11:29:16 +02:00
Łukasz Magiera
a7d29c9564
httpreader: also resume on UnexpectedEOF
2023-04-25 09:31:20 +02:00
Łukasz Magiera
71f184f5cb
feat: daemon: Auto-resume interrupted snapshot imports
2023-04-25 09:31:19 +02:00
Aayush Rajasekaran
28d0274f46
Merge pull request #10746 from filecoin-project/asr/refactor-shed-market
...
feat: shed: refactor market cron-state command
2023-04-24 11:24:33 -04:00
ychiao
9ae48022ff
fix: Eth JSON-RPC api: handle messages with gasFeeCap less than baseFee ( #10614 )
2023-04-24 16:03:04 +01:00
Aayush
fd7a0e1922
feat: shed: refactor market cron-state command
2023-04-24 11:02:43 -04:00
ZenGround0
3a6c385b50
Merge pull request #10742 from filecoin-project/asr/merge-release-into-master
...
chore: merge releases into master
2023-04-23 18:26:31 -04:00
zenground0
c5f2e99e79
go mod tidy
2023-04-23 15:51:34 -06: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
Aayush Rajasekaran
d1d4b35adf
Merge pull request #10727 from filecoin-project/asr/release-1230
...
feat: release 1.23.0
2023-04-23 14:40:18 -04:00
Aayush
5e6e011fe2
fix: FEVM_tests: update recursive limits
2023-04-23 14:21:26 -04:00
zenground0
f3969cdc25
Update splitstore test helpers usage of create miner
2023-04-23 12:14:52 -06:00
Aayush
4ff1d1dc8d
feat: itests should run on latest network version
2023-04-23 13:59:14 -04:00
Aayush
df80c4cde2
Merge branch 'releases' into asr/release-1230
2023-04-23 12:10:41 -04:00
Aayush Rajasekaran
06946a8fce
Merge pull request #10739 from filecoin-project/release/v1.22.1
...
feat: release 1.22.1
2023-04-23 11:57:20 -04:00
Aayush Rajasekaran
23fccc6cb6
Merge pull request #10737 from filecoin-project/asr/release-1221
...
feat: release 1.22.1
2023-04-23 11:55:24 -04:00
Aayush Rajasekaran
4a4ae9db66
Merge pull request #10738 from filecoin-project/jen/changelog1
...
chore: update changelog
2023-04-23 10:57:52 -04:00
jennijuju
7a4624bbd9
update changelog
2023-04-23 22:51:47 +08:00
Aayush
821836d939
feat: release 1.22.1
2023-04-23 10:44:29 -04:00
Aayush Rajasekaran
d4239d66ce
Merge pull request #10736 from filecoin-project/asr/-fix-1221
...
feat: Update FFI, test disputing nv20 window posts fails
2023-04-23 10:44:06 -04:00
Aayush
dc0ce8f11a
Update FFI to 1.22.1
2023-04-23 10:42:01 -04:00
Aayush
4430a138b6
feat: test disputing nv20 window posts fails
2023-04-23 10:41:57 -04:00
Steven Allen
784214ae05
feat: sync: validate (early) that blocks fall within range ( #10691 )
...
This will reject blocks in pubsub validation if they're either:
1. Too far into the future (5 blocks beyond the expected head).
2. Too far into the past (before finality with respect to our current
head).
Specifically:
1. We were previously rejecting future blocks in the sync logic, but not
in pubsub itself.
2. We never used to check if a block was too _old_.
Motivation: Blocks that are too new/too old can cause us to perform
quite a bit of unnecessary work.
2023-04-22 10:15:31 -07:00
Hector Sanjuan
875c09840b
chainstore: Fix raw blocks getting scanned for links during snapshots ( #10684 )
...
We have to save raw blocks to the snapshot, but we should not be scanning them
for additional links as if they were CBOR blocks.
This cleans the logic a bit (we were checking that the parent was a CBOR block
before queueing up the children, but then scanning the children... it was weird).
Additionally, more verbose logging is added for the next time ScanForLinks
fails (currently very little info was given).
Our ScanForLinks callback should only enqueue CBOR for further processing.
2023-04-21 15:16:26 -07:00
Aayush Rajasekaran
5794b22eb6
Merge pull request #10729 from filecoin-project/asr/update-ffi
...
chore: deps: update to FFI v1.23.0
2023-04-21 17:15:46 -04:00
Aayush
8dec6a1672
fix: test: Simulate call on parents's parents
2023-04-21 16:55:55 -04:00
Aayush
4d2765e5ba
chore: deps: update to FFI v1.23.0
2023-04-21 16:42:31 -04:00
Shrenuj Bansal
d39fbb277f
Set default for MaxSectorProveCommitsSubmittedPerEpoch
2023-04-21 16:35:31 -04:00
Aayush Rajasekaran
b06cba18f4
Merge pull request #10726 from filecoin-project/asr/prep-1230
...
feat: set version to 1.23.0
2023-04-21 16:21:42 -04:00
Friðrik Ásmundsson
9d5d6a5f3d
Merge pull request #10700 from filecoin-project/10538-opt-ethgettransactioncount
...
perf: Address performance of EthGetTransactionCount
2023-04-21 20:13:56 +00:00
Fridrik Asmundsson
4028c05fea
address review comment
2023-04-21 20:03:13 +00:00
Phi
b7484121fc
Reduce LOTUS_FMV_CONCURRENCY
...
Reduce LOTUS_FMV_CONCURRENCY
2023-04-21 22:02:33 +02:00
Phi
19d8f79a3d
Small v1.23.0 changelog changes
...
Small v1.23.0 changelog changes
2023-04-21 21:58:47 +02:00
Aayush
abbb74ca35
feat: set version to 1.23.0
2023-04-21 15:46:17 -04:00
Aayush Rajasekaran
73566254bd
Merge pull request #10725 from filecoin-project/asr/merge-releases-into-23
...
chore: merge releases into release/v1.23.0
2023-04-21 15:36:58 -04:00
Aayush
2f48759457
Merge branch 'releases' into release/v1.23.0
2023-04-21 15:12:23 -04:00
Aayush Rajasekaran
0d8659e76f
Merge pull request #10724 from filecoin-project/asr/update-cids-releases
...
fix: docs: correct v11 actor code IDs in changelog
2023-04-21 14:37:27 -04:00
Aayush Rajasekaran
ac78c39c30
Merge branch 'releases' into asr/update-cids-releases
2023-04-21 14:37:18 -04:00
Aayush Rajasekaran
5d4c237e01
Merge pull request #10723 from filecoin-project/chore/fix-changelog-cids
...
actor cids in changelog
2023-04-21 14:31:12 -04:00
zenground0
12d5d3465b
Moar fix
2023-04-21 12:29:36 -06:00
zenground0
711ef3b208
actor cids in changelog
2023-04-21 12:24:10 -06:00
Aayush Rajasekaran
8be0b10d9d
Merge pull request #10722 from filecoin-project/asr/finalize-22
...
feat: release 1.22.0
2023-04-21 14:17:50 -04:00
Aayush Rajasekaran
9dbc42fc54
Merge pull request #10721 from filecoin-project/chore/attempt-finalize-release
...
build: release: v1.22.0 prep
2023-04-21 13:53:15 -04:00
Phi
e409ac8421
Fix typo
...
Fix typo
2023-04-21 19:42:07 +02:00
Phi
c2e37859b5
Update changelog.md
...
Update changelog.md
2023-04-21 19:40:01 +02:00
zenground0
776f98d9f5
Update release version
2023-04-21 11:10:05 -06:00
zenground0
d45ee8dc54
Test that we reverted activation bug fix
2023-04-21 10:58:27 -06:00
Aayush Rajasekaran
885153fcfa
Merge pull request #10720 from filecoin-project/asr/update-gst
...
chore: deps: update to go-state-types v0.11.1
2023-04-21 12:46:19 -04:00
Łukasz Magiera
b44ae9a7d8
Merge pull request #10647 from filecoin-project/sbansal/split-pcb
...
feat: sealing: Split PCA/PCB batches if gas used exceeds block limit
2023-04-21 18:30:27 +02:00
Aayush
d8ca0bff38
chore: deps: update to go-state-types v0.11.1
2023-04-21 12:11:23 -04:00
Aayush Rajasekaran
01dabf09db
chore: deps: update to actors v11.0.0 ( #10718 )
2023-04-21 12:08:31 -04:00
Łukasz Magiera
afc64ebc5e
Merge pull request #10715 from siriusyim/fix/window-post-prooftype
...
update: builtin to builtin11 in wdpost worker
2023-04-21 17:30:52 +02:00
Aayush Rajasekaran
a48a1e31e9
Merge pull request #10716 from filecoin-project/asr/backport-post-worker
...
fix: PoSt worker: use go-state-types for proof policies
2023-04-21 10:12:02 -04:00
Aayush
bb381c201c
fix: PoSt worker: use go-state-types for proof policies
2023-04-21 09:51:25 -04:00
Fridrik Asmundsson
553da395e4
perf: Increase noncecache in MessagePool
...
Bumped from 256 to 32k entries which should be about 6MB of cached
entries given average nonceCacheKey of 200 bytes
2023-04-21 11:56:05 +00:00
Fridrik Asmundsson
953d56e216
perf: Address performance of EthGetTransactionCount
...
We have observed that EthGetTransactionCount is one of the hotspots
on Glif production notes, and we are seeing regular 10-20 second
latencies when calling this rpc method.
I tracked the high latency spikes and they were correlated when
we were running ExecuteTipSet while following the chain.
To address this, we should not rely on tipset computation to get
nounce and instead look at the parent tipset and then count the
messages sent from the 'addr'.
2023-04-21 11:55:46 +00:00
Łukasz Magiera
a503a0edaa
Merge pull request #10690 from filecoin-project/fix/remove-pointless-panic
...
fix: remove pointless panic
2023-04-21 13:47:12 +02:00
sirius
07416e8c0c
update: builtin to builtin11 in wdpost worker
2023-04-21 12:19:06 +08:00
Steven Allen
c84c07eb74
fix: events: don't set GC confidence to 1
...
The function/parameter were poorly named and should never have been
exposed. "GC" confidence should always be the same, this parameter
doesn't let us actually set the _confidence_, just the point before
which we no longer support reverts.
fixes #10706
2023-04-20 14:45:55 -07:00
Steven Allen
54d8ddf3c1
fix: tvx: fvm vm.Flush
2023-04-20 13:50:16 -07:00
Steven Allen
7b6f6843a7
fix: tvx: correctly lookup actor codes in extract-many
2023-04-20 13:27:44 -07:00
Łukasz Magiera
e16fc110d9
Merge pull request #10709 from filecoin-project/jen/bumpmasteragain
...
chore: build: bump matser version to v1.23.1-dev
2023-04-20 19:28:36 +02:00
Jiaying Wang
f269c0fb5d
Merge pull request #10707 from filecoin-project/asr/lightning-upgrade
...
feat: build: set Lightning and Thunder upgrade epochs
2023-04-21 00:30:15 +08:00
jennijuju
00a025449b
bump matser version to v1.23.1-dev
2023-04-21 00:17:15 +08:00
Shrenuj Bansal
d1f3380850
change comment
2023-04-20 12:15:51 -04:00
Aayush
46f1f913c8
feat: build: set Lightning and Thunder upgrade epochs
2023-04-20 10:57:35 -04: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
Phi-rjan
cb22349506
Merge pull request #10639 from filecoin-project/fix/fail-unseal-removed-sector
...
fix: unseal: check if sealed/update sector exists
2023-04-20 09:03:42 +02:00
ZenGround0 and zenground0
28395af03a
chore:build:correct version ( #10704 )
...
* gen
* changelog
---------
Co-authored-by: zenground0 <ZenGround0@users.noreply.github.com >
2023-04-19 20:03:14 -04:00
Steven Allen
d2906e2dc7
Revert "feat: vm: switch to the new exec trace format ( #10372 )" ( #10703 )
...
This reverts commit f6add2f723 .
2023-04-19 19:25:30 -04:00
Shrenuj Bansal
0c83781a7f
Add tests for PCB/PCA batch splitting
2023-04-19 18:44:32 -04:00
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
ZenGround0 and zenground0
752b961483
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 >
2023-04-19 14:00:10 -04:00
ZenGround0 and zenground0
ff2258ff7a
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 >
2023-04-19 10:45:22 -04:00
Łukasz Magiera
4bdb6b34b3
fix: sealing pipeline: Allow nil message in TerminateWait
2023-04-19 15:43:50 +02:00
Steven Allen
141c020b4e
fix: remove pointless panic
...
Technically, the block validator caught this panic. But it's pointless
because we have a _real_ mechanism to return the validation reason,
which we should have been using.
In general, panicing like this is a very bad idea because it's
non-obvious and, in this case, completely undocumented.
2023-04-18 15:44:56 -07: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
Steven Allen
e945c0d6f2
fix: check for nil bcastDict ( #10646 )
...
Also hold the lock when checking the length of the blocks in the
bcastDict.
2023-04-17 20:17:10 -07:00
Steven Allen
0cff56a16d
feat: badger: add a has check before writing to reduce duplicates
2023-04-17 10:57:41 -07:00
Shrenuj Bansal
0befed7200
Add API and CLI to unseal sector ( #10626 )
2023-04-17 12:12:15 -04:00
jennijuju
4de06dcd32
bundle fix
2023-04-14 12:59:15 +08:00
Jiaying Wang
fc313a1e7d
Merge pull request #10667 from filecoin-project/jen/rcprep
...
build: v1.22.0-rc3
2023-04-14 12:51:17 +08:00
jennijuju
6e231e720a
v1.22.0-rc3
2023-04-14 12:35:29 +08:00
Steven Allen
3f74840b67
test: events: fix race when recording tipsets ( #10665 )
...
fixes #10664
2023-04-13 17:20:34 -07:00
ZenGround0 and zenground0
ff9e706c65
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 >
2023-04-13 17:21:24 -04:00
Shrenuj Bansal
79826447f5
fix unit and integration test breaks
2023-04-12 21:45:43 -04:00
Łukasz Magiera
7a4f69721c
fix: storage: Remove temp fetching files after failed fetch
2023-04-12 17:00:10 -07:00
ZenGround0 and zenground0
766bdedd29
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 >
2023-04-12 16:33:06 -04:00
Aayush Rajasekaran
981a3485eb
Merge pull request #10657 from filecoin-project/chore/polish-v1.22-release
...
chore:release:update butterfly artifacts and set calibration upgrade heights
2023-04-12 10:24:02 -04:00
zenground0
4443ac662f
Fix state tree version assert
2023-04-12 08:22:34 -06:00
vyzo
a7379e2cce
Merge pull request #10648 from filecoin-project/vyzo/fix/mpool-prune-select
...
fix:mpool: prune excess messages before selection
2023-04-12 10:51:15 +03:00
Shrenuj Bansal
4eb4af639a
Split PCA msg into smaller batches
2023-04-12 00:30:19 -04:00
zenground0
24da8bdb34
Review Response
2023-04-11 18:29:33 -06:00
zenground0
44979541be
Set calibration net upgrade height
2023-04-11 18:12:44 -06:00
zenground0
65b23b867c
Butterfly artifacts
2023-04-11 18:00:48 -06:00
ZenGround0 and zenground0
58ccfca831
Actually schedule migration ( #10656 )
...
Co-authored-by: zenground0 <ZenGround0@users.noreply.github.com >
2023-04-11 16:15:42 -04:00
Aayush Rajasekaran
30dd65b338
Merge pull request #10645 from filecoin-project/chore/integrate-gst-v11
...
chore:deps:integrate gst v11
2023-04-11 12:24:49 -04:00
zenground0
d91540ae1f
Fix copy paste error
2023-04-11 09:14:18 -06:00
zenground0
8f4824d2b7
Another ffi experiment
2023-04-11 09:10:21 -06:00
Aayush
ae84f335cc
feat: pubsub: treat ErrGasFeeCapTooLow as ignore, not reject
2023-04-11 10:26:43 -04:00
vyzo
dd6720c61b
message data
2023-04-11 16:19:59 +03:00
vyzo
e358b3b358
add real world timing test for selection
2023-04-11 16:19:50 +03:00
vyzo
b4e2e871dc
prune excess messages before selection
2023-04-11 13:12:05 +03:00
zenground0
e75c2e4208
Make butterfly upgrades happen
2023-04-10 23:32:03 -06:00
zenground0
bb5f69328d
Fix
2023-04-10 23:18:23 -06:00
zenground0
db374db306
Debug
2023-04-10 23:14:25 -06:00
zenground0
c00e0c9f48
Try fixig blockstore so bundle is loaded
2023-04-10 23:01:36 -06:00
zenground0
63560c820b
nv19 invariant checking
2023-04-10 23:01:18 -06:00
zenground0
1b8d627af8
gen
2023-04-10 22:40:06 -06:00
zenground0
9d0f586ae7
Fix
2023-04-10 22:25:25 -06:00
zenground0
86c5453254
Post rebase fixup
2023-04-10 22:18:56 -06:00
zenground0
4d7e6732fa
Integration nv19 migration
...
- Open splitstore in migration shed tool
- Update state root version
2023-04-10 22:18:41 -06:00
zenground0
7e99c62f6e
ffi experiment
2023-04-10 18:24:08 -06:00
zenground0
65fa75fd01
- Update go state types
...
- Keep current expiration defaults on creation, extension some tests
- Update ffi
2023-04-10 16:26:14 -06:00
Shrenuj Bansal
6f91dc7c5b
populate result error on exit conditions
2023-04-10 16:24:13 -04:00
Shrenuj Bansal
8893c62a42
make gen
2023-04-10 15:39:42 -04:00
Shrenuj Bansal
1e25d7b453
Split precommit batches if gas used exceeds block limit
2023-04-10 14:52:39 -04:00
Aayush Rajasekaran
258a3c8270
Merge pull request #10642 from filecoin-project/feat/update-actors-v11
...
chore:deps:Integrate actors v11
2023-04-10 12:39:17 -04:00
Aayush
597ca9b073
Update to actors v11.0.0-rc1
2023-04-10 12:19:55 -04:00
Phi-rjan
c6968f8d61
Merge pull request #10643 from filecoin-project/phi/v1210rc3
...
build: release: v1.21.0-rc3
2023-04-10 18:02:30 +02:00
Aayush Rajasekaran
76705b5762
Merge pull request #10629 from filecoin-project/feat/grindability
...
feat: implement FIP-0061
2023-04-10 12:01:30 -04:00
Phi
8096f7135b
build: release: v1.21.0-rc3
...
build: release: v1.21.0-rc3
2023-04-10 17:44:21 +02:00
ZenGround0
5e890165e2
Merge pull request #10641 from filecoin-project/phi/backport-splitstore-oos
...
Backport #10392 into v1.21.0
2023-04-10 11:28:42 -04:00
Steven Allen
34f46d736f
fix: revert chain sync mutex to a regular lock
...
Conditions always call "unlock" so we can't safely use the condition
with both the read and write side of lock. So we might as well revert
back to a regular lock.
fixes #10616
2023-04-10 17:16:20 +02:00
zenground0
d77ac5ddcb
Stop swallowing errors
2023-04-10 17:16:13 +02:00
zenground0
0ce9ae4809
Implement yield friendly online GC
2023-04-10 17:16:01 +02:00
zenground0
fd66db680f
check yield before GC
2023-04-10 17:15:52 +02:00
zenground0
b5da33c013
signal chain in and out of sync to compaction workers
2023-04-10 17:15:42 +02:00
Aayush
22045b8f2d
Update to go-state-types master
2023-04-10 11:15:20 -04:00
ZenGround0 and zenground0
da6b565dc1
Update config default value ( #10605 )
...
Co-authored-by: zenground0 <ZenGround0@users.noreply.github.com >
2023-04-10 10:13:22 -04:00
Phi
9fd69377df
fix: unseal: check if sealed sector exists
...
Check if sealed or update sector exists when `SectorsUnsealPiece` is called.
2023-04-10 09:53:19 +02:00
Steven Allen
d1364caa84
fix: cap the message gas limit at the block gas limit ( #10637 )
...
Technically, if a message is near the block gas limit, this method could
over-estimate past the block gas limit. Instead, cap at the block gas
limit.
2023-04-08 14:57:28 -07:00
Aayush
82a3578849
Update actors bundles to fip/20230406
2023-04-06 16:44:20 -04:00
Aayush
74567a16d1
Add and test the FIP-0061 migration
2023-04-06 14:59:47 -04:00
Aayush
0356163a2e
Address review
2023-04-06 14:39:57 -04:00
Aayush
6d45c37dc5
feat: implement FIP-0061
2023-04-06 11:48:48 -04:00
Aayush
7710a57fa3
fix: include extra messages in ComputeState InvocResult output
2023-04-05 15:25:57 -04:00
Aayush Rajasekaran
2dd67dc895
Merge pull request #10625 from filecoin-project/asr/backport-trace
...
chore: backport 10372 onto release/v1.22.0
2023-04-05 14:20:19 -04:00
Phi-rjan
95e1c4909c
Merge pull request #10627 from filecoin-project/phi/v1210
...
build: release: v1.21.0 prep
2023-04-05 20:00:15 +02:00
Phi
e426d05bc8
fix typos
...
fix typos
2023-04-05 19:09:31 +02:00
Steven Allen
f6add2f723
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.).
2023-04-05 13:05:35 -04:00
Phi
b6b3802bb7
build: release: v1.21.0 prep
...
build: release: v1.21.0 prep
2023-04-05 18:55:18 +02:00
Aayush Rajasekaran
9d44c88cbb
Merge pull request #10613 from filecoin-project/asr/fix-testground
...
fix: build: add CBDeliveryDelay to testground
2023-04-05 12:04:51 -04:00
Aayush Rajasekaran
f1f0d90897
Merge pull request #10621 from filecoin-project/feat/limit-moving-gc-threads
...
feat:splitstore:limit moving gc threads
2023-04-05 11:23:55 -04:00
Phi-rjan and zenground0
b240031605
Limit moving gc threads ( #10623 )
...
Co-authored-by: zenground0 <ZenGround0@users.noreply.github.com >
2023-04-05 11:21:32 -04:00
Phi-rjan
33039d2cec
Merge pull request #10620 from filecoin-project/phi/backport-splitstore-config
...
Backport #10605 to v1.21.0
2023-04-04 22:36:55 +02:00
zenground0
c281d053d2
Limit moving gc threads
2023-04-04 14:07:36 -06:00
zenground0
0314db7894
Update config default value
2023-04-04 20:35:28 +02:00
Jiaying Wang
522388820a
Merge pull request #10552 from filecoin-project/asr/optimize-blockmsgsfortipset
...
feat: chainstore: optimize BlockMsgsForTipset
2023-04-04 13:53:23 -04:00
Aayush Rajasekaran
d2b7d0071d
Merge pull request #10619 from filecoin-project/fix/10617
...
fix: make state compute --html work with unknown methods
2023-04-04 10:01:14 -04:00
Łukasz Magiera
07dcc08ecb
fix: make state compute --html work with unknown methods
2023-04-04 14:39:01 +02:00
Łukasz Magiera
43941876f4
Merge pull request #10611 from filecoin-project/fix/check-sector-exists
...
fix: cli: Check if the sectorID exists before removing
2023-04-04 09:55:36 +02:00
Aayush
0afd51510b
fix: build: add CBDeliveryDelay to testground
2023-04-03 14:18:02 -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
Łukasz Magiera
740a7ca142
Merge pull request #10610 from gundamzl/patch-1
...
Fixed incorrect words that could not be compiled
2023-04-03 13:15:34 +02:00
Zeng Li
8a2a18f43f
Fixed incorrect words that could not be compiled
...
Milisecond is incorrect,resulting in failure to compile.
2023-04-02 19:01:45 +08:00
Shrenuj Bansal and Łukasz Magiera
2278a209e2
Add feature to stagger sector prove commit submission ( #10543 )
...
* Add feature to stagger sector prove commit submission
* make gen and docsgen as usual
* address comments and lint
* Update comment
Co-authored-by: Łukasz Magiera <magik6k@users.noreply.github.com >
* make gen for stupid comment
* make docsgen
* address comments
---------
Co-authored-by: Łukasz Magiera <magik6k@users.noreply.github.com >
2023-04-01 19:30:32 -04:00
Jiaying Wang
3b0d4f2e45
Merge pull request #10489 from filecoin-project/jen/tvl2
...
shed: get balances of evm accounts
2023-03-31 15:35:21 -04: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
ef5c6c4c48
Merge pull request #10607 from filecoin-project/phi/backport-update-gst
...
Backport #10606 to v1.21.0
2023-03-31 10:01:54 -04:00
Aayush Rajasekaran
5f51d652b1
Merge pull request #10606 from filecoin-project/asr/verifreg-state
...
chore: deps: update to go-state-types v0.11.0-alpha-3
2023-03-31 10:01:35 -04:00
Łukasz Magiera
8dc90267d7
Merge pull request #10599 from filecoin-project/fix/netconnect-maddr
...
fix: cli: Make `net connect` to miner address work
2023-03-31 10:07:07 +02:00
Aayush
8a7ae61dae
chore: deps: update to go-state-types v0.11.0-alpha-3
2023-03-31 09:17:11 +02:00
Aayush
c7a6bc2fce
chore: deps: update to go-state-types v0.11.0-alpha-3
2023-03-30 16:32:32 -04:00
vyzo
bf666a3f7e
Merge pull request #10551 from filecoin-project/vyzo/feat/exec-lanes
...
feat: VM Execution Lanes
2023-03-30 22:19:11 +03:00
Łukasz Magiera
3af5ef1167
Merge pull request #10588 from filecoin-project/fix/file-does-not-exsist-logs
...
fix: log: Stop logging `file does not exists`
2023-03-30 20:24:59 +02:00
Aayush Rajasekaran
139bde3771
Merge pull request #10561 from filecoin-project/mikers/messagepoolRWMutexes
...
perf: message pool: change locks to RWMutexes for performance
2023-03-30 12:47:44 -04:00
vyzo
d71b528253
reorg initialization code for better readability, remove unused import
2023-03-30 18:15:13 +03:00
vyzo
7b4e68249a
add comment about Signal unsoundness
2023-03-30 18:13:08 +03:00
vyzo
54a80a8a97
revert dead code
2023-03-30 18:11:44 +03: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
Aayush Rajasekaran
8b2208fd9a
Merge pull request #9858 from adlrocha/adlrocha/consistent-bcast
...
feat:networking: (Synchronous) Consistent Broadcast for Filecoin EC
2023-03-30 09:32:09 -04:00
adlrocha and Aayush Rajasekaran
682ddf6ffa
Update chain/sub/bcast/consistent.go
...
Co-authored-by: Aayush Rajasekaran <arajasek94@gmail.com >
2023-03-30 12:38:00 +02:00
Łukasz Magiera
edae783cf4
fix: cli: Make net connect to miner address work
2023-03-30 09:50:06 +02:00
Aayush Rajasekaran
7dcef330e7
Merge pull request #10592 from filecoin-project/feat/nv19
...
Feat/nv19
2023-03-29 16:34:30 -04:00
Aayush
3636af4cd9
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
2023-03-29 16:13:41 -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
Jiaying Wang
2db6b12b78
Merge pull request #10596 from filecoin-project/asr/deprecated
...
refactor: stop using deprecated io/ioutil
2023-03-29 15:58:38 -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
Phi
d5a3ddbf7e
Add longer validation time cause to changelog
...
Add longer validation time cause to changelog
2023-03-29 20:39:29 +02:00
Aayush Rajasekaran
b40ab4bd44
Merge pull request #10595 from filecoin-project/asr/backport
...
Backport #10546 , #10553
2023-03-29 14:31:43 -04:00
Phi
7a95ed063d
Bump version in changelog
...
Bump version in changelog
2023-03-29 20:31:05 +02:00
Phi
199a1d9e75
Update Changelog with backports
...
Update Changelog with backports
2023-03-29 20:30:01 +02:00
Aayush
3120852eb9
feat: supply: only grab genesis msig locks for writes
2023-03-29 14:26:15 -04:00
Aayush
24381411f2
feat: supply: drop genesis market locked funds
2023-03-29 14:26:08 -04:00
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
Phi
d3d5f92985
Update changelog for v1.21.0-rc2
...
Update changelog for v1.21.0-rc2
2023-03-29 20:11:50 +02:00
Phi
ca1247e0d9
Update go.mod
...
Update go.mod
2023-03-29 19:50:14 +02:00
Phi
a647390bef
build: release: v1.21.0-rc2
...
build: release: v1.21.0-rc2
2023-03-29 19:38:47 +02:00
vyzo
bc7dafc3ba
Merge pull request #10590 from filecoin-project/vyzo/feat/exec-lanes-2
...
VM Execution Lanes Part II: Hide the lock
2023-03-29 19:50:37 +03:00
Friðrik Ásmundsson
36913db0cd
Merge pull request #10587 from filecoin-project/10583-enable-index-for-statewaitformessage
...
feat: Use MessageIndex in WaitForMessage
2023-03-29 18:38:39 +02:00
Friðrik Ásmundsson
5250ef85a2
Merge pull request #10586 from filecoin-project/fix-bug-in-searchForIndexedMsg
...
fix: searchForIndexedMsg always returns an error
2023-03-29 18:35:17 +02:00
Mikers and Aayush Rajasekaran
41ea5a6f63
Update chain/messagepool/messagepool.go
...
Co-authored-by: Aayush Rajasekaran <arajasek94@gmail.com >
2023-03-29 05:44:25 -10:00
Alfonso de la Rocha
103d786c72
return CBDeliveryDelay into a var
2023-03-29 17:43:10 +02:00
Phi-rjan
db869853c4
Merge pull request #10591 from filecoin-project/phi/backport-go-update
...
build: docker: Update GO-version
2023-03-29 17:31:46 +02:00
Fridrik Asmundsson
2c98a187dd
Use defaultExecTraceCacheSize in case env cannot be parsed
2023-03-29 17:30:00 +02:00
Phi
9d5e789d88
build: docker: Update GO-version
...
build: docker: Update GO-version
2023-03-29 17:12:43 +02:00
Aayush Rajasekaran
49cff8a519
Merge pull request #10581 from filecoin-project/fix/docker-go-version
...
build: docker: Update GO-version
2023-03-29 11:05:19 -04:00
vyzo
52d70d563a
fix tests
2023-03-29 16:46:37 +03:00
vyzo
4184ce9c75
refactor execution lanes: hide the lock
2023-03-29 16:45:45 +03:00
Phi
a99946937c
fix: log: Stop logging file does not exists
...
Stop logging `file does not exists` errors when retrieving disk usage information.
2023-03-29 15:32:32 +02:00
Fridrik Asmundsson
f44fa5d96f
Use MessageIndex in WaitForMessage
2023-03-29 13:35:27 +02:00
Fridrik Asmundsson
8aa4917741
Fix bug in searchForIndexedMsg which always returns an error
2023-03-29 13:18:26 +02:00
Fridrik Asmundsson
17505a0022
Make execution trace configurable via env variable
...
We want to make the execution trace cache size configurable as SPs
may want to disable it while exchanges may want to crank it up.
We were also are going with intuition for this value, so having
ability to change it without a new build would help.
Fixes: https://github.com/filecoin-project/lotus/issues/10584
2023-03-29 11:53:43 +02:00
Mike Seiler
3477f7ce57
use LRU cache for keyCache to make threadsafe, also have (high) upper bounds on size of cache
2023-03-28 13:14:33 -10:00
Mike Seiler
89b217ee21
move write lock to before verifyMsg
2023-03-28 12:35:09 -10: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
Mike Seiler
2fa95a09be
clean up cache logic in addTs / fix a bug where the loop was incorrectly releasing the lock 2x
2023-03-28 11:14:13 -10: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
Phi
4b4e7f81a4
build: docker: Update GO-version
...
build: docker: Update GO-version
2023-03-28 21:33:44 +02:00
Alfonso de la Rocha
f24fc836b3
add CB param to all testnet builds
2023-03-28 18:22:28 +02: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
vyzo
71650cd8a4
rename newVM to makeVM for a happy yushie
2023-03-28 18:05:00 +03:00
vyzo
b27121612e
rename confusing variable
2023-03-28 18:03:55 +03: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
vyzo and Aayush Rajasekaran
b2b78e9dfa
Update chain/vm/execution.go
...
Co-authored-by: Aayush Rajasekaran <arajasek94@gmail.com >
2023-03-28 17:56:35 +03:00
Alfonso de la Rocha
b7c297c537
Merge branch 'master' into adlrocha/consistent-bcast
2023-03-28 16:55:06 +02:00
Alfonso de la Rocha
1a771e4310
include a deeper gc round
2023-03-28 16:52:32 +02:00
Fridrik Asmundsson
83e2408f81
Only populate message index if config EnableMsgIndex is set
2023-03-28 16:28:47 +02:00
vyzo
dcd9869842
make gen
2023-03-28 16:58:09 +03: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
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
Mikers
831f8a499d
repub needs Lock not RLock
2023-03-28 08:40:41 +00:00
Alfonso de la Rocha
df82a8240e
add comments
2023-03-28 10:33:26 +02:00
Mikers
e9d2223025
disallow infinite loop, since in testing this only runs once
2023-03-28 08:11:23 +00:00
Mikers
ad81cd18c2
cache the tipset nonce calculation before holding the write lock, and also verify that the the calculation is cached after grabbing the write lock. if it is not cached, give up the lock, calculate, and then grab the write lock again
2023-03-28 08:11:00 +00:00
Alfonso de la Rocha
92f6d3e468
global locking strategy for blockInfo map
2023-03-28 10:01:43 +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
Phi-rjan
7eae362c1e
Merge pull request #10563 from Jorropo/release/v1.21.0
...
chore: all: bump go-libipfs
2023-03-28 08:42:46 +02:00
vyzo
6ecaf826af
no, Sum it is.
2023-03-27 23:17:41 +03:00
vyzo
a0f908da57
use Count instead of LastValue
2023-03-27 23:11:56 +03:00
vyzo
ddebdfb37c
add execution metrics to the chain node views
2023-03-27 20:56:07 +03:00
Phi-rjan
af428b6298
Merge pull request #10574 from filecoin-project/phi/backport-slice-fix
...
fix: proving: Initialize slice with with same length as partition
2023-03-27 16:28:02 +02: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
Ł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
Jorropo
0e73c69035
chore: all: bump go-libipfs
...
(cherry picked from commit f48c6268f8 )
2023-03-25 10:15:21 +01:00
Mike Seiler
6f440a6420
change highly contented message pool locks to RWMutexes for performance
2023-03-24 15:49:02 -10:00
Arsenii Petrovich
11827034b9
add to gw MpoolPending, ChainGetBlock and MinerGetBaseInfo
2023-03-24 20:39:15 +02: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
vyzo
08134552a4
address review comments
2023-03-24 15:48:58 +02:00
vyzo
4b590e2102
add vm execution metrics
2023-03-24 15:16:22 +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
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
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
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
vyzo
f11a7f8940
fix incorrect deferred vm release
2023-03-23 19:51:23 +02:00
vyzo
317a87d669
add some sanity checks for execution concurrency parameters
2023-03-23 18:52:37 +02:00
Aayush
b1669235f7
feat: chainstore: optimize BlockMsgsForTipset
2023-03-23 11:57:43 -04:00
vyzo
2a0660447a
make token.Done idempotent
2023-03-23 17:38:36 +02:00
vyzo
2bb89d9c30
call Executor.Done where appropriate in stmgr uses
2023-03-23 17:34:59 +02:00
vyzo
ee6c0f8570
only call Atoi on non empty strings
2023-03-23 17:28:08 +02:00
vyzo
7362556c02
update VM interface references to use the executor, and call Done where appropriate
2023-03-23 17:17:46 +02:00
Aayush
8bb5d985d4
docs: api: clarify MpoolClear params
2023-03-23 10:57:08 -04:00
vyzo
6550abdfcc
introduce execution lanes
2023-03-23 16:53:50 +02: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
Phi-rjan
3f8a41cfe8
Merge pull request #10524 from filecoin-project/jen/v121
...
chore: build: v1.21.0-rc1
2023-03-22 17:13:12 +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
Phi
a8580e234d
Add callout to exchanges
...
Add callout to exchanges about the execution traces. Also moving the `execution trace format changes` section to above the contributors section.
2023-03-22 15:07:21 +01:00
raulk
0f8a4b7789
fix: Eth RPC: do not occlude block param errors.
2023-03-22 11:37:35 +00: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
Phi
938d2d9f5b
Add RPC API highlight
...
Add RPC API highlight
2023-03-21 19:55:06 +01:00
Phi
c8af33f163
chore: build: Update Changelog for v1.21.0
...
chore: build: Update Changelog for v1.21.0
2023-03-21 14:33:36 +01:00
Jennifer Wang
57133a8f66
release v1.21.0-rc1 prep
2023-03-21 01:10:32 -04:00
Alfonso de la Rocha
fa7e1ef78e
set CB delay to 2 secs
2023-03-20 18:10:34 +01:00
ZenGround0 and 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 and 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
5f91072d4d
Merge pull request #10508 from filecoin-project/asr/v1.20.4
...
chore: merge release/v1.20.4 into releases
2023-03-17 15:20:35 -04:00
Aayush Rajasekaran
5f24a814d2
Merge pull request #10507 from filecoin-project/asr/changelog
...
chore: release lotus v1.20.4
2023-03-17 14:45:38 -04:00
Aayush Rajasekaran and Jiaying Wang
3c4aa92413
Apply suggestions from code review
...
Co-authored-by: Jiaying Wang <42981373+jennijuju@users.noreply.github.com >
2023-03-17 14:36:43 -04:00
Aayush Rajasekaran
d374b1ceea
chore: release lotus v1.20.4
2023-03-17 14:28:05 -04:00
Aayush Rajasekaran
33648ac546
Merge pull request #10506 from filecoin-project/asr/backport-drand
...
fix: build: drop drand incentinet servers
2023-03-17 14:27:12 -04:00
Aayush
177212f06b
fix: build: drop drand incentinet servers
2023-03-17 14:19:47 -04:00
Aayush Rajasekaran
7bcfb6d1f4
Merge pull request #10505 from filecoin-project/asr/backport-splitstore
...
Don't enforce walking receipt tree during compaction
2023-03-17 14:00:04 -04:00
zenground0
b06341031d
Don't enforce walking receipt tree during compaction
2023-03-17 13:35:55 -04:00
Aayush Rajasekaran
7b41cdb656
Merge pull request #10503 from filecoin-project/asr/bump-ffi
...
chore: update ffi to increase execution parallelism
2023-03-17 13:29:58 -04: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
Aayush Rajasekaran
f4a2e1cb77
chore: update ffi to increase execution parallelism
2023-03-17 13:10:01 -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
Alfonso de la Rocha
90c2f9dbe2
minor fix
2023-03-16 17:17:59 +01:00
Alfonso de la Rocha
8d260d7478
address review
2023-03-16 17:03:25 +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
vyzo
90c4763e00
fix typos
2023-03-16 17:33:12 +02:00
vyzo
8bceaadda8
chain errors in searchForIndexedMsg
2023-03-16 17:32:06 +02:00
vyzo
91fccc421a
add ON CONFLICT REPLACE clause in messages
2023-03-16 17:25:20 +02:00
vyzo
1676d51484
shed: expand homedir in repo path for msgindex tools
2023-03-16 17:17:26 +02:00
adlrocha and Aayush Rajasekaran
f59c246c7a
Update chain/sub/bcast/consistent.go
...
Co-authored-by: Aayush Rajasekaran <arajasek94@gmail.com >
2023-03-16 16:09:45 +01:00
Hector Sanjuan
4b8442d8b9
Chain export: record epoch for every task.
2023-03-16 15:31:58 +01:00
Aayush Rajasekaran
97a3b6e06d
Merge pull request #10490 from filecoin-project/jen/m
...
chore: releases to master
2023-03-16 09:59:32 -04:00
Hector Sanjuan
a3900caeb0
Improve logging by carrying some more information in tasks
2023-03-16 13:38:40 +01:00
Łukasz Magiera
093ff95580
Merge pull request #10467 from filecoin-project/steb/gw-eth-lookback-limit
...
feat: apply gateway lookback limit to eth API lookback
2023-03-16 08:50:59 +01:00
Łukasz Magiera
c0aed3c4a2
Merge pull request #10474 from filecoin-project/raulk/fix-pending-support
...
fix: revert "Eth API: drop support for 'pending' block parameter."
2023-03-16 08:49:49 +01:00
Jennifer Wang
d56980823b
Merge branch 'releases' into jen/m
2023-03-15 21:23:08 -04:00
Steven Allen
17274e72da
feat: expose limited apis on the gateway
2023-03-15 16:12:18 -07:00
Steven Allen
3776ee3b62
fix: actually apply limit
2023-03-15 16:11:13 -07:00
Steven Allen
fee480193e
feat: apply gateway lookback limit to eth API lookback
...
This change:
1. Introduces new "limited" API endpoints for EthGetTransactionByHash
and EthGetTransactionReceipt that accept lookback-limits.
2. Implements the gateway version of these API endpoints by calling the
limited variants with the default message search lookback limit.
fixes #10412
2023-03-15 16:11:11 -07:00
Łukasz Magiera
4c80e179ae
Merge pull request #10485 from filecoin-project/fix/ethsub-hang
...
fix: ethrpc: Don't lock up when eth subscriber goes away
2023-03-15 20:37:33 +01:00
Łukasz Magiera
720e95991c
make lint happy
2023-03-15 18:52:11 +01:00
Łukasz Magiera
470dd8da3d
ethrpc: Buffer sub messages if subscriber is slow
2023-03-15 18:34:10 +01:00
Łukasz Magiera
a44f598cc2
update go-jsonrpc to v0.2.3
2023-03-15 17:19:32 +01:00
Aayush Rajasekaran
7036e76e17
Merge pull request #10476 from filecoin-project/asr/drop-incentinet-servers
...
fix: build: drop drand incentinet servers
2023-03-15 11:09:45 -04:00
Łukasz Magiera
8121f379a3
Merge pull request #10483 from filecoin-project/deps/update-pubsub
...
deps: update go-libp2p-pubsub to v0.9.3
2023-03-15 14:01:42 +01:00
vyzo
7e21486103
update go-libp2p-pubsub to v0.9.3
2023-03-15 13:57:20 +02:00
Łukasz Magiera
b8589e8c51
Merge pull request #10382 from filecoin-project/feat/go-data-transfer-v2
...
Update to go-data-transfer v2 and libp2p, still wip
2023-03-15 12:45:01 +01:00
Łukasz Magiera
311645b559
make mod-tidy ci happy
2023-03-15 12:13:57 +01:00
Łukasz Magiera
7e414ac390
Merge remote-tracking branch 'origin/master' into feat/go-data-transfer-v2
2023-03-15 11:37:53 +01:00
Łukasz Magiera
486904bc92
Merge pull request #10464 from filecoin-project/steb/fee-history-gw-lookback-max
...
fix: gateway: correctly apply the fee history lookback max
2023-03-15 10:52:24 +01:00
Łukasz Magiera
a7c9a83091
Merge pull request #10465 from ribasushi/flush_bs
...
chore: blockstore: Plumb through a proper Flush() method on all blockstores
2023-03-15 10:16:01 +01:00
Łukasz Magiera
81238b19ab
Merge pull request #10477 from filecoin-project/asr/export-state-verifier
...
feat: gateway: export StateVerifierStatus
2023-03-15 10:13:42 +01:00
Marten Seemann
58306a87f1
chore: update go-libp2p to v0.26.2
2023-03-15 18:35:18 +13:00
Marten Seemann
21b74deab4
fix connection gater integration test
2023-03-15 18:35:17 +13:00
Steven Allen
6ef415744c
chore: update ffi to increase execution parallelism ( #10480 )
...
This changes the default validation parallelism from 1 to 4, and makes
it configurable with a LOTUS_FVM_CONCURRENCY environment variable.
2023-03-14 19:53:39 -07:00
Marten Seemann
92dd629f42
chore: update go-libp2p-pubsub to v0.9.2
2023-03-15 15:12:22 +13:00
Aayush
adfa766e1b
feat: gateway: export StateVerifierStatus
2023-03-14 13:39:05 -04:00
Aayush
991895c0f2
fix: build: drop drand incentinet servers
2023-03-14 11:09:43 -04:00
Łukasz Magiera
162e07fc95
Merge pull request #10470 from filecoin-project/feat/applyblock-timing-log
...
feat: consensus: log ApplyBlock timing/gas stats
2023-03-14 15:25:31 +01:00
raulk
e8325f9a98
Revert "Eth API: drop support for 'pending' block parameter."
...
This reverts commit 9412753ba3 .
2023-03-14 13:46:01 +00:00
Łukasz Magiera
27e3c0b89f
fix: stmgr: don't attempt to lookup genesis state ( #10472 )
...
* fix: stmgr: don't attempt to lookup genesis state
* stmgr: More correct fix for genesis state compute
2023-03-14 06:45:23 -07:00
Łukasz Magiera
51c6b64c91
feat: consensus: log ApplyBlock timing/gas stats
2023-03-14 13:58:36 +01:00
Peter Rabbitson
6afa99d0a1
Plumb through a proper Flush() method on all blockstores
2023-03-14 02:30:15 +01:00
Steven Allen
3556a4b07b
fix: gateway: correctly apply the fee history lookback max
...
This fix ensures that the full fee-history range falls into the
allowable lookback rang.
2023-03-13 16:45:26 -07: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
Aayush Rajasekaran
97a9921cdd
Merge pull request #10461 from filecoin-project/steb/deflake-fail-after-finish
...
fix: itest: avoid failing the test when we race the miner
2023-03-13 15:13:08 -04:00
Aayush Rajasekaran
748e535cc6
Merge pull request #10444 from filecoin-project/chore/update-ffi
...
chore: update the FFI for release (#10435 )
2023-03-13 15:04:18 -04:00
Steven Allen and raulk
73a2b4152b
feat: eth: Avoid StateCompute in EthTxnReceipt lookup ( #10460 )
...
Instead:
1. Use the receipt from the message search.
2. Re-compute the gas fees that would have been charged.
fixes #10418
Co-authored-by: raulk <raul.kripalani@gmail.com >
2023-03-13 11:44:59 -07:00
Aayush Rajasekaran
afa36d3f62
Merge pull request #10451 from filecoin-project/asr/fix-msig-vested
...
gateway: fix: drop overzealous guard on MsigGetVested
2023-03-13 14:33:50 -04:00
Steven Allen
b852f5e2fd
fix: itest: avoid failing the test when we race the miner
...
I've been seeing quite a few tests failing here, so I'm hoping this will
deflake them a bit.
2023-03-13 11:16:26 -07:00
vyzo
5ade40cbac
increase coalesce delays for test to deflake on CI
2023-03-13 17:27:12 +02: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
cafa1eaba4
fix test for CI
...
test files are run individually...
2023-03-13 16:56:51 +02:00
vyzo
27dc4951eb
lotus-shed tools for msgindex
2023-03-13 16:51:21 +02:00
vyzo
47646cbd69
add optimization TODO comment
2023-03-13 15:19:07 +02:00
vyzo
5113c72b3a
make gen
2023-03-13 15:09:11 +02:00
vyzo
1970792445
fix bug in searchForIndexedMsg
...
Need to use and return the execution tipset
2023-03-13 14:56:00 +02:00
vyzo
4b1a405002
basic msgindex itest
2023-03-13 14:55:26 +02:00
raulk
75c279ab97
Merge pull request #10456 from filecoin-project/raulk/fix-eth-net_version
2023-03-13 11:25:19 +00:00
vyzo
05cb2428c1
add confidence check for indexed message epoch
2023-03-13 12:33:19 +02:00
vyzo
0bf6a333b9
more gen
2023-03-13 12:24:35 +02:00
vyzo
5e011d536b
enhance comment about lookup cid semantics
2023-03-13 12:14:30 +02:00
vyzo
0a5618d406
make gen
2023-03-13 12:10:36 +02:00
vyzo
db8b593c9b
make MsgIndex configurable, disabled by default.
2023-03-13 12:01:04 +02:00
vyzo
3c945e9e3c
no need to return error from DummyMsgIndex DI constructor
2023-03-13 12:00:48 +02:00
vyzo
a11032b10a
adjust coalescer delays
2023-03-13 11:44:10 +02:00
vyzo
bda7ef52da
log rollback errors
2023-03-13 11:41:46 +02:00
vyzo
b90cfff0aa
wire in lifecycle context
2023-03-13 10:42:48 +02:00
vyzo
5461548b7e
fix comment typo
2023-03-13 05:57:26 +02:00
vyzo
4a20c9b60f
cosmetics
2023-03-13 05:54:32 +02:00
vyzo
e7448b1bb5
fix tests
2023-03-13 05:51:33 +02:00
vyzo
df6dfdf8a9
refactor database
...
- drop the execution index; we don't need it
- it is inclusion tipset
- use MessagesForTipset
- hoist db sql stuffs on top for clarity
- add index for tipset on messages
2023-03-13 05:51:24 +02:00
raulk
34d7135717
Merge pull request #10409 from filecoin-project/asr/fix-eth-api-gateway
...
fix: eth API: correct gateway restrictions, drop unimplemented methods
2023-03-12 16:31:42 +00:00
Raúl Kripalani
2e56237898
Merge branch 'master' into asr/fix-eth-api-gateway
2023-03-12 15:56:55 +00:00
Raúl Kripalani
e65a5988e1
Eth API: make eth_getTransactionByBlock* ops return ErrUnsupported.
2023-03-12 15:53:56 +00:00
raulk
aea195aeb4
Merge pull request #10446 from filecoin-project/steb/optimize-eth-block
...
feat: eth: optimize eth block loading + eth_feeHistory
2023-03-12 15:46:03 +00:00
vyzo
88d7a4e610
more lint
2023-03-12 16:13:05 +02:00
vyzo
3b765a30d3
dummy index for itests
2023-03-12 16:02:51 +02:00
vyzo
1415391988
lint
...
lint
lint
2023-03-12 15:50:10 +02:00
vyzo
0077fa2a98
make gen
2023-03-12 15:30:05 +02:00
vyzo
171734ea31
hook the index into the rest of lotus
2023-03-12 15:25:07 +02:00
vyzo
0d274df977
use the transaction Luke!
2023-03-12 13:35:50 +02:00
vyzo
d9ca214309
test test test
2023-03-12 13:21:03 +02:00
Raúl Kripalani
571a84b390
drop irrelevant test.
2023-03-12 00:45:02 +00:00
Raúl Kripalani
5a4b5ff97e
remove superfluous filter.
2023-03-12 00:44:49 +00:00
Raúl Kripalani
4763104b99
fix imports.
2023-03-12 00:42:56 +00:00
Raúl Kripalani
7ce92f1422
Eth API: make net_version return the chain ID.
2023-03-11 23:26:26 +00:00
Raúl Kripalani
9412753ba3
Eth API: drop support for 'pending' block parameter.
...
After transitioning from using StateCompute to loading receipts,
we can no longer handle the 'pending' block without forcing
computation. Eth Core Devs are evaluating a proposal to remove
support on their end too.
2023-03-11 23:03:21 +00:00
vyzo
bf9ae23c98
implement Close
2023-03-11 22:09:31 +02:00
vyzo
b5dd4e31ac
implement reconciliation
2023-03-11 21:26:11 +02:00
Raúl Kripalani
f7a979d825
eth_feeHistory: migrate to using TipSetState.
2023-03-11 17:25:00 +00:00
vyzo
d97c6b2f69
more implementation
2023-03-11 19:11:08 +02:00
vyzo
7fcf228bc4
better logger name
2023-03-11 18:23:05 +02:00
Raúl Kripalani
d1c6ab7dc6
Merge branch 'master' into steb/optimize-eth-block
2023-03-11 16:21:19 +00:00
vyzo
3649ae373b
implementation details
2023-03-11 18:21:16 +02:00
raulk
d7a2fdb5ba
Merge pull request #10445 from filecoin-project/steb/skip-tipset-execution
2023-03-11 16:19:08 +00:00
vyzo
9144f9cea7
abstract ChainStore interface
2023-03-11 17:56:23 +02:00
vyzo
eab728c4e7
we don't need the block
2023-03-11 17:25:57 +02:00
vyzo
cc83a7cd35
use tipset cid instead of key for posterity.
2023-03-11 17:12:28 +02:00
vyzo
a0e95ebe97
scaffolding
2023-03-11 16:50:29 +02:00
Aayush
82e2c3538c
gateway: fix: drop overzealous guard on MsigGetVested
2023-03-11 09:35:51 -05:00
Ales Dumikau
6e9a1f44ed
Add new methods to gw
2023-03-11 10:27:42 +03:00
Steven Allen
59bebf8a35
test: eth: reduce chances of chain-reorgs affecting the test
...
Now that this API is _much_ faster, we're more likely to "catch up" to
the head faster than it can stabilize. I'm pretty sure the test was
intended to be written this way anyways.
2023-03-10 16:29:43 -08:00
Steven Allen
eba270d1e2
feat: api: optimize ChainGetParentReceipts
...
Read the receipts all at once instead of fetching them one-by-one.
2023-03-10 16:01:34 -08:00
Steven Allen
1cf57ffe2d
feat: eth: optimize receipt reading
...
This optimizes the eth APIs (except the fee history one) to lookup the
tipset state/receipts instead of computing the state.
2023-03-10 15:33:45 -08:00
Steven Allen
92bca485b6
feat: stmgr: skip tipset execution when possible
2023-03-10 13:21:17 -08:00
Steven Allen
d2c1962e34
chore: update the FFI for release ( #10435 )
...
Specifically, this updates the proofs libraries and enables CUDA by default.
2023-03-10 12:13:59 -08:00
Aayush Rajasekaran
9d994dac9e
Merge pull request #10440 from filecoin-project/steb/reject-masked-id
...
feat: eth API: reject masked ID addresses embedded in f410f payloads
2023-03-10 14:34:15 -05:00
Aayush Rajasekaran
816ca59d6d
Merge pull request #10443 from filecoin-project/steb/evm-bytecode-cmd
...
feat: cli: Add an EVM command to fetch a contract's bytecode
2023-03-10 14:34:01 -05:00
Steven Allen
f7603f6c13
feat: eth API: reject masked ID addresses embedded in f410f payloads
...
We'll never get an actor/account deployed to one of these
addresses (although we might get a placeholder). However, converting
such an address to an f4 address is definitely wrong.
2023-03-10 10:57:39 -08:00
Steven Allen
7a2eb86dd5
feat: cli: Add an EVM command to fetch a contract's bytecode
2023-03-10 10:52:13 -08:00
Alfonso de la Rocha
c11ffa58a8
address review
2023-03-10 09:27:30 +01:00
Ales Dumikau
8a3f91e655
Merge branch 'master' of github.com:protofire/lotus
2023-03-10 10:14:18 +03:00
Jiaying Wang
b332db0a38
Merge pull request #10439 from filecoin-project/jen/v1203
...
fix: cherrypick/conflict wrongfully resolved
2023-03-09 22:58:36 -05:00
Jennifer Wang
e3b3b0ca6c
make gen
2023-03-09 22:11:11 -05:00
Jennifer Wang
c8b4f5f0a3
go mod tidy
2023-03-09 22:03:27 -05:00
Jennifer Wang
8c6ffcf4d4
retract v1.20.2
2023-03-09 21:10:30 -05:00
Jennifer Wang
80cba5f176
fiix bakcport error #10427
2023-03-09 21:09:04 -05:00
Jiaying Wang
99749e9b9b
Merge pull request #10437 from filecoin-project/release/v1.20.2
...
release: v1.20.2
2023-03-09 20:58:50 -05:00
Jiaying Wang
a1f912c71d
Merge pull request #10436 from filecoin-project/jen/v1202
...
chore: build: v1.20.2 prep
2023-03-09 19:54:08 -05:00
Jennifer Wang
4def0a53e0
change log
2023-03-09 19:39:07 -05:00
Jennifer Wang
51d0d5e549
make gen
2023-03-09 19:24:18 -05:00
Steven Allen
b7db4cb280
feat: mempool: Reduce minimum replace fee from 1.25x to 1.1x ( #10416 )
...
However, we're leaving the default at 1.25x for backwards compatibility, for now.
Also:
1. Actually use the configured replace fee ratio.
2. Store said ratios as percentages instead of floats. 1.25, or 1+1/(2^2),
can be represented as a float. 1.1, or 1 + 1/(2 * 5), cannot.
fixes #10415
2023-03-09 19:20:01 -05:00
Aayush Rajasekaran
36ffa09b05
fix: eth API: return correct txIdx around null blocks ( #10419 )
2023-03-09 19:17:41 -05:00
ychiao
0e58b3fbbc
fix: EthAPI: use StateCompute for feeHistory; apply minimum gas premium ( #10413 )
2023-03-09 19:16:52 -05:00
Raúl Kripalani
1da2d59066
simplify test.
2023-03-09 19:14:01 -05:00
Raúl Kripalani
a72879b2b2
switch to ChainAPI#ChainGetTipSetByHeight.
2023-03-09 19:13:58 -05:00
Raúl Kripalani
2909a31e8f
fix TestEthBlockHashesCorrect_MultiBlockTipset: skip null rounds.
2023-03-09 19:13:54 -05:00
Raúl Kripalani
558eaf8b61
fix lint.
2023-03-09 19:13:49 -05:00
Raúl Kripalani
6a7895bf49
fmt.
2023-03-09 19:13:38 -05:00
Raúl Kripalani
e73ec088d5
add a test to verify block parameter soundness.
2023-03-09 19:13:34 -05:00
Raúl Kripalani
a0821506bc
Eth API: fail when requesting future epochs.
2023-03-09 19:13:29 -05:00
Raúl Kripalani
5df2af5189
Eth API: make block parameter parsing sounder.
2023-03-09 19:13:24 -05:00
Arsenii Petrovich
649b0769ba
run make gen
2023-03-09 19:13:16 -05:00
Arsenii Petrovich
fb569d4c2c
add two more methods: StateCall and StateDecodeParams
2023-03-09 19:11:32 -05:00
Arsenii Petrovich
3aac4b45ab
add MPoolGetNonce
2023-03-09 19:11:28 -05:00
Arsenii Petrovich
857b0205a8
add method implementation
2023-03-09 19:11:25 -05:00
Arsenii Petrovich
b5c88d5714
try to add statenetworkname method
2023-03-09 19:11:20 -05:00
Steven Allen
58900a7033
feat: mempool: Reduce minimum replace fee from 1.25x to 1.1x ( #10416 )
...
However, we're leaving the default at 1.25x for backwards compatibility, for now.
Also:
1. Actually use the configured replace fee ratio.
2. Store said ratios as percentages instead of floats. 1.25, or 1+1/(2^2),
can be represented as a float. 1.1, or 1 + 1/(2 * 5), cannot.
fixes #10415
2023-03-09 13:17:17 -08:00
Aayush Rajasekaran
b75ebcac81
Merge pull request #10423 from filecoin-project/asr/fast-index
...
feat: chain: make chain tipset fetching 1000x faster
2023-03-09 15:38:55 -05:00
Aayush
90c89288b6
feat: chain: make fetching tipset by height 1000x faster
2023-03-09 15:12:13 -05: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
Jiaying Wang
1096ead73e
Merge pull request #10427 from filecoin-project/raulk/fix-eth-parseBlkParam
...
fix: Eth API: make block parameter parsing sounder.
2023-03-09 14:21:24 -05:00
Raúl Kripalani
3d21d71231
simplify test.
2023-03-09 19:05:31 +00:00
Travis Person
b4e589a0f7
review comments
2023-03-09 18:54:29 +00:00
Raúl Kripalani
fce0813821
switch to ChainAPI#ChainGetTipSetByHeight.
2023-03-09 18:51:38 +00:00
Aayush Rajasekaran
9fa81673da
Merge pull request #10411 from filecoin-project/asr/simplity-new-eth-tx-rct
...
refactor: EthAPI: Drop unnecessary param from newEthTxReceipt
2023-03-09 12:44:44 -05:00
Raúl Kripalani
13d6211ed0
fix TestEthBlockHashesCorrect_MultiBlockTipset: skip null rounds.
2023-03-09 17:14:23 +00:00
Łukasz Magiera
faedc12531
Merge pull request #10391 from filecoin-project/feat/record-hotstore-space
...
feat:splitstore:Configure max space used by hotstore and GC makes best effort to respect
2023-03-09 17:41:36 +01:00
Łukasz Magiera
366ebe3155
make gen
2023-03-09 17:18:04 +01:00
zenground0
87d5a3723f
lint
2023-03-09 08:57:14 -07:00
zenground0
bd0c010be6
Configur buffer and threshold
2023-03-09 08:40:14 -07:00
Raúl Kripalani
d38bdcebfd
fix lint.
2023-03-09 14:59:56 +00:00
zenground0
aac30cd840
Review Response
2023-03-09 07:57:35 -07:00
ZenGround0 and zenground0
c80783dbea
feat:splitstore:Splitstore enabled by default ( #10429 )
...
Discard mode
---------
Co-authored-by: zenground0 <ZenGround0@users.noreply.github.com >
2023-03-09 08:37:34 -05:00
zenground0
fb7eb08624
lint
2023-03-09 06:36:35 -07:00
Raúl Kripalani
941ef84b71
Merge branch 'master' into raulk/fix-eth-parseBlkParam
2023-03-09 12:16:23 +00:00
Raúl Kripalani
fd3ddc860e
fmt.
2023-03-09 12:15:35 +00:00
Aayush Rajasekaran
ab91ab100f
fix: eth API: return correct txIdx around null blocks ( #10419 )
2023-03-09 12:14:57 +00:00
dumikau
c099317bb3
Merge pull request #1 from filecoin-project/master
...
Fastforward main branch
2023-03-09 14:46:03 +03: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
zenground0
140f2099bd
lint
2023-03-08 22:49:30 -07:00
Marten Seemann
4f060b87bb
only register metrics once
2023-03-09 16:44:37 +13:00
zenground0
14af4b27cd
docsgen-cli
2023-03-08 18:41:31 -07:00
zenground0
0b0913f2f3
lint
2023-03-08 18:40:23 -07:00
zenground0
7931414735
Lint
2023-03-08 18:20:27 -07:00
zenground0
efbb63582e
Review Response
2023-03-08 18:11:39 -07:00
zenground0
ee9ff563d2
computing szPurge leads to deadlock and unneeded, remove
2023-03-08 17:51:59 -07:00
zenground0
e5553554d1
cid key size
2023-03-08 17:30:42 -07:00
Łukasz Magiera
80ccd14447
Merge pull request #10356 from filecoin-project/feat/assigner-experiments
...
feat: sched: Assigner experiments
2023-03-09 01:28:31 +01:00
ychiao
0a0df61d77
fix: EthAPI: use StateCompute for feeHistory; apply minimum gas premium ( #10413 )
2023-03-09 00:28:17 +00:00
Łukasz Magiera
f9c8cb044e
Merge pull request #10422 from ArseniiPetrovich/patch-1
...
docs: API Gateway: patch documentation note about make gen command
2023-03-09 01:25:18 +01:00
Arsenii Petrovich
4427986ac1
replace make all with make deps according to review
2023-03-09 02:10:22 +02:00
Marten Seemann
0f5f91c094
register rcmgr metrics
2023-03-09 11:52:53 +13:00
Łukasz Magiera
1aac945bf6
Merge pull request #10420 from protofire/add_missing_methods_master
...
fix: Lotus Gateway: Add missing methods - master
2023-03-08 22:59:28 +01:00
Raúl Kripalani
b6dc0d2002
add a test to verify block parameter soundness.
2023-03-08 21:15:07 +00:00
Raúl Kripalani
28d8b4cd65
Eth API: fail when requesting future epochs.
2023-03-08 20:49:36 +00:00
Raúl Kripalani
cef416e2b0
Eth API: make block parameter parsing sounder.
2023-03-08 20:38:09 +00:00
Łukasz Magiera
52ae215104
Merge pull request #10363 from filecoin-project/fix/fsm-shutdown-removed-sectors
...
fix: fsm: shutdown removed sectors FSMs
2023-03-08 19:32:47 +01:00
Łukasz Magiera
dcfbf7d0a6
fix TestPrintGroupInfo
2023-03-08 18:13:58 +01:00
Arsenii Petrovich
a450e74954
small doc patch on how to make gen after api changes
2023-03-08 18:55:51 +02:00
Arsenii Petrovich
0ccef4e5c0
run make gen
2023-03-08 18:53:19 +02:00
zenground0
efbc0ff12e
Fix up approximation and logging
2023-03-08 09:43:37 -07:00
Łukasz Magiera
d114d8fe7e
deprecate MarketListRetrievalDeals, make gen
2023-03-08 17:15:16 +01:00
zenground0
e17ec37d10
fix logging
2023-03-08 09:13:00 -07:00
Arsenii Petrovich
fb5c24b2b5
add two more methods: StateCall and StateDecodeParams
2023-03-08 17:49:12 +02:00
Arsenii Petrovich
17ca3a1ac9
add MPoolGetNonce
2023-03-08 17:44:28 +02:00
Arsenii Petrovich
b8aaec6c37
add method implementation
2023-03-08 17:44:04 +02:00
Arsenii Petrovich
b67e6db527
try to add statenetworkname method
2023-03-08 17:43:48 +02:00
Łukasz Magiera
2c6d025ab3
un-un-update filecoin-ffi
2023-03-08 15:47:09 +01:00
Łukasz Magiera
9038e83639
Merge pull request #10406 from filecoin-project/fix/rpcenc-falky-test
...
fix: rpcenc: deflake TestReaderRedirectDrop
2023-03-08 10:29:38 +01:00
Jiaying Wang
a0a1d371a2
Update service_developer_bug_report.yml
2023-03-08 00:12:18 -05:00
Jiaying Wang
925a385200
Update service_developer_bug_report.yml
2023-03-08 00:10:41 -05:00
Jiaying Wang
2a857275dd
Merge pull request #10321 from filecoin-project/chore/service-dev-issue-template
...
chore: github: Service-provider/dev bug template
2023-03-08 00:08:06 -05:00
Jiaying Wang
e5055c25b0
Update service_developer_bug_report.yml
2023-03-08 00:07:48 -05:00
Jiaying Wang
a896d88b51
Update .github/ISSUE_TEMPLATE/service_developer_bug_report.yml
2023-03-08 00:06:41 -05:00
Jiaying Wang
04a0fddb95
Update .github/ISSUE_TEMPLATE/service_developer_bug_report.yml
2023-03-08 00:06:36 -05:00
Jiaying Wang
113d49ae5b
Merge pull request #10291 from filecoin-project/chore/update-feature-enhancements
...
chore: github: update enhancement and feature templates
2023-03-08 00:02:39 -05:00
Jiaying Wang
decfb32b2b
Merge pull request #10289 from filecoin-project/chore/update-bug-template
...
chore: github: Update bug_report template
2023-03-08 00:02:19 -05:00
Jiaying Wang
52197cc912
Merge pull request #10268 from filecoin-project/add-discussion-fip-links
...
fix: github: Discussion and FIP links in `New Issue`
2023-03-08 00:00:49 -05:00
Marten Seemann
5b5ea083ce
fix drand test
2023-03-08 17:50:58 +13:00
Marten Seemann
db6efe6512
use go-libipfs/files instead of ipfs/go-ipfs-files
2023-03-08 17:50:56 +13:00
Marten Seemann
b77f2f09ab
update minimum Go version to 1.19.7
2023-03-08 14:29:08 +13:00
hannahhoward
7bc6185077
chore(deps): update to get to compile
2023-03-07 11:45:30 -08:00
hannahhoward
c3198d7446
chore(deps): update go-libipfs
2023-03-07 11:44:32 -08:00
hannahhoward
16dad6342c
feat(deps): update to go-data-transfer v2, still wip
2023-03-07 11:44:29 -08:00
Aayush
f1b1eb8b36
refactor: EthAPI: Drop unnecessary param from newEthTxReceipt
2023-03-07 13:40:39 -05:00
Aayush
8b5bc45fcf
fix: eth API: correct gateway restrictions, drop unimplemented methods
2023-03-07 12:53:04 -05:00
Łukasz Magiera
ec5fde466a
rpcenc: Propagate closeOnce in beginPost
2023-03-07 16:50:03 +01:00
Łukasz Magiera
f2a652f29f
rpcenc: More reliably failing TestReaderRedirectDrop
2023-03-07 16:48:09 +01:00
zenground0
bf29d41993
lint
2023-03-07 08:21:15 -07:00
zenground0
a994153e27
GC respects target for max hotstore space
2023-03-07 07:39:17 -07:00
zenground0
0fe91846cd
Plan out moving GC limiting
2023-03-07 07:39:17 -07:00
zenground0
5d9739a863
Track size of dags relevant to compaction
2023-03-07 07:39:17 -07:00
zenground0
dd998d6b24
Begin account for size during walks
2023-03-07 07:39:17 -07:00
Łukasz Magiera
64b9b532c0
Merge pull request #10387 from filecoin-project/feat/lotus-badger-gc
...
feat:splitstore:Badger GC of hotstore command
2023-03-07 08:52:15 +01:00
Jiaying Wang
8a510e68e0
Merge pull request #10398 from filecoin-project/release/v1.20.1
...
build:release: v1.20.1
2023-03-06 22:15:12 -05:00
Jiaying Wang
144906ff51
Merge pull request #10396 from filecoin-project/jen/1201
...
build: v1.20.1 prep
2023-03-06 16:40:55 -05:00
Aayush
202cd41eee
update changelog
2023-03-06 16:02:23 -05:00
Aayush
54e7fa8f70
fix: state: short-circuit genesis state computation
2023-03-06 16:01:21 -05:00
Aayush Rajasekaran
b88ecb7896
Merge pull request #10397 from filecoin-project/asr/fix-genesis-state-compute
...
fix: state: short-circuit genesis state computation
2023-03-06 15:57:28 -05:00
Aayush Rajasekaran
6ecf9aaf49
Merge pull request #10395 from filecoin-project/deps/jsonrpc-v0.2.2
...
deps: Update go-jsonrpc to v0.2.2
2023-03-06 15:44:00 -05:00
Aayush
74d94af034
fix: state: short-circuit genesis state computation
2023-03-06 15:39:28 -05:00
Jennifer Wang
c3e1d26ddf
v1.20.1 prep
2023-03-06 15:29:03 -05:00
Aayush
a59e1d5220
fix: EthAPI: Correctly get parent hash
2023-03-06 15:22:42 -05:00
Aayush
1631c6ac8d
fix: EthAPI: Make newEthBlockFromFilecoinTipSet faster and correct
2023-03-06 15:22:28 -05:00
zenground0
a2d331536b
Timing info and updated docs
2023-03-06 12:05:04 -07:00
zenground0
5534755f2d
Add command to trigger moving GC of hotstore manually
2023-03-06 11:59:08 -07:00
Łukasz Magiera
53fb6adfd6
deps: Update go-jsonrpc to v0.2.2
2023-03-06 18:19:02 +01:00
zenground0
394a7dbb34
Unbump api version as its not necessary
2023-03-06 08:37:28 -07:00
Aayush Rajasekaran
fea7dfd212
Merge pull request #10394 from filecoin-project/fix/disabled-post-worker-handling
...
fix: wdpost: disabled post worker handling
2023-03-06 10:22:46 -05:00
Aayush Rajasekaran
12496e5631
Merge pull request #10389 from filecoin-project/asr/fix-eth-api-genesis
...
fix: EthAPI: Correctly get parent hash
2023-03-06 09:15:48 -05:00
Łukasz Magiera
9c2f8ee995
itests: Wait for both workers in TestWindowPostWorkerDisconnected
2023-03-06 15:11:21 +01:00
Łukasz Magiera
b0ebdb6882
make gen
2023-03-06 15:07:49 +01:00
Łukasz Magiera
9a295e58b0
post worker sched: Retry on alternative worker on RPC errors
2023-03-06 14:30:58 +01:00
Łukasz Magiera
4b99472b35
itests: Test PoSt worker RPC error handling
2023-03-06 14:30:22 +01:00
Łukasz Magiera
e170487faf
post worker sched: Filter out disabled workers correctly
2023-03-06 13:56:23 +01:00
beck
f0ba0ebb64
indent output
2023-03-06 18:04:55 +08:00
zenground0
c81a51af5b
make gen
2023-03-05 18:48:02 -07:00
Phi-rjan
6c0a2feade
Merge pull request #10384 from filecoin-project/fix/hide-set-worker-cmd
...
fix: cli: Hide `lotus-worker set` command
2023-03-05 12:30:51 +01:00
beck
668b24fb23
make debugging windowPoSt-failures human readable
2023-03-04 15:00:44 +08:00
Jiaying Wang
d3dfb5ca62
Merge pull request #10380 from filecoin-project/asr/fix-eth-api
...
fix: EthAPI: Make newEthBlockFromFilecoinTipSet faster and correct
2023-03-03 21:10:20 -05:00
Aayush
920fdfdf85
fix: EthAPI: Correctly get parent hash
2023-03-03 16:42:57 -05:00
zenground0
649bcad1bb
remove accidental add
2023-03-03 11:23:28 -05:00
zenground0
71b21db0d9
chain prune hot -- hotstore online gc
2023-03-03 11:14:52 -05:00
Phi
51b645f8d0
Hide lotus-worker set command
...
Hide the `lotus-worker set` command and print that this command will be deprecated.
2023-03-03 14:13:35 +01:00
Aayush Rajasekaran
4588523de7
Merge pull request #10328 from filecoin-project/asr/fip-0045-tooling
...
feat: update renew-sectors with FIP-0045 logic
2023-03-02 16:53:35 -05:00
Aayush
4e57626e42
feat: update renew-sectors with FIP-0045 logic
2023-03-02 16:38:05 -05:00
Aayush
cfb5eac015
fix: EthAPI: Make newEthBlockFromFilecoinTipSet faster and correct
2023-03-02 12:34:09 -05:00
Steven Allen
dbbcf4b2ee
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.).
2023-03-01 16:02:18 -08:00
Aayush Rajasekaran
570773259a
Merge pull request #10377 from filecoin-project/asr/merge-release-into-master
...
chore: merge releases into master
2023-03-01 16:13:19 -05:00
Aayush
19f1ad2762
Merge branch 'releases' into asr/merge-release-into-master
2023-03-01 14:18:35 -05:00
Travis Person
814c146626
feat: stmgr: cache migrated stateroots
2023-03-01 16:17:34 +00:00
Łukasz Magiera
9a2b83064b
Merge pull request #10364 from filecoin-project/chore/rm-market-info-lsm
...
chore: Remove legacy market info from lotus-miner info
2023-03-01 14:21:29 +01:00
Jiaying Wang
33bec58be4
Merge pull request #10371 from filecoin-project/jen/v1200
...
build: release: v1.20.0
2023-02-28 20:32:14 -05:00
Jennifer Wang
852e864c83
Merge branch 'release/v1.20.0' into jen/v1200
2023-02-28 19:00:43 -05:00
Jiaying Wang and Aayush
6bd39ba137
build: v1.20.0: release prep ( #10368 )
...
* add upgrade epoch and bump version
* Update changelog
---------
Co-authored-by: Aayush <arajasek94@gmail.com >
2023-02-28 18:43:25 -05:00
Aayush Rajasekaran
fb2f78b6dd
Merge pull request #10369 from filecoin-project/asr/update-actors
...
chore: deps: update to actors v10.0.0
2023-02-28 15:12:44 -05:00
Aayush
ad4bf73f7b
chore: deps: update to actors v10.0.0
2023-02-28 14:14:20 -05:00
Aayush Rajasekaran
2e53ef6348
Merge pull request #10360 from filecoin-project/asr/update-ffi
...
chore: deps: update to FFI v1.20.0
2023-02-28 13:22:40 -05:00
ZenGround0 and zenground0
544af751cb
Fix the overzealous fix ( #10366 )
...
Co-authored-by: zenground0 <ZenGround0@users.noreply.github.com >
2023-02-28 09:22:18 -05:00
Łukasz Magiera
807610131a
Merge pull request #10331 from filecoin-project/fix/deprecate-wait-quiet
...
fix: worker: Hide `wait-quiet` cmd
2023-02-28 14:18:54 +01:00
Łukasz Magiera
8142aaa9c8
Merge pull request #10365 from filecoin-project/fix/tune-down-post-parallel-reads
...
fix: post: Tune down default post-parallel-reads
2023-02-28 12:44:07 +01:00
Phi
4c7d9ad30e
Tune down ParallelCheckLimit
...
Tune down ParallelCheckLimit config default
2023-02-28 11:46:11 +01:00
Łukasz Magiera
c484c38735
worker sched: Separate resource def for preparing window
2023-02-28 10:52:50 +01:00
Phi
dd0c4a0a34
Tune down parallel reads
...
Tuning down the default post-parallel-reads to a conservative number.
2023-02-28 10:25:33 +01:00
Łukasz Magiera
9aba7dc17a
chore: Remove legacy market info from lotus-miner info
2023-02-28 09:55:47 +01:00
Łukasz Magiera
04fe9062a6
fix: fsm: shutdown removed sectors FSMs
2023-02-28 09:48:17 +01:00
Łukasz Magiera
2316363f7a
sched: Share active/preparing task counters
2023-02-28 09:08:49 +01:00
Aayush
bd6e327864
chore: deps: update to FFI v1.20.0
2023-02-27 15:58:57 -05:00
Aayush Rajasekaran
4accfacbdd
Merge pull request #10358 from filecoin-project/asr/fix-get-actor
...
fix: EthGetBalance: lookup balance at correct state
2023-02-27 15:38:19 -05:00
Aayush Rajasekaran
38f4a819f2
Merge pull request #10359 from filecoin-project/asr/update-gst
...
chore: deps: update to go-state-types v0.10.0
2023-02-27 15:28:46 -05:00
Aayush Rajasekaran
7422deaa0d
Merge pull request #10344 from filecoin-project/steb/invoke-on-send
...
fix: cli: send with InvokeEVM when sending from an eth account
2023-02-27 15:17:32 -05:00
Aayush
42bf65ccb4
chore: deps: update to go-state-types v0.10.0
2023-02-27 14:49:41 -05:00
Aayush
17e680ea3c
fix: EthGetBalance: lookup balance at correct state
2023-02-27 14:43:57 -05:00
Łukasz Magiera
745476c9ab
feat: sched: Assigner experiments
2023-02-27 17:54:25 +01:00
Aayush Rajasekaran
9fba14b6b1
Merge pull request #10333 from filecoin-project/asr/overestimate
...
feat: gas: overestimate around the Hygge upgrade
2023-02-27 10:55:09 -05:00
Steven Allen
68b401a895
fix: cli: better handle sending from EthAccount actors
...
This will make `lotus send` mostly just "do what the user wants" in this
case:
1. The user may not explicitly specify a method number.
2. Parameters are automatically cbor-encoded where applicable.
3. The method number is automatically selected based on the
recipient (CreateExternal if sent to the EAM, InvokeEVM otherwise).
2023-02-24 15:15:41 -08:00
Aayush Rajasekaran
8975f0b753
feat: EthAPI: Add FilecoinAddressToEthAddress ( #10343 )
2023-02-24 14:19:52 -05:00
ZenGround0 and zenground0
0c9f697bf6
Two fixes, better logging and comments ( #10332 )
...
Co-authored-by: zenground0 <ZenGround0@users.noreply.github.com >
2023-02-23 10:05:18 -05:00
Aayush
35c90d34d6
feat: gas: overestimate around the Hygge upgrade
2023-02-23 09:35:01 -05:00
Łukasz Magiera
aa7b5c40b8
Merge pull request #10319 from filecoin-project/fix/allinfo-test
...
fix: tests: Fix TestMinerAllInfo test
2023-02-23 14:16:40 +01:00
Ian Davis
5d3314f121
Touch source to trigger CI
2023-02-23 13:02:20 +00:00
Łukasz Magiera
abaa53c6a3
Merge pull request #10145 from filecoin-project/hsanjuan/chain-export-range-rebased
...
perf: chain: export-range
2023-02-23 13:35:12 +01:00
Łukasz Magiera
ea57a1aec3
Merge remote-tracking branch 'origin/master' into hsanjuan/chain-export-range-rebased
2023-02-23 13:08:14 +01:00
Phi
ab6aaf5013
Hide wait-quiet cmd
...
Hide `wait-quiet` cmd
2023-02-23 09:46:06 +01:00
Travis Person
bf2ac13609
Merge pull request #10283 from filecoin-project/feat/disable-pre-migrations
...
feat: stmgr: add env to disable premigrations
2023-02-21 09:23:13 -08:00
Marcel Telka
7f33db90d8
lotus-miner info should show deals info without admin permission
2023-02-21 11:10:38 +01:00
Phi
03f2efd0f9
Add tooling textbox
...
Add tooling textbox to template
2023-02-21 08:52:47 +01:00
Aayush Rajasekaran
392d3d4b8a
Merge pull request #10320 from filecoin-project/fix/flaky-workerkeychange
...
fix: tests: Make TestWorkerKeyChange not flaky
2023-02-20 12:47:16 -05:00
Łukasz Magiera
51aecb6b17
fix: tests: Make TestWorkerKeyChange not flaky
2023-02-20 17:38:18 +01:00
Łukasz Magiera
d2c0603717
fix: tests: Fix TestMinerAllInfo test
2023-02-20 14:11:49 +01:00
Łukasz Magiera
3841e5444f
Merge pull request #10308 from filecoin-project/asr/merge-release-into-master
...
chore: merge release/v1.20.0 into master
2023-02-20 14:05:15 +01:00
Aayush Rajasekaran
80aa6d1d64
Merge pull request #10310 from filecoin-project/asr/release
...
chore: release v1.20.0-rc2
2023-02-17 18:42:32 -05:00
Travis Person
2dcaddf61d
feat: stmgr: add env to disable premigrations
...
Setting the environment variable `LOTUS_DISABLE_PRE_MIGRATIONS=1` will
discard premigrations for all upgrade.
2023-02-17 23:12:26 +00:00
Steven Allen
e51f3e9b15
fix: eth: incorrect struct tags ( #10309 )
2023-02-17 15:06:58 -08:00
Aayush
2ef5a742e9
chore: release v1.20.0-rc2
2023-02-17 17:54:20 -05:00
snissn
510f980348
tests: itests: blocktest properties ( #10304 )
...
* add itests for various fevm block properties and assert correct chain id
* add value checks to the block property solidity itests
* move get block function to kit
2023-02-17 14:32:54 -08:00
Steven Allen
73102e9432
test: eth: make sure we can deploy a new placeholder on transfer ( #10281 )
...
We have a test that triggers smart-contract logic on "transfers", but nothing that tries to create a new actor as a side-effect of a transfer.
fixes https://github.com/filecoin-project/ref-fvm/issues/1670
2023-02-17 13:29:53 -08:00
Aayush Rajasekaran
1ec02c5c95
Merge pull request #10296 from filecoin-project/asr/migration-test
...
feat: shed: test the nv18 migration
2023-02-17 16:20:51 -05:00
Aayush
984b4c78cb
Merge branch 'release/v1.20.0' into asr/merge-release-into-master
2023-02-17 16:08:22 -05:00
Aayush Rajasekaran
e3e78f1dc9
Merge pull request #10306 from filecoin-project/steb/error-cleanup
...
fix: eth: cleanup error cases
2023-02-17 15:22:07 -05:00
Steven Allen
bad41c247a
fix: eth: cleanup error cases
...
1. Return an error on gas estimation failure instead of logging.
2. Return early when processing signed messages on failure instead of
continuing.
2023-02-17 12:04:01 -08:00
Aayush Rajasekaran
e17d4f1a6e
Merge pull request #10299 from filecoin-project/jen/disappearedcode
...
chore: ux: avoid actor not found
2023-02-17 14:48:45 -05:00
Aayush Rajasekaran
10500611ff
Merge pull request #10297 from filecoin-project/mikers/itests/flakyRPCFix2
...
fix: test: change Filter rpc type from uint to hash to match fevm implementation
2023-02-17 14:48:01 -05:00
Aayush Rajasekaran
efcdec6517
Merge pull request #10300 from filecoin-project/steb/fix-eth-nonce
...
fix: eth: return the correct nonce from EthGetTransactionCount
2023-02-17 14:45:45 -05:00
Aayush Rajasekaran
258df7691f
Merge pull request #10305 from filecoin-project/asr/bump-go-libipfs-for-release
...
chore: deps: bump go-libipfs to v0.4.1
2023-02-17 14:34:12 -05:00
Aayush Rajasekaran
7a35a735fa
Merge pull request #10294 from filecoin-project/mikers/buildReleaseOverrides
...
fix: pack: support network name overrides in bundle git tags
2023-02-17 14:28:50 -05:00
Steven Allen
6c0f4cbd74
nit: actually, don't use blocks
2023-02-17 11:18:51 -08:00
Steven Allen
49cd428c43
nit: put evm case in a block
2023-02-17 11:17:35 -08:00
Aayush
f41435d285
feat: bundle: only write git tags for newly packed bundles
2023-02-17 14:17:30 -05:00
mike seiler
4dedced175
lintfix
2023-02-17 11:52:40 -07:00
Steven Allen
a3bc65ba05
fix: eth: return the correct nonce from EthGetTransactionCount
...
EVM contracts track this number internally.
fixes https://github.com/filecoin-project/lotus/issues/10255
2023-02-17 10:51:42 -08:00
Steven Allen
30615a4ed6
feat: eth: return revert data on failed gas estimation ( #10298 )
...
Unfortunately, we need to execute the message twice to get this (unless
we want to change some APIs). But it's unlikely to be a performance
issue and will definitely help people debug failures.
2023-02-17 10:36:30 -08:00
mike seiler
dbcf30470f
clean up comment remove print
2023-02-17 11:16:40 -07:00
Jorropo
198217d6bc
chore: all: bump go-libipfs to v0.4.1
2023-02-17 18:48:45 +01:00
Jorropo
7a4205ac36
chore: node: migrate go-bitswap to go-libipfs/bitswap
...
This was migrated in https://github.com/ipfs/go-libipfs/pull/63 .
(cherry picked from commit d060df2fb9 )
2023-02-17 18:46:17 +01:00
Jorropo
2d3065ae8e
chore: all: bump go-libipfs to replace go-block-format
...
Includes changes from:
- https://github.com/ipfs/go-block-format/pull/37
- https://github.com/ipfs/go-libipfs/pull/58
(cherry picked from commit f572852d06 )
2023-02-17 18:46:11 +01:00
Aayush Rajasekaran
d589443a5e
feat: EthApiTest: Confirm EthAddressToFilecoinAddress works without EthRPC ( #10302 )
2023-02-17 12:16:09 -05:00
Aayush
fab7ea6ca1
feat: shed: test the nv18 migration
2023-02-17 11:09:52 -05:00
Phi
7f6fbe22c6
Add initial service/dev bug template
...
Initial service/dev bug template
2023-02-17 10:33:52 +01:00
Jennifer Wang
59db4eeacd
fix gen
2023-02-17 00:21:29 -05:00
Jennifer Wang
f2648adee8
fix import
2023-02-17 00:11:07 -05:00
Jennifer Wang
ccdb447085
avoid actor not found
2023-02-17 00:05:07 -05:00
Steven Allen
00b6d06041
feat: eth: parse revert data ( #10295 )
...
We don't really want to do this in the FVM because it's Ethereum
specific, but this makes sense to do in the Ethereum API.
See:
See https://docs.soliditylang.org/en/latest/control-structures.html#panic-via-assert-and-error-via-require
2023-02-17 01:18:03 +00:00
mike seiler
b2610bed52
change rpc types from uint to hash to match fevm implementation
2023-02-16 17:55:04 -07:00
Steven Allen
5854d72784
fix: eth: correctly decode EthGetStorageAt output ( #10284 )
...
* fix: eth: correctly decode EthGetStorageAt output
We cbor-encode it. Also:
1. Actually use the passed block param.
2. Check if the target actor is an EVM actor to avoid nonsense outputs.
fixes https://github.com/filecoin-project/ref-fvm/issues/1621
2023-02-16 16:36:52 -08:00
mike seiler
0f6cbf1be2
include the version that pack is running on for filtering the build gen metadata
2023-02-16 14:01:45 -07:00
mike seiler
ea03e1b6e7
only override the correct version for bundle gen
2023-02-16 13:10:25 -07:00
Aayush Rajasekaran
a2b996e054
Merge pull request #10286 from filecoin-project/asr/eth-address-api
...
feat: EthAPI: Add EthAddressToFilecoinAddress
2023-02-16 13:04:20 -05:00
mike seiler
16b7d4525f
lintfix
2023-02-16 10:40:16 -07:00
mike seiler
3e678f2abc
support network name overrides in pack to build releases
2023-02-16 10:33:47 -07:00
Aayush
1d0a524b88
feat: EthAPI: Add EthAddressToFilecoinAddress
2023-02-16 12:24:17 -05:00
Łukasz Magiera
8f1c23296e
Merge pull request #10169 from filecoin-project/feat/shed-read-sector
...
feat: shed: Add a tool to read data from sectors
2023-02-16 17:11:37 +01:00
Łukasz Magiera
12656b05fe
feat: shed: Add a tool for removing sector data
2023-02-16 16:47:13 +01:00
Phi
27d4d02fe5
Update enhancement and feature templates
...
Update enhancement and feature_request templates:
- Removing unnecessary checklist options.
- These have been move to the Github New Issue UI to reduce text overhead: #10268
- Remove deprecated components options
- Add FVM/FEVM component
2023-02-16 13:11:10 +01:00
Phi
d3e715594b
chore: github: Update bug_report template
...
Update bug_report template:
- Removing unnecessary checklist options.
- Some of these has been move to the Github New Issue UI to reduce overhead
- Remove deprecated components options
- Add FVM/FEVM component
2023-02-16 10:59:45 +01:00
Łukasz Magiera
285dfed338
Merge pull request #10202 from filecoin-project/feat/faster-sectors-list
...
sp cli: make sectors list much faster
2023-02-15 19:59:17 +01:00
Łukasz Magiera
6028d7ba18
sectors list: Explain http mode
2023-02-15 19:41:46 +01:00
Łukasz Magiera
2dd2edc1d3
Merge pull request #10280 from filecoin-project/asr/fix-shed
...
fix: shed: default to LOTUS_PATH for repo
2023-02-15 18:57:15 +01:00
Aayush
4f259d8644
Revert "Standardize path variable"
...
This reverts commit a9c1caa188 .
2023-02-15 11:09:24 -05:00
Aayush Rajasekaran
29a82cdf0f
Merge pull request #10272 from filecoin-project/asr/merge-release-into-master
...
chore: merge release branch into master
2023-02-15 09:47:54 -05:00
Jiaying Wang and Aayush Rajasekaran
6a90d32885
chore: add v1.20.0-rc1 changelog ( #10273 )
...
* add v1.20.0-rc1 changelog
Co-authored-by: Aayush Rajasekaran <arajasek94@gmail.com >
2023-02-14 20:52:32 -05:00
Aayush
75c744a438
Merge branch 'release/v1.20.0'
2023-02-14 20:29:14 -05:00
Aayush Rajasekaran
6b56b7710d
Merge pull request #10248 from filecoin-project/jen/v1200rc1prep
...
build: release: v1.20.0-rc1 prep
2023-02-14 20:02:52 -05:00
jennijuju
39c709f7b3
update butterfly artifects
2023-02-14 19:24:35 -05:00
Aayush
3f063f7cd7
fix: StorageKey is now fixed-size array
2023-02-14 19:04:43 -05:00
jennijuju
45cbbe6c7a
update to gst 10-rc3
2023-02-14 18:48:41 -05:00
jennijuju
30fe2c7c69
- add calibration nv18 upgade epoch
...
- bump version to v1.20.0-rc1
2023-02-14 18:48:23 -05:00
Hector Sanjuan
7ecc00090e
range-export: make gen
2023-02-14 21:08:10 +01:00
Hector Sanjuan
a2475bca94
range-export: write files to lotus repo path
2023-02-14 21:08:10 +01:00
Hector Sanjuan
be1614a042
range-export: check serverside that head > tail
2023-02-14 21:08:10 +01:00
Hector Sanjuan
ec01036871
Ranged export: remove non-internal ranged export method
...
Additionally, per feedback:
* Set "admin" permissions
* Remove from v0api
2023-02-14 21:08:10 +01:00
Hector Sanjuan
1bb698619c
Ranged-export: Remove CachingBlockstore
...
The improvements in the range-export code lead to avoid reading most blocks
twice, as well as to allowing some blocks to be written to disk multiple times.
The cache hit-rate went down from being close to 50% to a maximum of 12% at
the very end of the export. The reason is that most CIDs are never read twice
since they are correctly tracked in the CID set.
These numbers do not support the maintenance of the CachingBlockstore
code. Additional testing shows that removing it has similar memory-usage
behaviour and about 5 minute-faster execution (around 10%).
Less code to maintain and less options to mess up with.
2023-02-14 21:08:10 +01:00
Hector Sanjuan
fa93c23813
Chain ranged export: rework and address current shortcomings
...
This commit moderately refactors the ranged export code. It addresses several
problems:
* Code does not finish cleanly and things hang on ctrl-c
* Same block is read multiple times in a row (artificially increasing cached
blockstore metrics to 50%)
* It is unclear whether there are additional races (a single worker quits
when reaching height 0)
* CARs produced have duplicated blocks (~400k for an 80M-blocks CAR or
so). Some blocks appear up to 5 times.
* Using pointers for tasks where it is not necessary.
The changes:
* Use a FIFO instead of stack: simpler implementation as its own type. This
has not proven to be much more memory-friendly, but it has not made things
worse either.
* We avoid a probably not small amount of allocations by not using
unnecessary pointers.
* Fix duplicated blocks by atomically checking+adding to CID set.
* Context-termination now works correctly. Worker lifetime is correctly tracked and all channels
are closed, avoiding any memory leaks and deadlocks.
* We ensure all work is finished before finishing, something that might have
been broken in some edge cases previously. In practice, we would not have
seen this except perhaps in very early snapshots close to genesis.
Initial testing shows the code is currently about 5% faster. Resulting
snapshots do not have duplicates so they are a bit smaller. We have manually
verified that no CID is lost versus previous results, with both old and recent
snapshots.
2023-02-14 21:08:10 +01:00
Ian Davis
35730637dc
fix: tracer: emit raw peer ids for compatibility with libp2p tracer
2023-02-14 16:17:03 +00:00
Łukasz Magiera
7150243cda
feat: ethrpc: Support newPendingTransactions in eth_subscribe ( #10269 )
2023-02-14 16:15:42 +00:00
Jiaying Wang
86b4aeef1a
Merge pull request #10258 from filecoin-project/steb/fix-msg-modify
...
fix: stmgr: copy the message before modifying it
2023-02-14 10:07:24 -05:00
frrist
21efd481d8
First efficient ranged-export implementation by @frisst
...
This first commit contains the first and second implementation stabs (after
primary review by @hsanjuan), using a stack for task buffering.
Known issues: ctrl-c (context cancellation) results in the export code getting
deadlocked. Duplicate blocks in exports. Duplicate block reads from store.
Original commit messages:
works
works against mainnet and calibnet
feat: add internal export api method
- will hopfully make things faster by not streaming the export over the json rpc api
polish: better file nameing
fix: potential race in marking cids as seen
chore: improve logging
feat: front export with cache
fix: give hector a good channel buffer on this shit
docsgen
2023-02-14 15:41:10 +01:00
raulk
11ac325d1a
Revert "fix: stmgr: check message validity before invoking vm" ( #10270 )
...
This reverts commit 2bbd1fbbb6 .
2023-02-14 14:06:33 +00:00
Phi-rjan
3879c80e6f
Add link to discussion and FIPs in New Issue
...
In our current issue flow, we ask a lot checklist questions :
`This is not a question or a support request. If you have any lotus related questions, please ask in the lotus forum.`
`This is not a new feature or an enhancement to the Filecoin protocol. If it is, please open an FIP issue. *`
This information is better displayed in the `New Issue` chooser, to guide users to the relevant place for posting. This file will add two new entries in the issue chooser:
- A entry that links to the Lotus Github Discussion pager for Lotus questions or troubleshooting
- A entry that links to the FIPs repo for Filecoin protocol feature or enhancements
2023-02-14 11:13:55 +01:00
Jiaying Wang
b1e1d2d205
Merge pull request #10266 from filecoin-project/steb/update-ffi
...
chore: ffi: update the FFI
2023-02-13 22:28:16 -05:00
Steven Allen
abeb4fadc4
fix: itest: EthFeeHistory flake ( #10265 )
2023-02-14 02:42:44 +00:00
Steven Allen
2ed92c222d
chore: ffi: update the FFI
...
This:
- Improves error handling when the FFI is passed invalid messages.
- Updates the FVM.
2023-02-13 18:42:29 -08:00
Aayush Rajasekaran
3c4a83916b
Merge pull request #10259 from filecoin-project/steb/call-check-message-validity
...
fix: stmgr: check message validity before invoking vm
2023-02-13 21:29:19 -05:00
snissn
9f2f9154d2
itest for block.difficulty ( #10263 )
2023-02-13 18:29:11 -08:00
0d92c746bd
Eth JSON-RPC: populate reward in eth_feeHistory ( #10245 )
...
Co-authored-by: Łukasz Magiera <magik6k@users.noreply.github.com >
Co-authored-by: Raúl Kripalani <raul@protocol.ai >
2023-02-14 01:02:37 +00:00
Steven Allen
a16c54051c
fix: eth: rename yParity to v in transaction return values ( #10264 )
...
fixes https://github.com/filecoin-project/ref-fvm/issues/1662
2023-02-13 23:29:13 +00:00
Steven Allen
2bbd1fbbb6
fix: stmgr: check message validity before invoking vm
...
Otherwise we may, e.g., try to estimate gas on a message to an f4
address before the nv18 migration.
I'm _not_ checking the "prior messages" here as this is just a sanity
check.
2023-02-13 11:01:42 -08:00
Steven Allen
f427c2b566
fix: eth: correctly convert filecoin message <-> eth txn ( #10257 )
...
1. We do allow deploying with empty initcode.
2. Make sure that the encoded "code" is non-empty, if specified.
Basically, this makes everything consistent (and it's how I specified it
in the FIP).
2023-02-13 10:33:59 -08:00
Steven Allen
77fbc60cb8
fix: stmgr: copy the message before modifying it
2023-02-13 10:06:59 -08:00
Łukasz Magiera
61f29a84b5
Merge pull request #10238 from filecoin-project/asr/merge-release-into-master
...
chore: merge release/v1.20.0 into master
2023-02-13 15:25:23 +01:00
Łukasz Magiera
03fd703db5
Merge pull request #10218 from filecoin-project/mikers/itestsProxy
...
test: itest: fevm proxy contracts
2023-02-13 14:03:56 +01:00
Mike Seiler
3177f63a17
add test for transparent delegate proxy from openzeppelin
2023-02-13 13:57:18 +01:00
Łukasz Magiera
d108565ea2
Merge remote-tracking branch 'origin/master' into asr/merge-release-into-master
2023-02-13 13:40:32 +01:00
Łukasz Magiera
7486227c27
Merge remote-tracking branch 'origin/release/v1.20.0' into asr/merge-release-into-master
2023-02-13 13:14:09 +01:00
Łukasz Magiera
7b959ab39c
Merge pull request #10246 from filecoin-project/steb/fix-eth-get-code-none
...
fix: eth: correctly handle ethGetCode ege-cases
2023-02-13 13:13:00 +01:00
Łukasz Magiera
a652ffcb62
make gen
2023-02-13 13:09:09 +01:00
Łukasz Magiera
4d20011b78
Merge pull request #10249 from filecoin-project/jen/bumpmaster
...
build: bump version to v1.21.0-dev
2023-02-13 13:05:03 +01:00
Łukasz Magiera
98482a2795
Merge pull request #10250 from filecoin-project/jen/ipldcp
...
backport: deps: update ipld prime
2023-02-13 13:03:56 +01:00
Łukasz Magiera
e6b0ee7e4a
Merge pull request #10247 from filecoin-project/jen/ipld
...
dep: ipld: update ipld prime to v0.20.0
2023-02-13 13:03:44 +01:00
Raúl Kripalani
8ff55c027e
Merge branch 'release/v1.20.0' into asr/merge-release-into-master
2023-02-13 11:45:09 +00:00
Jennifer Wang
948a963f15
update ipld prime
2023-02-13 00:06:30 -05:00
Jennifer Wang
e73a038fe8
bump version to v1.21.0-dev
2023-02-13 00:00:07 -05:00
Steven Allen
b765112896
fix: correctly handle ethGetCode edge-cases
...
1. If the actor is a non-evm actor, return "nothing".
2. Correctly handle missing actors.
3. Handle self-destructed actors (they'll return "null").
fixes https://github.com/filecoin-project/ref-fvm/issues/1641
2023-02-12 20:38:47 -08:00
Jennifer Wang
94063ea4d1
update ipld prime
2023-02-12 23:33:19 -05:00
Steven Allen
a085eb1593
fix: eth: correctly return empty bytecode after selfdestruct
2023-02-12 19:31:56 -08:00
raulk
37e1ac5d93
eth: FIP-0055: implement final version of transitory delegated signature. ( #10239 )
2023-02-12 21:08:42 +00:00
Łukasz Magiera
1ee9516887
Merge pull request #9961 from filecoin-project/fix/EthUint64-args
...
Eth JSON-RPC: support passing uint64 in JSON-RPC arguments for EthUint64
2023-02-11 01:12:13 +01:00
Aayush
63b03a48d0
Merge branch 'release/v1.20.0' into asr/merge-release-into-master
2023-02-10 18:39:51 -05:00
Aayush Rajasekaran
5e12916aec
Merge pull request #10237 from filecoin-project/asr/update-everything
...
chore: deps: update FFI, go-state-types, actors to RCs
2023-02-10 18:37:32 -05:00
Aayush
753a0e5408
Update actors to v10.0.0-rc.1
2023-02-10 17:59:52 -05:00
Aayush
83bce7c94f
disable adding git tags to bundle metadata
2023-02-10 17:58:57 -05:00
Aayush
2ec34e2c46
Update to go-state-types v0.10.0-rc2
2023-02-10 17:56:48 -05:00
Raúl Kripalani
6a76bbb6e3
improve TODO.
2023-02-10 22:46:57 +00:00
Raúl Kripalani
c61267cadc
fix bad test.
2023-02-10 22:42:17 +00:00
Aayush
e167891207
Update to FFI v1.20.0-rc1
2023-02-10 17:38:29 -05:00
ychiao
8cded9f8d2
add todo
2023-02-10 17:34:53 -05:00
Raúl Kripalani
778768dbf7
eth_feeHistory: parse block param correctly.
2023-02-10 22:29:52 +00:00
ychiao
db749b8fc7
Merge branch 'release/v1.20.0' into fix/EthUint64-args
2023-02-10 17:26:38 -05:00
Steven Allen
01e616f29e
fix: stmgr: make the tipset and height agree when estimating gas ( #10216 )
...
* fix: stmgr: make the tipset and height agree when estimating gas
Specifically re-execute all messages in the current tipset, tacking the new
message onto the end. That way, the epoch is the epoch of the current tipset.
We could try to "make" a fake block and use that, but that's unlikely to
work well.
* fix: stmgr: only apply tipset messages for CallWithGas
* fix: itest: window post dispute
2023-02-10 20:49:26 +00:00
Aayush Rajasekaran
1996694a2a
Merge pull request #10215 from filecoin-project/steb/txhash-topic
...
feat: eth: harden event processing
2023-02-10 15:16:34 -05:00
ychiao
5e56af33df
fix typo
2023-02-10 13:52:25 -05:00
ychiao
3c580403c1
implement itest and handle optional params
2023-02-10 13:33:59 -05:00
Steven Allen
b0d917d542
fix: make gen
2023-02-10 09:32:59 -08:00
Steven Allen
cc302dd68b
fix: eth: log on unexpected events
...
We can remove these later as we add more event types, but this will aid
in debugging.
2023-02-10 07:59:47 -08:00
ychiao and raulk
37044ed3c3
Apply suggestions from code review
...
Co-authored-by: raulk <raul@protocol.ai >
2023-02-10 10:42:19 -05:00
Steven Allen
ece8f25511
fix: eth: strict event parsing
...
We now enforce the following rules:
1. No duplicate topics or data.
2. Topics must have 32 byte keys.
3. Topics may not be skipped. (e.g., no t1 & t3 without a t2).
4. Raw codecs.
We _don't_ require that topics/data be emitted in any specific order.
We _skip_ events with unknown keys. We _drop_ events that violate the
above rules.
2023-02-10 07:41:29 -08:00
Steven Allen
f1381ad535
refactor: use EthHash for event topics
...
This ensures they're always 32 bytes and padded, as required.
2023-02-10 07:41:29 -08:00
Łukasz Magiera
1588dd3dbe
Merge pull request #10227 from filecoin-project/fix/signing-noexport
...
fix: Don't call WalletExport in msg signing flows
2023-02-10 16:21:24 +01:00
Raúl Kripalani
e06e3a0654
Merge branch 'release/v1.20.0' into fix/EthUint64-args
2023-02-10 12:49:02 +00:00
Steven Allen and Raúl Kripalani
80fccba93f
fix: gas: update ffi & correct the message inclusion cost in nv18 ( #10228 )
...
Co-authored-by: Raúl Kripalani <raul@protocol.ai >
2023-02-10 12:48:20 +00:00
Łukasz Magiera
7aa6663127
Merge pull request #10232 from filecoin-project/worker-all-task-flag2
...
fix: worker: add all tasks flag
2023-02-10 12:59:47 +01:00
Łukasz Magiera
54ed1f12ff
Merge pull request #10230 from filecoin-project/chore/nv18-butterflynet-reset-artifacts
...
updates butterflynet reset artifacts
2023-02-10 12:57:15 +01:00
Łukasz Magiera
37e9fe90ae
Merge pull request #10189 from filecoin-project/raulk/timestamp-null-rounds
...
fix: null rounds: pass correct timestamp to the FVM.
2023-02-10 12:15:44 +01:00
Łukasz Magiera
ec1b2b959a
Merge pull request #9973 from placer14/mg/chore/expose-compaction-poolsize-envvar
...
feat: blockstore: Envvar can adjust badger compaction worker poolsize
2023-02-10 11:38:08 +01:00
ognots
bc4ae8d383
updates butterflynet reset artifacts
...
* bootstrap node multiaddr
* new genesis file
these files are necessary for others to build lotus and join the new butterflynet, reset on February 08, 2023
2023-02-09 21:45:44 -05:00
Łukasz Magiera
088d231cda
fix: Don't call WalletExport in msg signing flows
2023-02-10 02:37:59 +01:00
Raúl Kripalani
d30ace0518
Merge branch 'release/v1.20.0' into raulk/timestamp-null-rounds
2023-02-09 22:58:08 +00:00
Raúl Kripalani
6302771ff5
remove test vectors bleeding edge job.
...
We no longer need it because specs-actors is deprecated.
v7 vectors have been merged to master.
2023-02-09 22:49:57 +00:00
Raúl Kripalani
15f45d5d9e
bump test vectors.
2023-02-09 22:48:28 +00:00
Aayush Rajasekaran
038686bea2
Merge pull request #10225 from filecoin-project/steb/fix-actor-state-check
...
fix: chain: make sure the head is empty, not the code
2023-02-09 14:51:46 -05:00
Steven Allen
a83f120f32
fix: chain: make sure the head is empty, not the code
2023-02-09 11:36:02 -08:00
Łukasz Magiera
0f05232199
Merge pull request #10224 from filecoin-project/feat/ethcli-strip-spaces
...
feat: eth cli: Strip out empty spaces around contract bytes
2023-02-09 19:24:49 +01:00
Jiaying Wang
1c13a591e9
Merge pull request #10223 from filecoin-project/feat/ethtx-fixes
...
fix: ethrpc: Add missing fields to EthTx
2023-02-09 13:13:26 -05:00
Łukasz Magiera
75f9b7d040
Merge pull request #10119 from filecoin-project/gstuart/tx-hash-on-simport-napshot
...
feat: eth: populate tx hash database on startup
2023-02-09 19:06:20 +01:00
Łukasz Magiera
ada32395ca
Merge pull request #10160 from filecoin-project/gstuart/send-from-f4
...
feat: cli: allow value send from f4 to any address type
2023-02-09 18:53:40 +01:00
Łukasz Magiera
b0fa75f13e
feat: eth cli: Strip out empty spaces around contract bytes
2023-02-09 18:49:08 +01:00
Phi-rjan
9848e0467e
Merge pull request #10209 from filecoin-project/fix-check-backupfile
...
fix: cli: error if backup file already exists
2023-02-09 18:39:17 +01:00
Łukasz Magiera
4f5fea848c
Merge pull request #10163 from filecoin-project/mikers/create2test2
...
tests: itests: test create2 and destroy
2023-02-09 18:33:54 +01:00
Łukasz Magiera
c98093be03
Merge remote-tracking branch 'origin/release/v1.20.0' into mikers/create2test2
2023-02-09 18:19:47 +01:00
Łukasz Magiera
83a7d6e297
Merge pull request #10134 from filecoin-project/gstuart/shed-path-fix
...
fix: shed: Standardize use of path flag
2023-02-09 18:04:04 +01:00
Łukasz Magiera
d84479bb05
Merge pull request #10162 from filecoin-project/mikers/deployValueTest2
...
tests: itests: test creating a contract and sending value
2023-02-09 18:00:15 +01:00
Łukasz Magiera
a32db5ff69
Merge pull request #10186 from filecoin-project/nonsense-patch-1
...
LOTUS_FEVM_ENABLEETHRPC: Fix env variable name in error
2023-02-09 17:56:27 +01:00
Aayush Rajasekaran
030b40b2a0
Merge pull request #10211 from filecoin-project/fix/ethsub-noarray
...
fix: ethrpc: Don't send sub notifs in array
2023-02-09 11:55:46 -05:00
Aayush Rajasekaran
4d5f60cd38
Merge pull request #10221 from filecoin-project/feat/evm-actor-bytecode-getter
...
feat: actors: Add bytecode getter
2023-02-09 11:29:51 -05:00
Łukasz Magiera
17adcb77c3
sp cli: correct order in parallel sectors list
2023-02-09 17:02:41 +01:00
Łukasz Magiera
81e056be1a
sp cli: make sectors list much faster
2023-02-09 16:57:08 +01:00
Łukasz Magiera
25babace8f
Merge pull request #10208 from filecoin-project/fix/seal-delay-seconds
...
fix: cli: option to set-seal-delay in seconds
2023-02-09 16:51:20 +01:00
Phi-rjan and Łukasz Magiera
0e7cf61888
Update cli/backup.go
...
Co-authored-by: Łukasz Magiera <magik6k@users.noreply.github.com >
2023-02-09 16:50:15 +01:00
Łukasz Magiera
cb8e2836bb
Merge pull request #10184 from filecoin-project/asr/merge-release-into-master
...
chore: merge release/v1.20.0 into master
2023-02-09 16:41:58 +01:00
Łukasz Magiera
e321761a72
ethrpc: Add missing fields to EthTx
2023-02-09 14:26:13 +01:00
Łukasz Magiera
554dd2f1ee
itests: Test EVM bytecode getters, check bytecode hash
2023-02-09 13:23:17 +01:00
Łukasz Magiera
8d6aa2477c
feat: actors: Add bytecode getter
2023-02-09 13:12:16 +01:00
Raúl Kripalani
8345877e27
skip problematic test vectors.
2023-02-09 01:06:52 +00:00
Łukasz Magiera
9339267e6e
fix: ethrpc: emit correct bloom filters ( #10194 )
2023-02-08 23:14:53 +00:00
Łukasz Magiera
da2bb41aa3
Merge pull request #10213 from filecoin-project/asr/fix-butterfly
...
fix: build: use actual v9 bundles for butterfly
2023-02-08 20:21:06 +01:00
Aayush
2ee8c4692a
fix: build: use actual v9 bundles for butterfly
2023-02-08 11:56:40 -05:00
Aayush Rajasekaran
42d667e585
Merge pull request #10205 from filecoin-project/steb/update-fvm
...
fvm: chore: update FVM
2023-02-08 11:24:43 -05:00
Aayush
df2824ccac
test: build: ignore git tags in embedded metadata
2023-02-08 11:16:28 -05:00
Łukasz Magiera
c2e3832643
Update eth_subscribe itests to work with correct responses
2023-02-08 16:09:19 +01:00
Łukasz Magiera
3516c7674b
fix: ethrpc: Don't send sub notifs in array
2023-02-08 15:55:38 +01:00
Phi
b78cbcbb99
Error if backup file exists
...
Error out if backup file already exists
2023-02-08 11:33:48 +01:00
Phi
bd4dc217af
make docsgen-cli
...
make docsgen-cli
2023-02-08 09:36:52 +01:00
Phi
662fc37976
Option to set-seal-delay seconds
...
Add the option to set-seal-delay in seconds
2023-02-08 09:34:44 +01:00
Steven Allen
89499bfd40
fvm: chore: update FVM
...
This:
1. Updates the builtin actors bundle (for actors v10).
2. Updates the event entry type to include the codec.
3. Removes the cbor encoding and zero trimming from event data.
I've chose to:
1. _Not_ add codec handling to the event filtering system for now.
2. _Skip_ events with unexpected codecs.
We don't actually _allow_ these events in the FVM right now, and it
simplifies the implementation.
However, I _am_ recording the codecs in the database so we don't have to
migrate it later.
2023-02-07 18:15:40 -08:00
Jiaying Wang
4c6fb2198b
Merge pull request #10200 from filecoin-project/mikers/pack_add_git_tag
...
feat: pack: add git tag to builtin_actors_gen
2023-02-07 21:12:29 -05:00
Mike Seiler
66d763ebc5
remove bundle-gen from make gen - not actually useful today anyway
2023-02-08 01:48:46 +00:00
Phi
4823322154
retry make docsgen-cli
...
retry make docsgen-cli with the new usage
2023-02-07 17:44:54 +01:00
Phi
b217eec84d
Merge branch 'worker-all-task-flag' of https://github.com/filecoin-project/lotus into worker-all-task-flag
2023-02-07 17:12:56 +01:00
Phi
d75f77b4c5
make docsgen-cli
...
make docsgen-cli
2023-02-07 17:12:42 +01:00
Aayush Rajasekaran
693f230fbb
Merge branch 'release/v1.20.0' into asr/merge-release-into-master
2023-02-07 11:03:01 -05:00
Phi-rjan and Łukasz Magiera
21d6020179
Update cmd/lotus-worker/tasks.go
...
Co-authored-by: Łukasz Magiera <magik6k@users.noreply.github.com >
2023-02-07 16:47:30 +01:00
Phi-rjan and Łukasz Magiera
3fc1346d5b
Update cmd/lotus-worker/tasks.go
...
Co-authored-by: Łukasz Magiera <magik6k@users.noreply.github.com >
2023-02-07 16:47:23 +01:00
Phi-rjan and Łukasz Magiera
58c7c514c6
Update cmd/lotus-worker/tasks.go
...
Co-authored-by: Łukasz Magiera <magik6k@users.noreply.github.com >
2023-02-07 16:47:16 +01:00
Phi
cf0997b434
fix: worker: add all task type flag
...
Add all flag for the `lotus-worker tasks enable/disable` cmd
2023-02-07 16:12:31 +01:00
Łukasz Magiera
8066833b3a
Merge pull request #10198 from filecoin-project/asr/gas-limit
...
chain: explicitly check that gasLimit is above zero
2023-02-07 03:38:58 +01:00
Mike Seiler
ea82f554be
add bundle git tag from pack.sh into builtin_actors_gen
2023-02-07 02:23:23 +00:00
Łukasz Magiera
e0d92a13a7
Merge pull request #10172 from ribasushi/fix/respect_nofsync
...
fix: extend LOTUS_CHAIN_BADGERSTORE_DISABLE_FSYNC to the markset
2023-02-07 03:18:58 +01:00
Aayush Rajasekaran
6a268cfb63
chain: explicitly check that gasLimit is above zero
2023-02-06 17:53:00 -05:00
snissn
23eaee49d4
clean up test for recursive delegate call count. improved readability ( #10195 )
2023-02-06 13:32:39 -08:00
Mike Seiler
fc2a6a82cb
Merge branch 'release/v1.20.0' into mikers/create2test2
2023-02-06 20:40:29 +00:00
Mike Seiler
2673ec3c82
use WithValue language for test
2023-02-06 20:35:35 +00:00
Mike Seiler
f671a3c81c
merge
2023-02-06 20:24:23 +00:00
snissn
1ab53051f7
improve evm error handling in itests ( #10161 )
2023-02-06 10:17:15 -10:00
Łukasz Magiera
91d0e41444
Merge pull request #10193 from filecoin-project/steb/fix-fevm-tests
...
itest: fix FEVM tests for upstream changes
2023-02-06 20:27:42 +01:00
Steven Allen
e0931f8f90
itest: fix remaining fevm failures
2023-02-06 11:01:49 -08:00
Steven Allen
d16b2902d4
itest: fix: test comment
2023-02-06 09:52:38 -08:00
Łukasz Magiera
a5043f45d3
Merge pull request #10190 from filecoin-project/fix/eth-block-unclehash
...
fix: ethtypes: Correct 'no uncles' hash in NewEthBlock
2023-02-06 18:45:51 +01:00
Steven Allen
6bf3a21158
itest: fix FEVM tests for upstream changes
2023-02-06 09:20:22 -08:00
Raúl Kripalani
0cf3a5e704
fix: null rounds: pass correct timestamp to the FVM.
2023-02-06 16:58:58 +00:00
Łukasz Magiera
5dc56841ea
fix: ethtypes: Correct 'no transactions' hash in NewEthBlock
2023-02-06 17:17:19 +01:00
Aayush Rajasekaran
725f22a344
Merge pull request #10173 from filecoin-project/gstuart/check-params
...
chore: cli: Confirm tooling that assumes knowledge of method params / returns don't break
2023-02-06 10:49:47 -05:00
Anton Evangelatov
ad457202dd
LOTUS_FEVM_ENABLEETHRPC: Fix env variable name in error
2023-02-06 15:25:51 +01:00
Łukasz Magiera
424824019b
fix: ethtypes: Correct 'no uncles' hash in NewEthBlock
2023-02-06 14:38:48 +01:00
Łukasz Magiera
3e30e7a9ec
Merge pull request #10102 from filecoin-project/iand/eth-openrpc-validate
...
itests: validate responses from ethereum json-rpc api
2023-02-06 14:27:39 +01:00
Łukasz Magiera
bca48dd1eb
make gen
2023-02-06 10:46:24 +01:00
Łukasz Magiera
6851b6a523
Merge remote-tracking branch 'origin/release/v1.20.0' into fix/eth-orpc-validate
2023-02-06 10:41:52 +01:00
Aayush Rajasekaran
3d9c5e7bae
Merge pull request #10128 from filecoin-project/feat/eth-estimate-gas
...
feat: compute a better gas limit for recursive external contract calls
2023-02-05 13:52:03 -05:00
Travis Person
03b419e3d4
feat: compute a better gas limit for recursive external contract calls
2023-02-03 20:40:18 +00:00
Aayush
f291572b4a
Merge branch 'release/v1.20.0' into asr/merge-release-into-master
2023-02-03 09:27:04 -05:00
Geoff Stuart
9b071bc96b
Merge pull request #10182 from 0x5459/fix-louts-miner-extend-cmd
...
fix: cli: extend cmd to get the right sector number
2023-02-03 06:36:19 -05:00
0x5459
e1c00bdbba
cli: fix extend cmd to get the right sector number
2023-02-03 14:56:54 +08:00
raulk
b46258d0bf
feat: evm: align events implementation with FIP-0049 and FIP-0054. ( #10152 )
...
- Event keys are now t1, t2, t3, t4 for topics; and d for data.
- ref-fvm no longer stores events in the blockstore for us. It just
returns events to the client, who is now responsible for handling
them as it wishes / according to its configuration.
- Add a flag to VMOpts to have the events AMT be written in the blockstore.
- Add a flag to the ChainStore to advertise to the rest of the system
if the ChainStore is storing events.
- Enable that flag if the EthRPC is enabled (can also add an explicit
configuration flag if wanted).
2023-02-02 19:10:30 -08:00
Geoff Stuart
ffc1c33be0
Review fixes
2023-02-02 16:46:08 -05:00
Geoff Stuart
f05437d253
Check decoding params for new methods
2023-02-02 14:41:30 -05:00
Łukasz Magiera
0c33eab20a
Merge pull request #10180 from filecoin-project/feat/ethsub-addr
...
feat: ethrpc: Support filtering by address in subscribe
2023-02-02 18:23:43 +01:00
Geoff Stuart
3e009013df
Merge pull request #10177 from filecoin-project/fix/lite-node-ethrpc
...
fix: lite mode: Fix eth_ rpc in lite mode
2023-02-02 11:08:46 -05:00
Łukasz Magiera
8ce0b984b7
itests: Fix TestEthFilterAPIDisabledViaConfig
2023-02-02 15:59:55 +01:00
Łukasz Magiera
fe1e0974cb
feat: ethrpc: Support filtering by address in subscribe
2023-02-02 14:46:36 +01:00
Maciej Witowski
75f4810af1
Merge pull request #10168 from filecoin-project/maciej/test
...
Test: assert all fields returned from EthGetTransactionByHash have expected values
2023-02-02 14:14:21 +01:00
Łukasz Magiera
3d207de6aa
node builder: Use gateway eth module in lite mode
2023-02-02 13:39:40 +01:00
Łukasz Magiera
a6a2f0dbae
gateway: Support all EthModule methods
2023-02-02 13:37:31 +01:00
Geoff Stuart
b8c4fbaff0
Merge pull request #10062 from filecoin-project/iand/issue-9849-config
...
itests: verify eth filter api is disabled via config
2023-02-01 22:25:21 -05:00
Geoff Stuart
abf2140ecf
review fixes
2023-02-01 18:50:36 -05:00
Geoff Stuart
12ca08d9a6
Merge pull request #10081 from filecoin-project/steb/remove-dead-code
...
itests: remove dead code from DeployContract
2023-02-01 18:06:58 -05:00
Geoff Stuart
e200df4def
Merge pull request #10060 from filecoin-project/raulk/eth-check-tipsets-cmd
...
add a lotus-shed eth check-tipsets command.
2023-02-01 18:05:34 -05:00
Geoff Stuart
f88fc0719f
Merge pull request #10155 from omahs/patch-1
...
Fix: typos
2023-02-01 17:47:17 -05:00
Peter Rabbitson
818b3b8daf
fix: extend LOTUS_CHAIN_BADGERSTORE_DISABLE_FSYNC to the markset
...
Without doing this walking a badger markset on a non-nvme knocks the
node hopelessly out of sync during a compaction.
2023-02-01 21:00:39 +01:00
Łukasz Magiera
7060150bdc
Merge pull request #10149 from FlattestWhite/richard/make-user-agent-dependency-injectable
...
feat: Allow libp2p user agent to be overriden
2023-02-01 19:12:08 +01:00
Łukasz Magiera
0a35e9659b
feat: shed: Add a tool to read data from sectors
2023-02-01 17:51:12 +01:00
Geoff Stuart
87397eaffa
Allow f4 address to send to all address types if ID address exists on chain
2023-02-01 11:46:45 -05:00
Ian Davis
245be406d9
Fix merge conflicts
2023-02-01 16:41:01 +00:00
Maciej Witowski
90fced7cb2
Test: assert all fields returned from EthGetTransactionByHash have expected values
...
Related to https://github.com/filecoin-project/lotus/pull/10151#discussion_r1092358973
2023-02-01 17:38:09 +01:00
Ian Davis
d29a244064
Merge remote-tracking branch 'origin/release/v1.20.0' into iand/eth-openrpc-validate
2023-02-01 16:19:17 +00:00
Łukasz Magiera
ccb20d56ab
Merge pull request #10164 from filecoin-project/deps/jsonrpc-v0.2.1
...
deps: Update go-jsonrpc to v0.2.1
2023-02-01 14:38:50 +01:00
Łukasz Magiera
8d62cb22f9
deps: Update go-jsonrpc to v0.2.1
2023-02-01 14:07:24 +01:00
Mike Seiler
c6bd9bc9e0
tests that use create2 and destroy to validate evm state
2023-02-01 06:55:52 +00:00
Mike Seiler
3adafea574
merge
2023-02-01 06:51:32 +00:00
snissn
9060c474da
test: fevm: add in tests for deploying, destroying contracts, recursive calls, sending value ( #10082 )
...
adds the following tests to itests/fevm_test.go:
- recursive tests
- delegate call tests
- delegate call recursive tests
- revert tests
- destruct tests
- contract deploy address tests
- send value to contracts
- gas limit on value transfer tests
- sending value to destroyed contracts
adds the test to itests/fevm_address_test.go:
- deploy contract and confirm address is different second deploy
2023-01-31 19:13:13 -10:00
Jiaying Wang
a38e63998e
Merge pull request #10154 from filecoin-project/gstuart/re-add-not-serving-v0-api
...
fix: api: should not serve non v0 apis in v0
2023-01-31 19:18:12 -05:00
omahs
28101be1b7
Fix: typos
...
Fix: typos
2023-01-31 23:33:11 +01:00
omahs
7d5c7f5fec
Fix: typos
...
Fix: typos
2023-01-31 23:30:09 +01:00
omahs
ed63798082
Fix: typo
...
Fix: typo
2023-01-31 23:28:24 +01:00
omahs
05c5e18899
Fix: typo
...
Fix: typo
2023-01-31 23:27:40 +01:00
omahs
0c17d78356
Fix: typo
...
Fix: typo
2023-01-31 23:25:26 +01:00
omahs
fa97016573
Fix: typos
...
Fix: typos
2023-01-31 23:23:42 +01:00
omahs
37d41f3f83
Fix: typo
...
Fix: typo
2023-01-31 23:20:20 +01:00
Jennifer Wang
5d87fc8278
fix: should not serve non v0 api in v1
2023-01-31 17:06:02 -05:00
Maciej Witowski
27465e5faf
Merge pull request #10151 from filecoin-project/maciej/1614
...
Eth JSON-RPC: from in eth_getTransactionByHash is not correctly popul…
2023-01-31 20:30:33 +01:00
Aayush
99b879d014
Add test for EthGetTransactionByHash
2023-01-31 12:55:46 -05:00
Maciej Witowski
dcbfca53d9
Improve the error message
2023-01-31 18:54:05 +01:00
Maciej Witowski
5f2ef98de6
Move assigning from address to the API level
2023-01-31 18:28:12 +01:00
Maciej Witowski
070aca2b65
Eth JSON-RPC: from in eth_getTransactionByHash is not correctly populated #1614
2023-01-31 17:52:46 +01:00
Jiaying Wang
dc5f865d54
Merge pull request #10027 from filecoin-project/feat/correct-eth-sub
...
feat: rpc: correct `eth_subscribe` implementation
2023-01-31 09:44:59 -05:00
Richard Guan
45ceb5d297
move UserAgentOption upwards
2023-01-31 21:46:24 +09:00
Richard Guan
a8dace0f23
make libp2p user agent overridable
2023-01-31 21:40:55 +09:00
Phi-rjan
b8e7262b14
Merge pull request #10147 from filecoin-project/fix/add-args-usage
2023-01-31 13:03:13 +01:00
Phi
b334b2055f
fix: cli: add ArgsUsage
...
fix: cli: add ArgsUsage
2023-01-31 11:56:55 +01:00
Łukasz Magiera
ad14d71978
eth rpc: Params are optional in eth_subscribe
2023-01-31 11:08:51 +01:00
Łukasz Magiera
9701b11641
ethtypes: Serialize EthFilterID/EthSubscriptionID correctly
2023-01-31 10:28:12 +01:00
Łukasz Magiera
965b1cf03c
itests: Fix TestEthSubscribeLogs
2023-01-31 10:28:12 +01:00
Łukasz Magiera
1286d76988
gateway: eth_subscribe support
2023-01-31 10:28:12 +01:00
Łukasz Magiera
6491becbe1
rpc: Switch eth_subscribe to reverse calls
2023-01-31 10:28:12 +01:00
Łukasz Magiera
13fc5b688f
Merge pull request #10028 from filecoin-project/gstuart/cli-color-cleanup
...
chore: cli: Remove unneeded individual color flags
2023-01-31 09:23:16 +01:00
Łukasz Magiera
beb70a3db1
Merge pull request #10116 from filecoin-project/fix/rpcenc-hang
...
fix: rpcenc: Don't hang when source dies
2023-01-31 09:18:51 +01:00
Łukasz Magiera
482e13706f
Merge pull request #10138 from Jorropo/go-bitswap-to-libipfs
...
chore: node: migrate go-bitswap to go-libipfs/bitswap
2023-01-30 22:52:13 +01:00
Geoff Stuart
e0326d9d39
Populate transaction hash database if the database has not been set up before
2023-01-30 16:33:04 -05:00
af72e6f6ac
Refactor: Unify EthTx to FilecoinMessage methods v2 ( #10095 )
...
* Refactor: Unify EthTx to FilecoinMessage methods
* Filecoin messages can again be converted to Eth Txs
* All BLS messages should calculated tx hash with unsigned message
* Refactor newEthTxReceipt
* fill in from and to for non-eth transactions
* Hoist nil check out of newEthTxFromMessageLookup
---------
Co-authored-by: Aayush <arajasek94@gmail.com >
Co-authored-by: Raúl Kripalani <raul@protocol.ai >
2023-01-30 18:40:14 +00:00
Geoff Stuart
6518122a2d
Merge pull request #10144 from filecoin-project/gstuart/sqlite-leak
...
fix: eth: plug sqlite leak
2023-01-30 12:13:26 -05:00
Geoff Stuart
395cdd721e
simplify transaction hash db queries, prevent fd leaks
2023-01-30 11:03:12 -05:00
Jorropo
d060df2fb9
chore: node: migrate go-bitswap to go-libipfs/bitswap
...
This was migrated in https://github.com/ipfs/go-libipfs/pull/63 .
2023-01-27 23:10:44 +01:00
Aayush Rajasekaran
60193a2ddd
Merge pull request #10136 from filecoin-project/asr/update-types
...
chore: deps: Update to go-state-types v0.10.0-alpha-11
2023-01-27 15:40:34 -05:00
Aayush
7edfe9d759
Update to go-state-types v0.10.0-alpha-11
2023-01-27 15:32:08 -05:00
Geoff Stuart
a9c1caa188
Standardize path variable
2023-01-27 11:27:13 -05:00
Ian Davis
eacf3f1830
go fmt
2023-01-27 15:20:23 +00:00
Ian Davis
67805fd25a
Refactor to ensure conformance test can run in circleci
2023-01-27 15:13:38 +00:00
Łukasz Magiera
62326b243f
Merge pull request #10126 from Jorropo/migrate-go-block-format
...
chore: all: bump go-libipfs to replace go-block-format
2023-01-27 14:12:23 +01:00
Łukasz Magiera
a0771b12eb
Merge pull request #9878 from filecoin-project/gstuart/check-allocation-expiry
...
feat: Check for allocation expiry when waiting to seal sectors
2023-01-27 13:05:09 +01:00
Geoff Stuart
d6da796bf2
Merge pull request #10131 from filecoin-project/asr/fix-devnets
...
fix: devnets: default to starting from nv17
2023-01-26 15:08:27 -05:00
Aayush
a64744f213
fix: devnets: default to starting from nv17
2023-01-26 14:57:04 -05:00
Ian Davis
6efe08dd61
Fix comment
2023-01-26 17:39:50 +00:00
Ian Davis
98d6d4eb17
Remove stm: #integration comment
2023-01-26 17:27:55 +00:00
Steven Allen
c93717bf77
fix: don't replace the method in EthSendRawTransaction ( #10129 )
...
This will just cause signature validation to fail.
2023-01-26 09:22:06 -08:00
Ian Davis
8f625e847b
Changed skip message
2023-01-26 17:20:47 +00:00
Ian Davis
17ef4888e4
make gen
2023-01-26 17:09:15 +00:00
Ian Davis
916b8001b4
Skip some rpc conformance tests
2023-01-26 17:07:17 +00:00
Ian Davis
daf90ff402
Fix lint errors
2023-01-26 17:01:39 +00:00
Łukasz Magiera
10acef2845
Merge pull request #10127 from filecoin-project/gstuart/backport-docker-fix
...
backport: fix: ci: Fix dirty git state when building docker images
2023-01-26 17:49:17 +01:00
Ian Davis
a0994ac4b4
Check git state in Dockerfile to catch .dockerignore bugs
2023-01-26 11:33:48 -05:00
Ian Davis
e55d6c8d65
Always include checked in files in docker context
...
The .dockerignore file is symlinked to the .gitignore file, and checked
in files should not be removed from our docker context otherwise they
result in dirty git state when we build our images.
2023-01-26 11:33:42 -05:00
Ian Davis
8c58ecc897
Remove old Snapcraft and AppDir folders
2023-01-26 11:33:37 -05:00
Ian Davis
19e188da9f
init git submodules in build-docker CI
2023-01-26 11:33:31 -05:00
Geoff Stuart
3e6e02dc7d
Merge pull request #9999 from filecoin-project/jen/devnetthings
...
fix: devnets starts with nv17
2023-01-26 11:31:25 -05:00
Aayush Rajasekaran
c08fc2bdf7
Merge pull request #10124 from filecoin-project/fix/actors-circ-supply
...
fix: stmgr: Add nv18-actors to CircSupply
2023-01-26 11:20:48 -05:00
Jorropo
f572852d06
chore: all: bump go-libipfs to replace go-block-format
...
Includes changes from:
- https://github.com/ipfs/go-block-format/pull/37
- https://github.com/ipfs/go-libipfs/pull/58
2023-01-26 17:03:18 +01:00
Łukasz Magiera
db9c516429
Merge pull request #10125 from filecoin-project/fix-docker-git-dirty-state
...
_ci_ / _build_ : Fix dirty git state when building docker images
2023-01-26 16:57:46 +01:00
Phi
4fb9e2fd6a
make jen
...
- Add builtin.EthereumAddressManagerActorAddr to builtin.go.template and make jen
- Rename to EthereumAddressManagerActorAddr to match pattern of other actors (CronActorAddr/etc)
2023-01-26 16:26:39 +01:00
Ian Davis
0f6003fd68
Check git state in Dockerfile to catch .dockerignore bugs
2023-01-26 15:18:12 +00:00
Ian Davis
17d220524c
Always include checked in files in docker context
...
The .dockerignore file is symlinked to the .gitignore file, and checked
in files should not be removed from our docker context otherwise they
result in dirty git state when we build our images.
2023-01-26 15:18:12 +00:00
Ian Davis
98a9c8310b
Remove old Snapcraft and AppDir folders
2023-01-26 15:16:41 +00:00
Ian Davis
7cfb2529ac
init git submodules in build-docker CI
2023-01-26 15:16:41 +00:00
Ian Davis
e8f326681a
make gen
2023-01-26 14:51:08 +00:00
Ian Davis
df0cf91548
Use new kit.DisableEthRPC method in test
2023-01-26 14:49:02 +00:00
Jennifer Wang
35ddf9e8f0
devnets starts with nv17
2023-01-26 09:47:17 -05:00
Ian Davis
e73dc3eb74
Merge branch 'release/v1.20.0' into iand/issue-9849-config
2023-01-26 14:45:47 +00:00
Phi
8f6c569391
Add actors to circ-supply
...
- Consider funds to EAM as locked
- Add evm, placeholder and ethaccount to circ supply
2023-01-26 15:39:51 +01:00
Geoff Stuart
178e146599
Merge pull request #10123 from filecoin-project/gstuart/backport-update-codeql
...
backport: chore: ci: Update codeql to v2
2023-01-26 09:36:26 -05:00
Geoff Stuart
5740f17037
Merge pull request #10121 from filecoin-project/feat/better-post-errors
...
feat: wdpost: Emit more detailed errors
2023-01-26 09:36:11 -05:00
Geoff Stuart
c45df789ea
Merge pull request #10114 from filecoin-project/fix/cli-cleanup
...
chore: cli: cleanup cli
2023-01-26 09:25:40 -05:00
Ian Davis
4500c02e49
Merge branch 'release/v1.20.0' into iand/eth-openrpc-validate
2023-01-26 14:23:42 +00:00
Geoff Stuart
36b4c8a9e9
Enable code ql for release branches
2023-01-26 08:55:26 -05:00
Geoff Stuart
038404ef31
Update codeql to v2
2023-01-26 08:55:21 -05:00
Geoff Stuart
c3be4f2f15
Merge pull request #10083 from filecoin-project/iand/issue-9849-realtime
...
itests: add event matrix tests for realtime eth filters and subscriptions
2023-01-26 08:50:51 -05:00
Łukasz Magiera
aa0d47078f
Merge pull request #10120 from filecoin-project/gstuart/update-codeql
...
chore: ci: Update codeql to v2
2023-01-26 13:50:50 +01:00
Ian Davis
c82dccc76c
Merge branch 'release/v1.20.0' into iand/issue-9849-realtime
2023-01-26 12:11:14 +00:00
Ian Davis
7586710395
Fix panic in EthGetCode
2023-01-26 12:10:42 +00:00
Ian Davis
a9cd76907e
Merge branch 'release/v1.20.0' into iand/eth-openrpc-validate
2023-01-26 11:35:33 +00:00
Łukasz Magiera
fc6721cff7
feat: wdpost: Emit more detailed errors
2023-01-26 11:57:16 +01:00
Phi
a0b25b9136
less strict ArgsCheck
...
Less strict ArgsCheck
2023-01-26 10:13:39 +01:00
Geoff Stuart
0cc63f6896
Enable code ql for release branches
2023-01-26 02:46:45 -05:00
Geoff Stuart
291deaa017
Update codeql to v2
2023-01-26 01:58:29 -05:00
Jiaying Wang
2ad9301a6e
Merge pull request #10117 from filecoin-project/asr/resolve-TODO
...
feat: vm: Assert empty object CID when dumping state
2023-01-25 21:29:24 -05:00
Geoff Stuart
c6829a9d0e
Merge pull request #10113 from filecoin-project/feat/web3_clientVersion
...
Eth JSON-RPC: implement web3_clientVersion
2023-01-25 15:11:30 -05:00
Aayush
8842b21ec9
feat: vm: Assert empty object CID when dumping state
2023-01-25 12:35:18 -05:00
Aayush Rajasekaran
e84dad0967
Merge pull request #10112 from filecoin-project/asr/fix-eth-call
...
fix: EthAPI: Handle EthCall return correctly
2023-01-25 11:58:51 -05:00
Aayush
7aed7d3fd0
fix: EthAPI: Handle EthCall return correctly
2023-01-25 11:36:59 -05:00
Phi
38dc034499
make docsgen-cli
...
make docsgen-cli
2023-01-25 17:24:53 +01:00
Aayush Rajasekaran
1c2446da16
Merge pull request #10111 from filecoin-project/asr/fix-eth-get-storage
...
fix: EthAPI: Drop hack in GetStorageAt
2023-01-25 11:20:31 -05:00
Łukasz Magiera
128bdc63db
fix: rpcenc: Don't hang when source dies
2023-01-25 17:14:37 +01:00
Phi
34f376eb23
chore: cli
...
Standarize cli/code functions similar to: https://github.com/filecoin-project/lotus/pull/9317
- cctx.NArg() instead of cctx.Args().xxx
- Add check for args and print help on functions that did not have it
2023-01-25 13:13:56 +01:00
Ian Davis
b38d203e83
Remove debug logging
2023-01-25 09:44:52 +00:00
ychiao
358964d2c8
fix lint
2023-01-24 22:59:46 -05:00
ychiao
ee6af9de61
Eth JSON-RPC: implement web3_clientVersion
2023-01-24 22:56:04 -05:00
Aayush
8864782750
fix: EthAPI: Drop hack in GetStorageAt
2023-01-24 13:18:13 -05:00
Ian Davis
58cd226d6b
Change EthBlock.Extradata type to EthBytes
2023-01-24 14:46:16 +00:00
Ian Davis
7acdb49074
Add test for eth_call
2023-01-24 14:03:31 +00:00
Ian Davis
2a73e1c2e1
Add test for eth_getStorageAt
2023-01-24 13:12:31 +00:00
Ian Davis
8daf22c3ff
Test and fix eth_FeeHistory
2023-01-24 11:27:18 +00:00
Ian Davis
c0c8ad5510
Test more functions
2023-01-24 11:10:38 +00:00
Łukasz Magiera
4682e8f326
Merge pull request #10105 from filecoin-project/addr-encode
...
chore:shed:encode address to bytes
2023-01-24 10:34:47 +01:00
zenground0
f03c7a8880
encode address into byte
2023-01-24 20:18:04 +13:00
Łukasz Magiera
926e2b04b7
Merge pull request #10039 from filecoin-project/test/fevm-stacks
...
itests: Test FEVM recursive calls
2023-01-23 20:25:32 +01:00
Łukasz Magiera
46746f3495
itests: Test FEVM recursive calls
2023-01-23 19:40:19 +01:00
Łukasz Magiera
74b33bd4a2
Merge pull request #10068 from filecoin-project/test/eam-tests
...
itests: Test EAM interactions from accounts
2023-01-23 19:36:24 +01:00
Aayush Rajasekaran
4fd81e0c58
Merge pull request #10030 from filecoin-project/asr/merge-release-into-master
...
chore: merge release/v1.20.0 into master
2023-01-23 13:24:24 -05:00
Aayush
65ac5669a9
Merge branch 'master' into asr/merge-release-into-master
2023-01-23 12:37:24 -05:00
Aayush
e9f665214a
Merge branch 'release/v1.20.0' into asr/merge-release-into-master
2023-01-23 12:23:47 -05:00
Ian Davis
7eca3e4853
Start eth_sendRawTransaction test
2023-01-23 17:22:25 +00:00
Aayush Rajasekaran
a21bba8ac2
Merge pull request #10084 from filecoin-project/asr/delegated-siggy
...
feat: minor improvements to Ethereum delegated siggys
2023-01-23 12:11:51 -05:00
Ian Davis
9fed750f9d
Add further tests
2023-01-23 17:09:35 +00:00
Ian Davis
7d1bd1d5ab
Use gojsonschema
2023-01-23 16:50:40 +00:00
Geoff Stuart
579b15330a
Merge pull request #10097 from filecoin-project/gstuart/ci-fix
...
Backport: fix: ci: Add back <<network>> parameter for docker push
2023-01-23 11:45:46 -05:00
Geoff Stuart
807a60b4e4
Remove unneeded individual color flags
2023-01-23 11:11:12 -05:00
Łukasz Magiera
dd12cad1ef
Merge pull request #10100 from filecoin-project/fix/paych-itest-syncwait
...
fix: itests: Fix flaky paych test
2023-01-23 16:24:42 +01:00
Ian Davis
c6d279c853
Decode topic values in EthGetTransactionReceipt
2023-01-23 14:43:36 +00:00
Ian Davis
d9261b6e2f
itests: validate responses from ethereum json-rpc api
2023-01-23 14:37:51 +00:00
Ian Davis
ddd5ff9c42
fix: event filters use cbor encoding internally ( #10085 )
2023-01-23 14:14:25 +00:00
Łukasz Magiera
238243cc1d
Merge pull request #10101 from filecoin-project/fix/listasks-wait
...
fix: cli: Wait for all results in GetAsks
2023-01-23 12:58:20 +01:00
Łukasz Magiera
53015dc3ee
Merge pull request #9981 from filecoin-project/masih/dep-up-dixprov
...
chore: market: Upgrade to index-provider 0.10.0
2023-01-23 12:53:23 +01:00
Łukasz Magiera
804bef72c9
fix: cli: Wait for all results in GetAsks
2023-01-23 12:48:21 +01:00
Łukasz Magiera
c8a692046f
fix: itests: Fix flaky paych test
2023-01-23 12:02:42 +01:00
Łukasz Magiera
68e20cebd7
itests: Test EAM interactions from accounts
2023-01-23 11:18:46 +01:00
Ian Davis
640f0dc8b6
Add back <<network>> parameter for docker push
...
This commit reverts a change with the previous fix for this flow:
- https://github.com/filecoin-project/lotus/pull/10088
2023-01-22 15:13:05 -05:00
Geoff Stuart
c8156d0f46
Merge pull request #10096 from filecoin-project/fix-mainnet-docker-ci
...
Add back <<network>> parameter for docker push
2023-01-22 15:12:14 -05:00
Ian Davis
9d967b084a
Add back <<network>> parameter for docker push
...
This commit reverts a change with the previous fix for this flow:
- https://github.com/filecoin-project/lotus/pull/10088
2023-01-22 16:39:40 +00:00
Aayush
4f199ada40
Merge branch 'release/v1.20.0' into asr/merge-release-into-master
2023-01-20 17:32:29 -05:00
Aayush Rajasekaran
e695be1cba
Merge pull request #10093 from filecoin-project/gstuart/cleanup-v1.20.0
...
chore: cleanup v1.20.0
2023-01-20 17:30:41 -05:00
Geoff Stuart
fff58e1368
Refactor EvmGetInfoCmd
2023-01-20 16:51:01 -05:00
Geoff Stuart
550eef131c
Remove references from wallaby and hyperspace
2023-01-20 16:51:01 -05:00
Geoff Stuart
439b4c6e22
Cleanups
2023-01-20 16:51:01 -05:00
Geoff Stuart
da574bd842
Merge pull request #10090 from filecoin-project/gstuart/backport-deprecate-appimage
...
Backport: ci: Remove AppImage and Snapcraft build automation
2023-01-20 15:19:59 -05:00
Ian Davis
20e32f2de7
Remove AppImage and Snapcraft build automation
2023-01-20 15:11:16 -05:00
Geoff Stuart
bfe3f72c45
Merge pull request #10089 from filecoin-project/gstuart/backport-ci-fix
...
backport: fix: ci: Properly balance <<?>> in circleci docker config
2023-01-20 14:49:00 -05:00
Ian Davis
fdb330eb58
Properly balance <<?>> in circleci docker config
2023-01-20 14:37:36 -05:00
Geoff Stuart
6d53d0d533
Merge pull request #10088 from filecoin-project/fix-mainnet-docker-ci
...
Properly balance <<?>> in circleci docker config
2023-01-20 14:36:35 -05:00
Ian Davis
d1fa22244f
Properly balance <<?>> in circleci docker config
2023-01-20 19:12:22 +00:00
Geoff Stuart
93b9f1a24f
Merge pull request #10086 from filecoin-project/gstuart/fix-testground-build
...
fix: testground build was broken
2023-01-20 13:54:31 -05:00
Geoff Stuart
50f26e9721
Fix testground build
2023-01-20 13:27:04 -05:00
ychiao
57bf1c7a89
Eth JSON-RPC: support passing uint64 in JSON-RPC arguments for EthUint64
2023-01-20 12:37:37 -05:00
Aayush
972e68a8c1
feat: minor improvements to Ethereum delegated siggys
2023-01-20 10:21:00 -05:00
Łukasz Magiera
7632f9bbba
itests: Test FEVM recursive calls
2023-01-20 15:50:33 +01:00
Ian Davis
c5ed5dd254
itests: add event matrix tests for realtime eth filters and subscriptions
2023-01-20 14:01:25 +00:00
Steven Allen
a1efd20e81
itests: remove dead code from DeployContract
...
We no longer use the nonce here.
2023-01-19 19:53:09 -08:00
Jiaying Wang
1ea57740aa
Merge pull request #10052 from filecoin-project/iand/issue-9849-filters
...
itests: Add tests for EthGetLogs filter combinations
2023-01-19 20:23:00 -05:00
Raúl Kripalani
8802de59d4
remove leftover from merge.
2023-01-20 01:16:34 +00:00
Raúl Kripalani
21c93f1dc1
Merge branch 'release/v1.20.0' into iand/issue-9849-filters
2023-01-20 01:11:31 +00:00
Raúl Kripalani
2a9069200d
use len to conduct empty byte array checks.
2023-01-20 00:57:53 +00:00
Jiaying Wang
b08b63d4ab
Merge pull request #10077 from filecoin-project/gstuart/eth-event-config
...
feat: Events API enabled by default if EnableEthRPC is true
2023-01-19 19:56:03 -05:00
Jiaying Wang
1ce3ef0416
Merge pull request #10079 from filecoin-project/raulk/fixed-wrong-message-events
...
fix: events: put the _signed_ message through the pipeline.
2023-01-19 19:54:31 -05:00
Jennifer Wang
63d4c10b9e
remove extra event doc
2023-01-19 19:53:21 -05:00
Raúl Kripalani
2c56687527
fix: events: put the _signed_ message through the pipeline.
...
We were putting the unsigned/VM message through the pipeline.
The events index was storing the _unsigned_ message CID.
However, the Eth tx hash index maps signed Delegated-signature message
CIDs to transaction hashes, i.e. it uses the _signed_ message CID.
As a result, eth_getLogs and other log-related methods were
unable to resolve the transaction hash from the index properly, and
would end up returning 0x00..00 in the transactionHash field.
2023-01-20 00:36:06 +00:00
Geoff Stuart
6601d9031d
Set default path for eth event db, set it to enabled by default if EnableEthRPC is set
2023-01-19 18:40:28 -05:00
Shrenuj Bansal
522e96f016
fix: msg signing with delegated keys and send cli changes ( #10056 )
...
* fix msg signing with delegated keys and send cli changes
* make gen and docsgen
* address comments
2023-01-19 17:57:48 -05:00
Jiaying Wang
2335bed58a
Revert "fix: should not serve non v0 apis in v0" ( #10073 )
2023-01-19 20:36:03 +00:00
Łukasz Magiera
eaccb571a5
fix: config: Fix eth rpc typo ( #10076 )
2023-01-19 20:35:19 +00:00
Aayush Rajasekaran
196b41d5f6
Merge pull request #10069 from filecoin-project/asr/fix-tsk
...
fix: chain: put tipsetkey upon expansion of tipset
2023-01-19 14:10:19 -05:00
Łukasz Magiera
b4294ff531
Merge pull request #10072 from filecoin-project/feat/ethmod-rpc
...
config: Fevm.EnableEthPRC
2023-01-19 19:49:29 +01:00
Łukasz Magiera
e194cbc715
impl: Cleanup EthTxHashManager handling
2023-01-19 19:30:18 +01:00
raulk
1e845c61a2
add integration test to catch tipset CID flakiness. ( #10071 )
2023-01-19 18:25:23 +00:00
Łukasz Magiera
60dbd59aa0
itests: Default enable Eth rpc
2023-01-19 19:21:00 +01:00
Łukasz Magiera
66f5ee4ae9
config: Fevm.EnableEthPRC
2023-01-19 18:31:17 +01:00
ZenGround0 and zenground0
178aaf6ac4
fix broke invoke ( #10031 )
...
Co-authored-by: zenground0 <ZenGround0@users.noreply.github.com >
2023-01-19 11:41:11 -05:00
Travis Person
91a6eabab5
Merge pull request #9982 from filecoin-project/feat/obj-stats
...
feat: add toolshed commands to inspect statetree size
2023-01-19 08:37:32 -08:00
Aayush
5518e64574
fix: chain: put tipsetkey upon expansion of tipset
2023-01-19 11:33:49 -05:00
Łukasz Magiera
9463dc4a99
Merge pull request #10065 from filecoin-project/jen/api
...
fix: should not serve non v0 apis in v0
2023-01-19 17:26:44 +01:00
Łukasz Magiera
1dfd08a0dd
Merge pull request #10066 from filecoin-project/jen/cherrypic
...
fix: should not serve non v0 api in v0
2023-01-19 17:26:18 +01:00
Jennifer Wang
901bb153d0
fix: should not serve non v0 api in v1
2023-01-19 11:06:04 -05:00
Jennifer Wang
1724d1666e
fix: should not serve non v0 api in v1
2023-01-19 11:02:09 -05:00
Ian Davis
85592ad39e
itests: verify eth filter api is disabled via config
2023-01-19 14:59:11 +00:00
Raúl Kripalani
5541694922
fix lint.
2023-01-19 14:14:37 +00:00
Ian Davis
f2ab452eb8
Resolve merge conflict
2023-01-19 14:10:23 +00:00
Raúl Kripalani
4dee0ba7fb
add a lotus-shed eth check-tipsets command.
...
This checks Eth API consistency by walking the chain backwards
from HEAD and verifying that all data returned from eth_getBlockByNumber
is consistent with eth_getBlockByHash.
2023-01-19 14:01:39 +00:00
Łukasz Magiera
2f03bf9372
Merge pull request #10010 from filecoin-project/snissn/delegatecalltest3
...
fevm_test: delegate call test
2023-01-19 14:42:11 +01:00
Ian Davis
58587a7956
Remove unused code
2023-01-19 13:06:07 +00:00
Ian Davis
a08b557938
Merge branch 'release/v1.20.0' into iand/issue-9849-filters
2023-01-19 13:01:12 +00:00
Ian Davis
ca5cab4c43
Cleanup and fix eth filter tests
2023-01-19 12:58:23 +00:00
Ian Davis
5569c3971b
Fix filters with alternate topic values
2023-01-19 12:22:37 +00:00
Ian Davis
6f66ef595e
Add filter block range tests
2023-01-19 11:49:07 +00:00
Jiaying Wang
a7374a9019
Merge pull request #10055 from filecoin-project/gstuart/tx-hash-to-msg-cid
...
feat: API for EthGetMessageCidByTransactionHash
2023-01-18 20:00:19 -05:00
Travis Person
a0c58b5582
feat: add toolshed commands to inspect statetree size
2023-01-19 00:48:22 +00:00
Geoff Stuart
7dcaa97f8b
Add positive tests
2023-01-18 18:59:47 -05:00
Geoff Stuart
70db738bff
Merge pull request #10037 from filecoin-project/feat/lotus-shed-beneficiary-cli
...
feat: shed: Add beneficiary commands
2023-01-18 18:04:22 -05:00
Geoff Stuart
5133b9da94
Add EthGetMessageCidByTransactionHash, fix EthGetTransactionHashByCid
2023-01-18 17:48:10 -05:00
Aayush Rajasekaran
a522aa3baa
Merge pull request #10053 from filecoin-project/gstuart/integrate-new-bundle
...
chore: Integrate new bundle, revert accidental ffi
2023-01-18 12:46:24 -05:00
Geoff Stuart
9298023f33
Integrate new bundle, revert accidental ffi
2023-01-18 12:35:13 -05:00
Ian Davis
061e8cca1f
Add itest for EthGetLogs filter combinations
2023-01-18 17:33:54 +00:00
Shrenuj Bansal
ee54a7f3f5
feat: snapshot: Store tipset key cids in chain store during snapshot import ( #10042 )
...
* Store tipset key cids in chain store during snapshot import
* make gen
* fix circle ci config
* fix lint
* address comments
2023-01-18 11:22:05 -05:00
Łukasz Magiera
0934cf034d
Merge pull request #10032 from filecoin-project/feat/cbor-cid
...
feat:shed:add cid to cbor serialization command
2023-01-18 12:51:05 +01:00
Jiaying Wang
fcefc87840
Merge pull request #9965 from filecoin-project/gstuart/eth-hash
...
feat: Store mapping of eth transaction hashes to message cids
2023-01-17 20:06:18 -05:00
zenground0
72baa3d916
cid -> bytes command
2023-01-17 12:19:04 -07:00
zenground0
14d921f64f
Err handle
2023-01-17 09:56:17 -07:00
Mike Seiler
2a95648625
linter fixes
2023-01-17 16:53:28 +00:00
Łukasz Magiera
2d3f1e0365
Merge pull request #10035 from aschmahmann/fix/filesize-prevents-windows-lib
...
fix: sealing: stub out the FileSize function on Windows
2023-01-17 12:48:38 +01:00
Phi
51d2a883f0
Beneficiary cmd in lotus-shed
...
Add `ProposeChangeBeneficiary` and `ConfirmChangeBeneficiary` to lotus-shed
2023-01-17 12:39:55 +01:00
Adin Schmahmann
d35818293a
fix: stub out the FileSize command so lotus libraries can build on Windows
2023-01-17 01:03:10 -05:00
zenground0
7383a761f6
Fix
2023-01-16 17:54:38 -07:00
zenground0
39ae4b04be
Add cid to cbor cmd
2023-01-16 17:50:47 -07:00
Mike Seiler
b49c455df0
golint fix ++ instead of +=1 and add comment to script to build .hex files
2023-01-16 17:06:25 +00:00
Geoff Stuart
34576d0c64
Merge pull request #10003 from filecoin-project/deprecate-snapcraft-appimage
...
_build_: Remove AppImage and Snapcraft build automation
2023-01-16 11:27:38 -05:00
Ian Davis
b60aeccfdc
Remove AppImage and Snapcraft build automation
2023-01-16 16:03:35 +00:00
Aayush
e715384173
Merge branch 'release/v1.20.0' into asr/merge-release-into-master
2023-01-16 10:51:22 -05:00
Łukasz Magiera
67023886c8
Merge pull request #9920 from filecoin-project/gstuart/extend-or-renew
...
feat: cli: Refactor renew and remove extend
2023-01-16 16:31:11 +01:00
Geoff Stuart
00a73fd88f
Merge pull request #10022 from FlattestWhite/richard/color-flag
...
feat: lotus-cli: Add global color flag
2023-01-16 10:15:12 -05:00
Geoff Stuart
72f42505b9
Explain config more clearly
2023-01-16 08:17:34 -05:00
Geoff Stuart
3b283681a9
Fix test
2023-01-16 07:41:19 -05:00
Geoff Stuart
6b0f1116ce
Remove maybe unnecessary check
2023-01-16 07:08:22 -05:00
Geoff Stuart
f8121c8f1c
Add gc for eth tx database
2023-01-16 07:04:20 -05:00
Geoff Stuart
f8dee0983a
review fixes
2023-01-16 01:56:55 -05:00
Geoff Stuart
a8436074a6
Store mapping from hashes for Ethereum transactions to Filecoin Message Cids
2023-01-16 01:17:56 -05:00
Richard Guan
fc82aab74b
add bool flag and gen documentation
2023-01-16 16:14:19 +11:00
Jiaying Wang
b6eb7fcd96
turn off actor debug fro wallaby and hyperspace ( #10019 )
2023-01-14 18:31:18 -08:00
Steven Allen
2a3989e4bd
fix: check for unread params bytes in all cases ( #10018 )
2023-01-14 15:45:19 -08:00
Jiaying Wang
5372ab907f
Merge pull request #10005 from filecoin-project/feat/fevm-eam-refactor
...
update evm actor creation for eam refactor
2023-01-14 16:00:16 -05:00
Aayush
e0c09c0396
remove invalid test cases
2023-01-14 12:30:06 -05:00
Aayush
86031b117f
make jen
2023-01-14 11:56:21 -05:00
Jennifer Wang
f6fbd719d0
add latest bundle
2023-01-14 11:52:48 -05:00
Aayush
3a11f22138
fix comments
2023-01-14 11:20:24 -05:00
Steven Allen
b4714c6f3e
fix send then deploy test
...
We changed how we compute addresses. It's still broken due to a bug in
the EAM, but the _test_ is now correct(ly failing).
2023-01-13 23:25:54 -08:00
Jennifer Wang
51d77d408b
add bundle dev/20230114-pre-rc.2
2023-01-14 01:41:46 -05:00
vyzo
859cdca4f7
update go-state-types
...
use CreateExternal
use CreateExternal in itest evm deployment
add missing import
update gst
2023-01-14 01:11:11 -05:00
Aayush Rajasekaran
cb10108c8e
Merge pull request #10012 from filecoin-project/jen/hs
...
misc: align the network name
2023-01-14 00:50:17 -05:00
Jennifer Wang
a6c7696274
align the network name
2023-01-14 00:48:56 -05:00
Aayush Rajasekaran
cc86117289
Merge pull request #10007 from filecoin-project/asr/delegated-siggy
...
fix: delegated signatures: check every field of txs and roundtrip eth <-> FIL
2023-01-14 00:14:38 -05:00
Jennifer Wang
125dcca829
add v8 v9 hyperspace bundle
2023-01-14 00:00:02 -05:00
Steven Allen
1045dce1ea
guarantee round-trip
2023-01-13 20:14:22 -08:00
Jiaying Wang
32615ecbd3
Merge pull request #9863 from filecoin-project/feat/eth-gateway-api
...
feat: eth gateway api
2023-01-13 22:32:51 -05:00
Jiaying Wang
2e23e40240
Merge pull request #10011 from filecoin-project/jen/resolveconflict
...
misc: resolve conflict again
2023-01-13 22:10:15 -05:00
Mike Seiler
77cdf26223
refactor of fevm_test, addition of delegate call test and a script to compile the .sol solidity files to .hex, add sharable methods into kit/evm
2023-01-14 03:03:06 +00:00
Łukasz Magiera
eadf8b680c
address review
2023-01-13 21:55:14 -05:00
Jennifer Wang
427fbdb8a9
Merge branch 'release/v1.20.0' into jen/resolveconflict
2023-01-13 21:50:57 -05:00
Jiaying Wang
84bad8a79a
Merge pull request #10008 from filecoin-project/jen/sad
...
fix: hyperspace build
2023-01-13 21:39:28 -05:00
Jennifer Wang
75443681ba
im stupid
2023-01-13 21:36:52 -05:00
Jiaying Wang
0731fe2637
Merge pull request #10004 from filecoin-project/raulk/remove-hack
...
remove leftover hack.
2023-01-13 21:08:24 -05:00
Aayush
3421e6a127
fix: delegated signatures: check every field of txs and roundtrip eth <-> FIL
2023-01-13 20:28:51 -05:00
Aayush Rajasekaran
2de9c4365b
Merge pull request #9957 from filecoin-project/asr/ethaccount-tests
...
feat: more ethaccount abstraction tests
2023-01-13 15:41:31 -05:00
Aayush Rajasekaran
35a37bacdf
feat: more ethaccount abstraction tests
2023-01-13 15:07:40 -05:00
Raúl Kripalani
e25728cb68
remove leftover hack.
2023-01-13 19:59:09 +00:00
+6
cdf3812e40
NV18: Filecoin EVM runtime + Actor Events + EthAccount + EAM + f4 addressing ( #9998 )
...
Co-authored-by: Steven Allen <steven@stebalien.com >
Co-authored-by: Raul Kripalani <raulk@users.noreply.github.com >
Co-authored-by: Kevin Li <ychiaoli18@users.noreply.github.com >
Co-authored-by: vyzo <vyzo@hackzen.org >
Co-authored-by: Ian Davis <nospam@iandavis.com >
Co-authored-by: Aayush Rajasekaran <arajasek94@gmail.com >
Co-authored-by: Jiaying Wang <42981373+jennijuju@users.noreply.github.com >
Co-authored-by: Jennifer Wang <jiayingw703@gmail.com >
Co-authored-by: Geoff Stuart <geoff.vball@gmail.com >
Co-authored-by: Shrenuj Bansal <shrenuj.bansal@protocol.ai >
Co-authored-by: Shrenuj Bansal <108157875+shrenujbansal@users.noreply.github.com >
Co-authored-by: Geoff Stuart <geoffrey.stuart@protocol.ai >
Co-authored-by: Aayush Rajasekaran <aayushrajasekaran@Aayushs-MacBook-Pro.local >
Co-authored-by: ZenGround0 <5515260+ZenGround0@users.noreply.github.com >
Co-authored-by: zenground0 <ZenGround0@users.noreply.github.com >
2023-01-13 19:11:13 +00:00
Łukasz Magiera
574b684396
address review
2023-01-13 20:08:35 +01:00
Łukasz Magiera
bb800fd78d
Merge pull request #9910 from filecoin-project/gstuart/deps-caching
...
feat: ci: make ci more efficient
2023-01-13 20:08:20 +01:00
Łukasz Magiera
9b7c506de0
lite node: Use full.EthEventAPI provided by gateway in lite mode
2023-01-13 20:04:42 +01:00
Łukasz Magiera
12c23d7d60
api: Drop EthModuleDummy
2023-01-13 20:04:42 +01:00
Łukasz Magiera
22231dc34f
gateway: Limits and proxy for eth_ methods
2023-01-13 20:04:42 +01:00
Łukasz Magiera
708618d11c
feat: gateway: eth_ api support
2023-01-13 20:04:41 +01:00
Raúl Kripalani
46a50960d3
track remaining TODOs as TODO::FVM.
2023-01-13 01:44:39 +00:00
Raúl Kripalani
6de2aca8ae
change ResolveToKeyAddr => ResolveToDeterministicAddr + friends.
2023-01-13 01:44:39 +00:00
Raúl Kripalani
2c839924c6
fix tests.
2023-01-12 23:50:24 +00:00
Łukasz Magiera
287d410fe8
Merge pull request #9995 from filecoin-project/gstuart/remove-workaround
...
fix: Remove workaround that is no longer needed
2023-01-12 21:01:17 +01:00
raulk
014d95454b
address review comments from @magik6k on #9617 ( #9997 )
2023-01-12 19:11:48 +00:00
Geoff Stuart
923d4128bb
Merge pull request #9875 from filecoin-project/gstuart/remove-expired-claim
...
feat: cli: list claims and remove expired claims
2023-01-12 12:44:21 -05:00
Geoff Stuart
787470c2b4
Remove workaround that is no longer needed
2023-01-12 12:39:57 -05:00
raulk
3ef32395f3
clean up ethtypes: rationalize ethtypes.EthAddressFromFilecoinAddress and conversion methods ( #9992 )
2023-01-12 17:09:21 +00:00
Łukasz Magiera
7a509cf0d8
Merge pull request #9711 from filecoin-project/feat/gomod-diff-script
...
feat: scripts: go.mod dep diff script
2023-01-12 18:07:14 +01:00
ychiao and raulk
105a1259bc
Eth JSON-RPC: use ToFilecoinAddress() to get f4 addr and validate v sig + cleanups ( #9970 )
...
Co-authored-by: raulk <raul@protocol.ai >
2023-01-12 14:55:07 +00:00
Raúl Kripalani
c61edd1d6d
make gen.
2023-01-12 08:50:38 +00:00
Raúl Kripalani
008d04fd57
use existing variable for empty object CID.
2023-01-12 08:50:38 +00:00
Raúl Kripalani
1c7db7c782
clear up error message.
2023-01-12 08:50:38 +00:00
Raúl Kripalani
08ae1391ad
address review comments.
2023-01-12 08:50:38 +00:00
Raúl Kripalani
06b40bcedb
fix comment.
2023-01-12 08:50:38 +00:00
Raúl Kripalani
892819aeec
fix test.
2023-01-12 08:50:38 +00:00
Raúl Kripalani
e78dbd2535
gen.
2023-01-12 08:50:38 +00:00
Raúl Kripalani
3320754a62
remove fmt.Println.
2023-01-12 08:50:38 +00:00
Raúl Kripalani
1bfbe447db
cli: fix Eth-related CLI (+).
...
1. Move contract deployment and invocation commands to the "eth" command group.
2. Remove the hack to use EAM#Create2 for an external contract creation.
3. Remove code made stale as a result of these refactors.
2023-01-12 08:50:38 +00:00
Raúl Kripalani
8512bbc45b
drop f099 eth_call hack.
...
We now create the 0x0 Eth null address on genesis as an EthAccount,
so using the 0x0 Eth null address is guaranteed to work.
2023-01-12 08:50:38 +00:00
Raúl Kripalani
593255570b
go fmt + lint.
2023-01-12 08:50:38 +00:00
Raúl Kripalani
93b3da98e8
{Delegated=>Deterministic} Address.
2023-01-12 08:50:38 +00:00
Raúl Kripalani
d520dbbc4b
update genesis logic to create Eth Null Addresses as EthAccounts.
2023-01-12 08:50:38 +00:00
Raúl Kripalani
1e0c78098c
constant for Event AMT bitwidth.
2023-01-12 08:50:38 +00:00
Raúl Kripalani
6c0ddd4ec9
fix typos.
2023-01-12 08:50:38 +00:00
Raúl Kripalani
73d6c7b28a
move EthAddressFromPubKey to chain/types/ethtypes.
2023-01-12 08:50:38 +00:00
Raúl Kripalani
4aafd42462
strengthen assertions in TestEthNewPendingTransactionFilter.
2023-01-12 08:50:38 +00:00
Raúl Kripalani
e60199a823
add link to TODO issue.
2023-01-12 08:50:38 +00:00
Raúl Kripalani
8ef17332ba
{predictable=>delegated} addresses.
2023-01-12 08:50:38 +00:00
Raúl Kripalani
a71816279d
adjust IsValidSecpkSigType and usages.
2023-01-12 08:50:38 +00:00
Raúl Kripalani
8f4c4268ba
cleanup.
2023-01-12 08:50:38 +00:00
Raúl Kripalani
6b8d4b4de2
consolidate signature validation logic.
2023-01-12 08:50:38 +00:00
Raúl Kripalani
a8c33de80b
consolidate signature validation logic.
2023-01-12 08:50:38 +00:00
Raúl Kripalani
ac38c9776c
add a network version gate to IsValidForSending.
2023-01-12 08:50:38 +00:00
Steven Allen
c73a0b5265
fix: fevm: don't hard-code method numbers
2023-01-11 18:44:14 -08:00
Geoff Stuart
12a06defd1
Check sectors for allocation expiry before committing
2023-01-11 16:24:34 -05:00
Geoff Stuart
0ebdbed30b
Refactor renew and remove extend
2023-01-11 14:44:08 -05:00
Łukasz Magiera
9a46682d9d
Merge pull request #9481 from consensus-shipyard/adlrocha/cns-iface-master
...
IPC: Abstract common consensus functions and consensus interface
2023-01-11 14:49:27 +01:00
Shrenuj Bansal
3456d90e0d
itests: Add tests for eth get balance and transaction submits ( #9966 )
...
* Add tests for eth get balance and transaction submits
* fix lint
* one more lint
* Add contract invocation test
* address comments
* fix lint
* address final comment
* make gen and fix lint as always
2023-01-10 19:28:49 -05:00
Aayush Rajasekaran
95501b77dd
Merge pull request #9978 from filecoin-project/jen/hyper
...
feat: network: introduce hyperspace :integrate the new bundle type
2023-01-10 16:23:59 -05:00
Aayush
1046b3014f
Update to go-state-types v0.10.0-alpha-9
2023-01-10 16:06:26 -05:00
Aayush
06584bbb78
Fixup multisig_test
2023-01-10 13:35:13 -05:00
Aayush
38c3ab20e8
Update to FVM 3.0.0-alpha.18
2023-01-10 13:14:40 -05:00
Geoff Stuart
fd1e0ad7a3
rerun fails
2023-01-10 12:55:36 -05:00
Geoff Stuart
3bae3a3bea
Reorg some jobs
2023-01-10 12:55:36 -05:00
Geoff Stuart
f9404aa55e
Try medium+
2023-01-10 12:55:36 -05:00
Geoff Stuart
7c448afda8
make build step
2023-01-10 12:55:36 -05:00
Geoff Stuart
8519bc21f9
Merge pull request #9969 from filecoin-project/feat/remove-requirements
...
fix: cli: remove requirements in helptext
2023-01-10 12:52:23 -05:00
Dirk McCormick
a02c783f0e
fix: dagstore miner api test
2023-01-10 14:50:38 +01:00
Dirk McCormick
fea879088c
feat: update to go-fil-markets v1.26.0
2023-01-10 14:43:32 +01:00
Masih H. Derkani
45667b7391
Upgrade to index-provider 0.10.0
...
Upgrade to the latest index-provider and as a result also upgrade
go-fil-markets.
Note that the index-provider go module is renamed and moved to `ipni`
GitHub org.
2023-01-10 13:08:04 +00:00
Jennifer Wang
cb49edf29d
update embryo to placehodler
2023-01-09 22:23:55 -05:00
Jennifer Wang
72c04caae9
get hyperspace cids
2023-01-09 21:21:30 -05:00
Jennifer Wang
370c8adec9
add bundle from https://github.com/filecoin-project/builtin-actors/releases/tag/dev%2F20230109-prehyperspace
2023-01-09 21:02:54 -05:00
Jennifer Wang
f05d3d8836
add hyperspacenet
2023-01-09 20:41:44 -05:00
ychiao
402173ea16
Merge pull request #9955 from filecoin-project/itest/eth-block
...
itests: Eth JSON-RPC: EthGetBlockByHash and EthGetBlockByNumber
2023-01-08 17:31:03 +09:00
Mike Greenberg
a4a4e04c5e
feat(blockstore): Envvar can adjust badger compaction worker poolsize
2023-01-06 17:33:25 -05:00
Aayush Rajasekaran
77b235df90
Merge pull request #9958 from filecoin-project/asr/fevm-registry
...
Add new FEVM actors to the registry
2023-01-06 13:53:04 -05:00
ZenGround0 and zenground0
06393da4ff
feat:splitstore:retain tipset references in hot store ( #9960 )
...
* Retain tipset reference
Co-authored-by: zenground0 <ZenGround0@users.noreply.github.com >
2023-01-06 12:39:07 -05:00
Geoff Stuart
ccd08c2d55
Merge pull request #9959 from filecoin-project/gstuart/sectors-fix
...
fix: revert change to sectors.go
2023-01-06 12:21:52 -05:00
Aayush Rajasekaran
c7ec974ff0
Add new FEVM actors to the registry
2023-01-06 11:38:11 -05:00
Phi
f8195deb54
fix: cli: remove requirements
...
Remove the requirements from the `lotus-worker run` cli
2023-01-06 12:43:12 +01:00
Łukasz Magiera
048ccc71bb
Merge pull request #9964 from ribasushi/chore/remove_obsolete_ribastat
...
chore:shed This stat-set does not belong in core lotus
2023-01-05 10:16:48 +01:00
Łukasz Magiera
37752d1d48
Merge pull request #9962 from filecoin-project/feat/ci-gen-diff
...
feat: ci: show gen diff more clearly in gen checks
2023-01-05 10:11:58 +01:00
Peter Rabbitson
3de006364e
This stat-set does not belong in core lotus
2023-01-04 16:02:25 +01:00
Łukasz Magiera
0881a01433
make gen
2023-01-04 15:35:35 +01:00
Łukasz Magiera
920d0c9e0a
feat: ci: show gen diff more clearly in gen checks
2023-01-04 15:23:11 +01:00
Łukasz Magiera
472eaaa1cc
Merge pull request #9892 from hanabi1224/close-write
...
fix: networking: call Stream.CloseWrite right after writing
2023-01-04 15:08:39 +01:00
Łukasz Magiera
273184b084
Merge pull request #9941 from beck-8/feat/add_renew_max_sectors
...
add renew max-sectors flag
2023-01-04 14:45:30 +01:00
hanabi1224
f4b4a63217
Merge remote-tracking branch 'origin/master' into close-write
2023-01-04 20:10:29 +08:00
hanabi1224
6b14b0536e
fix: error checks
2023-01-04 20:10:21 +08:00
beck
f3b5c76709
make docsgen-cli
2023-01-04 19:56:45 +08:00
beck
4f9119f211
add check GetAddressedSectorsMax
2023-01-04 19:39:40 +08:00
Łukasz Magiera
d8570576af
Merge pull request #9902 from filecoin-project/asr/restrict-verifblock
...
chore: VM: don't export Extern::VerifyBlockSig
2023-01-04 12:18:02 +01:00
Geoff Stuart
e8aa95c1d3
Merge pull request #9956 from filecoin-project/fix/remove-unused-env
...
fix: bench: remove unused env
2023-01-03 11:32:44 -05:00
Geoff Stuart
bc6afa9d59
Merge pull request #9884 from filecoin-project/fix/update-sealer-readme
...
chore: docs: Update storage/readme
2023-01-03 11:32:27 -05:00
Geoff Stuart
19a88e2735
Merge pull request #9912 from filecoin-project/revert-9868-id/fix-snapcraft
...
Revert "_build_ Set noexecstack on snapcraft builds"
2023-01-03 10:36:48 -05:00
Geoff Stuart
460c91b93f
Remove accidental changes to sectors.go
2023-01-03 10:20:34 -05:00
ychiao
7029364f4d
check non-existent block hash
2023-01-02 17:21:47 +08:00
hanabi1224
83554afebc
Merge remote-tracking branch 'origin/master' into close-write
2023-01-02 16:42:21 +08:00
Phi
c6f69946be
fix: bench: remove unused env
...
fix: bench: remove unused environment variable.
2023-01-02 09:07:45 +01:00
ychiao
f8e215c817
itests: Eth JSON-RPC: EthGetBlockByHash and EthGetBlockByNumber
2023-01-02 11:20:05 +08:00
Aayush Rajasekaran
a4d93d7088
feat: docgen: use real values for Eth types ( #9938 )
2022-12-27 16:15:22 +00:00
beck
0f9d198dbd
add renew max-sectors flag
2022-12-25 21:05:44 +08:00
Aayush
a5851a1763
Merge branch 'master' into feat/nv18-fevm
2022-12-23 16:37:26 -05:00
Aayush Rajasekaran
cf6593ff50
Merge pull request #9935 from filecoin-project/asr/fixup-docs
...
fix: docgen: correctly check for exported fields
2022-12-23 16:11:58 -05:00
Aayush Rajasekaran
7c916c10cf
Merge pull request #9904 from filecoin-project/asr/put-tsk
...
fix: chainstore: store tipsetkeys in the blockstore
2022-12-23 14:17:02 -05:00
raulk
f532825fe0
Merge pull request #9937 from filecoin-project/raulk/merge-wallaby
2022-12-23 18:27:11 +00:00
Raúl Kripalani
5c8a02f92a
back out bundle and network changes.
2022-12-23 18:26:41 +00:00
Raúl Kripalani
a22518d96d
remove unused var.
2022-12-23 18:21:40 +00:00
Raúl Kripalani
a469840290
merge ntwk/wallaby into feat/nv18-fevm.
...
Unfortunately some important changes to make this branch
consistent and functional only existed on the wallaby branch.
So this commit brings them in sync.
2022-12-23 18:20:46 +00:00
Aayush
f60f02c1ac
fix: store tipsetkeys in the blockstore
2022-12-23 13:14:06 -05:00
Raúl Kripalani
f44bd27f7b
fix: eth_blockNumber: make it aware of null rounds.
2022-12-23 18:06:33 +00:00
Raúl Kripalani
a18b3583be
upgrade to builtin-actors aed216d4deefbf9cdc39770e6869360bb6d30144
2022-12-23 18:06:20 +00:00
Aayush
f4ffff7334
fix: docgen: correctly check for exported fields
2022-12-23 12:59:12 -05:00
Raúl Kripalani
c7efaaad7e
refine docs.
2022-12-23 17:20:57 +00:00
Raúl Kripalani
9505ac88ba
add docs.
2022-12-23 17:20:57 +00:00
Raúl Kripalani
8a92e8ea70
add test coverage.
2022-12-23 17:20:57 +00:00
Raúl Kripalani
b8b3b5d48b
fix: Eth JSON-RPC API: eth_getTransactionReceipt logs-related fixes.
...
Hardhat doesn't like logs: null in transaction receipts when no logs
were emitted. Wants empty array.
Size logsBloom correctly.
2022-12-23 17:20:57 +00:00
Raúl Kripalani
08382c6f48
regen docs.
2022-12-23 17:20:57 +00:00
ychiao
60c9832429
fix nonce
2022-12-23 17:20:57 +00:00
Raúl Kripalani
4411fd7f81
eth_getTransactionByHash: return nil in some fields when tx is in mpool.
2022-12-23 17:20:57 +00:00
Raúl Kripalani
7ed79fece6
fix: eth_getTransactionByHash: return hash.
2022-12-23 17:20:57 +00:00
Aayush Rajasekaran
336a0e5b85
Merge pull request #9931 from filecoin-project/asr/migration
...
feat: implement and test the v18 migration
2022-12-22 13:24:53 -05:00
Aayush
9d3e50f140
feat: implement and test the v18 migration
2022-12-22 13:05:00 -05:00
Aayush Rajasekaran
6faa901914
Merge pull request #9932 from filecoin-project/raulk/eth-jsonrpc-api-fixes-1
...
fix: Eth JSON-RPC API: eth_getTransactionByHash should return nil when not found
2022-12-22 10:22:46 -05:00
Raúl Kripalani
bb5cb19607
fix: Eth JSON-RPC API: eth_getTransactionByHash should return nil when not found.
2022-12-22 11:47:46 +00:00
raulk and Shrenuj Bansal
e7aa7cb04f
add a basic FEVM integration test. ( #9922 )
...
* add a basic FEVM integration test.
Exercises f4 addresses, placeholder transitions, Ethereum Account.
* remove unused parameter from newEthTxFromFilecoinMessageLookup.
* break when found in newEthTxFromFilecoinMessageLookup.
* fixup test.
* lint and gen.
* move test to itests root package.
Co-authored-by: Shrenuj Bansal <shrenuj.bansal@protocol.ai >
2022-12-21 15:12:07 -05:00
Aayush Rajasekaran
7073b33d9b
Merge pull request #9929 from filecoin-project/asr/ethaccount-refinements
...
feat: consensus: only embryos with nonce 0 are valid senders
2022-12-21 12:52:33 -05:00
Shrenuj Bansal
2bdae2f444
test: Add f4 address integration test and cli to generate eth address from code ( #9924 )
...
* Add f4 integration test and cli to generate eth addr from code
* make gen and docsgen
* fix lint
* address comments
* make gen and make docsgen sigh
* address moar comments
* use existing APIs to determine actor types
* Add IsEvmActor API
* "strings are bad" -Geoff
2022-12-21 12:51:22 -05:00
Aayush
5ff6654c2b
feat: consensus: only embryos with nonce 0 are valid senders
2022-12-21 11:15:55 -05:00
Geoff Stuart
2b396b5c0a
Merge pull request #9919 from filecoin-project/gstuart/maybe-deflake-test
...
fix: test: Increase blocktime in TestWindowPostNoMinerStorage
2022-12-21 10:56:01 -05:00
raulk
d9c13f19b0
fix: signature validation cache for messages with Delegated signatures. ( #9916 )
2022-12-20 22:49:53 +00:00
Geoff Stuart
448b9424e9
Increase blocktime in test
2022-12-20 10:52:47 -05:00
Aayush Rajasekaran
28e61691d8
Merge pull request #9911 from filecoin-project/asr/ethaccount-test
...
Test: EthAccount abstraction: Nonce is updated correctly
2022-12-19 22:55:05 -05:00
Aayush
de62a7d1e1
Test: EthAccount abstraction: Nonce is updated correctly
2022-12-19 22:53:03 -05:00
Aayush Rajasekaran
d55100b6a8
Merge pull request #9915 from filecoin-project/asr/update-fvm
...
Update to FVM 3.0.0-alpha.17, actors dev/20221219-fvm-m2
2022-12-19 22:46:21 -05:00
Aayush
1f3c23dc87
Update to FVM 3.0.0-alpha.17, actors dev/20221219-fvm-m2
2022-12-19 22:42:30 -05:00
Ian Davis
cfb4e62503
Revert "_build_ Set noexecstack on snapcraft builds"
2022-12-19 13:21:27 -08:00
Shrenuj Bansal
3d3bce6702
Merge pull request #9897 from filecoin-project/sbansal/eth-state-cli
...
feat: cli: Add cli to inspect Eth addresses and simulate calls
2022-12-19 14:50:52 -05:00
Ian Davis
62f126daff
Merge pull request #9751 from filecoin-project/id/remove-packer
...
_build_: Remove support for AMIs and DO Droplets
2022-12-19 11:46:10 -08:00
Shrenuj Bansal
d916253cb5
small nit
2022-12-19 14:41:46 -05:00
Shrenuj Bansal
c96608cd33
make gen and docsgen
2022-12-19 13:40:12 -05:00
Shrenuj Bansal
8baa48256a
Address more comments
2022-12-19 13:19:52 -05:00
Aayush Rajasekaran
a452ab7157
Merge pull request #9907 from filecoin-project/asr/update-ffi-actors-no-merge
...
Update FFI and actors (dev/20221218-fvm-m2)
2022-12-19 13:17:39 -05:00
Shrenuj Bansal
f14eda4468
address comments
2022-12-19 13:05:11 -05:00
Shrenuj Bansal
c2629b0a96
Use StateGetActor instead of StateAccountKey
2022-12-19 12:49:45 -05:00
ychiao
20f27af97e
eth: rpc: various Ethereum JSON-RPC API fixes ( #9837 )
...
Co-authored-by: Raúl Kripalani <raul@protocol.ai >
Fixes https://github.com/filecoin-project/ref-fvm/issues/1016
Fixes https://github.com/filecoin-project/ref-fvm/issues/1158
Fixes https://github.com/filecoin-project/ref-fvm/issues/1196
Fixes https://github.com/filecoin-project/ref-fvm/issues/1269
Fixes https://github.com/filecoin-project/lotus/issues/9820
2022-12-19 16:45:32 +00:00
Aayush Rajasekaran
6388eca129
Merge pull request #9903 from filecoin-project/fix/splitstore-compact-dlock
...
fix: splitstore: Don't deadlock in mpool protector
2022-12-19 10:56:53 -05:00
Aayush
669c76ef6e
Update FFI and actors (dev/20221218-fvm-m2)
2022-12-18 17:36:59 -05:00
Łukasz Magiera
156ba420c3
fix: splitstore: Don't deadlock in mpool protector
2022-12-17 13:14:50 +01:00
Geoff Stuart
5f4ccfd790
Merge pull request #9901 from filecoin-project/gstuart/merge-fevm-into-events
...
chore: merge fevm into events
2022-12-16 17:24:59 -05:00
Geoff Stuart
4ae498a72e
Fixes
2022-12-16 17:24:46 -05:00
Aayush
28b4ebd52b
chore: VM: don't export Extern::VerifyBlockSig
2022-12-16 16:54:09 -05:00
Geoff Stuart
92f3a7b050
Merge branch 'feat/nv18-fevm' into feat/nv18-events
2022-12-16 16:27:14 -05:00
Aayush Rajasekaran
c9f1b18264
Merge pull request #9900 from filecoin-project/gstuart/eth-refactor-fixup
...
chore: eth refactor fixup
2022-12-16 14:53:37 -05:00
Geoff Stuart
bc7c190db0
Move all eth stuff into ethtypes
2022-12-16 13:48:06 -05:00
Shrenuj Bansal
cbc61a274f
small correction on cli usage
2022-12-16 13:16:29 -05:00
Shrenuj Bansal
4b2ff01a55
make gen and lint
2022-12-16 13:03:27 -05:00
Shrenuj Bansal
d71f5a7d12
Add cli to inspect Eth addresses and simulate calls
2022-12-16 12:54:50 -05:00
Aayush
7ea690d4be
Merge branch 'master' into feat/nv18-fevm
2022-12-16 11:52:41 -05:00
Aayush Rajasekaran
503bdb5c34
Merge pull request #9831 from filecoin-project/asr/account-abstraction
...
Account abstraction
2022-12-16 11:02:04 -05:00
Geoff Stuart
1dee884358
Merge pull request #9890 from filecoin-project/id/fix-docker-sha-push
...
Don't include network when publishing mainnet sha image
2022-12-16 09:47:30 -05:00
hanabi1224
6ae7cdab64
call Stream.CloseWrite right after writing
2022-12-16 17:22:53 +08:00
Ian Davis
22ca06f6a1
Use short SHA for docker image tags
2022-12-15 16:51:03 -08:00
Geoff Stuart
425d8a7fcf
Merge pull request #9889 from filecoin-project/gstuart/skip-raft-test
...
chore: Skip TestGoRPCAuth until Raft is fixed
2022-12-15 19:17:37 -05:00
Geoff Stuart
dbb52ec5b4
Skip TestGoRPCAuth until Raft is fixed
2022-12-15 18:57:58 -05:00
Ian Davis
d2a2fbb858
Don't include network when publishing mainnet sha image
2022-12-15 15:54:08 -08:00
Aayush
54cb97af3f
Expand EthAccount abstraction test
2022-12-15 17:22:56 -05:00
Aayush
160bcd64a6
Messagepool: check sender is valid for sending
2022-12-15 16:56:25 -05:00
Aayush
830c3e49d9
Eth: Propogate errors
2022-12-15 16:56:25 -05:00
Aayush
4aa24c2190
Account abstraction: Add test demonstrating workflow
2022-12-15 16:56:25 -05:00
Aayush Rajasekaran
d574eda147
Merge pull request #9886 from filecoin-project/asr/delegated-wallet
...
Support creation and signing of Eth keys
2022-12-15 16:56:10 -05:00
Aayush
f8f07dbc70
Support creation and signing of Eth keys
2022-12-15 16:47:06 -05:00
Geoff Stuart
1dcae9aafd
Merge pull request #9868 from filecoin-project/id/fix-snapcraft
...
_build_ Set noexecstack on snapcraft builds
2022-12-15 15:30:30 -05:00
Geoff Stuart
0b1cc40fb4
Merge pull request #9881 from filecoin-project/gstuart/multisig-flake
...
fix: test: Maybe help with TestMultisigReentrant flakes
2022-12-15 13:18:45 -05:00
Geoff Stuart
806b9a5521
Merge pull request #9874 from filecoin-project/gstuart/always-be-able-to-shutdown
...
fix: daemon: listen for SIGINT and SIGTERM even before node starts
2022-12-15 13:12:29 -05:00
Geoff Stuart and Aayush Rajasekaran
1d5ccab004
Update itests/multisig_test.go
...
Co-authored-by: Aayush Rajasekaran <arajasek94@gmail.com >
2022-12-15 12:55:56 -05:00
Geoff Stuart
88d59f6a5f
Set notifications for SIGTERM and SIGINT when we start the cli
2022-12-15 12:54:41 -05:00
Aayush Rajasekaran
36b9fe6386
Merge pull request #9838 from filecoin-project/asr/chain-id
...
feat: deps: Update FVM3 and actors
2022-12-15 10:48:37 -05:00
Phi
bd28a4bca4
Add snap-sector types
...
Add snap-sector types
2022-12-15 14:29:58 +01:00
Phi
87e384e7fd
Update svg-image
...
We do not depend on specs-storage anymore, this has been moved into lotus (storiface)
2022-12-15 10:49:58 +01:00
Phi
a8b406e7b7
Update svg-file
...
Update svg-file and headings
2022-12-15 10:15:07 +01:00
Geoff Stuart
6ca975e83a
Add cli command to get a list of claims
2022-12-15 01:07:47 -05:00
Geoff Stuart
754f294992
Add cli command for removing expired claims
2022-12-15 01:07:47 -05:00
Geoff Stuart
886a28640f
Quiet wdpost logs, add error log to multisig reentrant
2022-12-15 01:05:54 -05:00
Aayush
69ac84088a
Update the v10 actors testing bundle
2022-12-14 22:17:55 -05:00
Aayush
518e666015
FVM: Set chain ID when creating machine
2022-12-14 21:39:28 -05:00
Aayush
596307b32a
Merge branch 'master' into feat/nv18-fevm
2022-12-14 21:38:30 -05:00
Aayush Rajasekaran
bc22bb1b89
Merge pull request #9876 from filecoin-project/gstuart/update-gst
...
chore: Update go-state-types
2022-12-14 21:00:23 -05:00
Aayush
720451c89e
Merge branch 'master' into feat/nv18-fevm
2022-12-14 19:54:47 -05:00
Geoff Stuart
d615b1c806
Update go-state-types
2022-12-14 19:33:47 -05:00
Aayush Rajasekaran
0c305ed957
Merge pull request #9872 from filecoin-project/gstuart/dont-depend-on-api-refactor-minimal
...
chore: Move eth functions out of api
2022-12-14 17:06:15 -05:00
Geoff Stuart
3497b53b88
Fix lint
2022-12-14 15:26:58 -05:00
Geoff Stuart
442132be70
Move eth types to chain/types/ethtypes
2022-12-14 14:08:38 -05:00
Geoff Stuart
96bb03e1e0
Move EthTxReceipt to api
2022-12-14 14:00:19 -05:00
Aayush Rajasekaran
a264893543
Merge pull request #9873 from filecoin-project/gstuart/print-addr-key-not-found
...
feat: wallet: Print addr when key not found
2022-12-14 13:36:50 -05:00
Geoff Stuart
8c566c3bda
Print addr when key not found
2022-12-14 12:27:06 -05:00
Geoff Stuart
855c35cb88
Move eth functions out of api
2022-12-14 11:57:01 -05:00
Ian Davis
ab611199fd
Set noexecstack on snapcraft builds
...
We're currently failing the auoptmated security review on snapcraft
because the lotus binary has the execstack value set:
https://linux.die.net/man/8/execstack
This commit passes the appropriate flags to ld to disable the execstack
flag when building the binaries for snapcraft:
https://linux.die.net/man/1/ld
We may want to consider disabling this as part of the main build.
Research seems to indicate that allow the executable stack can lead to
security issues, but I am not enough of a security expert to know for
sure what the right call here is:
https://f0rm2l1n.github.io/2022-04-02-What-is-happended-to-execstack/
2022-12-13 17:56:28 -08:00
Aayush Rajasekaran
1ddbb417f1
Merge pull request #9866 from filecoin-project/gstuart/actor-key-refactor
...
chore: Drop actor keys from chain/actors/manifest.go
2022-12-13 20:04:53 -05:00
Geoff Stuart
1a9e8ac35d
Merge pull request #9867 from filecoin-project/id/fix-macos-build
...
_build_: Fix Macos M1 and universal binary builds
2022-12-13 19:45:45 -05:00
Ian Davis
8960c11f86
Add otool -hv check to make sure binary is correct
2022-12-13 16:16:09 -08:00
Ian Davis
93d12e1642
Add v prefix to .tar.gz file names
2022-12-13 16:16:09 -08:00
Ian Davis
9720ce68f2
Download the right go binary on darwin-arm64
2022-12-13 16:16:09 -08:00
Geoff Stuart
ae4010ffb6
Drop actor keys from chain/actors/manifest.go
2022-12-13 18:02:34 -05:00
Geoff Stuart
f3830b60ae
Merge pull request #9861 from filecoin-project/gstuart/use-method-num-for-method-nums
...
Chore: Use abi.MethodNum instead of uint64 for method nums
2022-12-13 13:03:06 -05:00
Geoff Stuart
e1926a06e8
Use abi.MethodNum instead of uint64 for method nums
2022-12-13 12:29:31 -05:00
Shrenuj Bansal
ccf1ba2b8a
Merge pull request #9860 from filecoin-project/sbansal/merge-releases-to-master-20221213
...
chore: merge releases back into master
2022-12-13 12:10:56 -05:00
Shrenuj Bansal
3b33f65408
chore: merge releases back into master
2022-12-13 10:53:37 -05:00
Alfonso de la Rocha
3988cc9b2c
disabling cb delivery delay for sync tests
2022-12-13 14:50:02 +01:00
Alfonso de la Rocha
d574d04075
set small cb delivery delay for paych itests
2022-12-13 13:03:42 +01:00
Alfonso de la Rocha
939e515d23
fix race in cb cache
2022-12-13 12:45:01 +01:00
Alfonso de la Rocha
f2cc452d4c
remove error from rcvBlock. type/docs gen
2022-12-13 12:13:20 +01:00
Alfonso de la Rocha
91bd679d1e
consistent broadcast delay as build param
2022-12-13 11:13:51 +01:00
Alfonso de la Rocha
894da941af
Merge branch 'master' into adlrocha/consistent-bcast
2022-12-13 10:31:59 +01:00
Jiaying Wang
64059ca87e
Merge pull request #9851 from filecoin-project/jen/19
...
build: release: v1.19.0
2022-12-12 22:51:39 -05:00
Jennifer Wang
8574fa1350
Merge branch 'release/v1.19.0' into jen/19
2022-12-12 22:21:10 -05:00
Jiaying Wang
2e769f1f0a
Merge pull request #9807 from filecoin-project/sbansal/release_v1.19.0_final
...
chore: update CHANGELOG.md for 1.19.0
2022-12-12 21:41:02 -05:00
Aayush Rajasekaran
59431631aa
Merge pull request #9843 from filecoin-project/gstuart/fix-sector-not-found
...
fix: miner: Check for nil returns from StateSectorGetInfo
2022-12-12 21:24:00 -05:00
Jennifer Wang
a56c7aca17
update changelog
2022-12-12 21:22:19 -05:00
Jiaying Wang
d674c02c43
Merge pull request #9814 from filecoin-project/jen/cherrypick
...
fix: ci: release title fix
2022-12-12 16:23:45 -05:00
Shrenuj Bansal
4892e25800
Merge pull request #9845 from filecoin-project/sbansal/frc42-method-num-cli
...
cli: Add lotus-shed cli for computing frc42 method num
2022-12-12 13:07:06 -05:00
Shrenuj Bansal
a5d773da9f
go mod changes
2022-12-12 12:03:06 -05:00
Shrenuj Bansal
466f0c583f
cli: Add lotus-shed cli for computing frc42 method num
2022-12-12 11:45:44 -05:00
Geoff Stuart
f95e6602a0
Check for nil returns from StateSectorGetInfo
2022-12-12 10:44:08 -05:00
Geoff Stuart
33a176eae4
Merge pull request #9753 from filecoin-project/gstuart/fix-devnet-deals
...
fix: cli: Check upper bound for deal duration
2022-12-12 09:33:23 -05:00
Jennifer Wang
e89af899a3
update changelog
2022-12-10 23:40:30 -05:00
Jiaying Wang
da3892f902
Merge pull request #9829 from filecoin-project/asr/backport-panic-fix-1.19
...
chore: backport: panic fix
2022-12-10 23:10:08 -05:00
Jiaying Wang
9416ceb7de
Merge pull request #9833 from filecoin-project/release/v1.18.2
...
build: release: v1.18.2
2022-12-10 22:55:38 -05:00
Jiaying Wang
2cbc29ea09
Merge branch 'releases' into release/v1.18.2
2022-12-10 22:46:32 -05:00
Jiaying Wang
0b30261e5c
Merge pull request #9832 from filecoin-project/jen/chan
...
release: v1.18.2
2022-12-10 22:45:38 -05:00
Jennifer Wang
ea4b57854b
v1.18.2
2022-12-10 22:31:39 -05:00
Jiaying Wang
5c656133e2
Merge pull request #9830 from filecoin-project/asr/backport-panic-fix-1.18
...
chore: backport: panic fix
2022-12-10 22:12:40 -05:00
Łukasz Magiera
1a5e38ecf9
sealing: Add a guard check to getExpirationCached when sector not found
2022-12-10 19:00:17 -05:00
Łukasz Magiera
887f00856e
fix: sealing: Avoid nil dereference in debug log
2022-12-10 19:00:15 -05:00
Łukasz Magiera
b08130a6af
sealing: Add a guard check to getExpirationCached when sector not found
2022-12-10 18:56:19 -05:00
Łukasz Magiera
2871377cee
fix: sealing: Avoid nil dereference in debug log
2022-12-10 18:56:09 -05:00
Aayush Rajasekaran
ab2580963c
Merge pull request #9822 from filecoin-project/fix/sealing-updateinput-panic
...
fix: sealing: Avoid nil dereference in debug log
2022-12-10 18:51:58 -05:00
Geoff Stuart
903242a2a7
Merge pull request #9823 from filecoin-project/fix/sp-start-time-info
...
fix: miner info: Output correct StartTime
2022-12-09 16:16:59 -05:00
Geoff Stuart
2f8cdb4c4b
Merge pull request #9824 from filecoin-project/fix/miner-startup-bin-log
...
fix: don't log sp address in binary on node startup
2022-12-09 16:16:40 -05:00
Geoff Stuart
29623a1959
Merge pull request #9826 from filecoin-project/id/fix-docker-deployments
...
_build_: Fix docker deployments
2022-12-09 16:12:19 -05:00
Geoff Stuart
b135f7dbce
go mod tidy
2022-12-09 15:40:04 -05:00
Geoff Stuart
4936b7e1ae
make gen
2022-12-09 15:20:51 -05:00
Phi-rjan
401c655d8c
Add link to Node cluster docs
...
Add link to Node cluster docs
2022-12-09 20:42:46 +01:00
Ian Davis
958fc69906
Fix linter issues
2022-12-09 18:47:21 +00:00
Ian Davis
7722155db1
go mody tidy
2022-12-09 18:40:35 +00:00
Ian Davis
5ad27f56b1
Also push docker images to SHA tags
2022-12-09 18:35:29 +00:00
Ian Davis
0635c1c3b5
Also build / push lotus images
2022-12-09 18:27:31 +00:00
Ian Davis
3b9b688c97
Deploy lotus-all-in-one:master on all master merges
2022-12-09 18:26:51 +00:00
Ian Davis
36183c72d1
Remove echo so docker images actually push
2022-12-09 18:18:08 +00:00
Łukasz Magiera
1234647b9d
fix: don't log sp address in binary on node startup
2022-12-09 10:27:33 +01:00
Łukasz Magiera
c46bf475f7
fix: miner info: Output correct StartTime
2022-12-09 10:23:49 +01:00
Łukasz Magiera
4854bef927
mod tidy, fix lint
2022-12-09 10:09:49 +01:00
Łukasz Magiera
f0bf3408bc
sealing: Add a guard check to getExpirationCached when sector not found
2022-12-09 09:56:11 +01:00
Łukasz Magiera
2fd0cb4aff
fix: sealing: Avoid nil dereference in debug log
2022-12-09 09:54:28 +01:00
Aayush Rajasekaran
6da93cf921
Merge pull request #9819 from filecoin-project/issue/ref-fvm-1207
...
Fix getting event logs by topic
2022-12-08 14:29:33 -05:00
Phi-rjan
bf17d61686
Add links to docs
...
Add links to documentation where its applicable.
2022-12-08 18:26:06 +01:00
Ian Davis
f4cc5541e4
Fix getting event logs by topic
2022-12-08 17:18:45 +00:00
Aayush Rajasekaran
616790bfa0
Merge pull request #9815 from filecoin-project/issue/ref-fvm-1206
...
Use correct field for upper epoch range in EthGetLogs
2022-12-08 09:19:10 -05:00
Ian Davis
485d161a5e
Use correct field for upper epoch range in EthGetLogs
2022-12-08 12:34:16 +00:00
Phi-rjan
372f8274ae
Add SnapDeals highlight to changelog
...
Add a SnapDeals highlight to changelog for v1.19.0
2022-12-08 13:13:31 +01:00
Łukasz Magiera
a10c014ba6
Merge pull request #7398 from ChainSafe/libp2p-pubsub-tracer
...
Lotus extended pubsub tracer
2022-12-08 12:14:56 +01:00
Phi-rjan
7661c1526b
Update CHANGELOG with sub-bullets
...
Updates the changelog with:
- Sub-bullets explaining the PRs for the most relevant improvements and enhancements.
- Adds more description to the Highlights and links
2022-12-08 10:58:58 +01:00
Ian Davis
cdb4e7bc95
Switch release name template from "Release vX.X.X" to "vX.X.X":wq
2022-12-08 03:06:58 -05:00
Jiaying Wang
0026ad8c09
Merge pull request #9813 from filecoin-project/jennijuju-patch-4
...
feat: ux: add value option to message invocation cli
2022-12-08 03:05:13 -05:00
Jennifer Wang
3bb12f4417
fmt
2022-12-08 02:56:45 -05:00
Jennifer Wang
3a6d37c6a2
make jen
2022-12-08 02:56:13 -05:00
Jiaying Wang
129531b03e
Update chain.go
2022-12-08 02:47:39 -05:00
Jiaying Wang
5a3b6becf4
Merge pull request #9792 from filecoin-project/id/update-release-name-template
...
_ci_ Switch release name template from "Release vX.X.X" to "vX.X.X"
2022-12-08 02:44:29 -05:00
Steven Allen
266492fa1c
Merge branch 'feat/nv18-fevm' into feat/nv18-events
2022-12-07 22:16:56 -08:00
Steven Allen
8504401d69
Merge branch 'master' into feat/nv18-fevm
2022-12-07 21:48:15 -08:00
Steven Allen
1ba2f23efc
chore: update (wip) nv18 actors and fvm-v3 ( #9812 )
2022-12-08 05:44:08 +00:00
Aayush Rajasekaran
cfceafb576
Merge pull request #9808 from filecoin-project/issue/ref-fvm-1189
...
Use EthHash compatible type for subscription and filter IDs
2022-12-07 15:28:33 -05:00
Ian Davis
05f983dc10
Mop up some missed package changes
2022-12-07 19:57:58 +00:00
Ian Davis
1afc32f650
Move FilterID to types package
2022-12-07 18:34:19 +00:00
Ian Davis
067f08f092
Fix marshal test
2022-12-07 13:53:25 +00:00
Ian Davis
9d26ba5636
make gen
2022-12-07 12:58:50 +00:00
Ian Davis
56259c40fc
Use EthHash compatible type for subscription and filter IDs
2022-12-07 12:51:03 +00:00
Shrenuj Bansal
2b82a46b02
update CHANGELOG.md for 1.19.0
2022-12-06 20:21:45 -05:00
Jiaying Wang
84a1bda771
Merge pull request #9806 from filecoin-project/sbansal/merge_from_1.18.1
...
chore: Merge releases into v1.19.0 and bump version
2022-12-06 18:05:27 -05:00
Shrenuj Bansal
4e9322c1e5
remove conflict remnant
2022-12-06 17:55:52 -05:00
Shrenuj Bansal
e14f0c361f
make docsgen
2022-12-06 17:52:01 -05:00
Shrenuj Bansal
43315670fa
Merge branch 'releases' into sbansal/merge_from_1.18.1
2022-12-06 17:48:37 -05:00
Shrenuj Bansal
f864c499a3
Merge branch 'release/v1.18.1' into sbansal/merge_from_1.18.1
2022-12-06 17:47:28 -05:00
Shrenuj Bansal
83acf590f8
Merge pull request #9805 from filecoin-project/sbansal/update_master_from_releases
...
chore: merge releases into master
2022-12-06 17:34:00 -05:00
Shrenuj Bansal
dbe5278afa
fix conflicts
2022-12-06 17:29:32 -05:00
Shrenuj Bansal
b624704ecd
Merge branch 'releases' into sbansal/update_master_from_releases
2022-12-06 17:21:08 -05:00
Shrenuj Bansal
6b77b949d7
Merge pull request #9804 from filecoin-project/sbansal/v1.19.0_backport_20221206
...
chore: Backport changes to v1.19.0
2022-12-06 16:30:22 -05:00
Ian Davis
c726e4e86a
Remove build-debug
2022-12-06 15:37:51 -05:00
Ian Davis
35bcbdc9d0
Remove trigger-testplans, lotus-soup
2022-12-06 15:37:43 -05:00
Ian Davis
d506d6755d
Remove testplans/*
2022-12-06 15:37:21 -05:00
Shrenuj Bansal
b491734ec4
Merge pull request #9802 from filecoin-project/id/remove-lotus-soup-testplans
...
_ci_ Remove lotus soup + testplans
2022-12-06 13:38:23 -05:00
Łukasz Magiera
8577272164
fix: cliutil: Fix URL-based API endpoint parsing
2022-12-06 12:13:56 -05:00
Ian Davis
cf56f246b9
Rely on local env varibale instead of context
...
We have this env varible set in the project settings as well as the
CircleCI context. Due to what seems like a bug on CircleCI's eng, the
using the context causes our release flow to halt when some member of
the team initiate releases, but not others. So for now, it's safest to
rely on the project settings, which definitely won't cause this issue.
2022-12-06 12:13:32 -05:00
Rod Vagg
d9cd19632e
deps: upgrade go-merkledag to 0.8.1 ( #9717 )
...
Ref: https://github.com/ipfs/go-merkledag/releases/tag/v0.8.1
2022-12-06 12:11:41 -05:00
Ian Davis
b747806842
Remove build-debug
2022-12-06 15:27:15 +00:00
Ian Davis
ec19e2949e
Remove trigger-testplans, lotus-soup
2022-12-06 15:26:52 +00:00
Ian Davis
70d10ab003
Remove testplans/*
2022-12-06 15:25:07 +00:00
Łukasz Magiera
be6e586661
Merge pull request #9796 from filecoin-project/cleanup-splitstore-opts
...
fix: docs: remove unused flag from chain prune
2022-12-06 10:54:19 +01:00
zenground0
e1a4cf02f4
Remove unused flag for clarity
2022-12-05 16:06:03 -07:00
Alfonso de la Rocha
25edb23c3f
minor fix after rebase
2022-12-05 18:22:10 +01:00
Alfonso de la Rocha
075216d9da
Merge remote-tracking branch 'upstream/master' into adlrocha/cns-iface-master
2022-12-05 18:16:14 +01:00
Ian Davis
f8754d91f7
Switch release name template from "Release vX.X.X" to "vX.X.X":wq
2022-12-05 15:23:40 +00:00
Łukasz Magiera
3155b345c1
Merge pull request #9784 from filecoin-project/frrist/config-migration-worker-limit
...
chain/migrations refactor: optionally set max migration workers
2022-12-05 10:05:44 +01:00
Łukasz Magiera
94e4f1baa5
Merge pull request #9785 from filecoin-project/fix/chainimport-test-flaky
...
fix: chain: Fix flaky TestChainExportImport
2022-12-05 10:03:23 +01:00
Łukasz Magiera
a4c999a098
Merge pull request #9773 from filecoin-project/snissn/fix/make-docsgen-cli
...
fix make docsgen-cli use python3
2022-12-05 10:02:42 +01:00
Frrist and Łukasz Magiera
9a9e00085e
Update chain/consensus/filcns/upgrades.go
...
Co-authored-by: Łukasz Magiera <magik6k@users.noreply.github.com >
2022-12-02 15:26:41 -08:00
Łukasz Magiera
cdf169ed83
fix: chain: Fix flaky TestChainExportImport
2022-12-02 22:13:12 +01:00
Łukasz Magiera
1791db57f6
Merge pull request #9780 from filecoin-project/fix/parse-api-urls
...
fix: cliutil: Fix URL-based API endpoint parsing
2022-12-02 22:09:40 +01:00
frrist
0236952955
refactor: optionally set max migration workers
...
- configure via LOTUS_MIGRATION_MAX_WORKER_COUNT
2022-12-02 11:40:43 -08:00
Łukasz Magiera
11633ff1f7
fix: cliutil: Fix URL-based API endpoint parsing
2022-12-02 20:16:40 +01:00
mike seiler
65a91f38e0
change supported version of python to 3
2022-12-02 10:46:09 -07:00
mike seiler
adc62bd732
fix for mac to be able to build docsgen-cli. changes python command to python3
2022-12-02 10:41:22 -07:00
Raúl Kripalani
f681a350fc
upgrade go-jsonrpc to v0.1.9.
2022-12-01 21:58:25 +00:00
Geoff Stuart
d886b46139
Merge pull request #9766 from filecoin-project/asr/bump-pubsub
...
chore: deps: update go-libp2p-pubsub
2022-12-01 16:30:17 -05:00
Aayush Rajasekaran
a58f1284b4
chore: deps: update go-libp2p-pubsub
2022-12-01 12:21:47 -06:00
Aayush Rajasekaran
159528e7ae
Merge pull request #9755 from filecoin-project/asr/master-into-nv18-fevm
...
Merge master into feat/nv18-fevm
2022-11-29 20:30:55 -06:00
Aayush Rajasekaran
6443e72ad7
Merge branch 'master' into feat/nv18-fevm
2022-11-29 20:16:12 -06:00
Aayush Rajasekaran
eccea8c7e2
Merge pull request #9754 from filecoin-project/asr/bump-fvm-and-actors
...
Update FVM & actors
2022-11-29 20:01:50 -06:00
Aayush Rajasekaran
12ad791917
Re-enable TestMultisigReentrant
2022-11-29 19:45:32 -06:00
Aayush Rajasekaran
38fe5b7eff
Update FVM & actors
2022-11-29 19:18:59 -06:00
Geoff Stuart
c2e469095c
Check upper bound for deal duration
2022-11-29 15:18:29 -05:00
Ian Davis
76baeb3214
Remove support for AMIs and DO Droplets
...
This discontinues packer builds and stops publishing (or attempting to
publish) them to AWS / DO. These have been broken for more than 6
months, and no one seems to have complained or even noticed, which seems
to indicate they are not being used much. For cloud platfrom support, we
can optionally write docker / terraform automation that folks could use
to more easily launch instances to cloud environments instead.
2022-11-29 17:21:28 +00:00
Łukasz Magiera
6abf7384e2
Merge pull request #9741 from filecoin-project/feat/faster-snapshot-import
...
feat: chain: Faster snapshot imports, zstd import
2022-11-29 18:17:36 +01:00
Ian Davis
c3223f446e
Merge pull request #9625 from filecoin-project/btrfly-calib-all-in-one
...
_ci_ Build docker containers automatically for butterflynet, calibnet, and debug
2022-11-29 17:15:58 +00:00
Łukasz Magiera
7b5e8d1e96
Merge pull request #9748 from filecoin-project/feat/metrics-tag-storage-use
...
feat: metrics: Tag storage path types
2022-11-29 18:06:23 +01:00
Ian Davis
e8d769a574
Merge branch 'main' into btrfly-calib-all-in-one
2022-11-29 16:32:14 +00:00
Aayush Rajasekaran
275d9c1553
Merge pull request #9599 from filecoin-project/feat/nv18
...
NV18 Staging Branch
2022-11-29 10:22:34 -06:00
Aayush Rajasekaran
30acef6c75
make jen
2022-11-29 10:11:48 -06:00
Aayush Rajasekaran
15afe384ff
Merge branch 'master' into feat/nv18
2022-11-29 10:01:51 -06:00
Łukasz Magiera
32efd0fbc2
Merge pull request #9497 from ipfs-force-community/fix/add_check_gaspremium
...
fix:mpool add gaspremium check when less than maxfee
2022-11-29 16:53:22 +01:00
Łukasz Magiera
b1045c39ed
Merge pull request #9712 from filecoin-project/id/update-go-version
...
_build_: Update to Go Version 1.18.8
2022-11-29 16:51:21 +01:00
Geoff Stuart
61ac270876
Set more timeouts to 30s
2022-11-29 10:34:19 -05:00
Aayush Rajasekaran
c182e6d3f1
Temporarily disable TestMultisigReentrant
2022-11-29 09:31:09 -06:00
Łukasz Magiera
1053310511
Merge pull request #9740 from filecoin-project/id/remove-circleci-context
...
_ci_: Rely on local env varibale instead of context
2022-11-29 16:21:58 +01:00
Geoff Stuart
6c38e0e9cc
Merge pull request #9747 from filecoin-project/fix/unsealpiece-hang
...
fix: itests: Add missing task type in TestUnsealPiece
2022-11-29 10:20:35 -05:00
Ian Davis
17a130d13d
Merge branch 'main' into btrfly-calib-all-in-one
2022-11-29 14:50:02 +00:00
Ian Davis
dfbf4d0f43
Bump http-server-timeout default to 30s
2022-11-29 14:38:44 +00:00
Ian Davis
0a4efd4820
Merge branch 'main' into id/update-go-version
2022-11-29 14:29:11 +00:00
Łukasz Magiera
ac8ab3ef9e
feat: chain: Faster snapshot imports, zstd imports
2022-11-29 14:10:15 +01:00
Łukasz Magiera
57c31a79e7
feat: metrics: Tag storage path types
2022-11-29 13:06:56 +01:00
Łukasz Magiera
33bf148fcf
fix: itests: Add missing task type in TestUnsealPiece
2022-11-29 13:02:45 +01:00
Łukasz Magiera
a0422f6467
Merge pull request #9737 from filecoin-project/feat/cache-sched-worker-calls
...
feat: sched: Cache worker calls
2022-11-29 12:58:46 +01:00
Łukasz Magiera
1597e85906
sched: Address review
2022-11-29 11:46:51 +01:00
Łukasz Magiera
5a458a60c2
fix sched_test
2022-11-29 11:44:57 +01:00
Łukasz Magiera
5881edb75e
feat: sched: Cache worker calls
2022-11-29 11:44:57 +01:00
Jiaying Wang
e68b8e96c7
Merge pull request #9745 from filecoin-project/release/v1.18.1
...
build:release: v1.18.1
2022-11-29 00:10:14 -05:00
c32b8af65f
build:release: v1.18.1 prep ( #9744 )
...
* fix: cli: check found before dereferencing SectorInfo
* v1.18.1 prep
* Docsgen-cli
Co-authored-by: Aayush <arajasek94@gmail.com >
Co-authored-by: Geoff Stuart <geoff.vball@gmail.com >
2022-11-28 23:28:32 -05:00
Łukasz Magiera
d82b2a5804
Merge pull request #9738 from filecoin-project/feat/sched-cycle-metrics
...
feat: sched: Add metrics around sched cycle
2022-11-28 23:57:58 +01:00
Łukasz Magiera
285cc66773
Merge pull request #9648 from filecoin-project/fix/snap-abort-cleanup
...
fix: sealing: More complete snapdeals abort cleanup
2022-11-28 23:26:32 +01:00
Łukasz Magiera
8d090ba6b8
snapdeals cleanup: address review
2022-11-28 23:03:07 +01:00
Ian Davis
6455e759e3
Rely on local env varibale instead of context
...
We have this env varible set in the project settings as well as the
CircleCI context. Due to what seems like a bug on CircleCI's eng, the
using the context causes our release flow to halt when some member of
the team initiate releases, but not others. So for now, it's safest to
rely on the project settings, which definitely won't cause this issue.
2022-11-28 19:54:07 +00:00
Łukasz Magiera
8ba4355cab
Merge pull request #9694 from filecoin-project/9159-allow-lotus-worker-to-unseal-sector-even-if-does-not-store-unsealed-data-long-term
...
fix: sealing: Set all path types for Unseal pipeline to sealing storage
2022-11-28 20:15:17 +01:00
Łukasz Magiera
baa107278d
sched: Fix duplicate view on queue sizes
2022-11-28 19:57:51 +01:00
Łukasz Magiera
c0fce07889
sched: Metrics around scheduldng workload
2022-11-28 19:51:18 +01:00
Łukasz Magiera
8e79238284
Merge pull request #9713 from filecoin-project/asr/handle-activating
...
fix: sealer: Tweak confidence for handleUpdateActivating
2022-11-28 19:10:22 +01:00
Łukasz Magiera
bc879c5bd8
feat: sched: Add metrics around sched cycle
2022-11-28 19:07:35 +01:00
Geoff Stuart
949aa26f52
Make gen
2022-11-28 13:05:44 -05:00
Shrenuj Bansal
03aabc3fc6
Make unsealing part of the no local sealing config
2022-11-28 12:27:38 -05:00
Geoff Stuart
68c9db0c82
small fix
2022-11-28 11:03:30 -05:00
ychiao
f1493fbee7
eth: rpc: fix sendRawTransaction, transactionIndex, feeHistory ( #9736 )
...
* Eth JSON-RPC API: add transactionIndex
* Eth JSON-RPC API: fix EthFeeHistory and EthSendRawTransaction
* Eth JSON-RPC API: fix parsing block parameter for getBlockByNumber
* fix itest
2022-11-27 18:44:43 -08:00
Geoff Stuart
1f70ced8e5
Make http server timeouts configurable for cli commands
2022-11-25 17:32:42 -05:00
Geoff Stuart
e6e50ee9f7
more linter
2022-11-25 17:05:41 -05:00
Geoff Stuart
f04aca767f
Maybe rest of linter errors
2022-11-25 16:41:04 -05:00
Geoff Stuart
d2b7c3889b
Add more timeouts
2022-11-25 16:24:09 -05:00
Geoff Stuart
b55e121642
Fix some more linter errors
2022-11-25 16:19:20 -05:00
Geoff Stuart
e737c1e960
Make gen
2022-11-25 16:06:19 -05:00
Ian Davis
e4fe47d598
Add in two missing error checks
2022-11-25 11:43:26 +00:00
Ian Davis
6770cc69d5
go mod tidy
2022-11-25 11:35:57 +00:00
Ian Davis
9f85d3dca7
Address simple linter issues
2022-11-24 16:32:27 +00:00
Rod Vagg
8fd3875069
deps: upgrade go-merkledag to 0.8.1 ( #9717 )
...
Ref: https://github.com/ipfs/go-merkledag/releases/tag/v0.8.1
2022-11-23 19:25:00 -05:00
Aayush
40278cd3c1
Update to go-state-types v0.10.0-alpha-2
2022-11-23 17:36:49 -05:00
Aayush Rajasekaran
a435aeb991
Merge pull request #9715 from filecoin-project/gstuart/update-gst-backport
...
chore: deps: update go-state-types backport
2022-11-23 15:50:50 -05:00
Aayush Rajasekaran
1f9c04b3f4
Merge pull request #9714 from filecoin-project/gstuart/update-gst
...
chore: deps: Update go-state-types to v0.10.0-alpha-2
2022-11-23 15:50:42 -05:00
Geoff Stuart
2bc070a7d8
Update go-state-types to v0.10.0-alpha-2
2022-11-23 15:31:26 -05:00
Geoff Stuart
4a91d9dcba
Update go-state-types to v0.10.0-alpha-2
2022-11-23 15:29:46 -05:00
Łukasz Magiera
db6532c9d7
moddiff: Nicer diff
2022-11-23 21:24:00 +01:00
Shrenuj Bansal
fa596eee5b
Move unsealed sector from sealing to long term storage after Unseal
2022-11-23 15:22:14 -05:00
Aayush
355a08cd04
fix: sealer: Tweak confidence for handleUpdateActivating
2022-11-23 14:38:57 -05:00
Ian Davis
ca3b7c3bcf
Also update version in CodeQl analysis github action
2022-11-23 19:32:17 +00:00
Ian Davis
9fb818babf
Update to golang 1.18.8 in places I forgot about
2022-11-23 19:31:10 +00:00
Ian Davis
2e04575654
Update to Go Version 1.18.8
2022-11-23 19:00:19 +00:00
Łukasz Magiera
ea9a8303c8
sealing: tasks: TTReleaseUnsealed -> TTFinalizeUnsealed
2022-11-23 18:57:17 +01:00
Łukasz Magiera
d6f73c1a81
sealing: Address snap cleanup review
2022-11-23 18:57:17 +01:00
Łukasz Magiera
dc6c2b68fe
sealing: Fix tests after finalize changes
2022-11-23 18:57:16 +01:00
Łukasz Magiera
87e5549af5
sealing: Split unsealed cleanup from Finalize
2022-11-23 18:57:16 +01:00
Łukasz Magiera
0bba2bd1ba
sealing: Use FinalizeSector in snap abort for cleanup
2022-11-23 18:57:16 +01:00
Łukasz Magiera
7512f82a8d
make gen
2022-11-23 18:57:16 +01:00
Łukasz Magiera
211712bf6d
itests: Test snapdeals abort cleanup
2022-11-23 18:57:16 +01:00
Łukasz Magiera
4ae2d400d1
Merge pull request #9709 from filecoin-project/id/discontinue-ECR
...
_build_: Remove ECR image publishing
2022-11-23 17:43:46 +01:00
Łukasz Magiera
985a4bd730
feat: scripts: go.mod dep diff script
2022-11-23 17:41:39 +01:00
Shrenuj Bansal
2520b16445
Merge pull request #9710 from filecoin-project/sbansal/changelog-update
...
Update CHANGELOG.md
2022-11-23 11:40:43 -05:00
Łukasz Magiera
4c49a4bf67
Merge pull request #9688 from filecoin-project/chore/update-index-provider
...
chore(deps): update index provider 0.9.1
2022-11-23 17:40:09 +01:00
Shrenuj Bansal
724a7e1ebb
Update CHANGELOG.md
2022-11-23 11:35:45 -05:00
Ian Davis
6b4661be92
Remove ECR image publishing
...
This completely removes publishing to Amamzon ECR. ECR is a private
docker repository (like DockerHub), but since it's private is can only
be used internally by PL teams to launch lotus nodes on AWS
infrastructure. No one currently seems to be using it. All the usual
suspects (Boost, Lotus, Infra) have been asked specifically, and said
they don't, and post has been made in the #engres channel to try and
catch anyone else. No one responded saying we should save it.
2022-11-23 16:24:37 +00:00
Łukasz Magiera
0a555eda90
Merge pull request #9706 from filecoin-project/gstuart/datacap-for-each-check
...
fix: Add missing check in datacap for-each
2022-11-23 16:56:43 +01:00
Geoff Stuart
1b437c8b90
Merge pull request #9708 from Aloxaf/fix_sealing_workers
...
fix: cli: show task counts correctly
2022-11-23 09:59:12 -05:00
Łukasz Magiera
0b85c1573e
Merge pull request #9627 from LexLuthr/fix/idx-provdr-connection
...
fix: index-provider: change connection initiation direction between daemon and market
2022-11-23 13:15:17 +01:00
Aloxaf
729952eb88
fix: cli: show task counts correctly
2022-11-23 15:26:53 +08:00
hannahhoward
34d78093e8
chore(deps): update index provider 0.9.1
2022-11-22 20:49:11 -08:00
Shrenuj Bansal
8864d71e7a
Merge pull request #9707 from filecoin-project/sbansal/1.19.0-rc2_version_update
...
Update build version and changelog
2022-11-22 20:32:22 -05:00
Shrenuj Bansal
7b443f5b75
small comment
2022-11-22 20:30:37 -05:00
Shrenuj Bansal
04d3d79ecc
make gen and docsgen
2022-11-22 17:39:28 -05:00
Shrenuj Bansal
1968498794
update build version and changelog
2022-11-22 17:20:33 -05:00
Geoff Stuart
d9df433e98
Add missing check in datacap for each
2022-11-22 15:40:44 -05:00
Steven Allen
176275267b
Merge branch 'feat/nv18' into feat/nv18-fevm
2022-11-22 10:32:26 -08:00
Steven Allen
2651a38f89
Merge branch 'master' into feat/nv18
2022-11-22 10:08:54 -08:00
Geoff Stuart
70dc920f8c
Merge pull request #9703 from filecoin-project/asr/fix-panic
...
fix: cli: check found before dereferencing SectorInfo
2022-11-22 12:54:52 -05:00
Geoff Stuart
2fabffe481
Merge pull request #9704 from filecoin-project/asr/fix-panic-2
...
fix: cli: correctly return error panic-less-ly
2022-11-22 12:54:43 -05:00
Steven Allen and Kevin Li
e78d1306ee
feat: fvm: add support for looking up past tipset CIDs ( #9687 )
...
* feat: add support for generating tipset CIDs
(cherry-picked from feat/nv18-fevm)
* feat: fvm: add support for looking up past tipset CIDs
We do this by adding yet another "getter" to the VM that resolves an
epoch into a TipSetKey.
Co-authored-by: Kevin Li <ychiaoli18@users.noreply.github.com >
2022-11-22 12:41:03 -05:00
Aayush
610a3eee5d
fix: cli: correctly return error panic-less-ly
2022-11-22 12:10:12 -05:00
Aayush
b472de1bcd
fix: cli: check found before dereferencing SectorInfo
2022-11-22 12:06:45 -05:00
Geoff Stuart
64de59ab44
Merge pull request #9700 from filecoin-project/asr/remove-unused-param
...
refactor: build: remove unused MinVerifiedDealSize
2022-11-22 11:22:12 -05:00
Aayush Rajasekaran
0bf439ff94
Merge pull request #9702 from filecoin-project/1.19.0_backport_20221122
...
backport: configurable pre check timeouts and zondax hid update
2022-11-22 11:19:16 -05:00
Łukasz Magiera
87c25e211c
feat: wdpost: Configurable pre-check timeouts
2022-11-22 11:05:56 -05:00
Łukasz Magiera
c117611267
mod tidy
2022-11-22 11:03:53 -05:00
Ian Davis
af29d2d5be
Update Zondax/hid to 0.9.1
...
I updated us to an intermediate version based on a git sha. That version
removed a deprecation warning, but caused issues on older versions of
MacOs (Big Sur and lower). This release of Zondax/hid fixes things in a
way that both removes the deprecation warning and works on older MacOS
versions.
2022-11-22 11:03:40 -05:00
Aayush
0d2d0be8e4
refactor: build: remove unused MinVerifiedDealSize
2022-11-22 10:59:36 -05:00
Aayush Rajasekaran
6067968c07
Merge pull request #9654 from filecoin-project/gstuart/gas-estimation-tooling
...
feat: cli: gas estimation tooling
2022-11-22 09:55:19 -05:00
Łukasz Magiera
0bb7996a4c
Merge pull request #9666 from filecoin-project/sbansal/update-lotus-release-template
...
docs: Update RELEASE_ISSUE_TEMPLATE.md
2022-11-22 12:46:44 +01:00
Alfonso de la Rocha
0b9b89bf2b
minor fix
2022-11-22 10:59:43 +01:00
Alfonso de la Rocha
f5b027eda3
address review
2022-11-22 10:52:11 +01:00
Alfonso de la Rocha
0f92bced9d
Merge branch 'master' into adlrocha/cns-iface-master
2022-11-22 10:28:18 +01:00
Raúl Kripalani
56d60fbbd4
fix git conflict.
2022-11-21 22:40:21 +00:00
lovedret
e56d4b06df
fix: typos in eth based struct ( #9656 )
2022-11-21 22:39:03 +00:00
Shrenuj Bansal
cc1e00b1c4
make gen
2022-11-21 15:23:44 -05:00
Shrenuj Bansal
e4ce056ac6
Set all path types for Unseal pipeline to sealing storage
2022-11-21 14:40:50 -05:00
Łukasz Magiera
a344142581
Merge pull request #9683 from james-anchorage/update-go.rice-v1.0.3
...
chore: update go.rice dependency to v1.0.3
2022-11-21 15:06:06 +01:00
Raúl Kripalani
03a7caf1e6
fix: Eth JSON-RPC API: receipt: logs bloom should be sized 256 bytes.
2022-11-18 20:44:54 +00:00
Raúl Kripalani
b8901ff5fd
fix: Eth JSON-RPC API: return empty logs array in receipt when no logs.
2022-11-18 20:35:57 +00:00
Raúl Kripalani
c474aeee5e
fix: Eth JSON-RPC API: return empty bloom on every block.
2022-11-18 19:49:39 +00:00
Raúl Kripalani
ec667d49f4
fix: Eth JSON-RPC API: empty EthBytes serializes to '0x'.
2022-11-18 19:01:30 +00:00
Shrenuj Bansal
93c2e02235
Merge pull request #9685 from filecoin-project/gstuart/backport-goreleaser
...
baackport: ci: Fix issues with new goreleaser flow
2022-11-18 12:54:11 -05:00
Geoff Stuart
fb90ba1fd1
Merge pull request #9684 from filecoin-project/id/fix-goreleaser
...
_build_: Fix issues with new goreleaser flow
2022-11-18 12:03:29 -05:00
Ian Davis
93698b6a83
Turn on goreleaser debug logging
...
This will give us much more detailed information in the release job, so
we can more easily debug issues when they occur.
2022-11-18 12:01:11 -05:00
Ian Davis
96f5697848
Add binary name to goreleaser build configs
...
Without this name, it assumes all binaries share the name of the project
(i.e. lotus), which causes them all to get renamed and collide when
generating the archive.
2022-11-18 12:01:11 -05:00
Ian Davis
ff5c576a4d
Remove kubo download after installing
...
Goreleaser checks to make sure we don't have a dirty git state when
releasing, which means the kubo download we use to set up IPFS should be
removed before release.
2022-11-18 12:01:11 -05:00
Ian Davis
8586ea5d78
Use new workspace name in build script
2022-11-18 12:01:11 -05:00
Ian Davis
2ae22e11ae
Use context with goreleaser key
2022-11-18 12:01:11 -05:00
Ian Davis
0fd73272ea
Turn on goreleaser debug logging
...
This will give us much more detailed information in the release job, so
we can more easily debug issues when they occur.
2022-11-18 16:34:49 +00:00
Ian Davis
d48b6a0535
Add binary name to goreleaser build configs
...
Without this name, it assumes all binaries share the name of the project
(i.e. lotus), which causes them all to get renamed and collide when
generating the archive.
2022-11-18 16:34:49 +00:00
Ian Davis
81d4342d97
Remove kubo download after installing
...
Goreleaser checks to make sure we don't have a dirty git state when
releasing, which means the kubo download we use to set up IPFS should be
removed before release.
2022-11-18 16:34:03 +00:00
Ian Davis
a0320d0101
Use new workspace name in build script
2022-11-18 16:33:55 +00:00
Ian Davis
5df2d9a4f6
Use context with goreleaser key
2022-11-18 16:33:55 +00:00
James Boer
ccf2fe66c0
update go.rice dependency to v1.0.3
2022-11-18 16:03:27 +00:00
Geoff Stuart
96035005b8
Fold together call functions
2022-11-18 00:10:12 -05:00
Łukasz Magiera
60c79c7d4e
Merge pull request #9680 from filecoin-project/feat/config-post-check-timeout
...
feat: wdpost: Configurable pre-check timeouts
2022-11-17 20:48:23 +01:00
Łukasz Magiera
716b981dc5
Merge pull request #9679 from filecoin-project/id/update-hid
...
fix/build: Update Zondax/hid to 0.9.1
2022-11-17 18:56:48 +01:00
Łukasz Magiera
c82b4a13a1
mod tidy
2022-11-17 18:37:48 +01:00
Łukasz Magiera
71a84bb092
feat: wdpost: Configurable pre-check timeouts
2022-11-17 18:25:30 +01:00
Shrenuj Bansal and Aayush Rajasekaran
46cd0809e1
Update documentation/misc/RELEASE_ISSUE_TEMPLATE.md
...
Co-authored-by: Aayush Rajasekaran <arajasek94@gmail.com >
2022-11-17 12:02:22 -05:00
Steven Allen
348494d7c8
feat: actors: add the evm to the builtin actors shims ( #9672 )
2022-11-17 06:55:40 -08:00
Steven Allen
9c500e119c
fix: wallaby parameters file ( #9675 )
2022-11-16 19:31:36 -08:00
vyzo
5386bc2625
NV18: FEVM: setup FEVM during genesis: create ETH0 actor ( #9664 )
...
* setup FEVM during genesis: create ETH0 actor
* make gen
* doExec expects to,from not from, to
* give EAM a predictable address
* update go-state-types
* proper constructor params
* workaround the situation with empty contracts
* put fevm construction after miner construction
* lint
* fix TestAPI itest
off by 1, the new miner is not 1001 anymore; that's ETH0.
* add itest for ETH0 setup
* improve test: check eth0 address
2022-11-16 17:42:38 -08:00
Aayush Rajasekaran
ea629e1b2a
Merge pull request #9667 from filecoin-project/frrist/actor-gen-again
...
refactor: chain/actors: add inspection methods to actor gen interface
2022-11-16 20:42:16 -05:00
frrist
0ae02be001
I love code gen somuchss
2022-11-16 17:22:20 -08:00
frrist
4f513692f9
fix: update paych mock to sat interface
2022-11-16 17:22:20 -08:00
frrist
e61b9b2a65
refactor: add inspection methods to actor gen interface
...
- adds the following methods to all generated actor interfaces:
- Code() cid.Cid
- ActorKey() string
- ActorVersion() actorstypes.Version
- AllCodes() []cid.Cid
2022-11-16 17:22:18 -08:00
Geoff Stuart
a38d32562e
Merge pull request #9669 from filecoin-project/gstuart/ignore-generated-files-in-diff
...
feat: Use gitattributes to ignore generated files in diffs
2022-11-16 20:21:41 -05:00
Aayush Rajasekaran
85960256ca
Merge pull request #9668 from filecoin-project/frrist/expose-init-actor-address-map
...
refactor: chain/actors: expose address map bitwidth and hash function
2022-11-16 20:06:40 -05:00
Geoff Stuart
e71d05ba66
Use gitattributes to ignore generated files in diffs
2022-11-16 20:05:22 -05:00
frrist
a780756eac
refactor: expose address map bitwidth and hash function
2022-11-16 14:49:42 -08:00
Raúl Kripalani
ce91e4261d
nolint.
2022-11-16 22:42:45 +00:00
Raúl Kripalani
e63d5e184c
make gen.
2022-11-16 22:42:32 +00:00
Raúl Kripalani
f809dbdd6a
fix test compilation.
2022-11-16 22:29:53 +00:00
Steven Allen
ba2e665fc2
fix: tvx: missing parentheses ( #9649 )
...
https://github.com/filecoin-project/ref-fvm/issues/944#issuecomment-1315245773
2022-11-16 17:19:45 -05:00
Raúl Kripalani
2ff679c679
fix test compilation.
2022-11-16 22:18:40 +00:00
Raúl Kripalani
7a71ce48f4
fix: left pad log values to full EVM words.
2022-11-16 22:08:27 +00:00
Aayush Rajasekaran
303297ae85
Merge pull request #9662 from filecoin-project/asr/update-ffi
...
chore: deps: update ffi
2022-11-16 16:46:22 -05:00
Raúl Kripalani
23007b0b3b
fix: do not hash log values; decode as cbor byte arrays.
2022-11-16 21:45:42 +00:00
Raúl Kripalani
b90451792d
upgrade ffi.
2022-11-16 21:17:52 +00:00
Raúl Kripalani
d441425618
eth_getTransactionReceipt: return type & non-zero bloom if logs, rm root.
2022-11-16 21:16:27 +00:00
Shrenuj Bansal
61ffbbc42d
Update RELEASE_ISSUE_TEMPLATE.md
2022-11-16 16:12:04 -05:00
Shrenuj Bansal
19964df99a
Merge pull request #9661 from filecoin-project/generate-changelog-v1.19.0-rc1
...
chore: Update changelog for v1.19.0-rc1
2022-11-16 16:07:24 -05:00
Shrenuj Bansal and Aayush Rajasekaran
7de8d32ab8
update version
...
Co-authored-by: Aayush Rajasekaran <arajasek94@gmail.com >
2022-11-16 16:07:00 -05:00
Raúl Kripalani
a536f533d8
Eth JSON-RPC API: make EthLog#Data a string.
2022-11-16 20:51:28 +00:00
Aayush Rajasekaran
12153055b4
Merge pull request #9665 from filecoin-project/gstuart/backport-linux-binaries
...
backport: Forgot to include linux binaries in goreleaser
2022-11-16 15:38:39 -05:00
Ian Davis
5b4ec7dbea
feat: add test and fixes for EthSubscribe ( #9659 )
2022-11-16 20:26:57 +00:00
Geoff Stuart
1f93d8594e
Merge pull request #9663 from filecoin-project/id/include-linux-in-goreleaser
...
_ci_ Forgot to include linux binaries in goreleaser
2022-11-16 15:23:29 -05:00
Shrenuj Bansal and Aayush Rajasekaran
ec9d2d1102
small update
...
Co-authored-by: Aayush Rajasekaran <arajasek94@gmail.com >
2022-11-16 15:23:19 -05:00
Ian Davis
0ff0f4d0e4
Forgot to include linux binaries in goreleaser
2022-11-16 15:09:18 -05:00
Geoff Stuart
21afb3f5ea
Review fixes
2022-11-16 15:07:23 -05:00
Aayush Rajasekaran
04b52cc25d
Merge pull request #9660 from filecoin-project/sbansal/update-lotus-version-1.19.1
...
chore: update lotus version to 1.19.1-dev
2022-11-16 15:00:23 -05:00
Ian Davis
33805a14b9
Forgot to include linux binaries in goreleaser
2022-11-16 19:48:05 +00:00
Shrenuj Bansal
d98b100595
chore: Update changelog for v1.19.0-rc1
2022-11-16 14:29:00 -05:00
Aayush
c7ac44d3bb
chore: deps: update ffi
2022-11-16 14:24:10 -05:00
Shrenuj Bansal
22fbb3704c
chore: update lotus version to 1.19.0-rc1
2022-11-16 13:55:01 -05:00
Shrenuj Bansal
233f28696d
chore: update lotus version to 1.19.1
2022-11-16 13:50:44 -05:00
Ian Davis
0af570ac46
Update Zondax/hid to 0.9.1
...
I updated us to an intermediate version based on a git sha. That version
removed a deprecation warning, but caused issues on older versions of
MacOs (Big Sur and lower). This release of Zondax/hid fixes things in a
way that both removes the deprecation warning and works on older MacOS
versions.
2022-11-16 18:49:02 +00:00
Aayush Rajasekaran
49552c2c0a
Merge pull request #9657 from filecoin-project/asr/merge-release-into-master
...
chore: merge release into master
2022-11-16 11:51:05 -05:00
Aayush
084e3414f0
Merge branch 'releases' into asr/merge-release-into-master
2022-11-16 10:53:33 -05:00
raulk
cd180f1325
Merge pull request #9646 from iand/feat/nv18-events-historic
2022-11-16 14:38:24 +00:00
Raúl Kripalani
1ab39a40da
simplify by moving receipt constructor logic to API.
2022-11-16 14:15:29 +00:00
Raúl Kripalani
32385a97cd
Eth JSON-RPC API: return logs in eth_getTransactionReceipt.
2022-11-16 13:53:27 +00:00
Raúl Kripalani
7c2dcc8db6
Eth JSON-RPC API: add aliases for new methods.
2022-11-16 12:59:46 +00:00
Ian Davis
5a1f8d8f28
Return eth blocks not tipsets in subscriptions
2022-11-16 12:57:03 +00:00
Ian Davis
314fb31886
Fix signature of EthSubscribe
2022-11-16 12:18:25 +00:00
Ian Davis
8134d2f05b
Parse block heights as hex
2022-11-16 12:08:48 +00:00
Ian Davis
41bf2a0297
Load actor to resolve address
2022-11-16 11:50:00 +00:00
Ian Davis
d5177a394a
Add TestEthGetLogsAll itest
2022-11-16 11:22:30 +00:00
Ian Davis
b5f95b7837
Fix invalid address flake in TestEthNewFilterCatchAll
2022-11-16 10:53:31 +00:00
Ian Davis
0376b7b3e6
More assertions in TestEthNewFilterCatchAll
2022-11-16 10:27:20 +00:00
Raúl Kripalani
28035525f4
Merge branch 'feat/nv18-events' into feat/nv18-events-historic
2022-11-16 09:39:17 +00:00
Raúl Kripalani
2e577e3338
update filecoin-ffi and actors v10 bundle.
2022-11-16 09:37:24 +00:00
Raúl Kripalani
28b80a291f
Merge branch 'feat/nv18-fevm' into feat/nv18-events
2022-11-16 09:34:53 +00:00
raulk
2735e81aaa
feat: events: integrate with FVM changes ( #9644 )
2022-11-16 09:30:35 +00:00
Geoff Stuart
62fedfbce3
Make pre-migration optional
2022-11-15 23:12:04 -05:00
Geoff Stuart
cde4b804e3
gas estimation shed command
2022-11-15 21:39:56 -05:00
+3
bd10bdf99a
build: release: v1.18.0 ( #9652 )
...
* build: Bump version to v1.17.3-dev
* build: set version to v1.18.0-dev
* chore: actors: Allow builtin-actors to return a map of methods (#9342 )
* Allow builtin-actors to return a map of methods
* go mod
* Fix tests
* Fix tests, check carefully please
* Delete lotus-pond (#9352 )
* feat: add StateNetworkVersion to mpool API
* chore: refactor: rename NewestNetworkVersion
* feat: actors: Integrate datacap actor into lotus (#9348 )
* Integrate datacap actor
* Implement datacap actor in chain/builtin
* feat: support typed errors over RPC
* chore: deps: update to go-jsonrpc 0.1.8
* remove duplicate import
* fix: itest: check for closed connection
* chore: refactor: move retry test to API
* address magik supernit
* Add ability to only have single partition per msg for partitions with recovery sectors
* doc gen
* Address comments
* Return beneficiary info from miner state Info()
* Update builtin-actors to dev/20220922-v9 which includes FIP-0045 changes in progress
* Integrate verifreg changes to lotus
* Setup datacap actor
* Update builtin-actors to dev/20220922-v9-1
* Update datacap actor to query datacap instead of verifreg
* update gst
* update markets
* update actors with hamt fix
* update gst
* Update datacap to parse tokens
* Update bundles
* datacap and verifreg actors use ID addresses without protocol byte
* update builtin-actors to rc1
* update go-fil-markets
* Update bundles to rc2
* Integrate the v9 migration
* Add api for getting allocation
* Add upgrade epoch for butterfly
* Tweak PreSeal struct to be infra-friendly
* docsgen
* More tweaking of PreSeal for genesis
* review fixes
* Use fake cid for test
* add butterfly artifacts for oct 5 upgrade
* check datacaps for v8 verifreg match v9 datacap actor
* Remove print statements
* Update to go-state-types master
* Update to go-state-types v0.9.0-rc1
* review fixes
* use go-fil-markets v1.24.0-v17
* Add accessors for allocations and claims maps
* fix: missing permissions tag
* butterfly
* update butterfly artifacts
* sealing pipeline: Prepare deal assigning logic for FIP-45
* sealing pipeline: Get allocationId with StateApi
* use NoAllocationID instead of nil AllocationId
* address review
* Add datacap actor to registry.go
* Add cli for listing allocations and removing expired allocations
* Update to go-state-types master
* deps: upgrade go-merkledag to 0.8.0
* shark params
* Update cli/filplus.go
Co-authored-by: Aayush Rajasekaran <arajasek94@gmail.com >
* revert change to verifreg util
* docsgen-cli
* miss the stuff
* Update FFI
* Update go-state-types to v0.9.0
* Update builtin-actors to v9.0.0
* add calib upgrade epcoh
* update the upgrade envvar
* kill shark
* Remove fvm splash banner from nv17 upgrade
* check invariance for pending deals and allocations
* check pending verified deal proposal migrated to allocation
* Add check for unsealed CID in precommit sectors
* Fix counting of allocations in nv17 migration test
* make gen
* pass state trees as pointers
* Add assertion that migrations with & without cache are the same
* compare allocation to verified deal proposal
* Fix miner state precommit info
* fix migration test tool
* add changelog
* Update to go-state-types v0.9.1
* Integrate builtin-actors v9.0.1
* chore: ver: bump version for rc3 (#9512 )
* Bump version to 1.18.0-rc3
* Update CHANGELOG.md
* Update CHANGELOG.md
Co-authored-by: Aayush Rajasekaran <arajasek94@gmail.com >
* Update CHANGELOG.md
Co-authored-by: Aayush Rajasekaran <arajasek94@gmail.com >
Co-authored-by: Jiaying Wang <42981373+jennijuju@users.noreply.github.com >
Co-authored-by: Aayush Rajasekaran <arajasek94@gmail.com >
* Migration: Use autobatch bs
* Fix autobatch
Signed-off-by: Jakub Sztandera <kubuxu@protocol.ai >
* Invoker: Use MethodMeta from go-state-types
* Add a second premigration for nv17
* Add more shed tools for migration checking
* address review
* Lotus release v1.18.0-rc4
* fix: ci: fix app-image build on ci (#9527 )
* Remove old go version first
* Add GO_VERSION file
* Use GO_VERSION to set / verify go version
* mv GO_VERSION GO_VERSION_MIN
* Use GO_VERSION_MIN in Makefile check
Co-authored-by: Ian Davis <jungziege@gmail.com >
* Update to latest go-state-types for migration fixes
* go mod tidy
* fix: use api.ErrActorNotFound instead of types.ErrActorNotFound
* fix: add fields to ForkUpgradeParams
* docs: update actors_version_checklist.md
* chore: fix lint
* update to go state type v0.9.6 with market migration fix (#9545 )
* update go-state-types to v-0.9.7
* Add invariant checks to migration
* fix invariant check: number of entries in datacap actor should include verifreg
* Invariant checks: Only include not-activated deals
* test: nv17 migration
* Address review
* add lotus-shed invariance method
* Migration cli takes a stateroot cid and a height
* make gen
* Update to builtin-actors v9.0.2
* Failing test that shows that notaries can remove datacap from the verifreg actor
* Test that should pass when the problem is solved
* make gen
* Review fixes
* statemanager call function will return call information even if call errors
* update go-state-types
* update builtin-actors
* bubble up errors properly from ApplyImplicitMessage
* bump to rc5
* set new upgrade heights for calibnet
* set new upgrade height for butterfly
* tweak calibnet upgrade schedule
* clarify changelog note about calibnet
* butterfly
* update calibnet artifacts
* Allow setting local bundles for Debug FVM for av 9+
* fix: autobatch: remove potential deadlock when a block is missing
Check the _underlying_ blockstore instead of recursing. Also, drop the
lock before we do that.
* fix imports
* build: set shark mainnet epoch (#9640 )
* chore: build: Lotus release v1.18.0 (#9641 )
* Lotus release v1.18.0
* add changelog
* address review
* changelog improvement
Co-authored-by: Jennifer Wang <jiayingw703@gmail.com >
Co-authored-by: Jiaying Wang <42981373+jennijuju@users.noreply.github.com >
Signed-off-by: Jakub Sztandera <kubuxu@protocol.ai >
Co-authored-by: Łukasz Magiera <magik6k@gmail.com >
Co-authored-by: Łukasz Magiera <magik6k@users.noreply.github.com >
Co-authored-by: Aayush <arajasek94@gmail.com >
Co-authored-by: Geoff Stuart <geoff.vball@gmail.com >
Co-authored-by: Shrenuj Bansal <shrenuj.bansal@protocol.ai >
Co-authored-by: simlecode <69969590+simlecode@users.noreply.github.com >
Co-authored-by: Rod Vagg <rod@vagg.org >
Co-authored-by: Jakub Sztandera <kubuxu@protocol.ai >
Co-authored-by: Ian Davis <jungziege@gmail.com >
Co-authored-by: zenground0 <ZenGround0@users.noreply.github.com >
Co-authored-by: Steven Allen <steven@stebalien.com >
2022-11-15 20:57:23 -05:00
Shrenuj Bansal
04f0af5865
Merge pull request #9294 from filecoin-project/sbansal/nonce-coordination-and-consensus-for-chain-nodes
...
Raft consensus for lotus nodes in a cluster
2022-11-15 17:25:04 -05:00
Shrenuj Bansal
22f3fbb9a3
Add comment to Push API
2022-11-15 17:02:08 -05:00
Shrenuj Bansal
c0925ffb92
Remove some configs
2022-11-15 16:46:48 -05:00
Shrenuj Bansal
945122190e
remove moar commented out code
2022-11-15 16:18:40 -05:00
Ian Davis
bcdfc17e2a
Fix TestEthNewFilterCatchAll
2022-11-15 18:21:24 +00:00
Ian Davis
98210ec6e0
Add lint directive
2022-11-15 18:14:43 +00:00
Ian Davis
7ef997330f
make gen
2022-11-15 18:08:45 +00:00
Ian Davis
10357112e5
Add basic itests for ethereum filter api
2022-11-15 18:02:36 +00:00
Ian Davis
ade75af765
Update filecoin-ffi to https://github.com/filecoin-project/filecoin-ffi/pull/332
2022-11-15 16:07:34 +00:00
Ian Davis
c31662d92a
make gen
2022-11-15 15:48:47 +00:00
Ian Davis
48ea46990e
go mod tidy
2022-11-15 15:34:59 +00:00
Shrenuj Bansal
4b11b453be
remove comments
2022-11-15 10:34:25 -05:00
Ian Davis
73655eda3c
Fix for event entry key type is now a string
2022-11-15 15:33:08 +00:00
Ian Davis
e2ddc9745c
Fix lint error
2022-11-15 15:28:24 +00:00
Ian Davis
bf1fcf88b1
Check actor event database schema version
2022-11-15 15:28:24 +00:00
Ian Davis
32839f6919
Initialise event index in di
2022-11-15 15:28:24 +00:00
Ian Davis
0d9c474a59
Implement EthGetLogs
2022-11-15 15:28:24 +00:00
Ian Davis
0e8dd9efc5
Add historic event indexing
2022-11-15 15:28:24 +00:00
Raúl Kripalani
907c201912
add a FEVM events itest.
2022-11-15 15:24:29 +00:00
Raúl Kripalani
4313917e4c
Merge branch 'feat/nv18-fevm' into raulk/events-integrate-fvm
2022-11-15 14:47:23 +00:00
raulk
7e759547bc
create EVM utilities in itest framework. ( #9645 )
2022-11-15 14:43:54 +00:00
Raúl Kripalani
f22762d94d
create EVM utilities in itest framework.
2022-11-15 13:57:36 +00:00
Raúl Kripalani
43e2a2b451
fix merge error.
2022-11-15 13:31:28 +00:00
Raúl Kripalani
28ec43cdea
Merge branch 'feat/nv18-events' into raulk/events-integrate-fvm
2022-11-15 13:06:18 +00:00
Ian Davis and Raúl Kripalani
273ac513fc
Ethereum actor events API fixes ( #9639 )
...
Co-authored-by: Raúl Kripalani <raul@protocol.ai >
2022-11-15 13:02:11 +00:00
Raúl Kripalani
30050a6cb2
make gen.
2022-11-15 12:39:10 +00:00
Raúl Kripalani
40b8e9562e
fix {=>New}EthHashFromCid.
2022-11-15 12:38:59 +00:00
Raúl Kripalani
846aea57c5
Merge branch 'feat/nv18-fevm' into feat/nv18-events
2022-11-15 12:28:25 +00:00
Raúl Kripalani
f4341330b9
cli: evm/invoke-evm-actor: print events.
2022-11-15 12:22:45 +00:00
Raúl Kripalani
7cc2c5ce71
fix types in Eth API.
2022-11-15 12:22:36 +00:00
Raúl Kripalani
476a9331f8
fix Event schema + cbor-gen.
2022-11-15 12:15:23 +00:00
Raúl Kripalani
5249a35212
update ffi to filecoin-project/filecoin-ffi#332 .
2022-11-15 12:07:34 +00:00
Raúl Kripalani
6f51ec24ae
update builtin-actors v10 bundle to http://filecoin-project/builtin-actors#839 .
2022-11-15 12:06:24 +00:00
raulk
c75d0c4bd1
feat: events: version the MessageReceipt structure. ( #9636 )
2022-11-15 12:00:39 +00:00
Łukasz Magiera
0e07fa94d0
Merge pull request #9613 from filecoin-project/feat/wdpost-robustness
...
feat: storage: Force exit GenerateSingleVanillaProof on cancelled context
2022-11-15 10:30:25 +01:00
Shrenuj Bansal
b95d1a6323
Merge branch 'master' into sbansal/nonce-coordination-and-consensus-for-chain-nodes
2022-11-14 17:50:52 -05:00
Shrenuj Bansal
f14a25a59b
make gen and docsgen
2022-11-14 16:54:31 -05:00
Łukasz Magiera
fd593186fa
Merge pull request #9643 from filecoin-project/gstuart/proving-check-fix
...
fix: miner-cli: Fix lotus-miner proving check
2022-11-14 22:53:50 +01:00
Shrenuj Bansal
ab1eeeba24
one more
2022-11-14 16:11:49 -05:00
Shrenuj Bansal
a66619f919
update filecoin-ffi
2022-11-14 15:50:36 -05:00
Shrenuj Bansal
800d9de4d5
Address comments
2022-11-14 15:46:58 -05:00
Geoff Stuart
95af40543a
Fix lotus-miner proving check
2022-11-14 15:29:50 -05:00
Łukasz Magiera and Piotr Bochenek
e476c1ab17
storage: paths: Fix typo in proof error message
...
Co-authored-by: Piotr Bochenek <pbochenek@worldremit.com >
2022-11-14 21:04:18 +01:00
Łukasz Magiera
51e92c97c3
Merge pull request #9642 from filecoin-project/fix/snapsector-clear-ctime
...
fix: sealing pipeline: Clear CreationTime when starting sector upgrade
2022-11-14 20:52:58 +01:00
vyzo
af39ec27b8
NV18: FEVM: Basic smoke test ( #9635 )
...
* unknown return types should not be treated as errors from WaitForMessage
* simplecoin FEVM smoke test
* add itest-fevm to circle matrix
* use a named error for metadata lookup failures
* hand-write the fevm basic test
* make gen
* address nits
2022-11-14 21:06:55 +02:00
Łukasz Magiera
c79085e5b7
Merge pull request #9598 from filecoin-project/fix/ancient-snap-deals-terrible
...
fix:sealing-fsm:wait mutable fsm state for immutable sector upgrade error
2022-11-14 19:53:37 +01:00
Łukasz Magiera
efe2d8da8a
sealing pipeline: Test clearing CreationTime
2022-11-14 18:46:50 +01:00
Łukasz Magiera
d8c1b67a22
fix: sealing pipeline: Clear CreationTime when starting sector upgrade
2022-11-14 18:36:26 +01:00
Łukasz Magiera
950e6116e5
Merge pull request #9633 from filecoin-project/deps/markets-v1.25.0
...
deps: Update go-fil-markets to v1.25.0
2022-11-14 17:42:35 +01:00
Shrenuj Bansal
b541cf919d
Remove double stop
2022-11-14 11:19:45 -05:00
zenground0
087da50ecc
Lint
2022-11-14 10:16:37 -05:00
zenground0
d86a68f713
Review Response
2022-11-14 10:07:22 -05:00
Ian Davis
62ee9b55e1
Set better default DOCKER_LOTUS_IMPORT_SNAPSHOT
2022-11-14 14:26:57 +00:00
Ian Davis
fc1b57da6e
Revert accidental changes to Dockerfile.lotus
2022-11-14 14:24:55 +00:00
Geoff Stuart
3b9624c1c3
Merge pull request #9632 from filecoin-project/gstuart/beneficiary-actor-control-list
...
fix: cli: add beneficiary info to lotus-miner actor control list
2022-11-14 09:00:23 -05:00
Raúl Kripalani
ae7847d097
make gen.
2022-11-14 13:53:30 +00:00
raulk
4eccf30de3
Merge pull request #9623 from iand/feat/nv18-ethevents
2022-11-14 11:55:45 +00:00
Raúl Kripalani
efdbea5b53
fix Receipt#EventsRoot is now *cid.Cid.
2022-11-14 11:55:04 +00:00
Raúl Kripalani
a915c703a5
Merge branch 'feat/nv18-events' into feat/nv18-ethevents
2022-11-14 11:46:08 +00:00
Ian Davis
91952f84bd
Fix eth types comments
2022-11-14 10:27:06 +00:00
Łukasz Magiera
75a026827c
circle gen: gofmt
2022-11-14 11:14:29 +01:00
Łukasz Magiera
73aabdfeff
Merge pull request #9601 from filecoin-project/fix/fsm-release-dealq-on-snap-abort
...
fix: sealing pipeine: Release assigned deals on snapdeals abort
2022-11-14 11:07:33 +01:00
Łukasz Magiera
1d4790aa42
deps: Update go-fil-markets to v1.25.0
2022-11-14 10:52:11 +01:00
ychiao
8a7367f1c9
api: ethrpc: add missing fields ( #9631 )
...
* api: ethrpc: add missing fields
* fix make gen
2022-11-12 09:44:52 -08:00
Geoff Stuart
3e96a0630c
Add beneficiary to actor control list
2022-11-11 22:02:38 -05:00
Shrenuj Bansal
8740fb4bbe
remove 2nd rpc closer call
2022-11-11 16:41:01 -05:00
Raúl Kripalani
fa1cbe66e7
update filecoin-ffi to 2e788b5.
2022-11-11 20:29:54 +00:00
raulk
4e7b8d555e
Merge pull request #9624 from iand/feat/nv18-rcptevent
2022-11-11 20:25:37 +00:00
Raúl Kripalani
9c5d888ec9
docs gen; also fixes lack of *cid.Cid examples elsewhere.
2022-11-11 20:20:28 +00:00
Shrenuj Bansal
2681c2a51a
Change config name from Raft to Cluster
2022-11-11 15:13:52 -05:00
Raúl Kripalani
17ea9f520a
cbor gen.
2022-11-11 19:54:26 +00:00
Shrenuj Bansal
2fa21ff091
Merge branch 'master' into sbansal/nonce-coordination-and-consensus-for-chain-nodes
2022-11-11 14:41:38 -05:00
Raúl Kripalani
9e6b343620
make MessageReceipt#EventsRoot a pointer.
2022-11-11 18:37:47 +00:00
Łukasz Magiera
6104567fb1
Merge pull request #9614 from filecoin-project/asr/move-unsealed
...
refactor: sealing: minor refactor of FinalizeReplicaUpdate
2022-11-11 13:10:02 +01:00
vyzo
7664e0691c
fix tx check and test
2022-11-11 05:49:06 +02:00
vyzo
1d8ebe96bc
fix error message when actor doesn't have predictable address
2022-11-11 05:21:08 +02:00
vyzo
5a5936c3c7
add comment about migration needing to create ETH address 0
2022-11-11 05:20:48 +02:00
vyzo
245e5705da
embryo: simplify code
2022-11-11 05:20:27 +02:00
vyzo
4c76f654b9
eth api: remove bad todo link
2022-11-11 05:20:10 +02:00
vyzo
f38b630da1
sigs: revert cosmetic change
2022-11-11 05:07:34 +02:00
vyzo
0bde9e5f50
client: check address protocol, add TODO
2022-11-11 05:07:22 +02:00
vyzo
f438b1c7a6
store: fix error handling around tipset key blocks
2022-11-11 05:07:09 +02:00
vyzo
9123628254
revert newline mangling
2022-11-11 05:00:43 +02:00
vyzo
30f4ad57ab
wallaby: start at nv18
2022-11-11 04:58:34 +02:00
vyzo
54f311d94a
eth rlp: fix warts
2022-11-11 04:58:15 +02:00
vyzo
18f2a14a00
eth api: fix warts
2022-11-11 04:52:38 +02:00
Raúl Kripalani
a9cfaa93cc
upgrade go-jsonrpc to v0.1.9.
2022-11-10 20:58:01 +00:00
LexLuthr
a425a38e29
change connection initiation direction
2022-11-10 21:51:51 +05:30
Ian Davis
7383ecb0ba
make gen
2022-11-10 15:04:58 +00:00
Ian Davis
69210d0917
Ethereum compatible actor event API
2022-11-10 15:02:53 +00:00
Ian Davis
4eb94b5cea
make gen
2022-11-10 14:50:13 +00:00
Ian Davis
f660b8c7ff
actor event ffi
2022-11-10 14:50:13 +00:00
Ian Davis
85df74ff43
Add EventsRoot field to message receipt
2022-11-10 14:50:06 +00:00
vyzo
c9c53c9745
fix MinTimestap for null rounds
2022-11-10 06:17:43 +02:00
vyzo
0ee9f9d956
lint
2022-11-10 05:55:59 +02:00
vyzo
5949307342
fix gateway instantation for the eth api
...
it's a dummy, but at least it makes tests pass
2022-11-10 05:52:36 +02:00
vyzo
6e149d5406
lint
2022-11-10 05:23:55 +02:00
vyzo
6e72910d31
fix account address resolution
...
it's in the actor state only if it is a v5 (or later) state tree
2022-11-10 05:01:44 +02:00
vyzo
2588b45826
fix gst builtin module refs
...
it breaks the gen script in proxy_gen
2022-11-10 04:46:13 +02:00
vyzo
a2d6c8f2f7
improve migration TODO comment
2022-11-10 04:35:54 +02:00
vyzo
30083949a0
fix genesis SetupEAM
...
Only when actors version is >= 10
2022-11-10 04:35:41 +02:00
vyzo
6d7a33ff70
api: ethrpc: fix unit test
...
and skip a non-testing test; printing doesn't constitute testing.
2022-11-10 02:52:06 +02:00
vyzo
448eca56c8
make docsgen-cli
2022-11-10 02:52:06 +02:00
vyzo
deea6797c5
make gen
2022-11-10 02:52:06 +02:00
vyzo
2b23372ad3
fixup merge artifacts
2022-11-10 02:51:57 +02:00
vyzo
64798d081d
go mod tidy
2022-11-09 19:53:40 +02:00
Kevin Li
2e5de478a6
api: ethrpc: fix a potential panic when querying block info ( #9593 )
2022-11-09 19:47:44 +02:00
imxyb
53c7d9c18f
fix:add UnmarshalJSON for EthNonce ( #9589 )
2022-11-09 19:47:44 +02:00
Raúl Kripalani
672744ad1d
upgrade go-jsonrpc to v0.1.9.
2022-11-09 19:47:43 +02:00
raulk
0bd5f1d4a4
Eth JSON-RPC: eth_estimateGas: fix gas estimation by actually making it run. ( #9564 )
2022-11-09 19:47:25 +02:00
Steven Allen
49da019bd0
fix: allow EthCall.From to be nil ( #9556 )
2022-11-09 19:47:25 +02:00
Steven Allen
b3b9da5bbc
fix: avoid returning an error when getting embryo state ( #9550 )
...
We need to add full FEVM state support, but that will require merging
master. This is enough for now.
fixes https://github.com/filecoin-project/ref-fvm/issues/1022
2022-11-09 19:47:24 +02:00
Steven Allen and Raúl Kripalani
ea54499f24
fix: allow deploying from f1/f3 accounts ( #9554 )
...
Co-authored-by: Raúl Kripalani <raul@protocol.ai >
2022-11-09 19:47:24 +02:00
Steven Allen
6337d594fa
fix: evm: use CREATE not CREATE2 for EVM contract deployment ( #9553 )
...
Also updates the actors to accommodate this change, and fix a bug in
looking up addresses for f4 actors.
2022-11-09 19:47:23 +02:00
Raúl Kripalani
dc5fc9ded4
fix eth_feeHistory.
2022-11-09 19:47:07 +02:00
Raúl Kripalani
78dd7a246a
fix gas estimation.
...
Make it use GasEstimateMessageGas, which applies overestimation
by default. This accounts for inclusion costs.
2022-11-09 19:47:07 +02:00
Raúl Kripalani
ab5f0216f6
fix message sending logic.
2022-11-09 19:47:07 +02:00
Raúl Kripalani
32617a61df
fix eth_feeHistory: add missing param.
2022-11-09 19:47:06 +02:00
Raúl Kripalani
323ff1b55e
make eth_getCode return nil if the target is not an EVM smart contract.
2022-11-09 19:46:24 +02:00
Raúl Kripalani
6d5ec6aff8
fix address recovery from pubkey.
2022-11-09 19:46:24 +02:00
Raúl Kripalani
9017e5de52
fix signature validation logic.
2022-11-09 19:46:24 +02:00
Kevin Li and Raúl Kripalani
64afdfc642
api: ethrpc: implement eth_feeHistory ( #9539 )
...
Co-authored-by: Raúl Kripalani <raul@protocol.ai >
2022-11-09 19:46:22 +02:00
Raúl Kripalani
c0cbcda1c2
update go-jsonrpc dependency.
...
To include https://github.com/filecoin-project/go-jsonrpc/pull/83 .
2022-11-09 19:45:52 +02:00
Raúl Kripalani
a58e87b173
fixes to Eth JSON-RPC API.
2022-11-09 19:43:02 +02:00
Raúl Kripalani
0cff785068
fix lotus state evm commands to use EAM.
2022-11-09 19:42:56 +02:00
Steven Allen
98e7623480
fix: evm: decode params/return in cli ( #9536 )
2022-11-09 19:40:31 +02:00
Steven Allen
7f81780ffb
hack: allow sending from f4 addresses ( #9533 )
2022-11-09 19:40:02 +02:00
Kevin Li
e17e92775c
api: ethrpc: fix eth_getCode, eth_getTransactionReceipt ( #9530 )
2022-11-09 19:40:00 +02:00
Steven Allen and Raúl Kripalani
56b238980b
feat: use f4 eth addresses wherever possible ( #9532 )
...
Co-authored-by: Raúl Kripalani <raul@protocol.ai >
2022-11-09 19:39:50 +02:00
Steven Allen
aa0e6c17b9
Eth TX Encoding ( #9531 )
2022-11-09 19:39:49 +02:00
Raúl Kripalani
57a515f7a8
genesis: instantiate EAM at id 10.
2022-11-09 19:38:19 +02:00
Melanie Riise
7e7fff1dc5
Eth JSON-RPC API: Add EAM as contract creator ( #9528 )
2022-11-09 19:33:25 +02:00
Raúl Kripalani
98e534cc77
add support for f4 addresses in the Eth JSON-RPC and signature.
2022-11-09 19:33:23 +02:00
Raúl Kripalani
17e9e97064
Eth JSON-RPC API: support f4 addresses.
2022-11-09 19:32:43 +02:00
Steven Allen
420bd34888
fix(api): eth/id address conversion ( #9511 )
2022-11-09 19:30:40 +02:00
Kevin Li
e109be4c6a
fix lint
2022-11-09 19:30:27 +02:00
Kevin Li
16ee7d07a8
fix: EthGetTransactionCount should not return error
2022-11-09 19:30:27 +02:00
Kevin Li
2741c961b7
Revert "fix: EthGetTransactionCount should not return error"
...
This reverts commit ea73fd5b1901c614e7c376fad5952fcbea8d5207.
2022-11-09 19:30:25 +02:00
Kevin Li
ccbf57165f
fix: EthGetTransactionCount should not return error
2022-11-09 19:30:16 +02:00
vyzo
b9ed239cf4
add --hex option to create-evm-actor
2022-11-09 19:30:08 +02:00
vyzo
61de2f4a4a
fix eth api issues with evm constructor changes
2022-11-09 19:30:08 +02:00
vyzo
2cda4547d6
fix evm constructor input data
2022-11-09 19:30:08 +02:00
vyzo
a2a9147790
thread epoch timestamp through vmopts
2022-11-09 19:30:08 +02:00
raulk
ee83dceef0
Eth JSON-RPC API: implement eth_getCode and eth_getStorageAt ( #9397 )
2022-11-09 19:30:06 +02:00
Kevin Li and Raúl Kripalani
6c7fd94aa7
api: ethrpc: implement eth_sendRawTransaction ( #9334 )
...
Co-authored-by: Raúl Kripalani <raul@protocol.ai >
2022-11-09 19:28:17 +02:00
Kevin Li
b53d5924a1
feat: ethrpc: implement call, estimateGas, getTransactionCount ( #9306 )
2022-11-09 19:25:40 +02:00
Kevin Li and Raúl Kripalani
e5bb5b7430
feat: ethrpc: implement EthBlock and EthTx structs ( #9287 )
...
Co-authored-by: Raúl Kripalani <raul@protocol.ai >
2022-11-09 19:23:49 +02:00
Kevin Li
4652d8559f
api: ethrpc: implement a few ethereum JSON-RPC API methods ( #9208 )
2022-11-09 19:23:11 +02:00
Steven Allen
ef90ba7cef
feat: make actor debugging a build param
...
And enable for wallaby.
fix build.
2022-11-09 19:22:43 +02:00
Steven Allen
2500d98def
feat: implement fvm gas tracing
2022-11-09 19:16:19 +02:00
vyzo
fc273bb79e
add chain create-evm-actor and invoke-emv-actor commands
2022-11-09 19:14:23 +02:00
Patrick Deuse
2317111c85
wallaby files
...
bootstrap cp fail fix
add new wallaby genesis car
Wallaby testnet CAR for FVM M2.1 Selenium r02 (#9269 )
add wallabynet.car rc3-copper (#9297 )
add rc3-copper wallabynet.car
add rc4-iron wallabynet.car
add rcX-4.1 wallabynet.car
wallabynet car rc4-iron patch2 (#9514 )
add rc567-alloy wallabynet.car
add rc567-p1 wallabynet.car (#9558 )
2022-11-09 19:11:59 +02:00
Patrick Deuse
9ecc71ca4a
testin'
2022-11-09 19:11:58 +02:00
Aayush
653e93c62a
feat: add wallabynet
2022-11-09 19:11:58 +02:00
vyzo
3a23ae6ea4
params 2k: start at nv18, dont do shark upgrade
2022-11-09 18:44:36 +02:00
Ian Davis
de0c592a95
Port changes from https://github.com/filecoin-project/lotus/pull/9363
2022-11-09 15:33:10 +00:00
Ian Davis
b94fd23da2
Refactor Lotus Dockerfile
...
This is a major refactor of our dockerfile to support the following
- The lotus image will remain as is.
- The lotus-test image will be deprecated.
- The lotus-all-in-one image will also ship with the lotus-seed and lotus-fountain binaries, which it currently does not.
- The lotus-all-in-one image will be built in debug, calibnet, and butterflynet modes in addition to the (current) mainnet mode.
- The lotus-all-in-one image will now be published regularly using the following tags:
- 1.18.0-rc1 , 1.18.0-rc1-debug, 1.18.0-rc1-calibnet, 1.18.0-rc1-butterflynet . This pattern will be used for all lotus releases, including RC releases.
- nightly, nightly-debug, nightly-calibnet, nightly-butterflynet
- stable, stable-debug, stable-calibnet, stable-butterflynet
2022-11-09 15:33:10 +00:00
Aayush
69c55d807a
Sealing manager: minor refactor
2022-11-09 09:09:59 -05:00
Łukasz Magiera
cf6d7ef3ac
Merge pull request #9363 from airenas/docker-arm
...
fix: docker: make compatible with arm platform
2022-11-09 13:02:06 +01:00
Łukasz Magiera
cbcd0d49ae
storage: Log a detailed error on PoSt challenge read timeout
2022-11-09 12:49:52 +01:00
Łukasz Magiera
42d02dd448
feat: storage: Force exit GenerateSingleVanillaProof on cancelled context
2022-11-09 12:38:23 +01:00
vyzo
6f176f7cf1
temporarily disable wdpost upgrade test, as nv18 migration is not yet implemented
2022-11-09 12:08:42 +02:00
vyzo
378c9d37d0
lint
2022-11-09 11:38:16 +02:00
vyzo
cc79d7f79c
register v10 actor method meta
2022-11-09 11:32:50 +02:00
vyzo
0b6d1ad20b
set predictable address when creating account actors
2022-11-09 11:15:16 +02:00
vyzo
335d0bec3e
set predictable address for account actors in genesis
2022-11-09 11:11:20 +02:00
vyzo
6bf7b0312e
make gen
2022-11-09 10:45:11 +02:00
vyzo
674d127701
state tree version 5 scaffolding
2022-11-09 10:44:51 +02:00
vyzo
046ca3fbb8
go mod tidy
2022-11-09 09:16:24 +02:00
vyzo
59d7024250
update go-state-types
2022-11-09 09:16:19 +02:00
vyzo
1aadbf16ba
define StateTreeVersion5 for NetworkVersion18
2022-11-09 08:30:42 +02:00
vyzo
5cb1e8a5d6
define filcns.UpgradeActorsV10
2022-11-09 07:36:09 +02:00
vyzo
3af22d3074
pack bundle for v10
...
pack.sh v10 dev/20221108.1-m2
2022-11-09 07:36:09 +02:00
vyzo
6aee53fc8b
make gen
2022-11-09 07:36:09 +02:00
vyzo
8a7fdb04b4
update inlinegen-data
2022-11-09 07:36:09 +02:00
vyzo
5e4f24ec60
add NV18 actor keys
2022-11-09 07:36:09 +02:00
vyzo
6373e9752c
agen
2022-11-09 07:36:09 +02:00
vyzo
7ffd1635f5
fix residual v9 references in templates
2022-11-09 07:36:09 +02:00
vyzo
50b971091f
define actors version 10
2022-11-09 07:36:09 +02:00
vyzo
d7b680ecb8
go mod tidy
2022-11-09 07:36:09 +02:00
vyzo
66dbe45f9e
use go-state-types@feat/m2-nv18
2022-11-09 07:36:09 +02:00
vyzo
599f16a7cf
update filecoin-ffi@master
2022-11-09 07:36:02 +02:00
Jiaying Wang
7a99325528
update ffi to 280c4f8b94fd46dc ( #9608 )
2022-11-08 22:34:57 +00:00
Aayush Rajasekaran
bd4900ab6d
Merge pull request #9515 from filecoin-project/feat/future-proof-address-protocol
...
feat: chain: future proof the from & to address protocols
2022-11-08 16:27:30 -05:00
Steven Allen
c6f2710e1c
feat: future proof against new address protocols
...
This lets us add new address protocols to go-address without implicitly
accepting them in messages on the network.
2022-11-08 12:28:23 -08:00
Geoff Stuart
f6d9a12cba
Merge pull request #9600 from filecoin-project/refactor-release-pipeline
...
_ci_ Refactor release pipeline to better support m1 builds
2022-11-08 13:15:26 -05:00
zenground0
3a6aae3e10
Remove another panic
2022-11-08 14:39:22 +00:00
Aayush Rajasekaran
9c5f3854ab
Merge pull request #9604 from filecoin-project/steb/fix-tvx-fvm
...
fix: tvx: make it work with the FVM
2022-11-08 14:28:18 +00:00
zenground0
10b7961a99
Correctly pass abort upgrade an error
2022-11-08 14:11:28 +00:00
Łukasz Magiera
a678b7f0ea
Merge pull request #9565 from filecoin-project/feat/netretr
...
feat: Retrieval into remote blockstores
2022-11-08 13:28:18 +00:00
Łukasz Magiera
888f97a35f
netbs: Add an integration test
2022-11-08 13:38:28 +01:00
zenground0
7f650ad7dc
Go is hard
2022-11-08 12:30:53 +00:00
Łukasz Magiera
53e43a402a
netbs: Drop client code for allkeys for now
2022-11-08 09:37:43 +00:00
Łukasz Magiera
401359646a
netbs: Address review
2022-11-08 09:37:43 +00:00
Łukasz Magiera
fcad93dc10
netbs: Fix lint
2022-11-08 09:37:43 +00:00
Łukasz Magiera
1513aab4c8
netbs: Add more missing locks
2022-11-08 09:37:43 +00:00
Łukasz Magiera
ec89424c42
make repo not depend on ffi
2022-11-08 09:37:43 +00:00
Łukasz Magiera
5f5cc794f0
make config not depend on ffi
2022-11-08 09:37:43 +00:00
Łukasz Magiera
b540d10b48
cli: Move ClientExport to cliutil
2022-11-08 09:37:43 +00:00
Łukasz Magiera
e66d5a0537
cli: Move EpochTime to cliutil
2022-11-08 09:37:43 +00:00
Łukasz Magiera
73a515b93f
make lint happy
2022-11-08 09:37:43 +00:00
Łukasz Magiera
8c1bc10aa4
apistore: Lock accesses
2022-11-08 09:37:43 +00:00
Łukasz Magiera
2c89b3240f
retrieval: Support retrievals into remote stores
2022-11-08 09:37:34 +00:00
Łukasz Magiera
1577740bc4
bstore: Network blockstore
2022-11-08 09:37:11 +00:00
Aayush
14ef069ea1
tvx: fixup VM creation
2022-11-07 17:24:15 -05:00
Aayush
ed83595e33
tvx: stores: implement View()
2022-11-07 16:38:50 -05:00
ZenGround0 and zenground0
4ffded6fef
feat:splitstore:single compaction that can handle prune aka two marksets one compaction ( #9571 )
...
* begin
* rough draft -- this should probably actually work?
* WIP
* Start testing
* message mode
* Fix tests, make gen
* Better default
* docsgen-cli
* Review Response
Co-authored-by: zenground0 <ZenGround0@users.noreply.github.com >
2022-11-07 16:31:12 -05:00
Steven Allen
8df5b81f24
fix: make test vector extraction work with the FVM
...
This also ignores the VM "Flush" option and instead, flushes
unconditionally (in the FVM):
1. In the FVM, we don't read blocks on flush (ever).
2. All _uses_ of TVX use a "proxy" blockstore that buffers writes, so
nothing should actually get flushed to lotus.
2022-11-07 16:09:44 -05:00
Aayush Rajasekaran
65ee059591
Merge pull request #9597 from filecoin-project/asr/merge-release-into-master
...
chore: merge release/v1.18.0 into master
2022-11-07 20:41:44 +00:00
Aayush
be5adc7622
Merge branch 'master' into asr/merge-release-into-master
2022-11-07 15:35:10 -05:00
Aayush
f77c849a2b
address merge review
2022-11-07 15:34:19 -05:00
Aayush Rajasekaran
0fe4fad72c
Merge pull request #9602 from filecoin-project/steb/re-check-backing-store
...
fix: autobatch: remove potential deadlock when a block is missing
2022-11-07 20:16:35 +00:00
Aayush
2e78158099
fix imports
2022-11-07 15:10:27 -05:00
Steven Allen
385f787ffc
fix: autobatch: remove potential deadlock when a block is missing
...
Check the _underlying_ blockstore instead of recursing. Also, drop the
lock before we do that.
2022-11-07 10:46:51 -08:00
Łukasz Magiera
33f7746296
fix: sealing pipeine: Release assigned deals on snapdeals abort
2022-11-07 16:50:56 +00:00
Ian Davis
bc06775e04
Steamline build jobs
...
- Removes cargo caching (since we don't build FFI from source, this
isn't used)
- Removes npm (this isn't a build dependency, so not sure why it was
being installed)
2022-11-07 16:18:01 +00:00
Ian Davis
2895dcfa98
Clean up workspace usage
2022-11-07 16:18:01 +00:00
Ian Davis
75f9f72147
Skip homebrew release on prereleases (i.e. *-rc)
2022-11-07 16:18:01 +00:00
Ian Davis
ecef0b6361
Fix goreleaser release workflow
2022-11-07 16:17:22 +00:00
Ian Davis
7afa5c9255
Various tweaks to get m1 self hosted build working
...
- Set CPATH and LIBRARY_PATH for lotus m1 build
- support dry-run on new release job
2022-11-07 16:16:19 +00:00
Ian Davis
568cd38b0f
Rebuild pipeline using goreleaser prebuilt binaries
...
This builds three separate binaries (darwin/amd64, darwin/arm64,
linux/amd64), and then combines them into single release (including a
universal darwin binary) using goreleaser.
Also removes build-ntwk-{calibration,butterfly}
2022-11-07 16:16:19 +00:00
zenground0
c902218baf
Respect context
2022-11-07 16:03:22 +00:00
Aayush Rajasekaran
abfabd267d
Merge pull request #9572 from filecoin-project/asr/change-control
...
shed: set control address: add dump bytes option
2022-11-07 15:30:03 +00:00
zenground0
6dee0d8ca8
Rough draft no tests
2022-11-07 14:56:53 +00:00
Aayush
c0b7343e60
Merge branch 'release/v1.18.0' into asr/merge-release-into-master
2022-11-06 14:40:13 -05:00
Łukasz Magiera
2d664c49b1
Merge pull request #9590 from filecoin-project/feat/online-exportcar
...
feat: shed: Online export-car
2022-11-06 10:53:39 +00:00
Geoff Stuart
54d3e412f1
Merge pull request #9373 from sectrgt/master
...
fix: chain: Update chain.go
2022-11-04 10:52:52 -04:00
Geoff Stuart
9a474c759b
Merge pull request #9509 from filecoin-project/gstuart/fvm-debug-bundles
...
fix: fvm: Allow setting local bundles for Debug FVM for av 9+
2022-11-04 09:29:36 -04:00
Łukasz Magiera
a0e3111b64
feat: shed: Online export-car
2022-11-04 11:48:24 +00:00
Aayush Rajasekaran
db86c7d121
shed: set control address: add dump bytes option
2022-10-31 13:14:20 +00:00
Geoff Stuart
f5ec47a2b3
Merge pull request #9559 from filecoin-project/clean-up-homebrew-deps
...
_ci_ Remove unneeded homebrew deps
2022-10-27 12:17:53 +01:00
Ian Davis
0ad2fba4d2
Remove unneeded homebrew deps
...
We don't use these homebrew deps when installing a prebuilt binary.
Additionally, the bzr package was disabled
2022-10-27 10:37:29 +01:00
Aayush Rajasekaran
5071a59f1a
Makefile: Drop rarely used binaries from build-devnets ( #9513 )
2022-10-24 17:20:43 +01:00
Geoff Stuart
ebfd5c2db0
Merge pull request #9534 from filecoin-project/apt-get-timeout
...
_ci_: Have apt-get wait until it can get a lock in packer builds
2022-10-21 09:42:07 -04:00
Ian Davis
c85a540986
Have apt-get wait until it can get a lock
2022-10-20 21:15:46 +01:00
Shrenuj Bansal
09e9562cac
i hate make gen
2022-10-18 17:37:18 -04:00
Shrenuj Bansal
94bd4d8f3e
make gen
2022-10-18 16:50:46 -04:00
Shrenuj Bansal
ad8b959880
Address more comments and add test for gorpc auth
2022-10-18 15:53:42 -04:00
Geoff Stuart
a955a6308a
Merge pull request #9496 from filecoin-project/appimage-go1.18.1-fix
...
_ci_ Appimage go1.18.1 fix
2022-10-18 13:34:49 -04:00
Geoff Stuart
cdd7f26fb3
Allow setting local bundles for Debug FVM for av 9+
2022-10-18 12:48:24 -04:00
Ian Davis
a406df64cf
Use GO_VERSION_MIN in Makefile check
2022-10-18 16:41:28 +01:00
Ian Davis
e88a7f7088
mv GO_VERSION GO_VERSION_MIN
2022-10-18 16:20:10 +01:00
Shrenuj Bansal
15ed1ee33c
Merge branch 'master' into sbansal/nonce-coordination-and-consensus-for-chain-nodes
2022-10-17 22:55:48 -04:00
Shrenuj Bansal
674427a8b2
fix lint and make gen
2022-10-17 22:44:00 -04:00
Shrenuj Bansal
900525f8c2
some cleanup
2022-10-17 16:13:30 -04:00
Shrenuj Bansal
b77ca54719
Change cli cmd to API with proxy
2022-10-17 11:23:10 -04:00
hunjixin
e8aacf325c
fix: add gaspremium check when less than maxfee
2022-10-17 12:02:56 +08:00
Shrenuj Bansal
139f8773de
fix some bugs and address some comments
2022-10-16 22:52:22 -04:00
sectrgt
a02564eaf2
modified: documentation/en/cli-lotus.md
2022-10-14 19:48:02 +00:00
Aayush Rajasekaran
8a2f8c34cc
Merge pull request #9495 from filecoin-project/fix/postsched-ping-flood
...
fix: post worker sched: Don't check worker session in a busy loop
2022-10-14 11:37:23 -04:00
Ian Davis
296eaff73c
Use GO_VERSION to set / verify go version
2022-10-14 15:25:40 +01:00
Łukasz Magiera
32de871243
fix: post worker sched: Don't check worker session in a busy loop
2022-10-14 15:58:25 +02:00
Ian Davis
cf60d862f8
Add GO_VERSION file
2022-10-14 14:43:57 +01:00
Ian Davis
a294a9592e
Remove old go version first
2022-10-14 14:43:57 +01:00
Alfonso de la Rocha
c65ab1b277
minor fix
2022-10-14 11:28:43 +02:00
Alfonso de la Rocha
5c2949b59d
fix linter
2022-10-14 11:23:05 +02:00
Aayush Rajasekaran
4d28bdeab7
Merge pull request #9387 from filecoin-project/asr/fip0036
...
feat: shed: FIP0036 post poll result processing
2022-10-13 15:21:18 -04:00
Alfonso de la Rocha
ef2200c28e
make gen
2022-10-13 17:51:42 +02:00
Alfonso de la Rocha
fe675b6fa1
minor fix
2022-10-13 17:16:01 +02:00
Alfonso de la Rocha
fa71ed607b
more cleaning
2022-10-13 17:07:34 +02:00
Alfonso de la Rocha
3105596c9e
Clean pending files from rebase
2022-10-13 17:03:18 +02:00
Alfonso de la Rocha
9bfb73211e
fixed RewardFunc
2022-10-13 16:43:02 +02:00
Alfonso de la Rocha
88d3de7afc
run make gen to make ci happy
2022-10-13 16:43:02 +02:00
Alfonso de la Rocha
95c0afb99b
minor fixes
2022-10-13 16:43:02 +02:00
raulk
653af01235
Eth JSON-RPC API: implement eth_getCode and eth_getStorageAt ( #9397 )
2022-10-13 16:41:35 +02:00
Kevin Li and Raúl Kripalani
9d1208c9ff
api: ethrpc: implement eth_sendRawTransaction ( #9334 )
...
Co-authored-by: Raúl Kripalani <raul@protocol.ai >
2022-10-13 16:39:14 +02:00
Alfonso de la Rocha
c3ee957cc6
rm signature fns from cns iface
2022-10-13 16:30:25 +02:00
Alfonso de la Rocha
536600c95c
added comments to consensus interface
2022-10-13 16:30:25 +02:00
Alfonso de la Rocha
627d6e70a6
parametrized reward function for consensus
2022-10-13 16:30:14 +02:00
Alfonso de la Rocha
43d557e0f4
minor fix
2022-10-13 16:28:45 +02:00
Alfonso de la Rocha
5626c69ce5
wip: abstract common fns required for consensus
2022-10-13 16:28:45 +02:00
Aayush Rajasekaran
e5f48ad9bf
Merge pull request #9425 from filecoin-project/packer-tweaks
...
_ci_: Fix failing Digital Ocean and Amazon Machine Image release process
2022-10-12 13:41:58 -04:00
Aayush Rajasekaran
2bdd2bf5cd
Merge pull request #9471 from filecoin-project/fix/membstore-codec
...
fix: bstore: Handle codecs correctly in membstore Get
2022-10-12 13:18:10 -04:00
Aayush Rajasekaran
983fd2010f
Merge pull request #9472 from filecoin-project/misc/gh-pr-templ-cleanup
...
misc: github: Cleanup PR template
2022-10-12 13:15:42 -04:00
Łukasz Magiera
2f046ec8db
misc: github: Cleanup PR template
2022-10-12 10:30:12 +02:00
Łukasz Magiera
516ad171d2
fix: bstore: Handle codecs correctly in membstore Get
2022-10-12 10:03:22 +02:00
Łukasz Magiera
e40fc14f85
Merge pull request #9436 from filecoin-project/feat/uptime
...
feat: Add node uptime rpc / output in info command
2022-10-11 18:20:41 +02:00
Łukasz Magiera
2c11f9d265
feat: Add node uptime rpc / output in info command
2022-10-11 10:11:09 +02:00
Łukasz Magiera
1720f51d69
Merge pull request #9460 from simlecode/fix/incorrect-calculation
...
fix: not multiplied by the number of seconds
2022-10-11 09:42:27 +02:00
Łukasz Magiera
d845e65443
Merge pull request #9459 from filecoin-project/fix/netping-arg
...
fix: ux: specify arg in `net ping` cmd
2022-10-10 14:42:17 +02:00
Łukasz Magiera
91d5efe5ee
Merge pull request #9455 from rvagg/rvagg/merkledag-0.8
...
deps: upgrade go-merkledag to 0.8.0
2022-10-10 14:40:03 +02:00
simlecode
e69fdaf48b
fix: not multiplied by the number of seconds
2022-10-10 16:18:35 +08:00
Phi
0645225801
fix: ux: specify arg in net ping cmd
...
Specify that you need to ping the `peerMultiaddrs` with the `lotus net ping` and `lotus-miner net ping`.
2022-10-10 08:31:55 +02:00
Rod Vagg
249dfae727
deps: upgrade go-merkledag to 0.8.0
2022-10-08 10:49:46 +11:00
Aayush Rajasekaran
e57a27e12a
Merge pull request #9416 from filecoin-project/fix/wallet-cmd-outputs
...
fix: ux: Add outputs to wallet commands
2022-10-07 00:10:10 -04:00
Aayush Rajasekaran
b4c5a3a779
Merge pull request #9430 from filecoin-project/docs/reltpl-codegen
...
docs: release template: Mention codegen in release prep
2022-10-07 00:09:30 -04:00
Jiaying Wang
ff02579c3d
Merge pull request #9433 from filecoin-project/chore/v1.17.2-master
...
chore: merge releases (v1.17.2) into master
2022-10-06 09:40:39 -04:00
Shrenuj Bansal
17a77220c2
Ignore mpool msg existing errors for applying raft state
2022-10-06 11:44:13 +00:00
Łukasz Magiera
80e99be62a
Merge pull request #9434 from ribasushi/chore/shed_at_notation
...
chore:shed: Teach shed/sim to understand --tipset=@nnn notation
2022-10-05 19:35:27 +00:00
Peter Rabbitson
ce65cdd1e5
Teach shed/sim to understand --tipset=@nnn notation
2022-10-05 21:10:19 +02:00
Łukasz Magiera
7859d62a90
Merge remote-tracking branch 'origin/releases' into chore/v1.17.2-master
2022-10-05 19:04:39 +00:00
Shrenuj Bansal
98481821d8
solution for mining loop hitting the same node
2022-10-05 16:52:49 +00:00
Łukasz Magiera
f4ed8476ef
docs: release template: Mention codegen in release prep
2022-10-05 16:29:30 +00:00
Ian Davis
284bfc9a57
Run packer build biweekly
...
This runs the build more often so we can continue to debug any remaining
issues, and ensures that we release a new image on the 15th of this
month (since it was broken on the 1st)
2022-10-05 13:05:36 +01:00
Ian Davis
d1981ef34e
Increase aws_polling / no_output_timeout to 1h
2022-10-05 12:28:41 +01:00
Ian Davis
80dc0ce879
Don't alias the lotus-daemon
2022-10-05 12:28:41 +01:00
Ian Davis
1d1f55125a
Fix issue with snap renaming in packer script
2022-10-05 12:28:39 +01:00
Shrenuj Bansal
e74838f024
Merge pull request #9413 from filecoin-project/sbansal/single-partition-post-for-recovery-sectors
...
feat: wdpost: Add ability to only have single partition per msg for partitions with…
2022-10-05 10:56:41 +00:00
Phi
d8b6904492
fix: ux: Add cmd outputs
...
Adding command outputs to `lotus wallet set-default` and `lotus wallet delete`
2022-10-05 09:47:31 +02:00
Shrenuj Bansal
9653584d73
Address comments
2022-10-04 19:21:55 +00:00
Łukasz Magiera
e6c8de6cc6
Merge pull request #9406 from filecoin-project/upgrade-hid
...
_chore_: Upgrade `hid`
2022-10-04 19:19:53 +00:00
Shrenuj Bansal
96ddd756f8
doc gen
2022-10-04 18:44:00 +00:00
Shrenuj Bansal
dc247cc57d
Add ability to only have single partition per msg for partitions with recovery sectors
2022-10-04 18:33:18 +00:00
Shrenuj Bansal
dde204fb6a
Change Mpool push API to have an option to publish
2022-10-04 16:49:09 +00:00
Ian Davis
99919a8b08
cd testplans/lotus-soup/ && go mod tidy
2022-10-03 13:54:23 +01:00
Ian Davis
44b7584c58
Upgrade to zondax/hid to fix kIOMasterPortDefault issue
...
This issue has been fixed in the upstream repository for months, but no
release has been issued despite repeated requests. So instead just rely
on the specific commit hash until a release is cut.
2022-10-03 13:40:27 +01:00
Shrenuj Bansal
986c5e3c68
Use multiaddrs in config for raft peerset
2022-09-30 16:45:04 +00:00
Łukasz Magiera
fb3d5e47d5
Merge pull request #9398 from RobQuistNL/patch-9
...
feat: client: Add retrieval deal ID and bytes transferred to retrieval output
2022-09-30 11:15:13 +00:00
Łukasz Magiera
6246cf5499
Merge pull request #9402 from filecoin-project/fix/sector-file-only-cc
...
fix: cli: renew --only-cc with sectorfile
2022-09-30 10:57:57 +00:00
Phi
70bb865f81
fix: renew --only-cc with sectorfile
...
Add the ability to extend/renew only CC-sectors with the `--only-cc` when using a sector-file.
2022-09-30 10:39:41 +02:00
Rob Quist
66b77be2d0
Add retrieval deal ID and bytes transferred to retrieval output
2022-09-30 02:43:01 +02:00
Aayush
2b08ed9536
address review
2022-09-29 13:27:43 -04:00
Łukasz Magiera
88a17013dd
Merge pull request #9391 from filecoin-project/feat/noparam-miner
...
feat: miner paramfetch: Don't fetch param files when not needed
2022-09-29 14:34:17 +00:00
Shrenuj Bansal
b8060cd8f7
Add persistent stores for cluster raft data
2022-09-29 12:56:22 +00:00
Łukasz Magiera
d240b12196
feat: miner paramfetch: Don't fetch param files when not needed
2022-09-29 12:08:05 +00:00
Shrenuj Bansal
f89a682d98
Add Mpool ref to raft state and rearrange some APIs
2022-09-29 10:56:57 +00:00
Airenas Vaičiūnas
f7aecbf75d
Limit rust downloads only to 64-bit in dockerfile
2022-09-29 12:53:23 +03:00
Aayush
9928c1ac18
address review
2022-09-28 16:39:05 -04:00
Łukasz Magiera
e5e8308f5c
Merge pull request #9150 from filecoin-project/phi/update-release-template
...
chore: release: Update `release_issue_template`
2022-09-28 16:03:55 +00:00
Shrenuj Bansal
570f61438a
Retries within proxy working
2022-09-28 15:07:05 +00:00
Łukasz Magiera
7bf24ccaa2
Merge pull request #9386 from filecoin-project/fix-appimage-go-version
...
_ci_: Use golang 1.18.1 to build appimage
2022-09-28 10:13:39 +00:00
Aayush
87597cbc33
unify fip0036 shed commands for speed
2022-09-27 21:25:40 -04:00
Aayush
9535009e46
fix: singer -> signer
2022-09-27 16:58:25 -04:00
jennijuju
9dfd604724
refactors refactors refactors
2022-09-27 16:52:03 -04:00
jennijuju
3d5ecf25b2
wip
2022-09-27 16:52:03 -04:00
Jennifer Wang
5f5491a9e5
get deal proposal
2022-09-27 16:52:03 -04:00
Jennifer Wang
0addc7207e
add client
2022-09-27 16:52:03 -04:00
Jennifer Wang
e88c2061f1
add token holder group
2022-09-27 16:52:03 -04:00
Ian Davis
1a3cf0c7fe
Use golang 1.18.1 to build appimage
2022-09-27 21:29:23 +01:00
Shrenuj Bansal
559c2c6d34
Merge branch 'master' into sbansal/nonce-coordination-and-consensus-for-chain-nodes
2022-09-27 16:29:03 +00:00
Shrenuj Bansal
99e7c322eb
More wip
2022-09-27 16:08:04 +00:00
Shrenuj Bansal
d11248b998
Merge pull request #9384 from filecoin-project/backport/asr/rpc-errors
...
Backport: #9061 rpc errors
2022-09-27 11:59:10 -04:00
Aayush
9c242a8012
address magik supernit
2022-09-27 15:34:01 +00:00
Aayush
8244297b89
chore: refactor: move retry test to API
2022-09-27 15:34:01 +00:00
Aayush
13f3e0aca4
fix: itest: check for closed connection
2022-09-27 15:34:01 +00:00
Aayush
34bbd2ad26
remove duplicate import
2022-09-27 15:34:01 +00:00
Aayush
5d28eea968
chore: deps: update to go-jsonrpc 0.1.8
2022-09-27 15:34:01 +00:00
Aayush
27880ece2b
feat: support typed errors over RPC
2022-09-27 15:34:01 +00:00
Łukasz Magiera
a0f2ddb920
Merge pull request #9350 from filecoin-project/no-rc-homebrew-update
...
_ci_: Don't publish new homebrew releases for RC builds
2022-09-27 14:43:00 +00:00
Aayush Rajasekaran
583ce6d1dc
Merge pull request #9365 from filecoin-project/asr/deflake
...
feat: dealpublisher: check for duplicate deals before adding
2022-09-26 13:18:06 -04:00
Alfonso de la Rocha
bf6541857e
sync mining and gossipsub attacker depdendency
2022-09-26 10:57:56 +02:00
sectrgt
857c091576
Update chain.go
2022-09-25 21:01:08 -04:00
Aayush Rajasekaran
ba89d2ccac
Merge pull request #9364 from filecoin-project/asr/miner-init-fix
...
fix: miner: init miner's with 32GiB sectors by default
2022-09-23 13:07:21 -04:00
Aayush
72b676843b
fix: miner: init: only get sector-size once
2022-09-23 12:52:12 -04:00
Aayush
1ae896e73f
deflake TestRetryDealsNoFunds: increase wait 10x
2022-09-23 12:43:00 -04:00
Aayush
54a4f14d09
feat: dealpublisher: check for duplicate deals before adding
2022-09-23 12:23:42 -04:00
Aayush
971cdf51a3
fix: miner: init miner's with 32GiB sectors by default
2022-09-23 10:53:17 -04:00
Alfonso de la Rocha
35f8abc72a
minor fix in composition
2022-09-23 12:44:55 +02:00
Airenas Vaičiūnas
c5a79bfc76
Make Dockerfile compatible with arm platform
...
1. update rust
2. add possibility to set FFI_BUILD_FROM_SOURCE
3. fix hardcoded paths: x86_64-linux-gnu
2022-09-23 09:23:03 +03:00
Shrenuj Bansal
7470549199
Address moar comments
2022-09-22 16:27:15 -04:00
Aayush Rajasekaran
4aa532390c
Merge pull request #9322 from filecoin-project/jen/msigall
...
shed: util: get all msig
2022-09-22 15:33:58 -04:00
Alfonso de la Rocha
ebafb6584e
minor fixes. sync mining.
2022-09-22 19:46:25 +02:00
Geoff Stuart
d0dff7ee4e
Merge pull request #9356 from filecoin-project/asr/deflake
...
fix: test: simplify TestDeadlineToggling
2022-09-22 13:31:55 -04:00
Aayush
63a02a6c74
fix: test: flaky TestDeadlineToggling
2022-09-22 13:12:17 -04:00
Jennifer Wang
aea9c535e0
fix typo, add wrapper on error and make jen
2022-09-22 13:12:12 -04:00
Aayush Rajasekaran
ecc9af60eb
Merge pull request #9358 from filecoin-project/asr/propagation
...
fix: build: set PropagationDelaySecs correctly
2022-09-22 12:51:56 -04:00
jennijuju
2ec4ac3c0f
use offline mode instead
2022-09-22 12:42:10 -04:00
Aayush
906d8bffdf
fix: build: set PropagationDelaySecs correctly
2022-09-22 11:42:28 -04:00
Aayush Rajasekaran
7a2bc47486
fix: test: flaky TestDeadlineToggling around nulls ( #9354 )
2022-09-21 21:16:24 +00:00
Aayush Rajasekaran
24c536fed0
Merge pull request #9353 from filecoin-project/gstuart/retrieval-calculation-fix
...
fix: retrievals: price-per-byte calculation fix
2022-09-21 15:50:47 -04:00
Shrenuj Bansal
1fe4aa3467
Add Auth func for gorpc and address comments
2022-09-21 15:41:10 -04:00
Geoff Stuart
a1e08e5664
Fix a calculation error in price-per-byte in retrievals
2022-09-21 15:35:52 -04:00
Ian Davis
f5048ec61c
Don't publish new homebrew releases for RC builds
2022-09-21 12:20:26 -04:00
Łukasz Magiera
c7d4c9d26d
Merge pull request #9347 from filecoin-project/fix/update-go-badge
...
fix: docs: update Go-badge in readme
2022-09-21 15:31:50 +02:00
Phi
788b864362
Update Go-badge in readme
...
Update Go-badge in readme to reflect that go-version 1.18.1 or higher is needed.
2022-09-21 11:42:26 +02:00
Łukasz Magiera
84fdc0ea9e
Merge pull request #9338 from filecoin-project/arajasek-patch-2
...
docs: release template: clarify location of version.go
2022-09-21 08:36:42 +02:00
Aayush Rajasekaran
2bdab5a900
docs: release template: clarify location of version.go
2022-09-20 12:26:56 -04:00
Alfonso de la Rocha
8f48631fc4
index new testcase
2022-09-19 09:12:13 +02:00
Alfonso de la Rocha
749d13359f
added testground test case for epoch boundary attack
2022-09-19 09:11:30 +02:00
Alfonso de la Rocha
0209052821
minor changes
2022-09-16 13:09:27 +02:00
Alfonso de la Rocha
72c80a3461
fixed unit tests
2022-09-16 09:22:37 +02:00
Jennifer Wang
b87ade6402
docsjen
2022-09-15 17:05:07 -04:00
Jennifer Wang
236a21a9d7
add get all msig into lotus-shed
2022-09-15 03:34:24 -04:00
Alfonso de la Rocha
d1a4f1dc50
fixed bugs in consistent broadcast integration
2022-09-14 19:59:29 +02:00
Shrenuj Bansal
81c729e09c
Cluster raft config changes
2022-09-13 19:09:03 -04:00
Shrenuj Bansal
4be8861f41
Merge branch 'master' into sbansal/nonce-coordination-and-consensus-for-chain-nodes
2022-09-13 17:41:06 -04:00
Shrenuj Bansal
3441224b2f
WIP: rest of the stuff
2022-09-13 17:30:13 -04:00
Alfonso de la Rocha
1dadff303c
added garbage collection test. minor fix
2022-09-13 16:06:18 +02:00
Alfonso de la Rocha
76031d72ad
minor fixes. unit tests added
2022-09-13 12:33:28 +02:00
Shrenuj Bansal
4171be0b98
Few more changes
2022-09-12 16:37:24 -04:00
Shrenuj Bansal
a1f2fdb706
Merge branch 'master' into sbansal/nonce-coordination-and-consensus-for-chain-nodes
2022-09-12 16:23:24 -04:00
Shrenuj Bansal
8f1b1bb1ff
WIP: Raft consensus for lotus nodes in a cluster
2022-09-12 16:10:15 -04:00
Alfonso de la Rocha
c03ad9dcfd
wip: draft impl of consistent bcast
2022-09-12 19:03:06 +02:00
Phi
a59d83518d
Update release_issue_template
...
Update release_issue_template.
- Changed some wrong links (links pointed to version.go in IPFS-repo)
- Removed `Create a discussion for this release`
- Removed "Prep the changelog using `scripts/mkreleaselog`, and add it to `CHANGELOG.md`" since this already has been captured in the first pre-release step. Left that you should make sure that the CHANGELOG is up to date.
2022-08-10 14:44:14 +02:00
Matija Petrunic
62e98c1964
Regenerate lotus config
2021-11-10 14:11:15 +01:00
Matija Petrunić
df17ea06f5
Merge branch 'master' into libp2p-pubsub-tracer
2021-11-10 12:47:09 +00:00
Matija Petrunic
59040d4419
Trace reject messages in pubsub
2021-11-10 13:45:40 +01:00
Mak Muftic
530df4298e
Fix linter errors
2021-09-29 16:49:03 +02:00
Mak Muftic
ea7673618d
Add unit tests for lotus tracer
2021-09-29 16:39:44 +02:00
Matija Petrunic
53c8e68fba
Remove extra tracer dtypes
2021-09-29 16:23:08 +02:00
Matija Petrunic
c34e15bbb7
Add elasticsearch index template and update dashboards
2021-09-29 16:21:16 +02:00
Matija Petrunic
181b35dc5e
Extend peer score event with score components
2021-09-29 16:20:43 +02:00
Mak Muftic
7b19beaf5d
Fix linter errors
2021-09-29 13:12:42 +02:00
Mak Muftic
3433fa4a6e
Add stringdocs to config props and generate docs
2021-09-29 12:51:43 +02:00
Mak Muftic
45bb8c3ebf
Remove cli flags
2021-09-29 12:50:30 +02:00
Matija Petrunić
58afade1bb
Merge pull request #9 from ChainSafe/mpetrun5/lotus-extended-tracer
...
Lotus extended pubsub tracer
2021-09-28 16:35:57 +02:00
Matija Petrunic
1e9a0894f1
Merge branch 'mpetrun5/lotus-extended-tracer' of github.com:ChainSafe/lotus into mpetrun5/lotus-extended-tracer
2021-09-27 15:09:06 +02:00
Matija Petrunic
581a54663c
Add README for creating kibana dashboards
2021-09-27 15:09:03 +02:00
Mak Muftic
36913f4efc
Fix elasticsearch index setup
2021-09-27 13:28:28 +02:00
Matija Petrunic
6c680e306d
Rename json tracer flag
2021-09-24 16:25:41 +02:00
Mak Muftic
30fc2387be
Merge branch 'mpetrun5/lotus-extended-tracer' of github.com:ChainSafe/lotus into mpetrun5/lotus-extended-tracer
2021-09-24 14:16:31 +02:00
Matija Petrunic
22f8d321d7
Merge branch 'mpetrun5/lotus-extended-tracer' of github.com:ChainSafe/lotus into mpetrun5/lotus-extended-tracer
2021-09-24 14:08:16 +02:00
Matija Petrunic
72d8e62075
Add kibana dashboard configurations
2021-09-24 14:07:47 +02:00
Mak Muftic
9332b9f399
Change json config naming
2021-09-24 13:53:31 +02:00
Matija Petrunić
70e3a9aff8
Merge pull request #10 from ChainSafe/mmuftic/add-cli-flags
...
Add cli flags
2021-09-24 13:51:00 +02:00
Mak Muftic
4438c4bd87
Move index name to config only and add default value
2021-09-24 13:43:25 +02:00
Mak Muftic
22bbb113e7
Fix schema creation
2021-09-24 12:58:32 +02:00
Mak Muftic
94a1601ab2
Remove hardcoded url schema
2021-09-24 12:40:33 +02:00
Mak Muftic
e46da5a181
Add cli flags
2021-09-24 12:37:16 +02:00
Matija Petrunic
0c390d12f7
Append source auth flag to lotus tracer event
2021-09-21 12:54:07 +02:00
Matija Petrunic
d65d9aa6e0
Send peerID peer score as separate events to enable usage of kibana runtime fields
2021-09-21 12:30:50 +02:00
Mak Muftic
082f70757c
Revert additional logging in elastic client
2021-09-20 12:29:12 +02:00
Mak Muftic
a685ccc955
Remove document id
2021-09-17 15:14:39 +02:00
Mak Muftic
0962e73e3e
Add loger to elastic search client
2021-09-17 14:22:57 +02:00
Matija Petrunic
7d0aefacbb
Change peer score event type to avoid exceeding elastisearch field limit
2021-09-17 13:46:26 +02:00
Matija Petrunic
a91ffa60d6
Set peer id event as string in lotus trace event
2021-09-17 12:11:14 +02:00
Mak Muftic
dc79ea363d
Change index name
2021-09-17 11:35:36 +02:00
Mak Muftic
f09f5c2d11
Change elastic document name
2021-09-16 16:49:47 +02:00
Mak Muftic
8e2b474fc7
Use only one document on elastic
2021-09-16 16:44:35 +02:00
Matija Petrunic
9efa495b0e
Write every trace to new line when using json transport
2021-09-16 16:42:18 +02:00
Matija Petrunic
941a0f7153
Update peer score tracker creation to include lotus tracer
2021-09-16 16:31:36 +02:00
Matija Petrunic
9cdc5261c4
Fix lotus tracer being nil when remote tracer is not configured
2021-09-16 15:53:39 +02:00
Matija Petrunic
d067bc9f01
Move creating and opening file to json transport constructor
2021-09-16 15:22:18 +02:00
Matija Petrunic
e2206147cc
Add source auth token to lotus traces
2021-09-16 12:21:57 +02:00
Matija Petrunić
515925a178
Merge pull request #7 from ChainSafe/mmuftic/elastic-search-transport
...
Add Elasticsearch transport
2021-09-16 12:20:22 +02:00
Mak Muftic
c25a5e06cf
Use config string for elasticsearch client
2021-09-16 12:15:42 +02:00
Mak Muftic
5cbd2519da
Remove processing elasticsearch result
2021-09-15 16:20:36 +02:00
Mak Muftic
67c1d633c6
Rename jsonEvent to evt
2021-09-15 16:16:12 +02:00
Mak Muftic
add13c2646
Code cleanup
2021-09-15 16:05:44 +02:00
Mak Muftic
71a2ca9e7c
Add new wrapper structure in tracer transport
2021-09-15 16:03:51 +02:00
Mak Muftic
707faf57b5
Code cleanup
2021-09-15 15:11:34 +02:00
Mak Muftic
e20cd0ef27
Propagate error on creating transport
2021-09-15 14:58:36 +02:00
Mak Muftic
cf06096565
Fix tracer initialization
2021-09-15 14:54:20 +02:00
Mak Muftic
bb85ca031d
Add elasticsearch transport
2021-09-15 14:50:27 +02:00
mace
d2702209a4
Merge pull request #6 from ChainSafe/mpetrun5/tracer-json-transport
...
Json tracer transport
2021-09-15 14:25:00 +02:00
Matija Petrunic
c064ce4852
Add generated documentation
2021-09-15 14:22:48 +02:00
Matija Petrunic
8a657b90a7
Refactor lotus tracer to behave like lp2p tracer
2021-09-15 13:41:56 +02:00
Matija Petrunic
ab86c5419d
Implement json tracer transport
2021-09-15 13:41:03 +02:00
Matija Petrunic
8e6a01de6d
Add configuration in pubsub to trace locally to json file
2021-09-15 13:40:54 +02:00
Matija Petrunic
d5a4b0637a
Add lotus tracer transport calls
2021-09-10 15:37:38 +02:00
Mak Muftic
c367533a3c
Add transport interface
2021-09-10 12:36:38 +02:00
Matija Petrunic
b1dafd81b8
Add peer score tracing on pubsub peer score inspect
2021-08-30 14:49:10 +02:00
Matija Petrunic
99fbd7039e
Update pubsub tracking to trace from lotus and lp2p tracers
2021-08-30 14:38:15 +02:00
Matija Petrunic
522858c871
Add lotus tracer interface
2021-08-30 14:35:15 +02:00
Leng Bo
93288fac72
Merge pull request #1 from filecoin-project/master
...
Merge official code.
2020-06-04 11:12:10 +08:00