Commit Graph

17861 Commits

Author SHA1 Message Date
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
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
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
Łukasz Magiera
a10c014ba6
Merge pull request #7398 from ChainSafe/libp2p-pubsub-tracer
Lotus extended pubsub tracer
2022-12-08 12:14:56 +01: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