Commit Graph

18119 Commits

Author SHA1 Message Date
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
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
Łukasz Magiera
048ccc71bb
Merge pull request #9964 from ribasushi/chore/remove_obsolete_ribastat
chore:shed This stat-set does not belong in core lotus
2023-01-05 10:16:48 +01:00
Łukasz Magiera
37752d1d48
Merge pull request #9962 from filecoin-project/feat/ci-gen-diff
feat: ci: show gen diff more clearly in gen checks
2023-01-05 10:11:58 +01:00
Peter Rabbitson
3de006364e This stat-set does not belong in core lotus 2023-01-04 16:02:25 +01:00
Łukasz Magiera
0881a01433 make gen 2023-01-04 15:35:35 +01:00
Łukasz Magiera
920d0c9e0a feat: ci: show gen diff more clearly in gen checks 2023-01-04 15:23:11 +01:00
Łukasz Magiera
472eaaa1cc
Merge pull request #9892 from hanabi1224/close-write
fix: networking: call Stream.CloseWrite right after writing
2023-01-04 15:08:39 +01:00
Łukasz Magiera
273184b084
Merge pull request #9941 from beck-8/feat/add_renew_max_sectors
add renew max-sectors flag
2023-01-04 14:45:30 +01:00
hanabi1224
f4b4a63217 Merge remote-tracking branch 'origin/master' into close-write 2023-01-04 20:10:29 +08:00