Steven Allen
2bbd1fbbb6
fix: stmgr: check message validity before invoking vm
...
Otherwise we may, e.g., try to estimate gas on a message to an f4
address before the nv18 migration.
I'm _not_ checking the "prior messages" here as this is just a sanity
check.
2023-02-13 11:01:42 -08:00
Steven Allen
f427c2b566
fix: eth: correctly convert filecoin message <-> eth txn ( #10257 )
...
1. We do allow deploying with empty initcode.
2. Make sure that the encoded "code" is non-empty, if specified.
Basically, this makes everything consistent (and it's how I specified it
in the FIP).
2023-02-13 10:33:59 -08:00
Łukasz Magiera
03fd703db5
Merge pull request #10218 from filecoin-project/mikers/itestsProxy
...
test: itest: fevm proxy contracts
2023-02-13 14:03:56 +01:00
Mike Seiler
3177f63a17
add test for transparent delegate proxy from openzeppelin
2023-02-13 13:57:18 +01:00
Łukasz Magiera
7b959ab39c
Merge pull request #10246 from filecoin-project/steb/fix-eth-get-code-none
...
fix: eth: correctly handle ethGetCode ege-cases
2023-02-13 13:13:00 +01:00
Łukasz Magiera
a652ffcb62
make gen
2023-02-13 13:09:09 +01:00
Łukasz Magiera
98482a2795
Merge pull request #10250 from filecoin-project/jen/ipldcp
...
backport: deps: update ipld prime
2023-02-13 13:03:56 +01:00
Jennifer Wang
948a963f15
update ipld prime
2023-02-13 00:06:30 -05:00
Steven Allen
b765112896
fix: correctly handle ethGetCode edge-cases
...
1. If the actor is a non-evm actor, return "nothing".
2. Correctly handle missing actors.
3. Handle self-destructed actors (they'll return "null").
fixes https://github.com/filecoin-project/ref-fvm/issues/1641
2023-02-12 20:38:47 -08:00
Steven Allen
a085eb1593
fix: eth: correctly return empty bytecode after selfdestruct
2023-02-12 19:31:56 -08:00
raulk
37e1ac5d93
eth: FIP-0055: implement final version of transitory delegated signature. ( #10239 )
2023-02-12 21:08:42 +00:00
Łukasz Magiera
1ee9516887
Merge pull request #9961 from filecoin-project/fix/EthUint64-args
...
Eth JSON-RPC: support passing uint64 in JSON-RPC arguments for EthUint64
2023-02-11 01:12:13 +01:00
Aayush Rajasekaran
5e12916aec
Merge pull request #10237 from filecoin-project/asr/update-everything
...
chore: deps: update FFI, go-state-types, actors to RCs
2023-02-10 18:37:32 -05:00
Aayush
753a0e5408
Update actors to v10.0.0-rc.1
2023-02-10 17:59:52 -05:00
Aayush
83bce7c94f
disable adding git tags to bundle metadata
2023-02-10 17:58:57 -05:00
Aayush
2ec34e2c46
Update to go-state-types v0.10.0-rc2
2023-02-10 17:56:48 -05:00
Raúl Kripalani
6a76bbb6e3
improve TODO.
2023-02-10 22:46:57 +00:00
Raúl Kripalani
c61267cadc
fix bad test.
2023-02-10 22:42:17 +00:00
Aayush
e167891207
Update to FFI v1.20.0-rc1
2023-02-10 17:38:29 -05:00
ychiao
8cded9f8d2
add todo
2023-02-10 17:34:53 -05:00
Raúl Kripalani
778768dbf7
eth_feeHistory: parse block param correctly.
2023-02-10 22:29:52 +00:00
ychiao
db749b8fc7
Merge branch 'release/v1.20.0' into fix/EthUint64-args
2023-02-10 17:26:38 -05:00
Steven Allen
01e616f29e
fix: stmgr: make the tipset and height agree when estimating gas ( #10216 )
...
* fix: stmgr: make the tipset and height agree when estimating gas
Specifically re-execute all messages in the current tipset, tacking the new
message onto the end. That way, the epoch is the epoch of the current tipset.
We could try to "make" a fake block and use that, but that's unlikely to
work well.
* fix: stmgr: only apply tipset messages for CallWithGas
* fix: itest: window post dispute
2023-02-10 20:49:26 +00:00
Aayush Rajasekaran
1996694a2a
Merge pull request #10215 from filecoin-project/steb/txhash-topic
...
feat: eth: harden event processing
2023-02-10 15:16:34 -05:00
ychiao
5e56af33df
fix typo
2023-02-10 13:52:25 -05:00
ychiao
3c580403c1
implement itest and handle optional params
2023-02-10 13:33:59 -05:00
Steven Allen
b0d917d542
fix: make gen
2023-02-10 09:32:59 -08:00
Steven Allen
cc302dd68b
fix: eth: log on unexpected events
...
We can remove these later as we add more event types, but this will aid
in debugging.
2023-02-10 07:59:47 -08:00
ychiao
37044ed3c3
Apply suggestions from code review
...
Co-authored-by: raulk <raul@protocol.ai>
2023-02-10 10:42:19 -05:00
Steven Allen
ece8f25511
fix: eth: strict event parsing
...
We now enforce the following rules:
1. No duplicate topics or data.
2. Topics must have 32 byte keys.
3. Topics may not be skipped. (e.g., no t1 & t3 without a t2).
4. Raw codecs.
We _don't_ require that topics/data be emitted in any specific order.
We _skip_ events with unknown keys. We _drop_ events that violate the
above rules.
2023-02-10 07:41:29 -08:00
Steven Allen
f1381ad535
refactor: use EthHash for event topics
...
This ensures they're always 32 bytes and padded, as required.
2023-02-10 07:41:29 -08:00
Łukasz Magiera
1588dd3dbe
Merge pull request #10227 from filecoin-project/fix/signing-noexport
...
fix: Don't call WalletExport in msg signing flows
2023-02-10 16:21:24 +01:00
Raúl Kripalani
e06e3a0654
Merge branch 'release/v1.20.0' into fix/EthUint64-args
2023-02-10 12:49:02 +00:00
Steven Allen
80fccba93f
fix: gas: update ffi & correct the message inclusion cost in nv18 ( #10228 )
...
Co-authored-by: Raúl Kripalani <raul@protocol.ai>
2023-02-10 12:48:20 +00:00
Łukasz Magiera
54ed1f12ff
Merge pull request #10230 from filecoin-project/chore/nv18-butterflynet-reset-artifacts
...
updates butterflynet reset artifacts
2023-02-10 12:57:15 +01:00
Łukasz Magiera
37e9fe90ae
Merge pull request #10189 from filecoin-project/raulk/timestamp-null-rounds
...
fix: null rounds: pass correct timestamp to the FVM.
2023-02-10 12:15:44 +01:00
ognots
bc4ae8d383
updates butterflynet reset artifacts
...
* bootstrap node multiaddr
* new genesis file
these files are necessary for others to build lotus and join the new butterflynet, reset on February 08, 2023
2023-02-09 21:45:44 -05:00
Łukasz Magiera
088d231cda
fix: Don't call WalletExport in msg signing flows
2023-02-10 02:37:59 +01:00
Raúl Kripalani
d30ace0518
Merge branch 'release/v1.20.0' into raulk/timestamp-null-rounds
2023-02-09 22:58:08 +00:00
Raúl Kripalani
6302771ff5
remove test vectors bleeding edge job.
...
We no longer need it because specs-actors is deprecated.
v7 vectors have been merged to master.
2023-02-09 22:49:57 +00:00
Raúl Kripalani
15f45d5d9e
bump test vectors.
2023-02-09 22:48:28 +00:00
Aayush Rajasekaran
038686bea2
Merge pull request #10225 from filecoin-project/steb/fix-actor-state-check
...
fix: chain: make sure the head is empty, not the code
2023-02-09 14:51:46 -05:00
Steven Allen
a83f120f32
fix: chain: make sure the head is empty, not the code
2023-02-09 11:36:02 -08:00
Łukasz Magiera
0f05232199
Merge pull request #10224 from filecoin-project/feat/ethcli-strip-spaces
...
feat: eth cli: Strip out empty spaces around contract bytes
2023-02-09 19:24:49 +01:00
Jiaying Wang
1c13a591e9
Merge pull request #10223 from filecoin-project/feat/ethtx-fixes
...
fix: ethrpc: Add missing fields to EthTx
2023-02-09 13:13:26 -05:00
Łukasz Magiera
75f9b7d040
Merge pull request #10119 from filecoin-project/gstuart/tx-hash-on-simport-napshot
...
feat: eth: populate tx hash database on startup
2023-02-09 19:06:20 +01:00
Łukasz Magiera
ada32395ca
Merge pull request #10160 from filecoin-project/gstuart/send-from-f4
...
feat: cli: allow value send from f4 to any address type
2023-02-09 18:53:40 +01:00
Łukasz Magiera
b0fa75f13e
feat: eth cli: Strip out empty spaces around contract bytes
2023-02-09 18:49:08 +01:00
Łukasz Magiera
4f5fea848c
Merge pull request #10163 from filecoin-project/mikers/create2test2
...
tests: itests: test create2 and destroy
2023-02-09 18:33:54 +01:00
Łukasz Magiera
c98093be03
Merge remote-tracking branch 'origin/release/v1.20.0' into mikers/create2test2
2023-02-09 18:19:47 +01:00