Raúl Kripalani
8ff55c027e
Merge branch 'release/v1.20.0' into asr/merge-release-into-master
2023-02-13 11:45:09 +00:00
raulk
37e1ac5d93
eth: FIP-0055: implement final version of transitory delegated signature. ( #10239 )
2023-02-12 21:08:42 +00:00
Aayush
63b03a48d0
Merge branch 'release/v1.20.0' into asr/merge-release-into-master
2023-02-10 18:39:51 -05: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
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
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
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
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
b0fa75f13e
feat: eth cli: Strip out empty spaces around contract bytes
2023-02-09 18:49:08 +01:00
Łukasz Magiera
cb8e2836bb
Merge pull request #10184 from filecoin-project/asr/merge-release-into-master
...
chore: merge release/v1.20.0 into master
2023-02-09 16:41:58 +01:00
Łukasz Magiera
e321761a72
ethrpc: Add missing fields to EthTx
2023-02-09 14:26:13 +01:00
Łukasz Magiera
554dd2f1ee
itests: Test EVM bytecode getters, check bytecode hash
2023-02-09 13:23:17 +01:00
Łukasz Magiera
8d6aa2477c
feat: actors: Add bytecode getter
2023-02-09 13:12:16 +01:00
Łukasz Magiera
9339267e6e
fix: ethrpc: emit correct bloom filters ( #10194 )
2023-02-08 23:14:53 +00:00
Steven Allen
89499bfd40
fvm: chore: update FVM
...
This:
1. Updates the builtin actors bundle (for actors v10).
2. Updates the event entry type to include the codec.
3. Removes the cbor encoding and zero trimming from event data.
I've chose to:
1. _Not_ add codec handling to the event filtering system for now.
2. _Skip_ events with unexpected codecs.
We don't actually _allow_ these events in the FVM right now, and it
simplifies the implementation.
However, I _am_ recording the codecs in the database so we don't have to
migrate it later.
2023-02-07 18:15:40 -08:00
Aayush Rajasekaran
693f230fbb
Merge branch 'release/v1.20.0' into asr/merge-release-into-master
2023-02-07 11:03:01 -05:00
Aayush Rajasekaran
6a268cfb63
chain: explicitly check that gasLimit is above zero
2023-02-06 17:53:00 -05:00
Raúl Kripalani
0cf3a5e704
fix: null rounds: pass correct timestamp to the FVM.
2023-02-06 16:58:58 +00:00
Łukasz Magiera
5dc56841ea
fix: ethtypes: Correct 'no transactions' hash in NewEthBlock
2023-02-06 17:17:19 +01:00
Łukasz Magiera
424824019b
fix: ethtypes: Correct 'no uncles' hash in NewEthBlock
2023-02-06 14:38:48 +01:00
Łukasz Magiera
6851b6a523
Merge remote-tracking branch 'origin/release/v1.20.0' into fix/eth-orpc-validate
2023-02-06 10:41:52 +01:00
Aayush
f291572b4a
Merge branch 'release/v1.20.0' into asr/merge-release-into-master
2023-02-03 09:27:04 -05:00
raulk
b46258d0bf
feat: evm: align events implementation with FIP-0049 and FIP-0054. ( #10152 )
...
- Event keys are now t1, t2, t3, t4 for topics; and d for data.
- ref-fvm no longer stores events in the blockstore for us. It just
returns events to the client, who is now responsible for handling
them as it wishes / according to its configuration.
- Add a flag to VMOpts to have the events AMT be written in the blockstore.
- Add a flag to the ChainStore to advertise to the rest of the system
if the ChainStore is storing events.
- Enable that flag if the EthRPC is enabled (can also add an explicit
configuration flag if wanted).
2023-02-02 19:10:30 -08:00
Łukasz Magiera
fe1e0974cb
feat: ethrpc: Support filtering by address in subscribe
2023-02-02 14:46:36 +01:00
Ian Davis
d29a244064
Merge remote-tracking branch 'origin/release/v1.20.0' into iand/eth-openrpc-validate
2023-02-01 16:19:17 +00:00
Łukasz Magiera
ad14d71978
eth rpc: Params are optional in eth_subscribe
2023-01-31 11:08:51 +01:00
Łukasz Magiera
9701b11641
ethtypes: Serialize EthFilterID/EthSubscriptionID correctly
2023-01-31 10:28:12 +01:00
Geoff Stuart
e0326d9d39
Populate transaction hash database if the database has not been set up before
2023-01-30 16:33:04 -05:00
Geoff Stuart
af72e6f6ac
Refactor: Unify EthTx to FilecoinMessage methods v2 ( #10095 )
...
* Refactor: Unify EthTx to FilecoinMessage methods
* Filecoin messages can again be converted to Eth Txs
* All BLS messages should calculated tx hash with unsigned message
* Refactor newEthTxReceipt
* fill in from and to for non-eth transactions
* Hoist nil check out of newEthTxFromMessageLookup
---------
Co-authored-by: Aayush <arajasek94@gmail.com>
Co-authored-by: Raúl Kripalani <raul@protocol.ai>
2023-01-30 18:40:14 +00:00
Geoff Stuart
395cdd721e
simplify transaction hash db queries, prevent fd leaks
2023-01-30 11:03:12 -05:00
Jorropo
f572852d06
chore: all: bump go-libipfs to replace go-block-format
...
Includes changes from:
- https://github.com/ipfs/go-block-format/pull/37
- https://github.com/ipfs/go-libipfs/pull/58
2023-01-26 17:03:18 +01:00
Phi
4fb9e2fd6a
make jen
...
- Add builtin.EthereumAddressManagerActorAddr to builtin.go.template and make jen
- Rename to EthereumAddressManagerActorAddr to match pattern of other actors (CronActorAddr/etc)
2023-01-26 16:26:39 +01:00
Phi
8f6c569391
Add actors to circ-supply
...
- Consider funds to EAM as locked
- Add evm, placeholder and ethaccount to circ supply
2023-01-26 15:39:51 +01:00
Ian Davis
4500c02e49
Merge branch 'release/v1.20.0' into iand/eth-openrpc-validate
2023-01-26 14:23:42 +00:00
Ian Davis
c82dccc76c
Merge branch 'release/v1.20.0' into iand/issue-9849-realtime
2023-01-26 12:11:14 +00:00
Ian Davis
a9cd76907e
Merge branch 'release/v1.20.0' into iand/eth-openrpc-validate
2023-01-26 11:35:33 +00:00
Aayush
8842b21ec9
feat: vm: Assert empty object CID when dumping state
2023-01-25 12:35:18 -05:00
Ian Davis
58cd226d6b
Change EthBlock.Extradata type to EthBytes
2023-01-24 14:46:16 +00:00
Ian Davis
8daf22c3ff
Test and fix eth_FeeHistory
2023-01-24 11:27:18 +00:00
Aayush
e9f665214a
Merge branch 'release/v1.20.0' into asr/merge-release-into-master
2023-01-23 12:23:47 -05:00
Aayush Rajasekaran
a21bba8ac2
Merge pull request #10084 from filecoin-project/asr/delegated-siggy
...
feat: minor improvements to Ethereum delegated siggys
2023-01-23 12:11:51 -05:00
Ian Davis
7d1bd1d5ab
Use gojsonschema
2023-01-23 16:50:40 +00:00
Ian Davis
ddd5ff9c42
fix: event filters use cbor encoding internally ( #10085 )
2023-01-23 14:14:25 +00:00
Aayush
4f199ada40
Merge branch 'release/v1.20.0' into asr/merge-release-into-master
2023-01-20 17:32:29 -05:00
Geoff Stuart
439b4c6e22
Cleanups
2023-01-20 16:51:01 -05:00
Geoff Stuart
50f26e9721
Fix testground build
2023-01-20 13:27:04 -05:00
ychiao
57bf1c7a89
Eth JSON-RPC: support passing uint64 in JSON-RPC arguments for EthUint64
2023-01-20 12:37:37 -05:00
Aayush
972e68a8c1
feat: minor improvements to Ethereum delegated siggys
2023-01-20 10:21:00 -05:00
Ian Davis
c5ed5dd254
itests: add event matrix tests for realtime eth filters and subscriptions
2023-01-20 14:01:25 +00:00
Raúl Kripalani
21c93f1dc1
Merge branch 'release/v1.20.0' into iand/issue-9849-filters
2023-01-20 01:11:31 +00:00
Raúl Kripalani
2a9069200d
use len to conduct empty byte array checks.
2023-01-20 00:57:53 +00:00
Raúl Kripalani
2c56687527
fix: events: put the _signed_ message through the pipeline.
...
We were putting the unsigned/VM message through the pipeline.
The events index was storing the _unsigned_ message CID.
However, the Eth tx hash index maps signed Delegated-signature message
CIDs to transaction hashes, i.e. it uses the _signed_ message CID.
As a result, eth_getLogs and other log-related methods were
unable to resolve the transaction hash from the index properly, and
would end up returning 0x00..00 in the transactionHash field.
2023-01-20 00:36:06 +00:00
Shrenuj Bansal
522e96f016
fix: msg signing with delegated keys and send cli changes ( #10056 )
...
* fix msg signing with delegated keys and send cli changes
* make gen and docsgen
* address comments
2023-01-19 17:57:48 -05:00
Aayush
5518e64574
fix: chain: put tipsetkey upon expansion of tipset
2023-01-19 11:33:49 -05:00
Ian Davis
a08b557938
Merge branch 'release/v1.20.0' into iand/issue-9849-filters
2023-01-19 13:01:12 +00:00
Ian Davis
ca5cab4c43
Cleanup and fix eth filter tests
2023-01-19 12:58:23 +00:00
Ian Davis
061e8cca1f
Add itest for EthGetLogs filter combinations
2023-01-18 17:33:54 +00:00
Shrenuj Bansal
ee54a7f3f5
feat: snapshot: Store tipset key cids in chain store during snapshot import ( #10042 )
...
* Store tipset key cids in chain store during snapshot import
* make gen
* fix circle ci config
* fix lint
* address comments
2023-01-18 11:22:05 -05:00
Aayush
e715384173
Merge branch 'release/v1.20.0' into asr/merge-release-into-master
2023-01-16 10:51:22 -05:00
Geoff Stuart
f8121c8f1c
Add gc for eth tx database
2023-01-16 07:04:20 -05:00
Geoff Stuart
f8dee0983a
review fixes
2023-01-16 01:56:55 -05:00
Geoff Stuart
a8436074a6
Store mapping from hashes for Ethereum transactions to Filecoin Message Cids
2023-01-16 01:17:56 -05:00
Steven Allen
2a3989e4bd
fix: check for unread params bytes in all cases ( #10018 )
2023-01-14 15:45:19 -08:00
Aayush
e0c09c0396
remove invalid test cases
2023-01-14 12:30:06 -05:00
Jennifer Wang
51d77d408b
add bundle dev/20230114-pre-rc.2
2023-01-14 01:41:46 -05:00
vyzo
859cdca4f7
update go-state-types
...
use CreateExternal
use CreateExternal in itest evm deployment
add missing import
update gst
2023-01-14 01:11:11 -05:00
Aayush Rajasekaran
cc86117289
Merge pull request #10007 from filecoin-project/asr/delegated-siggy
...
fix: delegated signatures: check every field of txs and roundtrip eth <-> FIL
2023-01-14 00:14:38 -05:00
Steven Allen
1045dce1ea
guarantee round-trip
2023-01-13 20:14:22 -08:00
Aayush
3421e6a127
fix: delegated signatures: check every field of txs and roundtrip eth <-> FIL
2023-01-13 20:28:51 -05:00
Raúl Kripalani
e25728cb68
remove leftover hack.
2023-01-13 19:59:09 +00:00
raulk
cdf3812e40
NV18: Filecoin EVM runtime + Actor Events + EthAccount + EAM + f4 addressing ( #9998 )
...
Co-authored-by: Steven Allen <steven@stebalien.com>
Co-authored-by: Raul Kripalani <raulk@users.noreply.github.com>
Co-authored-by: Kevin Li <ychiaoli18@users.noreply.github.com>
Co-authored-by: vyzo <vyzo@hackzen.org>
Co-authored-by: Ian Davis <nospam@iandavis.com>
Co-authored-by: Aayush Rajasekaran <arajasek94@gmail.com>
Co-authored-by: Jiaying Wang <42981373+jennijuju@users.noreply.github.com>
Co-authored-by: Jennifer Wang <jiayingw703@gmail.com>
Co-authored-by: Geoff Stuart <geoff.vball@gmail.com>
Co-authored-by: Shrenuj Bansal <shrenuj.bansal@protocol.ai>
Co-authored-by: Shrenuj Bansal <108157875+shrenujbansal@users.noreply.github.com>
Co-authored-by: Geoff Stuart <geoffrey.stuart@protocol.ai>
Co-authored-by: Aayush Rajasekaran <aayushrajasekaran@Aayushs-MacBook-Pro.local>
Co-authored-by: ZenGround0 <5515260+ZenGround0@users.noreply.github.com>
Co-authored-by: zenground0 <ZenGround0@users.noreply.github.com>
2023-01-13 19:11:13 +00:00
Łukasz Magiera
9a46682d9d
Merge pull request #9481 from consensus-shipyard/adlrocha/cns-iface-master
...
IPC: Abstract common consensus functions and consensus interface
2023-01-11 14:49:27 +01:00
hanabi1224
f4b4a63217
Merge remote-tracking branch 'origin/master' into close-write
2023-01-04 20:10:29 +08:00
hanabi1224
6b14b0536e
fix: error checks
2023-01-04 20:10:21 +08:00
Łukasz Magiera
d8570576af
Merge pull request #9902 from filecoin-project/asr/restrict-verifblock
...
chore: VM: don't export Extern::VerifyBlockSig
2023-01-04 12:18:02 +01:00
hanabi1224
83554afebc
Merge remote-tracking branch 'origin/master' into close-write
2023-01-02 16:42:21 +08:00
Łukasz Magiera
156ba420c3
fix: splitstore: Don't deadlock in mpool protector
2022-12-17 13:14:50 +01:00
Aayush
28b4ebd52b
chore: VM: don't export Extern::VerifyBlockSig
2022-12-16 16:54:09 -05:00
hanabi1224
6ae7cdab64
call Stream.CloseWrite right after writing
2022-12-16 17:22:53 +08:00
Geoff Stuart
d615b1c806
Update go-state-types
2022-12-14 19:33:47 -05:00
Aayush Rajasekaran
a264893543
Merge pull request #9873 from filecoin-project/gstuart/print-addr-key-not-found
...
feat: wallet: Print addr when key not found
2022-12-14 13:36:50 -05:00
Geoff Stuart
8c566c3bda
Print addr when key not found
2022-12-14 12:27:06 -05:00
Geoff Stuart
ae4010ffb6
Drop actor keys from chain/actors/manifest.go
2022-12-13 18:02:34 -05:00
Geoff Stuart
e1926a06e8
Use abi.MethodNum instead of uint64 for method nums
2022-12-13 12:29:31 -05:00
Alfonso de la Rocha
3988cc9b2c
disabling cb delivery delay for sync tests
2022-12-13 14:50:02 +01:00
Alfonso de la Rocha
939e515d23
fix race in cb cache
2022-12-13 12:45:01 +01:00
Alfonso de la Rocha
f2cc452d4c
remove error from rcvBlock. type/docs gen
2022-12-13 12:13:20 +01:00
Alfonso de la Rocha
91bd679d1e
consistent broadcast delay as build param
2022-12-13 11:13:51 +01:00
Alfonso de la Rocha
894da941af
Merge branch 'master' into adlrocha/consistent-bcast
2022-12-13 10:31:59 +01:00
Geoff Stuart
f95e6602a0
Check for nil returns from StateSectorGetInfo
2022-12-12 10:44:08 -05:00
Alfonso de la Rocha
075216d9da
Merge remote-tracking branch 'upstream/master' into adlrocha/cns-iface-master
2022-12-05 18:16:14 +01:00
Łukasz Magiera
3155b345c1
Merge pull request #9784 from filecoin-project/frrist/config-migration-worker-limit
...
chain/migrations refactor: optionally set max migration workers
2022-12-05 10:05:44 +01:00
Frrist
9a9e00085e
Update chain/consensus/filcns/upgrades.go
...
Co-authored-by: Łukasz Magiera <magik6k@users.noreply.github.com>
2022-12-02 15:26:41 -08:00
Łukasz Magiera
cdf169ed83
fix: chain: Fix flaky TestChainExportImport
2022-12-02 22:13:12 +01:00
frrist
0236952955
refactor: optionally set max migration workers
...
- configure via LOTUS_MIGRATION_MAX_WORKER_COUNT
2022-12-02 11:40:43 -08:00
Łukasz Magiera
6abf7384e2
Merge pull request #9741 from filecoin-project/feat/faster-snapshot-import
...
feat: chain: Faster snapshot imports, zstd import
2022-11-29 18:17:36 +01:00
Aayush Rajasekaran
15afe384ff
Merge branch 'master' into feat/nv18
2022-11-29 10:01:51 -06:00
Łukasz Magiera
32efd0fbc2
Merge pull request #9497 from ipfs-force-community/fix/add_check_gaspremium
...
fix:mpool add gaspremium check when less than maxfee
2022-11-29 16:53:22 +01:00
Łukasz Magiera
ac8ab3ef9e
feat: chain: Faster snapshot imports, zstd imports
2022-11-29 14:10:15 +01:00
Geoff Stuart
b55e121642
Fix some more linter errors
2022-11-25 16:19:20 -05:00
Ian Davis
9f85d3dca7
Address simple linter issues
2022-11-24 16:32:27 +00:00
Aayush
40278cd3c1
Update to go-state-types v0.10.0-alpha-2
2022-11-23 17:36:49 -05:00
Geoff Stuart
d9df433e98
Add missing check in datacap for each
2022-11-22 15:40:44 -05:00
Steven Allen
2651a38f89
Merge branch 'master' into feat/nv18
2022-11-22 10:08:54 -08:00
Steven Allen
e78d1306ee
feat: fvm: add support for looking up past tipset CIDs ( #9687 )
...
* feat: add support for generating tipset CIDs
(cherry-picked from feat/nv18-fevm)
* feat: fvm: add support for looking up past tipset CIDs
We do this by adding yet another "getter" to the VM that resolves an
epoch into a TipSetKey.
Co-authored-by: Kevin Li <ychiaoli18@users.noreply.github.com>
2022-11-22 12:41:03 -05:00
Aayush Rajasekaran
6067968c07
Merge pull request #9654 from filecoin-project/gstuart/gas-estimation-tooling
...
feat: cli: gas estimation tooling
2022-11-22 09:55:19 -05:00
Alfonso de la Rocha
f5b027eda3
address review
2022-11-22 10:52:11 +01:00
Alfonso de la Rocha
0f92bced9d
Merge branch 'master' into adlrocha/cns-iface-master
2022-11-22 10:28:18 +01:00
Geoff Stuart
96035005b8
Fold together call functions
2022-11-18 00:10:12 -05:00
Steven Allen
348494d7c8
feat: actors: add the evm to the builtin actors shims ( #9672 )
2022-11-17 06:55:40 -08:00
frrist
0ae02be001
I love code gen somuchss
2022-11-16 17:22:20 -08:00
frrist
4f513692f9
fix: update paych mock to sat interface
2022-11-16 17:22:20 -08:00
frrist
e61b9b2a65
refactor: add inspection methods to actor gen interface
...
- adds the following methods to all generated actor interfaces:
- Code() cid.Cid
- ActorKey() string
- ActorVersion() actorstypes.Version
- AllCodes() []cid.Cid
2022-11-16 17:22:18 -08:00
frrist
a780756eac
refactor: expose address map bitwidth and hash function
2022-11-16 14:49:42 -08:00
Geoff Stuart
21afb3f5ea
Review fixes
2022-11-16 15:07:23 -05:00
Geoff Stuart
cde4b804e3
gas estimation shed command
2022-11-15 21:39:56 -05:00
Shrenuj Bansal
22f3fbb9a3
Add comment to Push API
2022-11-15 17:02:08 -05:00
Shrenuj Bansal
ab1eeeba24
one more
2022-11-14 16:11:49 -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
378c9d37d0
lint
2022-11-09 11:38:16 +02:00
vyzo
cc79d7f79c
register v10 actor method meta
2022-11-09 11:32:50 +02:00
vyzo
0b6d1ad20b
set predictable address when creating account actors
2022-11-09 11:15:16 +02:00
vyzo
335d0bec3e
set predictable address for account actors in genesis
2022-11-09 11:11:20 +02:00
vyzo
6bf7b0312e
make gen
2022-11-09 10:45:11 +02:00
vyzo
674d127701
state tree version 5 scaffolding
2022-11-09 10:44:51 +02:00
vyzo
1aadbf16ba
define StateTreeVersion5 for NetworkVersion18
2022-11-09 08:30:42 +02:00
vyzo
5cb1e8a5d6
define filcns.UpgradeActorsV10
2022-11-09 07:36:09 +02:00
vyzo
6aee53fc8b
make gen
2022-11-09 07:36:09 +02:00
vyzo
5e4f24ec60
add NV18 actor keys
2022-11-09 07:36:09 +02:00
vyzo
6373e9752c
agen
2022-11-09 07:36:09 +02:00
vyzo
7ffd1635f5
fix residual v9 references in templates
2022-11-09 07:36:09 +02:00
vyzo
50b971091f
define actors version 10
2022-11-09 07:36:09 +02:00
Steven Allen
c6f2710e1c
feat: future proof against new address protocols
...
This lets us add new address protocols to go-address without implicitly
accepting them in messages on the network.
2022-11-08 12:28:23 -08:00
Steven Allen
8df5b81f24
fix: make test vector extraction work with the FVM
...
This also ignores the VM "Flush" option and instead, flushes
unconditionally (in the FVM):
1. In the FVM, we don't read blocks on flush (ever).
2. All _uses_ of TVX use a "proxy" blockstore that buffers writes, so
nothing should actually get flushed to lotus.
2022-11-07 16:09:44 -05:00
Aayush
f77c849a2b
address merge review
2022-11-07 15:34:19 -05:00
Aayush
c0b7343e60
Merge branch 'release/v1.18.0' into asr/merge-release-into-master
2022-11-06 14:40:13 -05:00
Geoff Stuart
884b9004db
bubble up errors properly from ApplyImplicitMessage
2022-11-01 10:12:22 +00:00
Geoff Stuart
ec5358773e
statemanager call function will return call information even if call errors
2022-10-31 13:23:11 +00:00
Aayush
7609655986
address review
2022-10-20 13:49:29 -04:00
Aayush
3401ef6f02
Add a second premigration for nv17
2022-10-19 16:50:13 -04:00
Aayush Rajasekaran
84050170b9
Merge pull request #9520 from filecoin-project/asr/invoker-method-name
...
feat: Invoker: Use MethodMeta from go-state-types
2022-10-19 16:49:26 -04:00
Aayush
13b59c9c23
Invoker: Use MethodMeta from go-state-types
2022-10-19 15:53:26 -04:00
Aayush
66bb149a65
Migration: Use autobatch bs
2022-10-19 11:56:11 -04:00
Shrenuj Bansal
ad8b959880
Address more comments and add test for gorpc auth
2022-10-18 15:53:42 -04:00
Geoff Stuart
cdd7f26fb3
Allow setting local bundles for Debug FVM for av 9+
2022-10-18 12:48:24 -04:00
Shrenuj Bansal
15ed1ee33c
Merge branch 'master' into sbansal/nonce-coordination-and-consensus-for-chain-nodes
2022-10-17 22:55:48 -04:00
hunjixin
e8aacf325c
fix: add gaspremium check when less than maxfee
2022-10-17 12:02:56 +08:00
Shrenuj Bansal
139f8773de
fix some bugs and address some comments
2022-10-16 22:52:22 -04:00
Alfonso de la Rocha
c65ab1b277
minor fix
2022-10-14 11:28:43 +02:00
Geoff Stuart
8460536068
Fix miner state precommit info
2022-10-13 16:38:30 -04:00
Aayush Rajasekaran
3c1b723c7f
Merge pull request #9486 from filecoin-project/gstuart/remove-banner
...
fix: upgrade: no splash banner for nv17 :(
2022-10-13 15:20:39 -04:00
Geoff Stuart
f891714db2
Remove fvm splash banner from nv17 upgrade
2022-10-13 15:19:17 -04:00
Aayush Rajasekaran
c4fdeb19a9
Merge pull request #9483 from filecoin-project/jen/calib
...
chore: build: add calib upgrade param for shark
2022-10-13 15:11:33 -04:00
Aayush Rajasekaran
e549a3fb4a
Merge pull request #9482 from filecoin-project/gstuart/fix-grant-datacap
...
fix: actors: fix verifreg checking notary balance
2022-10-13 14:14:39 -04:00
Geoff Stuart
8d162267e8
revert change to verifreg util
2022-10-13 13:33:22 -04:00
Jennifer Wang
48bf70f3ee
shark params
2022-10-13 12:18:28 -04:00
Alfonso de la Rocha
fa71ed607b
more cleaning
2022-10-13 17:07:34 +02:00
Alfonso de la Rocha
3105596c9e
Clean pending files from rebase
2022-10-13 17:03:18 +02:00
Alfonso de la Rocha
9bfb73211e
fixed RewardFunc
2022-10-13 16:43:02 +02:00
Alfonso de la Rocha
88d3de7afc
run make gen to make ci happy
2022-10-13 16:43:02 +02:00
Alfonso de la Rocha
95c0afb99b
minor fixes
2022-10-13 16:43:02 +02:00
Kevin Li
9d1208c9ff
api: ethrpc: implement eth_sendRawTransaction ( #9334 )
...
Co-authored-by: Raúl Kripalani <raul@protocol.ai>
2022-10-13 16:39:14 +02:00
Alfonso de la Rocha
c3ee957cc6
rm signature fns from cns iface
2022-10-13 16:30:25 +02:00
Alfonso de la Rocha
536600c95c
added comments to consensus interface
2022-10-13 16:30:25 +02:00
Alfonso de la Rocha
627d6e70a6
parametrized reward function for consensus
2022-10-13 16:30:14 +02:00
Alfonso de la Rocha
43d557e0f4
minor fix
2022-10-13 16:28:45 +02:00
Alfonso de la Rocha
5626c69ce5
wip: abstract common fns required for consensus
2022-10-13 16:28:45 +02:00
Geoff Stuart
6daf3c097f
Add datacap actor to registry.go
2022-10-12 15:54:36 -04:00
Łukasz Magiera
ce17decf3b
use NoAllocationID instead of nil AllocationId
2022-10-12 13:54:04 -04:00
Łukasz Magiera
dc102f076a
sealing pipeline: Get allocationId with StateApi
2022-10-12 13:54:03 -04:00
simlecode
e69fdaf48b
fix: not multiplied by the number of seconds
2022-10-10 16:18:35 +08:00
Geoff Stuart
e2d5d12e7f
Add accessors for allocations and claims maps
2022-10-07 16:41:59 -04:00
Geoff Stuart
a629bcab8d
review fixes
2022-10-07 00:25:08 -04:00
Aayush
b376735cee
Remove print statements
2022-10-06 19:07:27 -04:00
Geoff Stuart
b5c5e6627e
review fixes
2022-10-06 11:06:21 -04:00
Aayush
97b04b7f77
More tweaking of PreSeal for genesis
2022-10-06 11:06:21 -04:00
Geoff Stuart
f55dc46a32
Add api for getting allocation
2022-10-06 11:06:21 -04:00
Aayush
de95667a6a
Integrate the v9 migration
2022-10-06 11:06:21 -04:00
Geoff Stuart
4fdcc3dfc9
datacap and verifreg actors use ID addresses without protocol byte
2022-10-06 11:06:21 -04:00
Geoff Stuart
a604a60b22
Update datacap to parse tokens
2022-10-06 11:06:21 -04:00
Geoff Stuart
c246366e7f
update gst
2022-10-06 11:06:21 -04:00
Geoff Stuart
b4c04ad927
update markets
2022-10-06 11:06:21 -04:00
Geoff Stuart
558a8bc3bb
update gst
2022-10-06 11:06:21 -04:00
Geoff Stuart
1973e44f49
Update datacap actor to query datacap instead of verifreg
2022-10-06 11:06:21 -04:00
Geoff Stuart
7c62f9e6ab
Update builtin-actors to dev/20220922-v9-1
2022-10-06 11:06:21 -04:00
Geoff Stuart
530e6a02fc
Setup datacap actor
2022-10-06 11:06:21 -04:00
Geoff Stuart
bc4f9bb805
Integrate verifreg changes to lotus
2022-10-06 11:06:21 -04:00
Shrenuj Bansal
17a77220c2
Ignore mpool msg existing errors for applying raft state
2022-10-06 11:44:13 +00:00
Geoff Stuart
fa64b2dc80
Return beneficiary info from miner state Info()
2022-10-05 22:01:37 -04:00
Shrenuj Bansal
dde204fb6a
Change Mpool push API to have an option to publish
2022-10-04 16:49:09 +00:00
Shrenuj Bansal
986c5e3c68
Use multiaddrs in config for raft peerset
2022-09-30 16:45:04 +00:00
Shrenuj Bansal
f89a682d98
Add Mpool ref to raft state and rearrange some APIs
2022-09-29 10:56:57 +00:00
Shrenuj Bansal
559c2c6d34
Merge branch 'master' into sbansal/nonce-coordination-and-consensus-for-chain-nodes
2022-09-27 16:29:03 +00:00
Shrenuj Bansal
99e7c322eb
More wip
2022-09-27 16:08:04 +00:00
Aayush
27880ece2b
feat: support typed errors over RPC
2022-09-27 15:34:01 +00:00
Shrenuj Bansal
7470549199
Address moar comments
2022-09-22 16:27:15 -04:00
Aayush
93f94d4ee9
feat: support typed errors over RPC
2022-09-22 11:44:19 -04:00
Geoff Stuart
37be57610c
feat: actors: Integrate datacap actor into lotus ( #9348 )
...
* Integrate datacap actor
* Implement datacap actor in chain/builtin
2022-09-21 15:51:28 -04:00
Aayush
32670e810c
chore: refactor: rename NewestNetworkVersion
2022-09-21 15:48:51 -04:00
Aayush
347d92b29c
feat: add StateNetworkVersion to mpool API
2022-09-21 15:48:27 -04:00
Shrenuj Bansal
1fe4aa3467
Add Auth func for gorpc and address comments
2022-09-21 15:41:10 -04:00
Geoff Stuart
94add978b0
chore: actors: Allow builtin-actors to return a map of methods ( #9342 )
...
* Allow builtin-actors to return a map of methods
* go mod
* Fix tests
* Fix tests, check carefully please
2022-09-21 10:56:58 -04:00
Łukasz Magiera
9be712de99
deps: Use latest cbor-gen
2022-09-20 17:30:07 +02:00
Aayush
4382bbcc96
feat: add logs to markets event handler
2022-09-16 15:36:08 -04:00
Alfonso de la Rocha
0209052821
minor changes
2022-09-16 13:09:27 +02:00
Alfonso de la Rocha
72c80a3461
fixed unit tests
2022-09-16 09:22:37 +02:00
Alfonso de la Rocha
d1a4f1dc50
fixed bugs in consistent broadcast integration
2022-09-14 19:59:29 +02:00
Shrenuj Bansal
4be8861f41
Merge branch 'master' into sbansal/nonce-coordination-and-consensus-for-chain-nodes
2022-09-13 17:41:06 -04:00
Alfonso de la Rocha
1dadff303c
added garbage collection test. minor fix
2022-09-13 16:06:18 +02:00
Alfonso de la Rocha
76031d72ad
minor fixes. unit tests added
2022-09-13 12:33:28 +02:00
Shrenuj Bansal
4171be0b98
Few more changes
2022-09-12 16:37:24 -04:00
Shrenuj Bansal
a1f2fdb706
Merge branch 'master' into sbansal/nonce-coordination-and-consensus-for-chain-nodes
2022-09-12 16:23:24 -04:00
Shrenuj Bansal
8f1b1bb1ff
WIP: Raft consensus for lotus nodes in a cluster
2022-09-12 16:10:15 -04:00
Alfonso de la Rocha
c03ad9dcfd
wip: draft impl of consistent bcast
2022-09-12 19:03:06 +02:00
Aayush
19c3232d2f
more fixes
2022-09-10 12:37:03 -04:00
Aayush
c0bbaebaf4
more fixes
2022-09-09 21:40:15 -04:00
Aayush
92cc24fca2
support fvm gas tracing
2022-09-09 21:40:15 -04:00
Aayush
30f66578e1
fixup genesis creation
2022-09-09 21:40:15 -04:00
Aayush
e9a3235291
more fixes
2022-09-09 21:40:15 -04:00
Geoff Stuart
642555d0fb
Fix discrepancies, run fiximports
2022-09-09 21:40:15 -04:00
Aayush
0efca4d266
introduce v9 actors and nv17
2022-09-09 21:40:15 -04:00
Łukasz Magiera
08b22edd89
fix make gen
2022-08-29 16:25:30 +02:00
Jiaying Wang
1b5a1f692a
Merge pull request #9206 from filecoin-project/asr/verifreg-tuple
...
fix: verifreg: serialize RmDcProposalID as int, not tuple
2022-08-26 16:38:34 -04:00
Łukasz Magiera
2086b219d2
Don't use go-libp2p-core
2022-08-25 14:20:41 -04:00
Aayush
9812792d46
fix: verifreg: serialize RmDcProposalID as int, not tuple
2022-08-23 16:58:10 -04:00
Shrenuj Bansal
32a2ae12cb
fix lint rename
2022-08-16 16:44:14 -04:00
Shrenuj Bansal
72230d3249
fix lint
2022-08-16 16:25:42 -04:00
Shrenuj Bansal
b7227d3a6b
run make gen
2022-08-16 15:56:32 -04:00
Shrenuj Bansal
fa4a479b97
Add uuid to mpool message sent to chain node from miner
2022-08-16 15:39:06 -04:00
Shrenuj Bansal
2f65a20d16
Add IsDealActive func to template
...
wq
2022-08-02 18:54:42 -04:00
Shrenuj Bansal
31a09b73cc
Add lotus-shed cmd to get total active deal storage
2022-08-02 16:40:39 -04:00
Łukasz Magiera
f8cf3b1510
feat: mpool: Include gaslimit in error msg in ValidForBlockInclusion
2022-08-01 17:15:26 +02:00
Aayush
279b1f4317
FVM: record message applied metrics
2022-07-18 10:50:58 -04:00
Aayush Rajasekaran
e950421e87
Merge pull request #9037 from filecoin-project/asr/implicit-limit
...
FVM: Use MaxInt64 for Implicit Message gas limits
2022-07-15 15:28:31 -04:00
Aayush
7cd0ce4010
FVM: Use MaxInt64 for Implicit Message gas limits
2022-07-15 15:09:12 -04:00
Aayush
474a50252b
FVM: always enable tracing for user-triggered executions
2022-07-14 15:41:26 -04:00
Aayush
af525a4cf2
VM: Remove v15 FVM support
2022-07-14 14:55:48 -04:00
Steven Allen
d192b821a9
fix: gas: estimate gas with a zero base-fee
...
Otherwise, an account will need funds to estimate the max possible gas a
message could take (which is usually the block gas limit).
This does mean gas estimation no longer checks if the sending account
has enough funds to cover the message cost, but MpoolPush will now do
this.
2022-07-08 09:47:45 -07:00
Aayush Rajasekaran
8f087c7e25
chore: state: clarify state tree versioning in comment
2022-06-29 17:37:35 -04:00
Geoff Stuart
3bb7e9d113
Merge pull request #8941 from filecoin-project/gstuart/actors-cids-older-versions
...
Feat: api: Api call to get actor cids works for versions < 16
2022-06-29 15:31:50 -04:00
Geoff Stuart
4bebce0201
Remove StateActorManifestCID
2022-06-29 15:16:13 -04:00
Geoff Stuart
56c7e7a8d6
Remove old functions for getting actors cids
2022-06-29 14:58:58 -04:00
Geoff Stuart
4268b426f9
review fixes
2022-06-29 14:58:58 -04:00
Geoff Stuart
ed65b4c3bf
Api call to get actor cids works for versions < 16
2022-06-29 14:58:56 -04:00
Masih H. Derkani
6f686cae11
Upgrade to go-blockstore 1.2.0
and go-cid 0.2.0
...
Upgrade required dependencies and fix breaking changes.
2022-06-29 14:55:22 -04:00
Aayush
906463bc17
more review
2022-06-29 14:23:35 -04:00
Aayush
f9cf25f966
address review
2022-06-29 11:57:46 -04:00
Aayush
a52d584d0c
an attempt at cleanup
2022-06-28 19:24:47 -04:00
vyzo
3ad2fc5c4a
feat: FVM Debug Dual Execution
2022-06-28 18:00:04 -04:00
Jennifer Wang
c3f3eb0812
Merge branch 'releases' into jen/masterbp
2022-06-27 15:13:12 -04:00
Geoff Stuart
e684248f48
Added api call to get actors cids
2022-06-23 14:07:23 -04:00
Steven Allen
cd6c0c2ad3
feat: move banner, embed, and run at v8 upgrade only
...
1. Embed the banner in the upgrades subsystem instead of reading it at
runtime.
2. Print it all at once instead of line-by-line.
3. Run it in the v8 upgrade itself.
2022-06-22 12:41:14 -07:00
Jennifer Wang
17cd28028f
fvm liftoff
2022-06-22 15:21:50 -04:00
Aayush
e860a052e7
fix: fvm: make exectraces match legacyVM some more
2022-06-22 13:46:12 -04:00
Aayush
866693f3d5
fix: fvm: make exectraces match legacyVM some more
2022-06-22 11:29:14 -04:00
Łukasz Magiera
db676acdf8
storage: Cleanup interfaces a bit
2022-06-17 13:52:19 +02:00
Łukasz Magiera
7de400b5ac
Merge remote-tracking branch 'origin/master' into chore/drop-pipeline-adapters
2022-06-17 11:31:05 +02:00
Jennifer Wang
51b6b07110
Merge branch 'release/v1.16.0' into jen/master16
2022-06-16 14:24:44 -04:00
Jiaying Wang
3465f3aba3
Merge pull request #8837 from filecoin-project/jen/refactor
...
chore: refactor: rename var name for syncing mainnet v15 using FVM
2022-06-16 14:16:52 -04:00
Łukasz Magiera
9aa5659d24
sealing pipeline: Drop TipSetToken, use TipSetKey directly
2022-06-16 12:05:58 +02:00
Łukasz Magiera
6d770f6e10
make gen
2022-06-15 16:51:30 +02:00
Łukasz Magiera
05cdeb80c3
chore: remove redundant import prefixes
2022-06-15 12:06:22 +02:00
Łukasz Magiera
a9600b8a6f
storage: Move extern/sector-storage to storage/sealer
2022-06-14 20:03:38 +02:00
Łukasz Magiera
6afb43afbb
wallet: Move key.go into separate pkg to avoid import loops
2022-06-14 19:21:40 +02:00
Łukasz Magiera
422f66776f
Merge pull request #8859 from filecoin-project/chore/import-fix
...
chore: Fix imports
2022-06-14 18:54:03 +02:00
Aayush Rajasekaran
435c1f4278
Merge pull request #8855 from filecoin-project/jen/backport
...
chore: backport: release v1.16.0 back to master
2022-06-14 11:11:13 -04:00
Łukasz Magiera
e65fae28de
chore: fix imports
2022-06-14 17:00:51 +02:00
Jennifer Wang
e3fbe53f76
Merge branch 'release/v1.16.0' into jen/backport
2022-06-14 02:35:01 -04:00
swift-mx
19a4395cd7
fix: format error log
2022-06-14 14:13:44 +08:00
Steven Allen
ddc9425c07
feat: refactor: actor bundling system ( #8838 )
...
1. Include the builtin-actors in the lotus source tree.
2. Embed the bundle on build instead of downloading at runtime.
3. Avoid reading the bundle whenever possible by including bundle
metadata (the bundle CID, the actor CIDs, etc.).
4. Remove everything related to dependency injection.
1. We're no longer downloading the bundle, so doing anything ahead
of time doesn't really help.
2. We register the manifests on init because, unfortunately, they're
global.
3. We explicitly load the current actors bundle in the genesis
state-tree method.
4. For testing, we just change the in-use bundle with a bit of a
hack. It's not great, but using dependency injection doesn't make
any sense either because, again, the manifest information is
global.
5. Remove the bundle.toml file. Bundles may be overridden by
specifying an override path in the parameters file, or an
environment variable.
fixes #8701
2022-06-13 10:51:49 -07:00
Steven Allen
30981d0fdd
feat: refactor: actor bundling system ( #8838 )
...
1. Include the builtin-actors in the lotus source tree.
2. Embed the bundle on build instead of downloading at runtime.
3. Avoid reading the bundle whenever possible by including bundle
metadata (the bundle CID, the actor CIDs, etc.).
4. Remove everything related to dependency injection.
1. We're no longer downloading the bundle, so doing anything ahead
of time doesn't really help.
2. We register the manifests on init because, unfortunately, they're
global.
3. We explicitly load the current actors bundle in the genesis
state-tree method.
4. For testing, we just change the in-use bundle with a bit of a
hack. It's not great, but using dependency injection doesn't make
any sense either because, again, the manifest information is
global.
5. Remove the bundle.toml file. Bundles may be overridden by
specifying an override path in the parameters file, or an
environment variable.
fixes #8701
2022-06-13 10:15:00 -07:00
Łukasz Magiera
1cd94f598d
Merge pull request #8820 from filecoin-project/asr/deprecate-blocksync
...
refactor: remove old BlockSyncProtocolID
2022-06-13 18:36:21 +02:00
Aayush
dda9ac31c6
invoker: gen the registry
2022-06-10 17:40:07 -04:00
Aayush
d32ed4440d
Drop actor meta shimming for testing
2022-06-10 17:30:07 -04:00
Geoff Stuart
b7010c9e60
Implement function to migrate actors with only code changes
2022-06-10 15:52:32 -04:00
Aayush Rajasekaran
b6a7e0553e
Merge pull request #8815 from filecoin-project/gstuart/lite-migration
...
feat: migrations: function for migrating builtin actors with only code changes
2022-06-10 15:36:05 -04:00
Geoff Stuart
3f712c376a
Example V9 migration function
2022-06-10 15:07:42 -04:00
Geoff Stuart
801c670edd
Remove ChainPutMany
2022-06-10 14:09:05 -04:00
Geoff Stuart
64d62f1f7e
Review fixes v2
2022-06-10 12:32:31 -04:00
Geoff Stuart
3c4792d3e9
review fixes
2022-06-10 11:35:01 -04:00
Aayush
e79c2eaa4a
gofmt
2022-06-09 18:32:20 -04:00
jennijuju
41e325e822
chore: refactor: rename var name for syncing mainnet v15 using FVM
2022-06-09 16:53:16 -05:00
Aayush
b211c51643
invoker: gen the registry
2022-06-09 16:09:23 -04:00
Geoff Stuart
339692cde5
create function for migrating builtin actors with only code changes
2022-06-09 15:13:42 -04:00
Geoff Stuart
5c0f2c8ae6
Add putObj and putMany to apiBlockstore
2022-06-09 15:13:42 -04:00
Aayush Rajasekaran
fbefd617a2
refactor: rename LOTUS_USE_FVM_EXPERIMENTAL
2022-06-09 11:21:22 -04:00
Aayush
82e439172e
Drop actor meta shimming for testing
2022-06-08 13:41:30 -04:00
Aayush
789f212f6c
refactor: remove old BlockSyncProtocolID
2022-06-08 13:38:56 -04:00
Geoff Stuart
81cacd76a7
Implement function to access state of system actor
2022-06-06 23:23:32 -04:00
Geoff Stuart
0c789b06dc
Call with no subcalls is nil instead of empty array for backwards compatibility
2022-06-03 15:21:47 -04:00
Aayush
91e69644c2
Merge branch 'feat/nv16' into jen/mergev1153to16
2022-06-03 13:18:27 -04:00
Aayush Rajasekaran
6f25476709
chore: vm: Rename tracing envvar to LOTUS_VM_ENABLE_TRACING
2022-06-01 18:18:49 -04:00
Jennifer Wang
2e59d0129d
Merge branch 'release/v1.15.3' into jen/mergev1153to16
2022-05-31 16:33:18 -04:00
Aayush
8cbbee3a87
Revert "VM: Refactor pricelist to be based on network versions"
...
This reverts commit 25b2e144b8
.
2022-05-30 16:17:41 -04:00
Jiaying Wang
04894350b7
Merge pull request #8759 from filecoin-project/asr/revert-pricelist-v16
...
Revert "VM: Refactor pricelist to be based on network versions"
2022-05-30 16:11:14 -04:00
Aayush
c95ad7229f
Revert "VM: Refactor pricelist to be based on network versions"
...
This reverts commit 25b2e144b8
.
2022-05-30 15:25:33 -04:00
Aayush
3c8dcda094
Revert "VM: Refactor pricelist to be based on network versions"
...
This reverts commit 25b2e144b8
.
2022-05-30 15:19:51 -04:00
Jennifer Wang
970aa299a2
move actor key to a const array
2022-05-30 14:59:46 -04:00
Aayush
7ea661bf87
fvm: fail if implicit message fails
2022-05-27 11:43:20 -04:00
Aayush
4fa04abb8c
Add disable flag for Skyr upgrade
2022-05-26 18:20:49 -04:00
Geoff Stuart
30e7f89662
Check for manifest CID while loading bundle
2022-05-26 17:30:32 -04:00
Aayush Rajasekaran
6924a3d5f2
Fix calculation of Drand round from Filecoin epochs
2022-05-25 12:43:52 -04:00
Aayush Rajasekaran
e87bb5db6a
Merge pull request #8680 from filecoin-project/feat/nv16-migration-bundle
...
[nv16] Ensure v8 bundle is loaded during migration
2022-05-24 14:33:22 -04:00
Aayush Rajasekaran
c07c87c131
Merge pull request #8706 from filecoin-project/fix/8636
...
fix: vm: always set the root message in execution traces in the FVM
2022-05-24 12:55:37 -04:00
Aayush Rajasekaran
eab4d4b464
Merge pull request #8683 from filecoin-project/fix/drop-fvm-nv14
...
feat: fvm: drop nv14 support from the FVM
2022-05-24 12:48:32 -04:00
Jennifer Wang
5cfedacf9f
make jen
2022-05-23 15:11:46 -04:00
Steven Allen
23239c0393
fix: vm: always set the root message in execution traces in the FVM
...
Even when disabled. This mimics the behavior or the lotus VM.
2022-05-23 11:23:17 -07:00
Steven Allen
f7c610ee23
feat: vm: drop nv14 support from the FVM
...
The next FVM version will only support nv15+.
This change also disables the FVM before nv15, even if enabled through
the environment variable. This allows "catching up" from before nv15.
2022-05-23 09:50:54 -07:00
Steven Allen
89bca05a8d
fix: vm: support raw blocks in chain export
...
We need this for NV16 to include code in chain snapshots.
NOTE: I've also checked the splitstore, and we appear to be doing the
right thing there already.
2022-05-23 09:45:56 -07:00
Steven Allen
f491e39f22
fix: vm: support raw blocks in chain export
...
We need this for NV16 to include code in chain snapshots.
NOTE: I've also checked the splitstore, and we appear to be doing the
right thing there already.
2022-05-20 18:56:30 -04:00
vyzo
811bb58c5a
always load the bundle into the blockstore during the migration
2022-05-18 20:20:17 +03:00
vyzo
a694bb898d
remove stale TODO comment
2022-05-18 20:19:44 +03:00
Aayush
3c2fcce2c3
fix: genesis: only sign preseal deals after v16
2022-05-17 18:42:43 -04:00
Aayush
3b23ba0520
Address review
2022-05-17 15:52:59 -04:00
Aayush
b2b20e469f
Fix tests
2022-05-17 15:21:27 -04:00
Aayush
8cca9b1970
Use new go-state-types accessors
2022-05-17 15:21:27 -04:00
vyzo
7be42d9935
refactor to pass the network bundle name through ldflags from build
2022-05-12 16:42:59 +03:00
vyzo
70bf990294
LOTUS_PATH is the canonical way to get the repo path
2022-05-12 16:21:29 +03:00
vyzo
26d07fd987
move bundle fetcher to node/bundle instead of chain/actors
2022-05-12 09:51:08 +03:00
vyzo
de9ee7b334
fix lint
2022-05-11 22:48:01 +03:00
vyzo
98730b90a3
fix lint
2022-05-11 22:41:56 +03:00
vyzo
74f300290e
dynamic loading of builtin actor bundles
2022-05-11 22:30:07 +03:00
Steven Allen
9da58c5f6a
fix: mpool: avoid deadlock on unsubscribe
...
When unsubscribing _all_ topics, pubsub will drain the subscription
channel to avoid deadlocks. See
https://github.com/whyrusleeping/pubsub/pull/1 .
fixes #7803
2022-05-10 16:52:17 -04:00
Aayush Rajasekaran
ddc46fc059
Update to filecoin pubsub
2022-05-10 16:51:36 -04:00
Aayush Rajasekaran
fbcd4c7a6f
fix: upgrades: correct error message for v16 migration
2022-05-10 11:36:12 -04:00
Łukasz Magiera
b9750087ce
Merge pull request #8545 from swift-mx/mx_dev
...
fix: update StatApplied when fvm apply message
2022-05-06 14:23:30 -04:00
vyzo
89418a5c34
propagate gas outputs in fvm ApplyRet
2022-05-04 20:19:07 +03:00
Steven Allen
78899be05d
feat: vm: add actor error backtraces to FVM
2022-05-04 20:18:25 +03:00
Steven Allen
6c0c111847
feat: vm: add actor error backtraces to FVM
2022-04-28 19:58:19 +02:00
swift-mx
6c40d363f5
fix: update StatApplied when fvm apply message
2022-04-24 11:50:54 +08:00
vyzo
f017d43aae
make gen
2022-04-21 19:19:20 +03:00
vyzo
0def6cb9e1
fix paymentch actor code ID for construction
2022-04-21 19:19:13 +03:00
vyzo
2d93697fe3
make gen
2022-04-21 15:09:58 +03:00
vyzo
688e8f3c09
fix multisig creation to not use the synthetic CIDs after v8
2022-04-21 15:09:49 +03:00
vyzo
090c655422
remove log spam
2022-04-21 14:18:21 +03:00
vyzo
75f00e92f5
improve concurrency story of manifest state
2022-04-21 13:53:30 +03:00
Aayush
b60d795a5d
FVM: Support exectraces
2022-04-19 18:05:49 -04:00
Aayush Rajasekaran
2410cf3d84
Merge pull request #8514 from filecoin-project/asr/exec-trace
...
feat: FVM: Support exectraces
2022-04-19 18:03:25 -04:00