Commit Graph

18472 Commits

Author SHA1 Message Date
Geoff Stuart
f88fc0719f
Merge pull request #10155 from omahs/patch-1
Fix: typos
2023-02-01 17:47:17 -05: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
Łukasz Magiera
0a35e9659b feat: shed: Add a tool to read data from sectors 2023-02-01 17:51:12 +01:00
Geoff Stuart
87397eaffa Allow f4 address to send to all address types if ID address exists on chain 2023-02-01 11:46:45 -05:00
Ian Davis
245be406d9 Fix merge conflicts 2023-02-01 16:41:01 +00:00
Maciej Witowski
90fced7cb2 Test: assert all fields returned from EthGetTransactionByHash have expected values
Related to  https://github.com/filecoin-project/lotus/pull/10151#discussion_r1092358973
2023-02-01 17:38:09 +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
Łukasz Magiera
ccb20d56ab
Merge pull request #10164 from filecoin-project/deps/jsonrpc-v0.2.1
deps: Update go-jsonrpc to v0.2.1
2023-02-01 14:38:50 +01:00
Łukasz Magiera
8d62cb22f9 deps: Update go-jsonrpc to v0.2.1 2023-02-01 14:07:24 +01:00
Mike Seiler
c6bd9bc9e0 tests that use create2 and destroy to validate evm state 2023-02-01 06:55:52 +00:00
Mike Seiler
3adafea574 merge 2023-02-01 06:51:32 +00:00
snissn
9060c474da
test: fevm: add in tests for deploying, destroying contracts, recursive calls, sending value (#10082)
adds the following tests to itests/fevm_test.go:
 - recursive tests
 - delegate call tests
 - delegate call recursive tests
 - revert tests
 - destruct tests
 - contract deploy address tests
 - send value to contracts
 - gas limit on value transfer tests
 - sending value to destroyed contracts
adds the test to itests/fevm_address_test.go:
 - deploy contract and confirm address is different second deploy
2023-01-31 19:13:13 -10:00
Jiaying Wang
a38e63998e
Merge pull request #10154 from filecoin-project/gstuart/re-add-not-serving-v0-api
fix: api: should not serve non v0 apis in v0
2023-01-31 19:18:12 -05:00
omahs
28101be1b7
Fix: typos
Fix: typos
2023-01-31 23:33:11 +01:00
omahs
7d5c7f5fec
Fix: typos
Fix: typos
2023-01-31 23:30:09 +01:00
omahs
ed63798082
Fix: typo
Fix: typo
2023-01-31 23:28:24 +01:00
omahs
05c5e18899
Fix: typo
Fix: typo
2023-01-31 23:27:40 +01:00
omahs
0c17d78356
Fix: typo
Fix: typo
2023-01-31 23:25:26 +01:00
omahs
fa97016573
Fix: typos
Fix: typos
2023-01-31 23:23:42 +01:00
omahs
37d41f3f83
Fix: typo
Fix: typo
2023-01-31 23:20:20 +01:00
Jennifer Wang
5d87fc8278 fix: should not serve non v0 api in v1 2023-01-31 17:06:02 -05:00
Maciej Witowski
27465e5faf
Merge pull request #10151 from filecoin-project/maciej/1614
Eth JSON-RPC: from in eth_getTransactionByHash is not correctly popul…
2023-01-31 20:30:33 +01:00
Aayush
99b879d014 Add test for EthGetTransactionByHash 2023-01-31 12:55:46 -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
Maciej Witowski
070aca2b65 Eth JSON-RPC: from in eth_getTransactionByHash is not correctly populated #1614 2023-01-31 17:52:46 +01:00
Jiaying Wang
dc5f865d54
Merge pull request #10027 from filecoin-project/feat/correct-eth-sub
feat: rpc: correct `eth_subscribe` implementation
2023-01-31 09:44:59 -05: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
Phi-rjan
b8e7262b14
Merge pull request #10147 from filecoin-project/fix/add-args-usage 2023-01-31 13:03:13 +01:00
Phi
b334b2055f fix: cli: add ArgsUsage
fix: cli: add ArgsUsage
2023-01-31 11:56:55 +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
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
Łukasz Magiera
13fc5b688f
Merge pull request #10028 from filecoin-project/gstuart/cli-color-cleanup
chore: cli: Remove unneeded individual color flags
2023-01-31 09:23:16 +01:00
Łukasz Magiera
beb70a3db1
Merge pull request #10116 from filecoin-project/fix/rpcenc-hang
fix: rpcenc: Don't hang when source dies
2023-01-31 09:18:51 +01:00
Łukasz Magiera
482e13706f
Merge pull request #10138 from Jorropo/go-bitswap-to-libipfs
chore: node: migrate go-bitswap to go-libipfs/bitswap
2023-01-30 22:52:13 +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
Geoff Stuart
6518122a2d
Merge pull request #10144 from filecoin-project/gstuart/sqlite-leak
fix: eth: plug sqlite leak
2023-01-30 12:13:26 -05:00
Geoff Stuart
395cdd721e simplify transaction hash db queries, prevent fd leaks 2023-01-30 11:03:12 -05: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
Aayush Rajasekaran
60193a2ddd
Merge pull request #10136 from filecoin-project/asr/update-types
chore: deps: Update to go-state-types v0.10.0-alpha-11
2023-01-27 15:40:34 -05:00
Aayush
7edfe9d759 Update to go-state-types v0.10.0-alpha-11 2023-01-27 15:32:08 -05:00
Geoff Stuart
a9c1caa188 Standardize path variable 2023-01-27 11:27:13 -05:00
Ian Davis
eacf3f1830 go fmt 2023-01-27 15:20:23 +00:00
Ian Davis
67805fd25a Refactor to ensure conformance test can run in circleci 2023-01-27 15:13:38 +00:00