Commit Graph

18172 Commits

Author SHA1 Message Date
Steven Allen
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
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
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
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
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