Commit Graph

17944 Commits

Author SHA1 Message Date
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
Aayush
38c3ab20e8 Update to FVM 3.0.0-alpha.18 2023-01-10 13:14:40 -05:00
Jennifer Wang
cb49edf29d update embryo to placehodler 2023-01-09 22:23:55 -05:00
Jennifer Wang
72c04caae9 get hyperspace cids 2023-01-09 21:21:30 -05:00
Jennifer Wang
370c8adec9 add bundle from https://github.com/filecoin-project/builtin-actors/releases/tag/dev%2F20230109-prehyperspace 2023-01-09 21:02:54 -05:00
Jennifer Wang
f05d3d8836 add hyperspacenet 2023-01-09 20:41:44 -05:00
ychiao
402173ea16
Merge pull request #9955 from filecoin-project/itest/eth-block
itests: Eth JSON-RPC: EthGetBlockByHash and EthGetBlockByNumber
2023-01-08 17:31:03 +09:00
Aayush Rajasekaran
77b235df90
Merge pull request #9958 from filecoin-project/asr/fevm-registry
Add new FEVM actors to the registry
2023-01-06 13:53:04 -05:00
ZenGround0
06393da4ff
feat:splitstore:retain tipset references in hot store (#9960)
* Retain tipset reference

Co-authored-by: zenground0 <ZenGround0@users.noreply.github.com>
2023-01-06 12:39:07 -05:00
Geoff Stuart
ccd08c2d55
Merge pull request #9959 from filecoin-project/gstuart/sectors-fix
fix: revert change to sectors.go
2023-01-06 12:21:52 -05:00
Aayush Rajasekaran
c7ec974ff0 Add new FEVM actors to the registry 2023-01-06 11:38:11 -05:00
Geoff Stuart
460c91b93f Remove accidental changes to sectors.go 2023-01-03 10:20:34 -05:00
ychiao
7029364f4d check non-existent block hash 2023-01-02 17:21:47 +08:00
ychiao
f8e215c817 itests: Eth JSON-RPC: EthGetBlockByHash and EthGetBlockByNumber 2023-01-02 11:20:05 +08: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 Rajasekaran
cf6593ff50
Merge pull request #9935 from filecoin-project/asr/fixup-docs
fix: docgen: correctly check for exported fields
2022-12-23 16:11:58 -05:00
Aayush Rajasekaran
7c916c10cf
Merge pull request #9904 from filecoin-project/asr/put-tsk
fix: chainstore: store tipsetkeys in the blockstore
2022-12-23 14:17:02 -05:00
raulk
f532825fe0
Merge pull request #9937 from filecoin-project/raulk/merge-wallaby 2022-12-23 18:27:11 +00:00
Raúl Kripalani
5c8a02f92a back out bundle and network changes. 2022-12-23 18:26:41 +00:00