Steven Allen
49cd428c43
nit: put evm case in a block
2023-02-17 11:17:35 -08:00
Steven Allen
a3bc65ba05
fix: eth: return the correct nonce from EthGetTransactionCount
...
EVM contracts track this number internally.
fixes https://github.com/filecoin-project/lotus/issues/10255
2023-02-17 10:51:42 -08:00
Steven Allen
00b6d06041
feat: eth: parse revert data ( #10295 )
...
We don't really want to do this in the FVM because it's Ethereum
specific, but this makes sense to do in the Ethereum API.
See:
See https://docs.soliditylang.org/en/latest/control-structures.html#panic-via-assert-and-error-via-require
2023-02-17 01:18:03 +00:00
Steven Allen
5854d72784
fix: eth: correctly decode EthGetStorageAt output ( #10284 )
...
* fix: eth: correctly decode EthGetStorageAt output
We cbor-encode it. Also:
1. Actually use the passed block param.
2. Check if the target actor is an EVM actor to avoid nonsense outputs.
fixes https://github.com/filecoin-project/ref-fvm/issues/1621
2023-02-16 16:36:52 -08:00
Aayush Rajasekaran
a2b996e054
Merge pull request #10286 from filecoin-project/asr/eth-address-api
...
feat: EthAPI: Add EthAddressToFilecoinAddress
2023-02-16 13:04:20 -05:00
Aayush
1d0a524b88
feat: EthAPI: Add EthAddressToFilecoinAddress
2023-02-16 12:24:17 -05:00
Łukasz Magiera
2dd2edc1d3
Merge pull request #10280 from filecoin-project/asr/fix-shed
...
fix: shed: default to LOTUS_PATH for repo
2023-02-15 18:57:15 +01:00
Aayush
4f259d8644
Revert "Standardize path variable"
...
This reverts commit a9c1caa188
.
2023-02-15 11:09:24 -05:00
Jiaying Wang
6a90d32885
chore: add v1.20.0-rc1 changelog ( #10273 )
...
* add v1.20.0-rc1 changelog
Co-authored-by: Aayush Rajasekaran <arajasek94@gmail.com>
2023-02-14 20:52:32 -05:00
Aayush Rajasekaran
6b56b7710d
Merge pull request #10248 from filecoin-project/jen/v1200rc1prep
...
build: release: v1.20.0-rc1 prep
2023-02-14 20:02:52 -05:00
jennijuju
39c709f7b3
update butterfly artifects
2023-02-14 19:24:35 -05:00
Aayush
3f063f7cd7
fix: StorageKey is now fixed-size array
2023-02-14 19:04:43 -05:00
jennijuju
45cbbe6c7a
update to gst 10-rc3
2023-02-14 18:48:41 -05:00
jennijuju
30fe2c7c69
- add calibration nv18 upgade epoch
...
- bump version to v1.20.0-rc1
2023-02-14 18:48:23 -05:00
Łukasz Magiera
7150243cda
feat: ethrpc: Support newPendingTransactions in eth_subscribe ( #10269 )
2023-02-14 16:15:42 +00:00
Jiaying Wang
86b4aeef1a
Merge pull request #10258 from filecoin-project/steb/fix-msg-modify
...
fix: stmgr: copy the message before modifying it
2023-02-14 10:07:24 -05:00
raulk
11ac325d1a
Revert "fix: stmgr: check message validity before invoking vm" ( #10270 )
...
This reverts commit 2bbd1fbbb6
.
2023-02-14 14:06:33 +00:00
Jiaying Wang
b1e1d2d205
Merge pull request #10266 from filecoin-project/steb/update-ffi
...
chore: ffi: update the FFI
2023-02-13 22:28:16 -05:00
Steven Allen
abeb4fadc4
fix: itest: EthFeeHistory flake ( #10265 )
2023-02-14 02:42:44 +00:00
Steven Allen
2ed92c222d
chore: ffi: update the FFI
...
This:
- Improves error handling when the FFI is passed invalid messages.
- Updates the FVM.
2023-02-13 18:42:29 -08:00
Aayush Rajasekaran
3c4a83916b
Merge pull request #10259 from filecoin-project/steb/call-check-message-validity
...
fix: stmgr: check message validity before invoking vm
2023-02-13 21:29:19 -05:00
snissn
9f2f9154d2
itest for block.difficulty ( #10263 )
2023-02-13 18:29:11 -08:00
ychiao
0d92c746bd
Eth JSON-RPC: populate reward in eth_feeHistory ( #10245 )
...
Co-authored-by: Łukasz Magiera <magik6k@users.noreply.github.com>
Co-authored-by: Raúl Kripalani <raul@protocol.ai>
2023-02-14 01:02:37 +00:00
Steven Allen
a16c54051c
fix: eth: rename yParity to v in transaction return values ( #10264 )
...
fixes https://github.com/filecoin-project/ref-fvm/issues/1662
2023-02-13 23:29:13 +00:00
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
Steven Allen
77fbc60cb8
fix: stmgr: copy the message before modifying it
2023-02-13 10:06: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