Commit Graph

17663 Commits

Author SHA1 Message Date
hanabi1224
6b14b0536e fix: error checks 2023-01-04 20:10:21 +08:00
hanabi1224
83554afebc Merge remote-tracking branch 'origin/master' into close-write 2023-01-02 16:42:21 +08: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
f4ffff7334 fix: docgen: correctly check for exported fields 2022-12-23 12:59:12 -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
Geoff Stuart
448b9424e9 Increase blocktime in test 2022-12-20 10:52:47 -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
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
Łukasz Magiera
156ba420c3 fix: splitstore: Don't deadlock in mpool protector 2022-12-17 13:14:50 +01: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
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
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
Geoff Stuart
886a28640f Quiet wdpost logs, add error log to multisig reentrant 2022-12-15 01:05:54 -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
Geoff Stuart
d615b1c806 Update go-state-types 2022-12-14 19:33:47 -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
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
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
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
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
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