Aayush Rajasekaran
693f230fbb
Merge branch 'release/v1.20.0' into asr/merge-release-into-master
2023-02-07 11:03:01 -05:00
Łukasz Magiera
e0d92a13a7
Merge pull request #10172 from ribasushi/fix/respect_nofsync
...
fix: extend LOTUS_CHAIN_BADGERSTORE_DISABLE_FSYNC to the markset
2023-02-07 03:18:58 +01:00
Łukasz Magiera
5dc56841ea
fix: ethtypes: Correct 'no transactions' hash in NewEthBlock
2023-02-06 17:17:19 +01:00
Anton Evangelatov
ad457202dd
LOTUS_FEVM_ENABLEETHRPC: Fix env variable name in error
2023-02-06 15:25:51 +01:00
Łukasz Magiera
6851b6a523
Merge remote-tracking branch 'origin/release/v1.20.0' into fix/eth-orpc-validate
2023-02-06 10:41:52 +01:00
Travis Person
03b419e3d4
feat: compute a better gas limit for recursive external contract calls
2023-02-03 20:40:18 +00:00
Aayush
f291572b4a
Merge branch 'release/v1.20.0' into asr/merge-release-into-master
2023-02-03 09:27:04 -05:00
raulk
b46258d0bf
feat: evm: align events implementation with FIP-0049 and FIP-0054. ( #10152 )
...
- Event keys are now t1, t2, t3, t4 for topics; and d for data.
- ref-fvm no longer stores events in the blockstore for us. It just
returns events to the client, who is now responsible for handling
them as it wishes / according to its configuration.
- Add a flag to VMOpts to have the events AMT be written in the blockstore.
- Add a flag to the ChainStore to advertise to the rest of the system
if the ChainStore is storing events.
- Enable that flag if the EthRPC is enabled (can also add an explicit
configuration flag if wanted).
2023-02-02 19:10:30 -08:00
Łukasz Magiera
8ce0b984b7
itests: Fix TestEthFilterAPIDisabledViaConfig
2023-02-02 15:59:55 +01:00
Łukasz Magiera
fe1e0974cb
feat: ethrpc: Support filtering by address in subscribe
2023-02-02 14:46:36 +01:00
Łukasz Magiera
3d207de6aa
node builder: Use gateway eth module in lite mode
2023-02-02 13:39:40 +01:00
Łukasz Magiera
a6a2f0dbae
gateway: Support all EthModule methods
2023-02-02 13:37:31 +01:00
Peter Rabbitson
818b3b8daf
fix: extend LOTUS_CHAIN_BADGERSTORE_DISABLE_FSYNC to the markset
...
Without doing this walking a badger markset on a non-nvme knocks the
node hopelessly out of sync during a compaction.
2023-02-01 21:00:39 +01:00
Łukasz Magiera
7060150bdc
Merge pull request #10149 from FlattestWhite/richard/make-user-agent-dependency-injectable
...
feat: Allow libp2p user agent to be overriden
2023-02-01 19:12:08 +01:00
Ian Davis
d29a244064
Merge remote-tracking branch 'origin/release/v1.20.0' into iand/eth-openrpc-validate
2023-02-01 16:19:17 +00:00
Jennifer Wang
5d87fc8278
fix: should not serve non v0 api in v1
2023-01-31 17:06:02 -05:00
Maciej Witowski
dcbfca53d9
Improve the error message
2023-01-31 18:54:05 +01:00
Maciej Witowski
5f2ef98de6
Move assigning from
address to the API level
2023-01-31 18:28:12 +01:00
Richard Guan
45ceb5d297
move UserAgentOption upwards
2023-01-31 21:46:24 +09:00
Richard Guan
a8dace0f23
make libp2p user agent overridable
2023-01-31 21:40:55 +09:00
Łukasz Magiera
ad14d71978
eth rpc: Params are optional in eth_subscribe
2023-01-31 11:08:51 +01:00
Łukasz Magiera
965b1cf03c
itests: Fix TestEthSubscribeLogs
2023-01-31 10:28:12 +01:00
Łukasz Magiera
1286d76988
gateway: eth_subscribe support
2023-01-31 10:28:12 +01:00
Łukasz Magiera
6491becbe1
rpc: Switch eth_subscribe to reverse calls
2023-01-31 10:28:12 +01:00
Geoff Stuart
e0326d9d39
Populate transaction hash database if the database has not been set up before
2023-01-30 16:33:04 -05:00
Geoff Stuart
af72e6f6ac
Refactor: Unify EthTx to FilecoinMessage methods v2 ( #10095 )
...
* Refactor: Unify EthTx to FilecoinMessage methods
* Filecoin messages can again be converted to Eth Txs
* All BLS messages should calculated tx hash with unsigned message
* Refactor newEthTxReceipt
* fill in from and to for non-eth transactions
* Hoist nil check out of newEthTxFromMessageLookup
---------
Co-authored-by: Aayush <arajasek94@gmail.com>
Co-authored-by: Raúl Kripalani <raul@protocol.ai>
2023-01-30 18:40:14 +00:00
Jorropo
d060df2fb9
chore: node: migrate go-bitswap to go-libipfs/bitswap
...
This was migrated in https://github.com/ipfs/go-libipfs/pull/63 .
2023-01-27 23:10:44 +01:00
Steven Allen
c93717bf77
fix: don't replace the method in EthSendRawTransaction ( #10129 )
...
This will just cause signature validation to fail.
2023-01-26 09:22:06 -08:00
Jorropo
f572852d06
chore: all: bump go-libipfs to replace go-block-format
...
Includes changes from:
- https://github.com/ipfs/go-block-format/pull/37
- https://github.com/ipfs/go-libipfs/pull/58
2023-01-26 17:03:18 +01:00
Ian Davis
4500c02e49
Merge branch 'release/v1.20.0' into iand/eth-openrpc-validate
2023-01-26 14:23:42 +00:00
Ian Davis
c82dccc76c
Merge branch 'release/v1.20.0' into iand/issue-9849-realtime
2023-01-26 12:11:14 +00:00
Ian Davis
7586710395
Fix panic in EthGetCode
2023-01-26 12:10:42 +00:00
Ian Davis
a9cd76907e
Merge branch 'release/v1.20.0' into iand/eth-openrpc-validate
2023-01-26 11:35:33 +00:00
Geoff Stuart
c6829a9d0e
Merge pull request #10113 from filecoin-project/feat/web3_clientVersion
...
Eth JSON-RPC: implement web3_clientVersion
2023-01-25 15:11:30 -05:00
Aayush
7aed7d3fd0
fix: EthAPI: Handle EthCall return correctly
2023-01-25 11:36:59 -05:00
Ian Davis
b38d203e83
Remove debug logging
2023-01-25 09:44:52 +00:00
ychiao
358964d2c8
fix lint
2023-01-24 22:59:46 -05:00
ychiao
ee6af9de61
Eth JSON-RPC: implement web3_clientVersion
2023-01-24 22:56:04 -05:00
Aayush
8864782750
fix: EthAPI: Drop hack in GetStorageAt
2023-01-24 13:18:13 -05:00
Ian Davis
8daf22c3ff
Test and fix eth_FeeHistory
2023-01-24 11:27:18 +00:00
Aayush
65ac5669a9
Merge branch 'master' into asr/merge-release-into-master
2023-01-23 12:37:24 -05:00
Ian Davis
7d1bd1d5ab
Use gojsonschema
2023-01-23 16:50:40 +00:00
Ian Davis
c6d279c853
Decode topic values in EthGetTransactionReceipt
2023-01-23 14:43:36 +00:00
Ian Davis
d9261b6e2f
itests: validate responses from ethereum json-rpc api
2023-01-23 14:37:51 +00:00
Ian Davis
ddd5ff9c42
fix: event filters use cbor encoding internally ( #10085 )
2023-01-23 14:14:25 +00:00
Łukasz Magiera
53015dc3ee
Merge pull request #9981 from filecoin-project/masih/dep-up-dixprov
...
chore: market: Upgrade to index-provider 0.10.0
2023-01-23 12:53:23 +01:00
Aayush
4f199ada40
Merge branch 'release/v1.20.0' into asr/merge-release-into-master
2023-01-20 17:32:29 -05:00
Ian Davis
c5ed5dd254
itests: add event matrix tests for realtime eth filters and subscriptions
2023-01-20 14:01:25 +00:00
Raúl Kripalani
21c93f1dc1
Merge branch 'release/v1.20.0' into iand/issue-9849-filters
2023-01-20 01:11:31 +00:00
Jiaying Wang
b08b63d4ab
Merge pull request #10077 from filecoin-project/gstuart/eth-event-config
...
feat: Events API enabled by default if EnableEthRPC is true
2023-01-19 19:56:03 -05:00
Jennifer Wang
63d4c10b9e
remove extra event doc
2023-01-19 19:53:21 -05:00
Geoff Stuart
6601d9031d
Set default path for eth event db, set it to enabled by default if EnableEthRPC is set
2023-01-19 18:40:28 -05:00
Shrenuj Bansal
522e96f016
fix: msg signing with delegated keys and send cli changes ( #10056 )
...
* fix msg signing with delegated keys and send cli changes
* make gen and docsgen
* address comments
2023-01-19 17:57:48 -05:00
Jiaying Wang
2335bed58a
Revert "fix: should not serve non v0 apis in v0" ( #10073 )
2023-01-19 20:36:03 +00:00
Łukasz Magiera
eaccb571a5
fix: config: Fix eth rpc typo ( #10076 )
2023-01-19 20:35:19 +00:00
Łukasz Magiera
e194cbc715
impl: Cleanup EthTxHashManager handling
2023-01-19 19:30:18 +01:00
Łukasz Magiera
66f5ee4ae9
config: Fevm.EnableEthPRC
2023-01-19 18:31:17 +01:00
Jennifer Wang
901bb153d0
fix: should not serve non v0 api in v1
2023-01-19 11:06:04 -05:00
Jennifer Wang
1724d1666e
fix: should not serve non v0 api in v1
2023-01-19 11:02:09 -05:00
Ian Davis
58587a7956
Remove unused code
2023-01-19 13:06:07 +00:00
Ian Davis
a08b557938
Merge branch 'release/v1.20.0' into iand/issue-9849-filters
2023-01-19 13:01:12 +00:00
Ian Davis
ca5cab4c43
Cleanup and fix eth filter tests
2023-01-19 12:58:23 +00:00
Ian Davis
5569c3971b
Fix filters with alternate topic values
2023-01-19 12:22:37 +00:00
Ian Davis
6f66ef595e
Add filter block range tests
2023-01-19 11:49:07 +00:00
Geoff Stuart
5133b9da94
Add EthGetMessageCidByTransactionHash, fix EthGetTransactionHashByCid
2023-01-18 17:48:10 -05:00
Ian Davis
061e8cca1f
Add itest for EthGetLogs filter combinations
2023-01-18 17:33:54 +00:00
Aayush
e715384173
Merge branch 'release/v1.20.0' into asr/merge-release-into-master
2023-01-16 10:51:22 -05:00
Geoff Stuart
72f42505b9
Explain config more clearly
2023-01-16 08:17:34 -05:00
Geoff Stuart
6b0f1116ce
Remove maybe unnecessary check
2023-01-16 07:08:22 -05:00
Geoff Stuart
f8121c8f1c
Add gc for eth tx database
2023-01-16 07:04:20 -05:00
Geoff Stuart
f8dee0983a
review fixes
2023-01-16 01:56:55 -05:00
Geoff Stuart
a8436074a6
Store mapping from hashes for Ethereum transactions to Filecoin Message Cids
2023-01-16 01:17:56 -05:00
Jennifer Wang
51d77d408b
add bundle dev/20230114-pre-rc.2
2023-01-14 01:41:46 -05:00
vyzo
859cdca4f7
update go-state-types
...
use CreateExternal
use CreateExternal in itest evm deployment
add missing import
update gst
2023-01-14 01:11:11 -05:00
Jennifer Wang
427fbdb8a9
Merge branch 'release/v1.20.0' into jen/resolveconflict
2023-01-13 21:50:57 -05:00
raulk
cdf3812e40
NV18: Filecoin EVM runtime + Actor Events + EthAccount + EAM + f4 addressing ( #9998 )
...
Co-authored-by: Steven Allen <steven@stebalien.com>
Co-authored-by: Raul Kripalani <raulk@users.noreply.github.com>
Co-authored-by: Kevin Li <ychiaoli18@users.noreply.github.com>
Co-authored-by: vyzo <vyzo@hackzen.org>
Co-authored-by: Ian Davis <nospam@iandavis.com>
Co-authored-by: Aayush Rajasekaran <arajasek94@gmail.com>
Co-authored-by: Jiaying Wang <42981373+jennijuju@users.noreply.github.com>
Co-authored-by: Jennifer Wang <jiayingw703@gmail.com>
Co-authored-by: Geoff Stuart <geoff.vball@gmail.com>
Co-authored-by: Shrenuj Bansal <shrenuj.bansal@protocol.ai>
Co-authored-by: Shrenuj Bansal <108157875+shrenujbansal@users.noreply.github.com>
Co-authored-by: Geoff Stuart <geoffrey.stuart@protocol.ai>
Co-authored-by: Aayush Rajasekaran <aayushrajasekaran@Aayushs-MacBook-Pro.local>
Co-authored-by: ZenGround0 <5515260+ZenGround0@users.noreply.github.com>
Co-authored-by: zenground0 <ZenGround0@users.noreply.github.com>
2023-01-13 19:11:13 +00:00
Łukasz Magiera
574b684396
address review
2023-01-13 20:08:35 +01:00
Łukasz Magiera
9b7c506de0
lite node: Use full.EthEventAPI provided by gateway in lite mode
2023-01-13 20:04:42 +01:00
Łukasz Magiera
12c23d7d60
api: Drop EthModuleDummy
2023-01-13 20:04:42 +01:00
Łukasz Magiera
708618d11c
feat: gateway: eth_ api support
2023-01-13 20:04:41 +01:00
Raúl Kripalani
6de2aca8ae
change ResolveToKeyAddr => ResolveToDeterministicAddr + friends.
2023-01-13 01:44:39 +00: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
ychiao
105a1259bc
Eth JSON-RPC: use ToFilecoinAddress() to get f4 addr and validate v sig + cleanups ( #9970 )
...
Co-authored-by: raulk <raul@protocol.ai>
2023-01-12 14:55:07 +00:00
Raúl Kripalani
8512bbc45b
drop f099 eth_call hack.
...
We now create the 0x0 Eth null address on genesis as an EthAccount,
so using the 0x0 Eth null address is guaranteed to work.
2023-01-12 08:50:38 +00:00
Raúl Kripalani
1e0c78098c
constant for Event AMT bitwidth.
2023-01-12 08:50:38 +00:00
Raúl Kripalani
6c0ddd4ec9
fix typos.
2023-01-12 08:50:38 +00:00
Raúl Kripalani
8ef17332ba
{predictable=>delegated} addresses.
2023-01-12 08:50:38 +00:00
Łukasz Magiera
9a46682d9d
Merge pull request #9481 from consensus-shipyard/adlrocha/cns-iface-master
...
IPC: Abstract common consensus functions and consensus interface
2023-01-11 14:49:27 +01:00
Masih H. Derkani
45667b7391
Upgrade to index-provider 0.10.0
...
Upgrade to the latest index-provider and as a result also upgrade
go-fil-markets.
Note that the index-provider go module is renamed and moved to `ipni`
GitHub org.
2023-01-10 13:08:04 +00:00
Jennifer Wang
cb49edf29d
update embryo to placehodler
2023-01-09 22:23:55 -05:00
Mike Greenberg
a4a4e04c5e
feat(blockstore): Envvar can adjust badger compaction worker poolsize
2023-01-06 17:33:25 -05:00
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
a5851a1763
Merge branch 'master' into feat/nv18-fevm
2022-12-23 16:37:26 -05:00
Raúl Kripalani
a22518d96d
remove unused var.
2022-12-23 18:21:40 +00:00
Raúl Kripalani
a469840290
merge ntwk/wallaby into feat/nv18-fevm.
...
Unfortunately some important changes to make this branch
consistent and functional only existed on the wallaby branch.
So this commit brings them in sync.
2022-12-23 18:20:46 +00:00
Raúl Kripalani
f44bd27f7b
fix: eth_blockNumber: make it aware of null rounds.
2022-12-23 18:06:33 +00:00
Raúl Kripalani
c7efaaad7e
refine docs.
2022-12-23 17:20:57 +00:00
Raúl Kripalani
9505ac88ba
add docs.
2022-12-23 17:20:57 +00:00
Raúl Kripalani
b8b3b5d48b
fix: Eth JSON-RPC API: eth_getTransactionReceipt logs-related fixes.
...
Hardhat doesn't like logs: null in transaction receipts when no logs
were emitted. Wants empty array.
Size logsBloom correctly.
2022-12-23 17:20:57 +00:00
ychiao
60c9832429
fix nonce
2022-12-23 17:20:57 +00:00
Raúl Kripalani
4411fd7f81
eth_getTransactionByHash: return nil in some fields when tx is in mpool.
2022-12-23 17:20:57 +00:00
Raúl Kripalani
7ed79fece6
fix: eth_getTransactionByHash: return hash.
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
Raúl Kripalani
bb5cb19607
fix: Eth JSON-RPC API: eth_getTransactionByHash should return nil when not found.
2022-12-22 11:47:46 +00:00
raulk
e7aa7cb04f
add a basic FEVM integration test. ( #9922 )
...
* add a basic FEVM integration test.
Exercises f4 addresses, placeholder transitions, Ethereum Account.
* remove unused parameter from newEthTxFromFilecoinMessageLookup.
* break when found in newEthTxFromFilecoinMessageLookup.
* fixup test.
* lint and gen.
* move test to itests root package.
Co-authored-by: Shrenuj Bansal <shrenuj.bansal@protocol.ai>
2022-12-21 15:12:07 -05:00
Shrenuj Bansal
3d3bce6702
Merge pull request #9897 from filecoin-project/sbansal/eth-state-cli
...
feat: cli: Add cli to inspect Eth addresses and simulate calls
2022-12-19 14:50:52 -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
Łukasz Magiera
156ba420c3
fix: splitstore: Don't deadlock in mpool protector
2022-12-17 13:14:50 +01:00
Geoff Stuart
92f3a7b050
Merge branch 'feat/nv18-fevm' into feat/nv18-events
2022-12-16 16:27:14 -05:00
Geoff Stuart
bc7c190db0
Move all eth stuff into ethtypes
2022-12-16 13:48:06 -05:00
Shrenuj Bansal
d71f5a7d12
Add cli to inspect Eth addresses and simulate calls
2022-12-16 12:54:50 -05:00
Aayush
7ea690d4be
Merge branch 'master' into feat/nv18-fevm
2022-12-16 11:52:41 -05:00
hanabi1224
6ae7cdab64
call Stream.CloseWrite right after writing
2022-12-16 17:22:53 +08:00
Geoff Stuart
88d59f6a5f
Set notifications for SIGTERM and SIGINT when we start the cli
2022-12-15 12:54:41 -05:00
Aayush
720451c89e
Merge branch 'master' into feat/nv18-fevm
2022-12-14 19:54:47 -05:00
Geoff Stuart
442132be70
Move eth types to chain/types/ethtypes
2022-12-14 14:08:38 -05:00
Geoff Stuart
96bb03e1e0
Move EthTxReceipt to api
2022-12-14 14:00:19 -05:00
Geoff Stuart
855c35cb88
Move eth functions out of api
2022-12-14 11:57:01 -05:00
Alfonso de la Rocha
894da941af
Merge branch 'master' into adlrocha/consistent-bcast
2022-12-13 10:31:59 +01:00
Geoff Stuart
f95e6602a0
Check for nil returns from StateSectorGetInfo
2022-12-12 10:44:08 -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
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
Łukasz Magiera
1234647b9d
fix: don't log sp address in binary on node startup
2022-12-09 10:27:33 +01: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
Steven Allen
266492fa1c
Merge branch 'feat/nv18-fevm' into feat/nv18-events
2022-12-07 22:16:56 -08:00
Ian Davis
05f983dc10
Mop up some missed package changes
2022-12-07 19:57:58 +00:00
Ian Davis
56259c40fc
Use EthHash compatible type for subscription and filter IDs
2022-12-07 12:51:03 +00:00
Alfonso de la Rocha
075216d9da
Merge remote-tracking branch 'upstream/master' into adlrocha/cns-iface-master
2022-12-05 18:16:14 +01:00
Aayush Rajasekaran
6443e72ad7
Merge branch 'master' into feat/nv18-fevm
2022-11-29 20:16:12 -06:00
Aayush Rajasekaran
15afe384ff
Merge branch 'master' into feat/nv18
2022-11-29 10:01:51 -06:00
Geoff Stuart
61ac270876
Set more timeouts to 30s
2022-11-29 10:34:19 -05: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
Geoff Stuart
d2b7c3889b
Add more timeouts
2022-11-25 16:24:09 -05:00
Ian Davis
9f85d3dca7
Address simple linter issues
2022-11-24 16:32:27 +00:00
Aayush
40278cd3c1
Update to go-state-types v0.10.0-alpha-2
2022-11-23 17:36:49 -05:00
hannahhoward
34d78093e8
chore(deps): update index provider 0.9.1
2022-11-22 20:49:11 -08:00
Steven Allen
176275267b
Merge branch 'feat/nv18' into feat/nv18-fevm
2022-11-22 10:32:26 -08: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
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
Łukasz Magiera
71a84bb092
feat: wdpost: Configurable pre-check timeouts
2022-11-17 18:25:30 +01:00
Raúl Kripalani
ce91e4261d
nolint.
2022-11-16 22:42:45 +00:00
Raúl Kripalani
7a71ce48f4
fix: left pad log values to full EVM words.
2022-11-16 22:08:27 +00:00
Raúl Kripalani
23007b0b3b
fix: do not hash log values; decode as cbor byte arrays.
2022-11-16 21:45:42 +00:00
Raúl Kripalani
d441425618
eth_getTransactionReceipt: return type & non-zero bloom if logs, rm root.
2022-11-16 21:16:27 +00:00
Raúl Kripalani
a536f533d8
Eth JSON-RPC API: make EthLog#Data a string.
2022-11-16 20:51:28 +00:00
Ian Davis
5b4ec7dbea
feat: add test and fixes for EthSubscribe ( #9659 )
2022-11-16 20:26:57 +00:00
Raúl Kripalani
1ab39a40da
simplify by moving receipt constructor logic to API.
2022-11-16 14:15:29 +00:00
Raúl Kripalani
32385a97cd
Eth JSON-RPC API: return logs in eth_getTransactionReceipt.
2022-11-16 13:53:27 +00:00
Raúl Kripalani
7c2dcc8db6
Eth JSON-RPC API: add aliases for new methods.
2022-11-16 12:59:46 +00:00
Ian Davis
5a1f8d8f28
Return eth blocks not tipsets in subscriptions
2022-11-16 12:57:03 +00:00
Ian Davis
314fb31886
Fix signature of EthSubscribe
2022-11-16 12:18:25 +00:00
Ian Davis
8134d2f05b
Parse block heights as hex
2022-11-16 12:08:48 +00:00
Ian Davis
41bf2a0297
Load actor to resolve address
2022-11-16 11:50:00 +00:00
Ian Davis
d5177a394a
Add TestEthGetLogsAll itest
2022-11-16 11:22:30 +00:00
Shrenuj Bansal
c0925ffb92
Remove some configs
2022-11-15 16:46:48 -05:00
Ian Davis
10357112e5
Add basic itests for ethereum filter api
2022-11-15 18:02:36 +00:00
Ian Davis
c31662d92a
make gen
2022-11-15 15:48:47 +00:00
Ian Davis
32839f6919
Initialise event index in di
2022-11-15 15:28:24 +00:00
Ian Davis
0d9c474a59
Implement EthGetLogs
2022-11-15 15:28:24 +00:00
Ian Davis
0e8dd9efc5
Add historic event indexing
2022-11-15 15:28:24 +00:00
Raúl Kripalani
28ec43cdea
Merge branch 'feat/nv18-events' into raulk/events-integrate-fvm
2022-11-15 13:06:18 +00:00
Ian Davis
273ac513fc
Ethereum actor events API fixes ( #9639 )
...
Co-authored-by: Raúl Kripalani <raul@protocol.ai>
2022-11-15 13:02:11 +00:00
Raúl Kripalani
40b8e9562e
fix {=>New}EthHashFromCid.
2022-11-15 12:38:59 +00:00
Raúl Kripalani
846aea57c5
Merge branch 'feat/nv18-fevm' into feat/nv18-events
2022-11-15 12:28:25 +00:00
Raúl Kripalani
7cc2c5ce71
fix types in Eth API.
2022-11-15 12:22:36 +00:00
Shrenuj Bansal
b95d1a6323
Merge branch 'master' into sbansal/nonce-coordination-and-consensus-for-chain-nodes
2022-11-14 17:50:52 -05:00
Shrenuj Bansal
f14a25a59b
make gen and docsgen
2022-11-14 16:54:31 -05:00
Shrenuj Bansal
800d9de4d5
Address comments
2022-11-14 15:46:58 -05:00
Geoff Stuart
95af40543a
Fix lotus-miner proving check
2022-11-14 15:29:50 -05:00
vyzo
af39ec27b8
NV18: FEVM: Basic smoke test ( #9635 )
...
* unknown return types should not be treated as errors from WaitForMessage
* simplecoin FEVM smoke test
* add itest-fevm to circle matrix
* use a named error for metadata lookup failures
* hand-write the fevm basic test
* make gen
* address nits
2022-11-14 21:06:55 +02:00
ychiao
8a7367f1c9
api: ethrpc: add missing fields ( #9631 )
...
* api: ethrpc: add missing fields
* fix make gen
2022-11-12 09:44:52 -08:00
Shrenuj Bansal
2681c2a51a
Change config name from Raft to Cluster
2022-11-11 15:13:52 -05:00
Shrenuj Bansal
2fa21ff091
Merge branch 'master' into sbansal/nonce-coordination-and-consensus-for-chain-nodes
2022-11-11 14:41:38 -05:00
Ian Davis
7383ecb0ba
make gen
2022-11-10 15:04:58 +00:00
Ian Davis
69210d0917
Ethereum compatible actor event API
2022-11-10 15:02:53 +00:00
vyzo
0ee9f9d956
lint
2022-11-10 05:55:59 +02:00
vyzo
5949307342
fix gateway instantation for the eth api
...
it's a dummy, but at least it makes tests pass
2022-11-10 05:52:36 +02:00
vyzo
2b23372ad3
fixup merge artifacts
2022-11-10 02:51:57 +02:00
Kevin Li
2e5de478a6
api: ethrpc: fix a potential panic when querying block info ( #9593 )
2022-11-09 19:47:44 +02:00
raulk
0bd5f1d4a4
Eth JSON-RPC: eth_estimateGas: fix gas estimation by actually making it run. ( #9564 )
2022-11-09 19:47:25 +02:00
Steven Allen
49da019bd0
fix: allow EthCall.From to be nil ( #9556 )
2022-11-09 19:47:25 +02:00
Steven Allen
6337d594fa
fix: evm: use CREATE not CREATE2 for EVM contract deployment ( #9553 )
...
Also updates the actors to accommodate this change, and fix a bug in
looking up addresses for f4 actors.
2022-11-09 19:47:23 +02:00
Raúl Kripalani
dc5fc9ded4
fix eth_feeHistory.
2022-11-09 19:47:07 +02:00
Raúl Kripalani
78dd7a246a
fix gas estimation.
...
Make it use GasEstimateMessageGas, which applies overestimation
by default. This accounts for inclusion costs.
2022-11-09 19:47:07 +02:00
Raúl Kripalani
32617a61df
fix eth_feeHistory: add missing param.
2022-11-09 19:47:06 +02:00
Raúl Kripalani
323ff1b55e
make eth_getCode return nil if the target is not an EVM smart contract.
2022-11-09 19:46:24 +02:00
Kevin Li
64afdfc642
api: ethrpc: implement eth_feeHistory ( #9539 )
...
Co-authored-by: Raúl Kripalani <raul@protocol.ai>
2022-11-09 19:46:22 +02:00
Raúl Kripalani
a58e87b173
fixes to Eth JSON-RPC API.
2022-11-09 19:43:02 +02:00
Kevin Li
e17e92775c
api: ethrpc: fix eth_getCode, eth_getTransactionReceipt ( #9530 )
2022-11-09 19:40:00 +02:00
Steven Allen
56b238980b
feat: use f4 eth addresses wherever possible ( #9532 )
...
Co-authored-by: Raúl Kripalani <raul@protocol.ai>
2022-11-09 19:39:50 +02:00
Steven Allen
aa0e6c17b9
Eth TX Encoding ( #9531 )
2022-11-09 19:39:49 +02:00
Raúl Kripalani
98e534cc77
add support for f4 addresses in the Eth JSON-RPC and signature.
2022-11-09 19:33:23 +02:00
Kevin Li
16ee7d07a8
fix: EthGetTransactionCount should not return error
2022-11-09 19:30:27 +02:00
Kevin Li
2741c961b7
Revert "fix: EthGetTransactionCount should not return error"
...
This reverts commit ea73fd5b1901c614e7c376fad5952fcbea8d5207.
2022-11-09 19:30:25 +02:00
Kevin Li
ccbf57165f
fix: EthGetTransactionCount should not return error
2022-11-09 19:30:16 +02:00
vyzo
61de2f4a4a
fix eth api issues with evm constructor changes
2022-11-09 19:30:08 +02:00
raulk
ee83dceef0
Eth JSON-RPC API: implement eth_getCode and eth_getStorageAt ( #9397 )
2022-11-09 19:30:06 +02:00
Kevin Li
6c7fd94aa7
api: ethrpc: implement eth_sendRawTransaction ( #9334 )
...
Co-authored-by: Raúl Kripalani <raul@protocol.ai>
2022-11-09 19:28:17 +02:00
Kevin Li
b53d5924a1
feat: ethrpc: implement call, estimateGas, getTransactionCount ( #9306 )
2022-11-09 19:25:40 +02:00
Kevin Li
e5bb5b7430
feat: ethrpc: implement EthBlock and EthTx structs ( #9287 )
...
Co-authored-by: Raúl Kripalani <raul@protocol.ai>
2022-11-09 19:23:49 +02:00
Kevin Li
4652d8559f
api: ethrpc: implement a few ethereum JSON-RPC API methods ( #9208 )
2022-11-09 19:23:11 +02:00
Łukasz Magiera
401359646a
netbs: Address review
2022-11-08 09:37:43 +00:00
Łukasz Magiera
ec89424c42
make repo not depend on ffi
2022-11-08 09:37:43 +00:00
Łukasz Magiera
5f5cc794f0
make config not depend on ffi
2022-11-08 09:37:43 +00:00
Łukasz Magiera
73a515b93f
make lint happy
2022-11-08 09:37:43 +00:00
Łukasz Magiera
2c89b3240f
retrieval: Support retrievals into remote stores
2022-11-08 09:37:34 +00:00
ZenGround0
4ffded6fef
feat:splitstore:single compaction that can handle prune aka two marksets one compaction ( #9571 )
...
* begin
* rough draft -- this should probably actually work?
* WIP
* Start testing
* message mode
* Fix tests, make gen
* Better default
* docsgen-cli
* Review Response
Co-authored-by: zenground0 <ZenGround0@users.noreply.github.com>
2022-11-07 16:31:12 -05:00
Aayush
c0b7343e60
Merge branch 'release/v1.18.0' into asr/merge-release-into-master
2022-11-06 14:40:13 -05:00
simlecode
5284f60e83
fix: add fields to ForkUpgradeParams
2022-10-22 23:41:52 +08:00
simlecode
30f147770c
fix: use api.ErrActorNotFound instead of types.ErrActorNotFound
2022-10-22 23:41:51 +08:00
Shrenuj Bansal
ad8b959880
Address more comments and add test for gorpc auth
2022-10-18 15:53:42 -04:00
Shrenuj Bansal
15ed1ee33c
Merge branch 'master' into sbansal/nonce-coordination-and-consensus-for-chain-nodes
2022-10-17 22:55:48 -04:00
Shrenuj Bansal
674427a8b2
fix lint and make gen
2022-10-17 22:44:00 -04:00
Shrenuj Bansal
900525f8c2
some cleanup
2022-10-17 16:13:30 -04:00
Shrenuj Bansal
139f8773de
fix some bugs and address some comments
2022-10-16 22:52:22 -04:00
Alfonso de la Rocha
5c2949b59d
fix linter
2022-10-14 11:23:05 +02:00
Alfonso de la Rocha
ef2200c28e
make gen
2022-10-13 17:51:42 +02:00
Alfonso de la Rocha
3105596c9e
Clean pending files from rebase
2022-10-13 17:03:18 +02:00
Kevin Li
9d1208c9ff
api: ethrpc: implement eth_sendRawTransaction ( #9334 )
...
Co-authored-by: Raúl Kripalani <raul@protocol.ai>
2022-10-13 16:39:14 +02:00
Alfonso de la Rocha
627d6e70a6
parametrized reward function for consensus
2022-10-13 16:30:14 +02:00
Łukasz Magiera
ce17decf3b
use NoAllocationID instead of nil AllocationId
2022-10-12 13:54:04 -04:00
Łukasz Magiera
dc102f076a
sealing pipeline: Get allocationId with StateApi
2022-10-12 13:54:03 -04:00
Łukasz Magiera
2c11f9d265
feat: Add node uptime rpc / output in info command
2022-10-11 10:11:09 +02:00
Geoff Stuart
e2d5d12e7f
Add accessors for allocations and claims maps
2022-10-07 16:41:59 -04:00
Geoff Stuart
b5c5e6627e
review fixes
2022-10-06 11:06:21 -04:00
Geoff Stuart
f55dc46a32
Add api for getting allocation
2022-10-06 11:06:21 -04:00
Geoff Stuart
b4c04ad927
update markets
2022-10-06 11:06:21 -04:00
Geoff Stuart
1973e44f49
Update datacap actor to query datacap instead of verifreg
2022-10-06 11:06:21 -04:00
Shrenuj Bansal
4904411ded
Address comments
2022-10-05 15:37:04 +00:00
Shrenuj Bansal
eb82d5532e
doc gen
2022-10-05 15:36:54 +00:00
Shrenuj Bansal
6696de6bab
Add ability to only have single partition per msg for partitions with recovery sectors
2022-10-05 15:36:41 +00:00
Shrenuj Bansal
9653584d73
Address comments
2022-10-04 19:21:55 +00:00
Shrenuj Bansal
96ddd756f8
doc gen
2022-10-04 18:44:00 +00:00
Shrenuj Bansal
dc247cc57d
Add ability to only have single partition per msg for partitions with recovery sectors
2022-10-04 18:33:18 +00:00
Shrenuj Bansal
dde204fb6a
Change Mpool push API to have an option to publish
2022-10-04 16:49:09 +00:00
Shrenuj Bansal
986c5e3c68
Use multiaddrs in config for raft peerset
2022-09-30 16:45:04 +00:00
Łukasz Magiera
d240b12196
feat: miner paramfetch: Don't fetch param files when not needed
2022-09-29 12:08:05 +00:00
Shrenuj Bansal
f89a682d98
Add Mpool ref to raft state and rearrange some APIs
2022-09-29 10:56:57 +00:00
Shrenuj Bansal
570f61438a
Retries within proxy working
2022-09-28 15:07:05 +00:00
Shrenuj Bansal
559c2c6d34
Merge branch 'master' into sbansal/nonce-coordination-and-consensus-for-chain-nodes
2022-09-27 16:29:03 +00:00
Shrenuj Bansal
99e7c322eb
More wip
2022-09-27 16:08:04 +00:00
Aayush
5d28eea968
chore: deps: update to go-jsonrpc 0.1.8
2022-09-27 15:34:01 +00:00
Aayush
27880ece2b
feat: support typed errors over RPC
2022-09-27 15:34:01 +00:00
Shrenuj Bansal
7470549199
Address moar comments
2022-09-22 16:27:15 -04:00
Aayush
6189932bef
chore: deps: update to go-jsonrpc 0.1.8
2022-09-22 11:44:19 -04:00
Aayush
93f94d4ee9
feat: support typed errors over RPC
2022-09-22 11:44:19 -04:00
Shrenuj Bansal
1fe4aa3467
Add Auth func for gorpc and address comments
2022-09-21 15:41:10 -04:00
Geoff Stuart
a1e08e5664
Fix a calculation error in price-per-byte in retrievals
2022-09-21 15:35:52 -04:00
Łukasz Magiera
859c2606f0
sealing: Address review
2022-09-19 12:13:06 +02:00
Łukasz Magiera
fec9c0f981
sector import: Fix lint
2022-09-19 12:13:06 +02:00
Łukasz Magiera
9c6d531ae7
sector import: Plumb sector download task canfig
2022-09-19 12:13:06 +02:00
Łukasz Magiera
12a8ab5ac7
sector import: Add missing initial fsm state transition
2022-09-19 12:13:06 +02:00
Łukasz Magiera
29135aa77c
sector import: Initial api scaffolding
2022-09-19 12:13:03 +02:00
Łukasz Magiera
bf3daea124
sealing: Minimum upgrade sector expiration/target config
2022-09-15 16:19:57 +02:00
Alfonso de la Rocha
d1a4f1dc50
fixed bugs in consistent broadcast integration
2022-09-14 19:59:29 +02:00
Geoff Stuart
f567db64b6
Merge pull request #9296 from filecoin-project/gstuart/beneficiary-withdraw-api
...
feat: api/cli: beneficiary withdraw api and cli
2022-09-14 13:36:51 -04:00
Geoff Stuart
d94cdaaade
Fixes node startup
2022-09-14 13:15:17 -04:00
Aayush
e3e6ff67db
fix: docsgen: revert rename of API Name to Num
2022-09-14 12:41:47 -04:00
Geoff Stuart
21906b5a63
add api and cli calls for beneficiary withdrawl
2022-09-14 12:26:35 -04:00
Łukasz Magiera
bdb62e6a40
Merge pull request #9303 from filecoin-project/9299-messages-with-empty-uuids-to-mpoolpushmessage-will-be-rejected
...
fix: api: Ignore uuid check for messages with uuid not set
2022-09-14 08:59:11 +02:00
TippyFlitsUK
ea53f12a98
chore: Fix dead links to docs.filecoin.io
2022-09-14 00:10:22 +01:00
Shrenuj Bansal
81c729e09c
Cluster raft config changes
2022-09-13 19:09:03 -04:00
Shrenuj Bansal
4be8861f41
Merge branch 'master' into sbansal/nonce-coordination-and-consensus-for-chain-nodes
2022-09-13 17:41:06 -04:00
Shrenuj Bansal
3441224b2f
WIP: rest of the stuff
2022-09-13 17:30:13 -04:00
Shrenuj Bansal
a50a21b076
cleanup
2022-09-13 16:52:47 -04:00
Shrenuj Bansal
4c4b10c617
Ignore uuid check for messages with uuid not set
2022-09-13 16:33:55 -04:00
Shrenuj Bansal
4171be0b98
Few more changes
2022-09-12 16:37:24 -04:00
Shrenuj Bansal
a1f2fdb706
Merge branch 'master' into sbansal/nonce-coordination-and-consensus-for-chain-nodes
2022-09-12 16:23:24 -04:00
Shrenuj Bansal
8f1b1bb1ff
WIP: Raft consensus for lotus nodes in a cluster
2022-09-12 16:10:15 -04:00
Aayush
76090193ea
Tweak StateMinerPreCommitDepositForPower based on network version
2022-09-09 21:40:15 -04:00
Aayush
c0bbaebaf4
more fixes
2022-09-09 21:40:15 -04:00
Aayush
92cc24fca2
support fvm gas tracing
2022-09-09 21:40:15 -04:00
Aayush
e9a3235291
more fixes
2022-09-09 21:40:15 -04:00
Geoff Stuart
642555d0fb
Fix discrepancies, run fiximports
2022-09-09 21:40:15 -04:00
Aayush
0efca4d266
introduce v9 actors and nv17
2022-09-09 21:40:15 -04:00
LexLuthr
67d4f905e6
feat: proving: Introduce manual sector fault recovery ( #9144 )
...
* rebase
* fix lint error
* fix errors
* add itest
* make gen after rebase
* apply suggestion from review
* make gen after latest rebase
* gen after rebase
* fix waitgroup
* change as per review
* refactor Recovery Batches
* fix CLI
* gen after rebase
* close the channel
2022-09-06 21:17:30 +05:30
Łukasz Magiera
08b22edd89
fix make gen
2022-08-29 16:25:30 +02:00
Shrenuj Bansal
b3175f0b5c
Merge branch 'master' into 9171-add-retries-to-mpool-push-message
2022-08-26 12:31:35 -04:00
Łukasz Magiera
45d1bd61ce
Merge pull request #9183 from filecoin-project/feat/sectornum-mgmt
...
feat: sealing: Use bitfields to manage sector numbers
2022-08-26 10:59:24 -04:00
Łukasz Magiera
dd144eaab9
Update other deprecated libp2p imports
2022-08-25 14:23:25 -04:00
Łukasz Magiera
2086b219d2
Don't use go-libp2p-core
2022-08-25 14:20:41 -04:00
Łukasz Magiera
335f5df3ec
numassigner: SectorNumReserveCount
2022-08-24 11:25:37 -04:00
Łukasz Magiera
b290dac3cb
Merge remote-tracking branch 'origin/master' into feat/sectornum-mgmt
2022-08-23 11:44:43 -04:00
Shrenuj Bansal
b972e079b8
Address comments
2022-08-22 17:32:43 -04:00
Geoff Stuart
7d07ddd837
Reintroduce StateActorManifestCID
2022-08-22 17:17:01 -04:00
Łukasz Magiera
00bef607ca
sealing: numassign: take on-chain allocated numbers into account
2022-08-22 16:55:44 -04:00
Łukasz Magiera
ef2080a800
cli for managing sector reservations
2022-08-22 16:55:41 -04:00
Łukasz Magiera
ca72590e49
sealing: Use bitfields to manage sector numbers
2022-08-22 16:55:08 -04:00
Shrenuj Bansal
8a19cd19d8
Merge branch 'master' into 9171-add-retries-to-mpool-push-message
2022-08-19 12:08:07 -04:00
Łukasz Magiera
ba67431731
Merge branch 'update-go-libp2p-v0.21' of github.com:MarcoPolo/lotus into deps/go-libp2p-v0.21
2022-08-19 11:22:04 -04:00
Shrenuj Bansal
afb4b1b68f
mod tidy and fiximports
2022-08-18 18:23:42 -04:00
Shrenuj Bansal
00975237b1
Add retries for specific types of errors
2022-08-18 15:57:59 -04:00
Shrenuj Bansal
a59f977db1
Add retries to mpool push message from lotus miner
2022-08-17 14:22:31 -04:00
Shrenuj Bansal
60751f809b
Change func name and nil pointer check based on comments
2022-08-17 10:47:05 -04:00
Shrenuj Bansal
b7227d3a6b
run make gen
2022-08-16 15:56:32 -04:00
Shrenuj Bansal
fa4a479b97
Add uuid to mpool message sent to chain node from miner
2022-08-16 15:39:06 -04:00
Łukasz Magiera
77208728ad
sealing: fix lint/tests
2022-08-14 12:50:18 -04:00
Marco Munizaga
1af9e3c313
Check err for view.Register
2022-08-12 09:55:03 -07:00
Marco Munizaga
1f65d51a69
Update go-libp2p-resource-manager to v0.5.3
2022-08-12 09:49:38 -07:00
Marco Munizaga
5a133ff2d4
Hook up resource manager metrics
2022-08-11 15:56:48 -07:00
Marco Munizaga
d03992f878
Update rcmgr
2022-08-11 11:23:19 -07:00
Marco Munizaga
abd418af41
Fix lint
2022-08-11 11:20:12 -07:00
Marco Munizaga
766d809f0c
Update to go-libp2p v0.21-RC
2022-08-11 11:15:20 -07:00
Łukasz Magiera
71dacb5af8
sealing pipeline: Remove useless storage adapter code
2022-08-09 13:40:06 +02:00
ZenGround0
8b7be6d47e
feat:chain:splitstore auto prune ( #9123 )
...
Auto Prune
Co-authored-by: zenground0 <ZenGround0@users.noreply.github.com>
2022-08-08 16:06:32 -04:00
ZenGround0
0c91b0dc10
feat:chain:splitstore chain prune ( #9056 )
...
* Splitstore chain prune
* Protect on reification for simpler logic and sound cold compact protect
* Recovery from checkpoint during chain prune
* Splitstore (discard and universal mode) running in itests
* Add pause and restart functions to itest block miner
* Add config options to itest full nodes
* Add FsRepo support for itest full ndoes
Co-authored-by: zenground0 <ZenGround0@users.noreply.github.com>
2022-08-05 16:34:16 -04:00
Łukasz Magiera
cb2b4fa4aa
Merge remote-tracking branch 'origin/master' into feat/storage-redeclare
2022-08-05 21:26:15 +02:00
Łukasz Magiera
819314de46
Merge remote-tracking branch 'origin/master' into feat/storage-redeclare
2022-08-05 09:01:30 +02:00
LexLuthr
a59d73d64a
Merge branch 'master' into feat/SchedRemoveRequest
2022-08-04 02:24:14 +05:30
LexLuthr
cdc08e566f
fix everything pointed as per review
2022-08-04 02:00:24 +05:30
LexLuthr
c736dedfa6
move requestremove inside runSched
2022-08-04 02:00:24 +05:30
LexLuthr
cf78fa99ee
Rebase on master
2022-08-04 01:59:48 +05:30
Łukasz Magiera
da33d82e1b
feat: sealer: Custom worker name config
2022-08-03 12:58:49 +02:00
LexLuthr
f5a7a650e7
rename to ActorWithdrawBalance
2022-08-02 13:04:54 +05:30
LexLuthr
e0e0b0b62f
don't wait for msg to land on chain
2022-08-01 23:41:24 +05:30
Łukasz Magiera
3309e10b0d
itests: Test storage detach/redeclare
2022-08-01 15:58:06 +02:00
Łukasz Magiera
8cff52aef6
Storage detach/attach in lotus-miner, cli commands
2022-08-01 15:58:06 +02:00
LexLuthr
e9705c4e26
remove comment pointed out in review
2022-07-30 17:16:50 +05:30
LexLuthr
498334e860
fix spelling mistakes
2022-07-29 20:18:10 +05:30
LexLuthr
4f03486011
miner withdrawbalance API
2022-07-29 20:09:49 +05:30
Aayush Rajasekaran
57e5aa667f
Merge pull request #8991 from filecoin-project/fix/estimate-with-zero-base-fee
...
fix: gas: estimate gas with a zero base-fee
2022-07-13 11:57:22 -04:00
Jennifer Wang
8486ae0d51
Merge branch 'releases' into jen/backport
2022-07-11 14:27:26 -04:00
Łukasz Magiera
d9311b200c
Merge pull request #8978 from filecoin-project/fix/marketnode-storageauth
...
fix: Delegate storage auth on market nodes
2022-07-11 12:23:47 +02:00
Steven Allen
d192b821a9
fix: gas: estimate gas with a zero base-fee
...
Otherwise, an account will need funds to estimate the max possible gas a
message could take (which is usually the block gas limit).
This does mean gas estimation no longer checks if the sending account
has enough funds to cover the message cost, but MpoolPush will now do
this.
2022-07-08 09:47:45 -07:00
Marten Seemann
a825682bf9
chore: stop using the deprecated github.com/libp2p/go-libp2p-yamux ( #8998 )
2022-07-08 09:44:24 -07:00
Steven Allen
6bed08fe54
chore: update libp2p
...
1. This pulls in a multistream fix that should fix that fixes a few
tests (and probably a few actual bugs).
2. This deduplicates dependencies that have been merged into the
monorepo.
fixes #8953
2022-07-07 21:38:13 -07:00
Marten Seemann
d52f01a19f
fix incorrect usage of peer.IDFromString (should be peer.Decode)
2022-07-07 21:47:33 +00:00
Aayush
d68a60e8d9
feat: recovery: Config for maximum partition count per message
2022-07-07 14:48:37 -04:00
Łukasz Magiera
673f9238be
feat: wdpost: Config for maximum partition count per message
2022-07-07 14:10:31 -04:00
Aayush
770c32c3cb
feat: recovery: Config for maximum partition count per message
2022-07-07 12:46:33 -04:00
Łukasz Magiera
b499ef0c3a
Merge pull request #8982 from filecoin-project/feat/post-maxpart-config
...
feat: wdpost: Config for maximum partition count per message
2022-07-07 16:48:38 +02:00
Łukasz Magiera
7741175b7d
feat: wdpost: Config for maximum partition count per message
2022-07-07 12:38:21 +02:00
Łukasz Magiera
413183e4fa
fix: Delegate storage auth on market nodes
2022-07-06 22:22:41 +02:00
Dirk McCormick
2d2b06464c
feat: update go-fil-markets to v1.23.0
2022-07-06 11:43:06 -04:00
Aayush Rajasekaran
b35a325816
Fixup typos
2022-07-04 11:27:56 -04:00
Łukasz Magiera
d5100f883d
cfgdoc-gen: Handle empty lines in comments
2022-07-01 22:32:10 +02:00
Łukasz Magiera
59f3161fd6
wdpost: Config for disabling sector prechecks
2022-07-01 22:20:05 +02:00
Łukasz Magiera
84881f64ad
sealer: Config for disabling builtin PoSt
2022-07-01 21:24:54 +02:00
Geoff Stuart
3bb7e9d113
Merge pull request #8941 from filecoin-project/gstuart/actors-cids-older-versions
...
Feat: api: Api call to get actor cids works for versions < 16
2022-06-29 15:31:50 -04:00
Geoff Stuart
4bebce0201
Remove StateActorManifestCID
2022-06-29 15:16:13 -04:00
Geoff Stuart
4268b426f9
review fixes
2022-06-29 14:58:58 -04:00
Geoff Stuart
ed65b4c3bf
Api call to get actor cids works for versions < 16
2022-06-29 14:58:56 -04:00
Masih H. Derkani
e8c44babcf
Remove dependency to archived quic and regenerate CLI docs
...
The quic transport implementation is now moved to `go-libp2p` mono repo.
Replace the dependency to the archived repo with the new one.
Regenerate CLI docs.
2022-06-29 14:55:35 -04:00
Masih H. Derkani
39a710e1d6
Address lint issues as a result of libp2p deprecations and tidy go mod
...
Address staticcheck issues caused by deprecated APIs and `go mod tidy`.
2022-06-29 14:55:35 -04:00
Jennifer Wang
c3f3eb0812
Merge branch 'releases' into jen/masterbp
2022-06-27 15:13:12 -04:00
Geoff Stuart
83d7db88cf
review fixes
2022-06-23 14:32:14 -04:00
Geoff Stuart
e684248f48
Added api call to get actors cids
2022-06-23 14:07:23 -04:00
Łukasz Magiera
db676acdf8
storage: Cleanup interfaces a bit
2022-06-17 13:52:19 +02:00
Łukasz Magiera
58416d0881
storage: Don't depend on specs-storage, move to storiface
2022-06-17 13:36:33 +02:00
Łukasz Magiera
9c4d10ec73
api: handle no-precommit in StateSectorPreCommitInfo gracefully
2022-06-16 15:20:58 +02:00
Łukasz Magiera
2dc1df878d
api: Move StateComputeDataCID to full-node
2022-06-16 13:29:35 +02:00
Łukasz Magiera
05cdeb80c3
chore: remove redundant import prefixes
2022-06-15 12:06:22 +02:00
Łukasz Magiera
28099a3905
storage: Move storage/sealer/stores to storage/paths
2022-06-14 20:25:52 +02:00
Łukasz Magiera
82857e6d5d
chore: rerun gen with moved packages
2022-06-14 20:13:31 +02:00
Łukasz Magiera
a9600b8a6f
storage: Move extern/sector-storage to storage/sealer
2022-06-14 20:03:38 +02:00
Łukasz Magiera
98a48a47f8
storage: Move extern/storage-sealing to storage/pipeline
2022-06-14 19:41:59 +02:00
Łukasz Magiera
717bda63b1
storage: Move control address logic to storage/ctladdr
2022-06-14 19:32:29 +02:00
Łukasz Magiera
dff1bf2868
storage: Move window-post logic into a separate package
2022-06-14 19:27:09 +02:00
Łukasz Magiera
e65fae28de
chore: fix imports
2022-06-14 17:00:51 +02:00
Steven Allen
ddc9425c07
feat: refactor: actor bundling system ( #8838 )
...
1. Include the builtin-actors in the lotus source tree.
2. Embed the bundle on build instead of downloading at runtime.
3. Avoid reading the bundle whenever possible by including bundle
metadata (the bundle CID, the actor CIDs, etc.).
4. Remove everything related to dependency injection.
1. We're no longer downloading the bundle, so doing anything ahead
of time doesn't really help.
2. We register the manifests on init because, unfortunately, they're
global.
3. We explicitly load the current actors bundle in the genesis
state-tree method.
4. For testing, we just change the in-use bundle with a bit of a
hack. It's not great, but using dependency injection doesn't make
any sense either because, again, the manifest information is
global.
5. Remove the bundle.toml file. Bundles may be overridden by
specifying an override path in the parameters file, or an
environment variable.
fixes #8701
2022-06-13 10:51:49 -07:00
Steven Allen
30981d0fdd
feat: refactor: actor bundling system ( #8838 )
...
1. Include the builtin-actors in the lotus source tree.
2. Embed the bundle on build instead of downloading at runtime.
3. Avoid reading the bundle whenever possible by including bundle
metadata (the bundle CID, the actor CIDs, etc.).
4. Remove everything related to dependency injection.
1. We're no longer downloading the bundle, so doing anything ahead
of time doesn't really help.
2. We register the manifests on init because, unfortunately, they're
global.
3. We explicitly load the current actors bundle in the genesis
state-tree method.
4. For testing, we just change the in-use bundle with a bit of a
hack. It's not great, but using dependency injection doesn't make
any sense either because, again, the manifest information is
global.
5. Remove the bundle.toml file. Bundles may be overridden by
specifying an override path in the parameters file, or an
environment variable.
fixes #8701
2022-06-13 10:15:00 -07:00
Łukasz Magiera
1cd94f598d
Merge pull request #8820 from filecoin-project/asr/deprecate-blocksync
...
refactor: remove old BlockSyncProtocolID
2022-06-13 18:36:21 +02:00
vyzo
d4d5ce3021
only enable rcmgr by default in full nodes
...
opt-in with envvar for other nodes, as there are still some issues
with markets related protocols
2022-06-13 12:16:20 -04:00
Geoff Stuart
b7010c9e60
Implement function to migrate actors with only code changes
2022-06-10 15:52:32 -04:00
Geoff Stuart
801c670edd
Remove ChainPutMany
2022-06-10 14:09:05 -04:00
Geoff Stuart
5c0f2c8ae6
Add putObj and putMany to apiBlockstore
2022-06-09 15:13:42 -04:00
Aayush
789f212f6c
refactor: remove old BlockSyncProtocolID
2022-06-08 13:38:56 -04:00
Aayush
b28c11a57d
Merge branch 'feat/nv16'
2022-06-03 14:01:49 -04:00
Aayush
91e69644c2
Merge branch 'feat/nv16' into jen/mergev1153to16
2022-06-03 13:18:27 -04:00
Geoff Stuart
782011b572
Cleanup LoadBundle
2022-06-01 22:22:52 -04:00
Jennifer Wang
2e59d0129d
Merge branch 'release/v1.15.3' into jen/mergev1153to16
2022-05-31 16:33:18 -04:00
vyzo
207ff66b3b
update comment.
...
Co-authored-by: Peter Rabbitson <ribasushi@protocol.ai>
2022-05-31 12:33:08 +03:00
vyzo
bc180c8d78
update comment.
...
Co-authored-by: Peter Rabbitson <ribasushi@protocol.ai>
2022-05-31 12:32:56 +03:00
vyzo
a1e6410178
remove outdated comment
2022-05-31 12:09:04 +03:00
vyzo
a313dcba74
only enable rcmgr by default in full nodes
...
opt-in with envvar for other nodes, as there are still some issues
with markets related protocols
2022-05-31 12:03:03 +03:00
Łukasz Magiera
56bde5adf9
Merge pull request #8692 from filecoin-project/feat/health-endpoints
...
feat: networking: add healthz and livez endpoints
2022-05-30 15:42:06 +02:00
Łukasz Magiera
48aa0131bf
fix: rpc: readd rpc.discover aliases
2022-05-27 17:03:03 +02:00
Aayush
4fa04abb8c
Add disable flag for Skyr upgrade
2022-05-26 18:20:49 -04:00
Geoff Stuart
30e7f89662
Check for manifest CID while loading bundle
2022-05-26 17:30:32 -04:00
Aayush Rajasekaran
06279b5f1a
Merge pull request #8606 from filecoin-project/asr/fix-drand-round
...
Fix: drand: calculation of round from Filecoin epochs
2022-05-25 15:36:53 -04:00
Aayush Rajasekaran
6924a3d5f2
Fix calculation of Drand round from Filecoin epochs
2022-05-25 12:43:52 -04:00
vyzo
bb0e3a6cb0
don't clobber test bundles during migration
2022-05-25 19:16:11 +03:00
Aayush Rajasekaran
c2f0bd3c62
Merge pull request #8668 from filecoin-project/asr/fix-post-test
...
fix wdpost_dispute tests
2022-05-24 14:22:01 -04:00
Aayush
2b847a98ae
fix wdpost_dispute tests
2022-05-24 13:58:30 -04:00
Cory Schwartz
d2299dfbf8
backoff/reconnect loop
2022-05-24 10:24:37 -07:00
Steven Allen
496799f867
build: set NetworkBundle in params file
...
Otherwise, we end up overriding the ldflags.
fixes #8684
2022-05-24 09:42:22 -07:00
Łukasz Magiera
70f3b98574
Fix config doc
2022-05-24 01:33:56 +02:00
Łukasz Magiera
7612860d15
config: Storage.DisallowRemoteFinalize
2022-05-23 23:53:25 +02:00
Łukasz Magiera
16f434c790
config: Plumb Assigner config correctly
2022-05-23 22:02:39 +02:00
Łukasz Magiera
443488b096
lint, docsgen
2022-05-23 22:02:39 +02:00
Łukasz Magiera
5ba8bd3b99
sched: Configurable assigners
2022-05-23 22:02:39 +02:00
Jennifer Wang
5cfedacf9f
make jen
2022-05-23 15:11:46 -04:00
Cory Schwartz
7d55ab0734
make atomic
2022-05-23 12:04:13 -07:00
Cory Schwartz
0a7fbd0fce
Merge remote-tracking branch 'origin/feat/health-endpoints' into feat/health-endpoints
2022-05-23 11:14:34 -07:00
Cory Schwartz
b4852038a1
Update node/health.go
...
Co-authored-by: Łukasz Magiera <magik6k@users.noreply.github.com>
2022-05-23 11:11:45 -07:00
Łukasz Magiera
389df95b00
config: Update batching comment in all the places
2022-05-23 18:49:01 +02:00
Cory Schwartz
45d15cb8ee
handle error during liveness check
2022-05-23 09:29:11 -07:00
Cory Schwartz
444d0b1b8a
add healthz and livez endpoints
2022-05-20 18:38:17 -07:00
vyzo
91daae2e36
add the network name to the bundle key in the datastore
2022-05-18 19:14:11 +03:00
Aayush
8cca9b1970
Use new go-state-types accessors
2022-05-17 15:21:27 -04:00
vyzo
93417fca7d
Merge pull request #8660 from filecoin-project/fix/issue-8659
...
[nv16] use network bundle names consistent with the network name
2022-05-17 22:13:02 +03:00
vyzo
31c8460116
fix typo
2022-05-17 21:47:01 +03:00
vyzo
ccb2e44e36
make path/url be a map of network name to car uri
2022-05-17 21:45:17 +03:00
vyzo
d949b6c8ef
fix envvar handling
2022-05-17 21:14:49 +03:00
vyzo
daf452a180
flexible bundle loading
2022-05-17 20:38:32 +03:00
vyzo
314b417446
use network bundle names consistent with the network name
2022-05-16 22:02:37 +03:00
vyzo
eee73eed59
use switch for release/path logic
2022-05-16 21:45:12 +03:00
vyzo
5eccdaaab7
fix typo
...
Co-authored-by: raulk <raul@protocol.ai>
2022-05-16 21:38:43 +03:00
vyzo
221e7952ab
fix typo
...
Co-authored-by: raulk <raul@protocol.ai>
2022-05-16 21:38:09 +03:00
vyzo
46a85fc11e
niceties for development bundle loading
2022-05-16 21:09:09 +03:00
vyzo
b4be759b2c
don't store dev bundle release keys in the datastore
...
This is a nicety for development, so that we always load a development bundle to avoid having
to give them distinct names etc. Just call you release "dev" or "dev.xxx..." and put the bundle
in `.lotus/builtin-actors/v8/dev/builting-actors-${network}.{car,sha256sum}` and it will be
unconditionally loaded.
2022-05-16 15:11:10 +03:00
vyzo
68b280b695
add comments in the DI bundle loader
2022-05-12 22:03:18 +03:00
LexLuthr
7e492f23b1
add dagstore register-shard command
2022-05-12 19:46:53 +05:30
vyzo
7be42d9935
refactor to pass the network bundle name through ldflags from build
2022-05-12 16:42:59 +03:00
vyzo
7b6f109401
add retry logic for bundle fetcher
2022-05-12 10:00:20 +03:00
vyzo
26d07fd987
move bundle fetcher to node/bundle instead of chain/actors
2022-05-12 09:51:08 +03:00
vyzo
da8bda3248
fix typo
2022-05-12 09:47:27 +03:00
vyzo
98730b90a3
fix lint
2022-05-11 22:41:56 +03:00
vyzo
74f300290e
dynamic loading of builtin actor bundles
2022-05-11 22:30:07 +03:00
Aayush Rajasekaran
c69b579201
Merge branch 'releases' into asr/merge-releases
2022-05-10 20:02:01 -04:00
Raúl Kripalani
6050d04c7c
Merge tag 'v1.15.2' into feat/nv16-merge-v1.15.2
2022-05-10 14:17:29 +01:00
Jakub Sztandera
5fb69281d8
Estimate gas across the upgrade with per message multipliers
...
Signed-off-by: Jakub Sztandera <kubuxu@protocol.ai>
2022-05-09 17:08:13 +02:00
Aayush Rajasekaran
8282484f65
Gas estimation: Overestimate by 2 around the M1 upgrade
2022-05-06 11:50:43 -04:00
Aayush Rajasekaran
26a780a198
Gas estimation: Refactor the special PayCh collect case
2022-05-06 11:42:26 -04:00
simlecode
962e37e893
add StateGetNetworkParams api
2022-05-05 14:16:30 +08:00
Łukasz Magiera
f9a4a400da
Merge pull request #8557 from filecoin-project/feat/worker-commp
...
sealing: DataCid on workers
2022-04-28 17:45:32 +02:00
Łukasz Magiera
d7c52f8adf
sealing: ComputeDataCid miner API
2022-04-26 21:37:48 +02:00
vyzo
30ed272aa9
fetch testing-fwp bundle
...
use testing-fwp bundle when InsecurePostValidation is true
testing-fwp is testing-fake-proofs
2022-04-26 18:38:52 +03:00
Travis Person
ea4f599233
Make MarketListDeals and DealsList return points for MarketDeal
2022-04-22 23:26:29 +00:00
Masih H. Derkani
d044e30e12
Infer index provider topic from network name by default
...
Index provider integration uses a gossipsub topic to announce changes to
the advertised content. The topic name was fixed to the default topic
which is `/indexer/ingest/mainnet`.
In the case of lotus, the gossipsub validators enforce a list of topics
the instance is permitted to join by setting subscription filter option
when `PubSub` instance is constructed via DI.
Having the fixed topic name meant that any SP starting up a node on a
network other than `mainnet` would have to override the default config
to avoid the node crashing when index provider is enabled.
Instead of a fixed default, the changes here infer the allowed indexer
topic name from network name automatically if the topic configuration is
left empty.
Fixes #8510
2022-04-22 02:46:05 +02:00
Masih H. Derkani
f273a440f0
Infer index provider topic from network name by default
...
Index provider integration uses a gossipsub topic to announce changes to
the advertised content. The topic name was fixed to the default topic
which is `/indexer/ingest/mainnet`.
In the case of lotus, the gossipsub validators enforce a list of topics
the instance is permitted to join by setting subscription filter option
when `PubSub` instance is constructed via DI.
Having the fixed topic name meant that any SP starting up a node on a
network other than `mainnet` would have to override the default config
to avoid the node crashing when index provider is enabled.
Instead of a fixed default, the changes here infer the allowed indexer
topic name from network name automatically if the topic configuration is
left empty.
Fixes #8510
2022-04-21 14:00:53 +01:00
vyzo
adaa02fd26
load testing bundles for tests
2022-04-19 17:33:20 +03:00
Geoff Stuart
49d6c07280
Implemented StateLoockupRobustAddress
2022-04-14 17:41:18 -04:00
vyzo
6bd2d89e30
use memory blockstore for miner manifest loading
2022-04-14 19:34:26 +03:00
vyzo
507b835a9c
need a blockstore for the manifest loader
2022-04-14 19:34:26 +03:00
vyzo
395c772222
make the miner load the manifest so that it can correctly map actors
2022-04-14 19:34:26 +03:00
vyzo
93f1fac76b
simplify DI -- no need for the special key for builtin actor loading
2022-04-14 19:33:24 +03:00
Aayush
339b7db2b7
Integrate FIP 0027
2022-04-14 19:32:56 +03:00
vyzo
36cb76a322
genesis depends on actor bundle
2022-04-14 19:30:47 +03:00
vyzo
5e3112fa95
introduce a marker type for builtin actor loading to make DI work
2022-04-14 19:29:22 +03:00
vyzo
f26d19ed7d
load actor bundle at startup and initialize the manifest CID from the loaded file
2022-04-14 19:29:22 +03:00
Icarus9913
98c861e3c9
fix the IndexProviderConfig comment
2022-04-13 17:44:06 +08:00
Łukasz Magiera
cc7055774d
chore: config: default-disable kvlog
2022-04-12 23:17:13 +02:00
Jiaying Wang
ce3c6472fb
Merge pull request #8470 from filecoin-project/feat/enable-rcmgr-by-default
...
enable rcmgr by default
2022-04-12 16:12:03 +02:00
Łukasz Magiera
cf92776c64
Merge pull request #8468 from filecoin-project/jen/mergeback
...
chore: merge releases back to master
2022-04-12 15:41:36 +02:00
vyzo
3c8aa18f70
enabled rcmgr by default; disable with LOTUS_RCMGR=0
2022-04-12 11:32:37 +03:00
Aayush Rajasekaran
656a33863f
Fixup merge
2022-04-11 20:45:13 -04:00
jennijuju
0dcad9cc18
Merge branch 'releases' into jen/mergeback
2022-04-12 01:25:02 +02:00
Łukasz Magiera
6bef1aeb82
feat: cli: lotus client list-asks --protocols
2022-04-11 19:49:52 +02:00
Masih H. Derkani
0a2429b467
Fix DI of PubSub
in markets by binding dependencies it needs
...
Bind drand and bootstrap peers config so that `PubSub` instantiated by
`ConfigCommon` has all the dependencies it needs when `PubSub` instance
is needed in markets. In ths case, the instance is needed by the index
provider engine to announce new indexing advertisements.
2022-04-07 11:06:29 -04:00
Masih H. Derkani
e37c54f38e
Reuse the market process PubSub
instance in index provider engine
...
The markets process instantiates its own `PubSub` instance with all
validators, peer scoring, etc. set up. Use that instane to join the
indexing topic, otherwise the default topic instantiated by
index-provider internally (via go-legs) has no validators.
2022-04-07 11:06:23 -04:00
Masih H. Derkani
4043923e56
Set index provider options based on lotus config
...
Always set index provider options based on the lotus configuration.
Otherwise, they will have no effect.
2022-04-07 11:05:09 -04:00
Masih H. Derkani
f369d99138
Fix DI of PubSub
in markets by binding dependencies it needs
...
Bind drand and bootstrap peers config so that `PubSub` instantiated by
`ConfigCommon` has all the dependencies it needs when `PubSub` instance
is needed in markets. In ths case, the instance is needed by the index
provider engine to announce new indexing advertisements.
2022-04-06 20:04:39 +01:00
Masih H. Derkani
7e7e88e330
Reuse the market process PubSub
instance in index provider engine
...
The markets process instantiates its own `PubSub` instance with all
validators, peer scoring, etc. set up. Use that instane to join the
indexing topic, otherwise the default topic instantiated by
index-provider internally (via go-legs) has no validators.
2022-04-06 19:39:12 +01:00
Masih H. Derkani
b88307f875
Set index provider options based on lotus config
...
Always set index provider options based on the lotus configuration.
Otherwise, they will have no effect.
2022-04-06 16:08:10 +01:00
Łukasz Magiera
2b3fad1261
fix: node: Fix market node startup
2022-04-01 17:32:55 -04:00
Łukasz Magiera
d95f24b9d2
config: Sane default parallel sector read defaults
2022-03-29 14:52:37 -04:00
Łukasz Magiera
ebd34f1884
feat: storage: Parallel proving checks
2022-03-29 11:45:08 -04:00
Łukasz Magiera
54cb55a7ae
feat: miner: API/CLI to compute window-post
2022-03-28 17:06:51 -04:00
Łukasz Magiera
c951e348b4
feat: config: Move MakeNewSectorForDeals config into the Sealing sectoin
2022-03-26 23:45:48 -04:00
Łukasz Magiera
b78892934b
feat: config: Move MakeNewSectorForDeals config into the Sealing sectoin
2022-03-26 15:50:21 -04:00
Łukasz Magiera
82343a06e7
Merge remote-tracking branch 'origin/master' into feat/post-worker
2022-03-25 16:49:46 -04:00
Łukasz Magiera
7c4d3a457c
Merge pull request #8343 from filecoin-project/feat/more-snap-config
...
feat: sealing: More SnapDeals config knobs
2022-03-25 15:07:00 -04:00
Łukasz Magiera
945b93590d
ping: Match go-ipfs in cmd output
2022-03-21 15:11:19 +01:00
Łukasz Magiera
701d0a111e
Merge branch 'feat/net-ping' of github.com:ychiaoli18/lotus into feat/net-ping
2022-03-21 13:06:11 +01:00
Łukasz Magiera
92e4caa151
Merge remote-tracking branch 'origin/master' into feat/post-worker
2022-03-21 12:09:47 +01:00
Łukasz Magiera
433e9c351d
config: Fix doc on PreferNewSectorsForDeals; gofmt
2022-03-21 12:07:00 +01:00
Łukasz Magiera
97a73f1c29
sealing: More SnapDeals config knobs
2022-03-21 12:04:23 +01:00
Łukasz Magiera
fc34d9ba1c
Merge pull request #8086 from filecoin-project/nonsense/refactor-nodetype
...
refactor: convert RepoType from int to interface
2022-03-21 11:57:39 +01:00
Anton Evangelatov
0ed8647b6f
extract unixfs filestore into lib
2022-03-21 10:48:52 +01:00
Łukasz Magiera
5365ccfdb1
cli: Show separate worker types in miner info
2022-03-18 21:31:15 +01:00
Łukasz Magiera
7b81369c8c
wdpost: Don't attempt to snark with skipped sectors
2022-03-18 19:45:25 +01:00
Anton Evangelatov
0d6493ec3f
resolve merge conflicts with master
2022-03-18 12:28:22 +01:00
Łukasz Magiera
6ddbe41376
Merge remote-tracking branch 'origin/master' into feat/post-worker
2022-03-18 10:54:44 +01:00
Aayush Rajasekaran
2ed2ee1da7
Merge branch 'release/v1.15.1' into feat/fvm
2022-03-17 11:31:56 -04:00
Łukasz Magiera
037e80c70c
gofmt
2022-03-17 12:10:24 +01:00
Łukasz Magiera
1c055fe83b
Merge branch 'master' into test/t.TempDir
2022-03-17 12:06:52 +01:00
Łukasz Magiera
d3cec2f0d1
sealing: Add MakeCCSectorsAvailable config
2022-03-16 22:29:40 +01:00
Łukasz Magiera
a3bdd29615
Merge pull request #8330 from filecoin-project/feat/snap-queue
...
feat: sealing: Sector upgrade queue
2022-03-16 22:24:45 +01:00
Aayush Rajasekaran
90d78f924f
Merge pull request #8293 from filecoin-project/feat/fvm
...
Filecoin Virtual Machine integration
2022-03-16 15:51:56 -04:00
Łukasz Magiera
4ded059a1c
sealing: Add MakeCCSectorsAvailable config
2022-03-16 19:29:47 +01:00
Darko Brdareski
79453663b3
feat: Add additional test annotations ( #8272 )
...
* Annotate api,proxy_util,blockstore_badger, policy tests
* Annotate splitstore: bsbadger / markset
* Annotate splitstore feature
* Annotate union/timed blockstore tests
* Annotate openrpc, diff_adt tests
* Annotate error,drand,events tests
* Annotate predicates_test
* Fix annotations
* Annotate tscache, gen tests
* Annotate fundmanager test
* Annotate repub and selection tests
* Annotate statetree_test
* Annotate forks_test
* Annotate searchwait_test.go
* Fix duplicated @@ symbols
* Annotate chain stmgr/store tests
* Annotate more (types) tests
* More tests annotated
* Annotate conformance chaos actor tests
* Annotate more integration tests
* Annotate journal system tests
* Annotate more tests.
* Annotate gas,head buffer behaviors
* Fix markset annotations
* doc: test annotations for the markets dagstore wrapper
* Annotate miner_api test in dagstore
* Annotate more test files
* Remove bad annotations from fsrepo
* Annotate wdpost system
* Remove bad annotations
* Renamce "conformance" to "chaos_actor" tests
* doc: stm annotations for blockheader & election proof tests
* Annotate remaining "A" tests
* annotate: stm for error_test
* memrepo_test.go
* Annotate "b" file tests
* message_test.go
* doc: stm annotate for fsrepo_test
* Annotate "c" file tests
* Annotate "D" test files
* message_test.go
* doc: stm annotate for chain, node/config & client
* docs: stm annotate node_test
* Annotate u,v,wl tests
* doc: stm annotations for various test files
* Annotate "T" test files
* doc: stm annotate for proxy_util_test & policy_test
* doc: stm annotate for various tests
* doc: final few stm annotations
* Add mempool unit tests
* Add two more memPool Add tests
* Update submodules
* Add check function tests
* Add stm annotations, refactor test helper
* Annotate api,proxy_util,blockstore_badger, policy tests
* Annotate splitstore: bsbadger / markset
solving merge conflicts
* Annotate splitstore feature
* Annotate union/timed blockstore tests
* Annotate openrpc, diff_adt tests
* Annotate error,drand,events tests
* Annotate predicates_test
* Fix annotations
* Annotate tscache, gen tests
* Annotate fundmanager test
* Annotate statetree_test
* Annotate forks_test
* Annotate searchwait_test.go
* Fix duplicated @@ symbols
* Annotate chain stmgr/store tests
* Annotate more (types) tests
* More tests annotated
* Annotate conformance chaos actor tests
* Annotate more integration tests
* Annotate journal system tests
* Annotate more tests.
* Annotate gas,head buffer behaviors
solve merge conflict
* Fix markset annotations
* Annotate miner_api test in dagstore
* Annotate more test files
* doc: test annotations for the markets dagstore wrapper
* Annotate wdpost system
* Renamce "conformance" to "chaos_actor" tests
* Annotate remaining "A" tests
* doc: stm annotations for blockheader & election proof tests
* annotate: stm for error_test
* Annotate "b" file tests
* memrepo_test.go
* Annotate "c" file tests
* message_test.go
* Annotate "D" test files
* doc: stm annotate for fsrepo_test
* Annotate u,v,wl tests
* message_test.go
* doc: stm annotate for chain, node/config & client
* docs: stm annotate node_test
* Annotate "T" test files
* doc: stm annotations for various test files
* Add mempool unit tests
solve merge conflict
* doc: stm annotate for proxy_util_test & policy_test
* doc: stm annotate for various tests
* doc: final few stm annotations
* Add two more memPool Add tests
* Update submodules
* Add check function tests
solve conflict
* Add stm annotations, refactor test helper
solve merge conflict
* Change CLI test kinds to "unit"
* Fix double merged test
* Fix ccupgrade_test merge
* Fix lint issues
* Add stm annotation to types_Test
* Test vectors submodule
* Add file annotation to burn_test
Co-authored-by: Nikola Divic <divicnikola@gmail.com>
Co-authored-by: TheMenko <themenkoprojects@gmail.com>
2022-03-16 18:37:34 +01:00
Aayush
16128a0212
Merge branch 'master' into feat/fvm
2022-03-16 11:57:46 -04:00
Aayush
9ea623e125
Rename the Lotus VM to LegacyVM
2022-03-15 19:40:17 -04:00
Jiaying Wang
ada499ef14
Merge pull request #8314 from filecoin-project/jen/indexsetting
...
feat: config: enable indexer providing by default
2022-03-15 19:33:49 -04:00
Jiaying Wang
c98ef0aaf8
Merge pull request #8317 from filecoin-project/jen/backport
...
chore: backport: release to master
2022-03-15 19:12:20 -04:00
vyzo
9fcafff847
adjust conns to 2x maxconns for duplicate connections
2022-03-15 10:02:27 +02:00
vyzo
53c525f0ed
improve resource manager integration
...
- add opt-in env var to control instantation, until we are comfortable with testing to enble by default.
- adjust default limits if the connection manager high mark is higher than the default inbound conn limit.
2022-03-15 09:43:18 +02:00
Jennifer Wang
8a2a2d065d
Merge branch 'releases' into jen/backport
2022-03-15 02:07:35 -04:00
Jennifer Wang
6240729ee4
enable indexer providing by default
2022-03-14 23:24:52 -04:00
Eng Zer Jun
c229842f57
test: use T.TempDir
to create temporary test directory
...
The directory created by `T.TempDir` is automatically removed when the
test and all its subtests complete.
Reference: https://pkg.go.dev/testing#T.TempDir
Signed-off-by: Eng Zer Jun <engzerjun@gmail.com>
2022-03-15 00:21:31 +08:00
Łukasz Magiera
135aef78d7
Merge remote-tracking branch 'origin/master' into feat/post-worker
2022-03-11 17:04:58 +01:00
Łukasz Magiera
81f0cfdd1e
Merge pull request #8276 from filecoin-project/feat/faster-clientcalccommp
...
feat: api: Make ClientCalcCommP multithreaded
2022-03-10 23:22:48 +01:00
Łukasz Magiera
0d9e34d651
client impl: Fix typo in ClientCalcCommP CopyBuffer error
2022-03-10 22:41:45 +01:00