* fix: ci: do not use deprecated --debug goreleaser flag (#12086)
* chore: deals: remove forgotten graphsync references (#12084)
* chore: types: remove more items forgotten after markets (#12095)
* chore: cleanup: remove more items forgotten after markets
* .gz somehow reappeared after https://github.com/filecoin-project/lotus/pull/11625
* fix: ETH RPC API: ETH Call should use the parent state root of the subsequent tipset (#11905)
* fix eth call
* tests
* changes as per review
* changes as per review
* Update node/impl/full/eth.go
Co-authored-by: Rod Vagg <rod@vagg.org>
* fix as per review
---------
Co-authored-by: Rod Vagg <rod@vagg.org>
* Update changelog to RC2
Update changelog to RC2
* Make gen / make docsgen-cli
Make gen / make docsgen-cli
* chore: api: the Net API/CLI now remains only on daemon
The only part of this repository that does lp2p is now lotus-daemon
Remove the CommonNet type, used exclusively bu the CLI stack
Adjust the rest of struct-memebership to match what went where
End result best seen in diff of `documentation/en/api-v0-methods-miner.md`
* Update changelog
Update changelog
* fix: events: sqlite db improvements (#12090)
* fix: events: sqlite db improvements
* fix unclosed multi-row query
* tune options to limit wal growth
Ref: https://github.com/filecoin-project/lotus/issues/12089
* fix: events: use correct context for CollectEvents transaction
* fix: events: close prepared read statement
* fix: events: close initial query; handle lint failures
* Update CHANGELOG.md
---------
Co-authored-by: Piotr Galar <piotr.galar@gmail.com>
Co-authored-by: Peter Rabbitson <ribasushi@protocol.ai>
Co-authored-by: Aarsh Shah <aarshkshah1992@gmail.com>
Co-authored-by: Rod Vagg <rod@vagg.org>
Co-authored-by: Peter Rabbitson <ribasushi@leporine.io>
* release: v1.26.3 (#11908) (#11915)
* deps: update dependencies to address migration memory bloat
to address memory concerns during a heavy migration
Ref: https://github.com/filecoin-project/go-state-types/pull/260
Ref: https://github.com/whyrusleeping/cbor-gen/pull/96
Ref: https://github.com/filecoin-project/go-amt-ipld/pull/90
* release: prep v1.26.3 patch
Prep v1.26.3 patch release:
- Update changelog, version and make gen + make docsgen-cli
* deps: update cbor-gen to tagged version
deps: update cbor-gen to tagged version
* deps: update go-state-types to tagged version
deps: update go-state-types to tagged version v0.13.2
* chore: deps: update go-state-types to v0.13.3
Fixes a panic when we have fewer than 1k proposals.
---------
Co-authored-by: Rod Vagg <rod@vagg.org>
Co-authored-by: Steven Allen <steven@stebalien.com>
* build: release: v1.27.0-rc1 (#11947)
* chore: Set version as v1.27.0-rc1
Set version as v1.27.0-rc1, run make gen & make docsgen-cli
* Update changelog
Update changelog
* Update changelog
Update changelog based on feedback
* Bump pubsub-dep
Bump pubsub-dep
* Prep v1.27.0-rc2
Prep v1.27.0-rc2
* Typo fixes, and more changelog updates
Typo fixes, and more changelog updates
* chore: remove unmaintained bootstrappers (#11983)
* chore: remove unmaintained bootstrappers
chore: remove unmaintained bootstrappers
* Update mainnet.pi fixing typoed domain
fixing typo for 1475.io 'bootstarp' -> 'bootstrap'
* Update mainnet.pi
apparently the actual hostname is typoed. so bootstarp it is.
---------
Co-authored-by: smagdali <stefan@fil.org>
* chore: update go-data-transfer and go-graphsync
* add ETH addrs API to Gateway (#11979)
* fix: copy Flags field from SectorOnChainInfo
Fixes: https://github.com/filecoin-project/lotus/issues/11962
* feat: libp2p: Lotus stream cleanup (#11993)
* set stream deadlines in Lotus
* reduce timeout
* whitelist bootstrappers
* fix tests
* Update changelog and version
Update changelog and version
* ci: deprecate circle ci in favour of github actions (#11786)
* Update changelog
Update changelog with the deprecate circle-ci
* chore: update drand (#12021)
* Update changelog / make docsgen
Update changelog / make docsgen
* chore: lint: update golangci lint config
* remove and replace some linters
* remove some exclusions
* make all exclusions more explicit matches
* chore: lint: fix lint errors with new linting config
Ref: https://github.com/filecoin-project/lotus/issues/11967
* chore: lint: address feedback from reviews
* doc: eth: restore comment lost in linter cleanup
Ref: https://github.com/filecoin-project/lotus/pull/11968
* chore: libp2p: update to v0.34.1 (#12027)
* update libp2p to v0.34.0
* fix libp2p err
* fix imports
* update go mod
* update go mod
* Update changelog
Update changelog
* go mod tidy
go mod tidy
* revert go version change (#12050)
* Update changelog
Update changelog
* chore: backport #12054 to release/v1.27.0 branch (#12056)
* chore: pin golanglint-ci to v1.58.2 (#12054)
Fixes: https://github.com/filecoin-project/lotus/issues/12044
* Add backport to changelog
Add backport to changelog
---------
Co-authored-by: Rod Vagg <rod@vagg.org>
* Fix where #12054 is placed in changelog
Fix where #12054 is placed in changelog
* Add trailing line in Makefile
Add trailing line in Makefile
* Go mod tidy
Go mod tidy
---------
Co-authored-by: Rod Vagg <rod@vagg.org>
Co-authored-by: Steven Allen <steven@stebalien.com>
Co-authored-by: smagdali <stefan@fil.org>
Co-authored-by: Aarsh Shah <aarshkshah1992@gmail.com>
Co-authored-by: Piotr Galar <piotr.galar@gmail.com>
* changelog for trace_transaction
* adding boilerplate for trace_transaction to /api/
* add eth trace transaction proxy and mock api
* trace tx boilerplate
* trace transaction implementation - under construction
* fix types for eth trace transaction
* trace_transaction implemented
* golint and handle transaction not found
* gofmt
* ran make docsgen
* pointer bugfix and make docsgen
* tx.BlockNumber is nil when the transaction is still in the mpool/pending and there is no trace for pending transactions
* check eth trace transaction happy case and two error cases - tx not found and tx pending in itests
* simplify error msg check for gh action fail
---------
Co-authored-by: Michael Seiler <michaelseiler@Michaels-Laptop.local>
* chore: Set version as v1.27.0-rc1
Set version as v1.27.0-rc1, run make gen & make docsgen-cli
* Update changelog
Update changelog
* Update changelog
Update changelog based on feedback
* deps: update dependencies to address migration memory bloat
to address memory concerns during a heavy migration
Ref: https://github.com/filecoin-project/go-state-types/pull/260
Ref: https://github.com/whyrusleeping/cbor-gen/pull/96
Ref: https://github.com/filecoin-project/go-amt-ipld/pull/90
* release: prep v1.26.3 patch
Prep v1.26.3 patch release:
- Update changelog, version and make gen + make docsgen-cli
* deps: update cbor-gen to tagged version
deps: update cbor-gen to tagged version
* deps: update go-state-types to tagged version
deps: update go-state-types to tagged version v0.13.2
* chore: deps: update go-state-types to v0.13.3
Fixes a panic when we have fewer than 1k proposals.
---------
Co-authored-by: Phi-rjan <orjan.roren@gmail.com>
Co-authored-by: Rod Vagg <rod@vagg.org>
Co-authored-by: Steven Allen <steven@stebalien.com>
* deps: update dependencies to address migration memory bloat
to address memory concerns during a heavy migration
Ref: https://github.com/filecoin-project/go-state-types/pull/260
Ref: https://github.com/whyrusleeping/cbor-gen/pull/96
Ref: https://github.com/filecoin-project/go-amt-ipld/pull/90
* release: prep v1.26.3 patch
Prep v1.26.3 patch release:
- Update changelog, version and make gen + make docsgen-cli
* deps: update cbor-gen to tagged version
deps: update cbor-gen to tagged version
* deps: update go-state-types to tagged version
deps: update go-state-types to tagged version v0.13.2
* chore: deps: update go-state-types to v0.13.3
Fixes a panic when we have fewer than 1k proposals.
---------
Co-authored-by: Rod Vagg <rod@vagg.org>
Co-authored-by: Steven Allen <steven@stebalien.com>
This is done with the intention to add new {Get,Subscribe}ActorEvents in a
future release (i.e. soon!) with both decoded values (dag-json represented)
and simplified (no flags or codec). But because this comes with some
trade-offs wrt fidelity of information (e.g. likely needing to drop events with
badly encoded values, and not retaining original codec), we need to also have
a Raw form of these APIs for consumers that want to take on the burden of
consuming them as they are.
- Pulls in the latest version of `kubo-api-client` (extracted from kubo
0.27.0).
- Update go-libp2p to v0.33.0
- Update boxo to v0.18.0
- Update go-graphsync to v0.16.0
Closes: https://github.com/filecoin-project/lotus/issues/11679
* Introduce a `moved:"To.New.Config"` tag which prints a stderr warning when
you use one of these, but will move any set value to the new location if the
new location isn't already set itself.
* Look for `X is DEPRECATED` to hold certain fields back from documentation.
* Use `toml:"omitempty"` to prevent the default config output from having these
deprecated values.
- For sanity reverting the mainnet upgrade epoch to 99999999, and then only set it when cutting the final release
-Update Calibnet CIDs to v13.0.0-rc3
- Add GetActorEvents, SubscribeActorEvents, GetAllClaims and GetAllAllocations methods to the changelog
Co-Authored-By: Jiaying Wang <42981373+jennijuju@users.noreply.github.com>
* feat: api: improve the correctness of Eth's trace_block (#11609)
* Improve the correctness of Eth's trace_block
- Improve encoding/decoding of parameters and return values:
- Encode "native" parameters and return values with Solidity ABI.
- Correctly decode parameters to "create" calls.
- Use the correct (ish) output for "create" calls.
- Handle all forms of "create".
- Make robust with respect to reverts:
- Use the actor ID/address from the trace instead of looking it up in
the state-tree (may not exist in the state-tree due to a revert).
- Gracefully handle failed actor/contract creation.
- Improve performance:
- We avoid looking anything up in the state-tree when translating the
trace, which should significantly improve performance.
- Improve code readability:
- Remove all "backtracking" logic.
- Use an "environment" struct to store temporary state instead of
attaching it to the trace.
- Fix random bugs:
- Fix an allocation bug in the "address" logic (need to set the
capacity before modifying the slice).
- Improved error checking/handling.
- Use correct types for `trace_block` action/results (create, call, etc.).
- And use the correct types for Result/Action structs instead of reusing the same "Call" action every time.
- Improve error messages.
* Make gen
Make gen
---------
Co-authored-by: Steven Allen <steven@stebalien.com>
* new verireg methods
* update changelog and add itest
* update itest and cli
* update new method's support till v9
* remove gateway APIs
* fix cli internal var names
This is done with the intention to add new {Get,Subscribe}ActorEvents in a
future release (i.e. soon!) with both decoded values (dag-json represented)
and simplified (no flags or codec). But because this comes with some
trade-offs wrt fidelity of information (e.g. likely needing to drop events with
badly encoded values, and not retaining original codec), we need to also have
a Raw form of these APIs for consumers that want to take on the burden of
consuming them as they are.