Aarsh Shah
41f611a286
run make docsgen
2023-11-22 19:14:03 +04:00
jennijuju
bd59bba6f5
fix merge mistake and docs gen
2023-11-22 19:19:55 +08:00
jennijuju
4bc41c887f
bump the version
2023-11-21 22:27:50 +08:00
Phi
ee5cad3796
chore: Update version and changelog
...
chore: Update version and changelog
2023-11-16 11:36:35 +01:00
jennijuju
66c1a0a0f8
calib hot fix patch prep
2023-11-08 20:38:36 +08:00
jennijuju
7c0e9ea5c7
docs gen
2023-11-01 15:20:42 -07:00
Phi
6f9e02fd73
Bump version and changelog
...
Bump version and changelog
2023-10-31 18:39:26 -04:00
Phi
064ffeb3f0
Bump version and Changelog
...
Bump version and Changelog
2023-10-17 15:26:41 +01:00
Aayush
d498036aba
chore: build: bump version to 1.24.0-rc1
2023-10-12 19:31:05 -04:00
Łukasz Magiera
3f076bfc16
fix exec traces with new ffi
2023-09-19 11:58:13 +02:00
Phi
024dd5e08e
Merge branch 'feat/nv21' into feat/implement-SyntheticPoRep
2023-09-08 16:41:39 +02:00
Łukasz Magiera
4ee20965fa
chore: chain/actors: Use type proxies instead of versioned GST imports
2023-08-29 15:28:16 +02:00
Aayush
5a901b5eb6
fix tvx
2023-08-22 13:17:31 -04:00
Aayush
44e20681cd
make jen
2023-08-17 10:01:50 -04:00
Aayush
9177b84602
chore: release v1.23.3
2023-07-27 18:38:50 -04:00
Łukasz Magiera
9eb4bb8559
make gen
2023-07-13 17:44:14 +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
Aayush
19160d2343
chore: build: release v1.23.3-rc2
2023-07-11 11:53:14 -04:00
Aayush
ab72562a68
chore: build: release v1.23.3-rc1
2023-07-04 17:00:23 -04:00
Shrenuj Bansal
05b2e2196f
Update build version to 1.23.3-dev
2023-06-30 12:16:30 -04:00
Fridrik Asmundsson
dda2d7e023
Refactor EthBlockNumberOrHash and remove the number field
2023-06-22 17:18:50 +00: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
Łukasz Magiera
3d0e6d0363
Merge remote-tracking branch 'origin/master' into protofire-more-methods
2023-05-30 17:16:32 +02:00
simlecode
3bed440d2d
chore: make docsgen
2023-05-30 13:25:44 +08: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
simlecode
f24d669cff
fix: remove invalid field UpgradePriceListOopsHeight
2023-05-09 09:21:05 +08:00
Shrenuj Bansal
a4685b7bac
update build version on master to 1.23.2-dev
2023-05-03 17:01:13 -04:00
Shrenuj Bansal
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
Aayush
5a061e4677
Merge branch 'releases' into asr/merge-release-into-master
2023-04-23 14:58:50 -04:00
Aayush
4ff1d1dc8d
feat: itests should run on latest network version
2023-04-23 13:59:14 -04:00
Aayush
abbb74ca35
feat: set version to 1.23.0
2023-04-21 15:46:17 -04:00
jennijuju
00a025449b
bump matser version to v1.23.1-dev
2023-04-21 00:17:15 +08:00
ZenGround0
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
Shrenuj Bansal
0befed7200
Add API and CLI to unseal sector ( #10626 )
2023-04-17 12:12:15 -04:00
Phi
8096f7135b
build: release: v1.21.0-rc3
...
build: release: v1.21.0-rc3
2023-04-10 17:44:21 +02:00
Phi
b6b3802bb7
build: release: v1.21.0 prep
...
build: release: v1.21.0 prep
2023-04-05 18:55:18 +02:00
Phi
a647390bef
build: release: v1.21.0-rc2
...
build: release: v1.21.0-rc2
2023-03-29 19:38:47 +02:00
Arsenii Petrovich
11827034b9
add to gw MpoolPending, ChainGetBlock and MinerGetBaseInfo
2023-03-24 20:39:15 +02:00
Aayush
8bb5d985d4
docs: api: clarify MpoolClear params
2023-03-23 10:57:08 -04:00
Łukasz Magiera
4ebc408a5a
Merge remote-tracking branch 'origin/master' into feat/new-gw-methods
2023-03-23 11:26:25 +01:00
Jennifer Wang
57133a8f66
release v1.21.0-rc1 prep
2023-03-21 01:10:32 -04:00
Steven Allen
17274e72da
feat: expose limited apis on the gateway
2023-03-15 16:12:18 -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
7e414ac390
Merge remote-tracking branch 'origin/master' into feat/go-data-transfer-v2
2023-03-15 11:37:53 +01:00
Aayush
adfa766e1b
feat: gateway: export StateVerifierStatus
2023-03-14 13:39:05 -04:00
Raúl Kripalani
2e56237898
Merge branch 'master' into asr/fix-eth-api-gateway
2023-03-12 15:56:55 +00:00
Ales Dumikau
6e9a1f44ed
Add new methods to gw
2023-03-11 10:27:42 +03: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
Arsenii Petrovich
0ccef4e5c0
run make gen
2023-03-08 18:53:19 +02:00
Łukasz Magiera
d114d8fe7e
deprecate MarketListRetrievalDeals, make gen
2023-03-08 17:15:16 +01:00
Aayush
8b5bc45fcf
fix: eth API: correct gateway restrictions, drop unimplemented methods
2023-03-07 12:53:04 -05:00
zenground0
a2d331536b
Timing info and updated docs
2023-03-06 12:05:04 -07:00
zenground0
394a7dbb34
Unbump api version as its not necessary
2023-03-06 08:37:28 -07:00
zenground0
c81a51af5b
make gen
2023-03-05 18:48:02 -07:00
zenground0
71b21db0d9
chain prune hot -- hotstore online gc
2023-03-03 11:14:52 -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
19f1ad2762
Merge branch 'releases' into asr/merge-release-into-master
2023-03-01 14:18:35 -05:00
Jiaying Wang
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
8975f0b753
feat: EthAPI: Add FilecoinAddressToEthAddress ( #10343 )
2023-02-24 14:19:52 -05:00
Łukasz Magiera
ea57a1aec3
Merge remote-tracking branch 'origin/master' into hsanjuan/chain-export-range-rebased
2023-02-23 13:08:14 +01:00
Aayush
2ef5a742e9
chore: release v1.20.0-rc2
2023-02-17 17:54:20 -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
1d0a524b88
feat: EthAPI: Add EthAddressToFilecoinAddress
2023-02-16 12:24:17 -05:00
Aayush
75c744a438
Merge branch 'release/v1.20.0'
2023-02-14 20:29:14 -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
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
Łukasz Magiera
d108565ea2
Merge remote-tracking branch 'origin/master' into asr/merge-release-into-master
2023-02-13 13:40:32 +01:00
Jennifer Wang
e73a038fe8
bump version to v1.21.0-dev
2023-02-13 00:00:07 -05:00
ychiao
db749b8fc7
Merge branch 'release/v1.20.0' into fix/EthUint64-args
2023-02-10 17:26:38 -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
Łukasz Magiera
e321761a72
ethrpc: Add missing fields to EthTx
2023-02-09 14:26:13 +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
Łukasz Magiera
bca48dd1eb
make gen
2023-02-06 10:46:24 +01:00
Łukasz Magiera
a6a2f0dbae
gateway: Support all EthModule methods
2023-02-02 13:37:31 +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
1286d76988
gateway: eth_subscribe support
2023-01-31 10:28:12 +01:00
ychiao
ee6af9de61
Eth JSON-RPC: implement web3_clientVersion
2023-01-24 22:56:04 -05:00
Geoff Stuart
5133b9da94
Add EthGetMessageCidByTransactionHash, fix EthGetTransactionHashByCid
2023-01-18 17:48:10 -05:00
Geoff Stuart
a8436074a6
Store mapping from hashes for Ethereum transactions to Filecoin Message Cids
2023-01-16 01:17:56 -05:00
Łukasz Magiera
eadf8b680c
address review
2023-01-13 21:55:14 -05:00
Łukasz Magiera
708618d11c
feat: gateway: eth_ api support
2023-01-13 20:04:41 +01:00
raulk
014d95454b
address review comments from @magik6k on #9617 ( #9997 )
2023-01-12 19:11:48 +00:00
raulk
3ef32395f3
clean up ethtypes: rationalize ethtypes.EthAddressFromFilecoinAddress and conversion methods ( #9992 )
2023-01-12 17:09:21 +00:00
Aayush Rajasekaran
a4d93d7088
feat: docgen: use real values for Eth types ( #9938 )
2022-12-27 16:15:22 +00:00
Aayush
a5851a1763
Merge branch 'master' into feat/nv18-fevm
2022-12-23 16:37:26 -05:00
Aayush
f4ffff7334
fix: docgen: correctly check for exported fields
2022-12-23 12:59:12 -05:00
Raúl Kripalani
08382c6f48
regen docs.
2022-12-23 17:20:57 +00:00
Aayush
9d3e50f140
feat: implement and test the v18 migration
2022-12-22 13:05:00 -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
Geoff Stuart
4ae498a72e
Fixes
2022-12-16 17:24:46 -05:00
Steven Allen
266492fa1c
Merge branch 'feat/nv18-fevm' into feat/nv18-events
2022-12-07 22:16:56 -08:00
Ian Davis
9d26ba5636
make gen
2022-12-07 12:58:50 +00:00
Aayush Rajasekaran
6443e72ad7
Merge branch 'master' into feat/nv18-fevm
2022-11-29 20:16:12 -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
Ian Davis
0a4efd4820
Merge branch 'main' into id/update-go-version
2022-11-29 14:29:11 +00: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