Commit Graph

1395 Commits

Author SHA1 Message Date
Raúl Kripalani
e78dbd2535 gen. 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
93b3da98e8 {Delegated=>Deterministic} Address. 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
8ef17332ba {predictable=>delegated} addresses. 2023-01-12 08:50:38 +00:00
Shrenuj Bansal
2bdae2f444
test: Add f4 address integration test and cli to generate eth address from code (#9924)
* Add f4 integration test and cli to generate eth addr from code

* make gen and docsgen

* fix lint

* address comments

* make gen and make docsgen sigh

* address moar comments

* use existing APIs to determine actor types

* Add IsEvmActor API

* "strings are bad" -Geoff
2022-12-21 12:51:22 -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
Shrenuj Bansal
d916253cb5 small nit 2022-12-19 14:41:46 -05:00
Shrenuj Bansal
8baa48256a Address more comments 2022-12-19 13:19:52 -05:00
Shrenuj Bansal
f14eda4468 address comments 2022-12-19 13:05:11 -05:00
Shrenuj Bansal
c2629b0a96 Use StateGetActor instead of StateAccountKey 2022-12-19 12:49:45 -05:00
Geoff Stuart
4ae498a72e Fixes 2022-12-16 17:24:46 -05:00
Geoff Stuart
92f3a7b050 Merge branch 'feat/nv18-fevm' into feat/nv18-events 2022-12-16 16:27:14 -05:00
Shrenuj Bansal
cbc61a274f small correction on cli usage 2022-12-16 13:16:29 -05:00
Shrenuj Bansal
4b2ff01a55 make gen and lint 2022-12-16 13:03:27 -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
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
33a176eae4
Merge pull request #9753 from filecoin-project/gstuart/fix-devnet-deals
fix: cli: Check upper bound for deal duration
2022-12-12 09:33:23 -05:00
Jennifer Wang
3bb12f4417 fmt 2022-12-08 02:56:45 -05:00
Jiaying Wang
129531b03e
Update chain.go 2022-12-08 02:47:39 -05:00
Steven Allen
266492fa1c Merge branch 'feat/nv18-fevm' into feat/nv18-events 2022-12-07 22:16:56 -08:00
Steven Allen
8504401d69 Merge branch 'master' into feat/nv18-fevm 2022-12-07 21:48:15 -08:00
zenground0
e1a4cf02f4 Remove unused flag for clarity 2022-12-05 16:06:03 -07:00
Łukasz Magiera
11633ff1f7 fix: cliutil: Fix URL-based API endpoint parsing 2022-12-02 20:16:40 +01:00
Aayush Rajasekaran
6443e72ad7 Merge branch 'master' into feat/nv18-fevm 2022-11-29 20:16:12 -06:00
Geoff Stuart
c2e469095c Check upper bound for deal duration 2022-11-29 15:18:29 -05:00
Geoff Stuart
e6e50ee9f7 more linter 2022-11-25 17:05:41 -05:00
Ian Davis
9f85d3dca7 Address simple linter issues 2022-11-24 16:32:27 +00:00
Steven Allen
176275267b Merge branch 'feat/nv18' into feat/nv18-fevm 2022-11-22 10:32:26 -08:00
Geoff Stuart
21afb3f5ea Review fixes 2022-11-16 15:07:23 -05:00
raulk
2735e81aaa
feat: events: integrate with FVM changes (#9644) 2022-11-16 09:30:35 +00:00
Geoff Stuart
62fedfbce3 Make pre-migration optional 2022-11-15 23:12:04 -05:00
Shrenuj Bansal
800d9de4d5 Address comments 2022-11-14 15:46:58 -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
vyzo
0bde9e5f50 client: check address protocol, add TODO 2022-11-11 05:07:22 +02:00
vyzo
deea6797c5 make gen 2022-11-10 02:52:06 +02:00
vyzo
2b23372ad3 fixup merge artifacts 2022-11-10 02:51:57 +02:00
Steven Allen
ea54499f24 fix: allow deploying from f1/f3 accounts (#9554)
Co-authored-by: Raúl Kripalani <raul@protocol.ai>
2022-11-09 19:47:24 +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
32617a61df fix eth_feeHistory: add missing param. 2022-11-09 19:47:06 +02:00
Raúl Kripalani
6d5ec6aff8 fix address recovery from pubkey. 2022-11-09 19:46:24 +02:00
Raúl Kripalani
0cff785068 fix lotus state evm commands to use EAM. 2022-11-09 19:42:56 +02:00
Steven Allen
98e7623480 fix: evm: decode params/return in cli (#9536) 2022-11-09 19:40:31 +02:00
Steven Allen
aa0e6c17b9 Eth TX Encoding (#9531) 2022-11-09 19:39:49 +02:00
vyzo
b9ed239cf4 add --hex option to create-evm-actor 2022-11-09 19:30:08 +02:00
vyzo
2cda4547d6 fix evm constructor input data 2022-11-09 19:30:08 +02:00
vyzo
fc273bb79e add chain create-evm-actor and invoke-emv-actor commands 2022-11-09 19:14:23 +02:00
Łukasz Magiera
b540d10b48 cli: Move ClientExport to cliutil 2022-11-08 09:37:43 +00:00