Commit Graph

18087 Commits

Author SHA1 Message Date
Łukasz Magiera
eadf8b680c address review 2023-01-13 21:55:14 -05:00
Jennifer Wang
427fbdb8a9 Merge branch 'release/v1.20.0' into jen/resolveconflict 2023-01-13 21:50:57 -05:00
Jiaying Wang
84bad8a79a
Merge pull request #10008 from filecoin-project/jen/sad
fix: hyperspace build
2023-01-13 21:39:28 -05:00
Jennifer Wang
75443681ba im stupid 2023-01-13 21:36:52 -05:00
Jiaying Wang
0731fe2637
Merge pull request #10004 from filecoin-project/raulk/remove-hack
remove leftover hack.
2023-01-13 21:08:24 -05:00
Aayush
3421e6a127 fix: delegated signatures: check every field of txs and roundtrip eth <-> FIL 2023-01-13 20:28:51 -05:00
Aayush Rajasekaran
2de9c4365b
Merge pull request #9957 from filecoin-project/asr/ethaccount-tests
feat: more ethaccount abstraction tests
2023-01-13 15:41:31 -05:00
Aayush Rajasekaran
35a37bacdf feat: more ethaccount abstraction tests 2023-01-13 15:07:40 -05:00
Raúl Kripalani
e25728cb68 remove leftover hack. 2023-01-13 19:59:09 +00: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
22231dc34f gateway: Limits and proxy for eth_ methods 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
46a50960d3 track remaining TODOs as TODO::FVM. 2023-01-13 01:44:39 +00:00
Raúl Kripalani
6de2aca8ae change ResolveToKeyAddr => ResolveToDeterministicAddr + friends. 2023-01-13 01:44:39 +00:00
Raúl Kripalani
2c839924c6 fix tests. 2023-01-12 23:50:24 +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
c61edd1d6d make gen. 2023-01-12 08:50:38 +00:00
Raúl Kripalani
008d04fd57 use existing variable for empty object CID. 2023-01-12 08:50:38 +00:00
Raúl Kripalani
1c7db7c782 clear up error message. 2023-01-12 08:50:38 +00:00
Raúl Kripalani
08ae1391ad address review comments. 2023-01-12 08:50:38 +00:00
Raúl Kripalani
06b40bcedb fix comment. 2023-01-12 08:50:38 +00:00
Raúl Kripalani
892819aeec fix test. 2023-01-12 08:50:38 +00:00
Raúl Kripalani
e78dbd2535 gen. 2023-01-12 08:50:38 +00:00
Raúl Kripalani
3320754a62 remove fmt.Println. 2023-01-12 08:50:38 +00:00
Raúl Kripalani
1bfbe447db cli: fix Eth-related CLI (+).
1. Move contract deployment and invocation commands to the "eth" command group.
2. Remove the hack to use EAM#Create2 for an external contract creation.
3. Remove code made stale as a result of these refactors.
2023-01-12 08:50:38 +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
593255570b go fmt + lint. 2023-01-12 08:50:38 +00:00
Raúl Kripalani
93b3da98e8 {Delegated=>Deterministic} Address. 2023-01-12 08:50:38 +00:00
Raúl Kripalani
d520dbbc4b update genesis logic to create Eth Null Addresses as EthAccounts. 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
73d6c7b28a move EthAddressFromPubKey to chain/types/ethtypes. 2023-01-12 08:50:38 +00:00
Raúl Kripalani
4aafd42462 strengthen assertions in TestEthNewPendingTransactionFilter. 2023-01-12 08:50:38 +00:00
Raúl Kripalani
e60199a823 add link to TODO issue. 2023-01-12 08:50:38 +00:00
Raúl Kripalani
8ef17332ba {predictable=>delegated} addresses. 2023-01-12 08:50:38 +00:00
Raúl Kripalani
a71816279d adjust IsValidSecpkSigType and usages. 2023-01-12 08:50:38 +00:00
Raúl Kripalani
8f4c4268ba cleanup. 2023-01-12 08:50:38 +00:00
Raúl Kripalani
6b8d4b4de2 consolidate signature validation logic. 2023-01-12 08:50:38 +00:00
Raúl Kripalani
a8c33de80b consolidate signature validation logic. 2023-01-12 08:50:38 +00:00
Raúl Kripalani
ac38c9776c add a network version gate to IsValidForSending. 2023-01-12 08:50:38 +00:00
Steven Allen
c73a0b5265 fix: fevm: don't hard-code method numbers 2023-01-11 18:44:14 -08:00
Shrenuj Bansal
3456d90e0d
itests: Add tests for eth get balance and transaction submits (#9966)
* Add tests for eth get balance and transaction submits

* fix lint

* one more lint

* Add contract invocation test

* address comments

* fix lint

* address final comment

* make gen and fix lint as always
2023-01-10 19:28:49 -05:00
Aayush Rajasekaran
95501b77dd
Merge pull request #9978 from filecoin-project/jen/hyper
feat: network: introduce hyperspace :integrate the new bundle type
2023-01-10 16:23:59 -05:00
Aayush
1046b3014f Update to go-state-types v0.10.0-alpha-9 2023-01-10 16:06:26 -05:00
Aayush
06584bbb78 Fixup multisig_test 2023-01-10 13:35:13 -05:00